Re: [PATCH v27 2/4] dt-bindings: i2c: ast2600-i2c.yaml: Add global-regs and transfer-mode properties
"Rob Herring (Arm)" <[email protected]>
| Newsgroups | org.ozlabs.lists.openbmc,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-i2c,org.kernel.vger.linux-kernel,org.ozlabs.lists.linux-aspeed |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 24 Mar 2026 11:06:27 +0800, Ryan Chen wrote: > The AST2600 I2C controller supports three transfer modes (byte, buffer, > DMA). Add "aspeed,transfer-mode" so DT can select the preferred transfer > method per controller instance. Also add the "aspeed,global-regs" > phandle to reference the AST2600 global registers syscon/regmap used by > the controller. > > These properties apply only to the AST2600 binding and are not part of > the legacy binding, which uses a mixed controller/target register layout > and does not have the split register blocks or these new configuration > registers. Legacy DTs remain unchanged. > > Signed-off-by: Ryan Chen <[email protected]> > --- > Changes in v27: > - change aspeed,transfer-mode to aspeed,enable-dma. > --- > .../devicetree/bindings/i2c/aspeed,ast2600-i2c.yaml | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > My bot found errors running 'make dt_binding_check' on your patch: yamllint warnings/errors: dtschema/dtc warnings/errors: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/i2c/aspeed,ast2600-i2c.example.dtb: i2c@80 (aspeed,ast2600-i2c-bus): Unevaluated properties are not allowed ('aspeed,transfer-mode' was unexpected) from schema $id: http://devicetree.org/schemas/i2c/aspeed,ast2600-i2c.yaml doc reference errors (make refcheckdocs): See https://patchwork.kernel.org/project/devicetree/patch/[email protected] The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.