dt-bindings: can: convert tcan4x5x.txt to DT schema
Subsystems (4)
RFC PATCH 1/1 dt-bindings: can: convert tcan4x5x.txt to DT schema
Convert binding doc tcan4x5x.txt to yaml.
---
Can we somehow reference bosch,mram-cfg from the bosch,m_can.yaml? I have searched for yaml files that tries the same, but it's usually includes a whole node.
I have also tried:
$ref: /schema/bosch,m_can.yaml#/properties/bosch,mram-cfg
Any hints to share a property?
.../devicetree/bindings/net/can/tcan4x5x.txt | 48 --------- .../bindings/net/can/ti,tcan4x5x.yaml | 97 +++++++++++++++++++ 2 files changed, 97 insertions(+), 48 deletions(-) delete mode 100644 Documentation/devicetree/bindings/net/can/tcan4x5x.txt create mode 100644 Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml
Documentation/devicetree/bindings/net/can/tcan4x5x.txt deleted +0 -48
@@ -1,48 +0,0 @@ -Texas Instruments TCAN4x5x CAN Controller -================================================ - -This file provides device node information for the TCAN4x5x interface contains. - -Required properties: - - compatible: - "ti,tcan4552", "ti,tcan4x5x" - "ti,tcan4553", "ti,tcan4x5x" or - "ti,tcan4x5x" - - reg: 0 - - #address-cells: 1 - - #size-cells: 0 - - spi-max-frequency: Maximum frequency of the SPI bus the chip can - operate at should be less than or equal to 18 MHz. - - interrupt-parent: the phandle to the interrupt controller which provides - the interrupt. - - interrupts: interrupt specification for data-ready. - -See Documentation/devicetree/bindings/net/can/bosch,m_can.yaml for additional -required property details. - -Optional properties: - - reset-gpios: Hardwired output GPIO. If not defined then software - reset. - - device-state-gpios: Input GPIO that indicates if the device is in - a sleep state or if the device is active. Not - available with tcan4552/4553. - - device-wake-gpios: Wake up GPIO to wake up the TCAN device. Not - available with tcan4552/4553. - - wakeup-source: Leave the chip running when suspended, and configure - the RX interrupt to wake up the device. - -Example: -tcan4x5x: tcan4x5x@0 { - compatible = "ti,tcan4x5x"; - reg = <0>; - #address-cells = <1>; - #size-cells = <1>; - spi-max-frequency = <10000000>; - bosch,mram-cfg = <0x0 0 0 16 0 0 1 1>; - interrupt-parent = <&gpio1>; - interrupts = <14 IRQ_TYPE_LEVEL_LOW>; - device-state-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>; - device-wake-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>; - reset-gpios = <&gpio1 27 GPIO_ACTIVE_HIGH>; - wakeup-source; -};
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml new file +97 -0
97 lines not on this page · raw message
Signature · 1 line
2.46.2
Quoted 11 lines · Sean Nyekjaer
Convert binding doc tcan4x5x.txt to yaml.
Signed-off-by Sean Nyekjaer <[email protected]>---
Can we somehow reference bosch,mram-cfg from the bosch,m_can.yaml? I have searched for yaml files that tries the same, but it's usually includes a whole node.
I have also tried:
$ref: /schema/bosch,m_can.yaml#/properties/bosch,mram-cfg
Yes, this would work just with full path, so /schemas/net/can/...
See:Documentation/devicetree/bindings/pinctrl/starfive,jh7100-pinctrl.yaml
But you can also just copy it. Ideally this should be moved to common schema or replaced with more generic property, but these do not have to be part of this conversion.
Quoted 9 lines
Any hints to share a property?
.../devicetree/bindings/net/can/tcan4x5x.txt | 48 --------- .../bindings/net/can/ti,tcan4x5x.yaml | 97 +++++++++++++++++++ 2 files changed, 97 insertions(+), 48 deletions(-) delete mode 100644 Documentation/devicetree/bindings/net/can/tcan4x5x.txt create mode 100644 Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml
...
Quoted 17 lines
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml new file +11
-0@@ -0,0 +1,97 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/can/ti,tcan4x5x.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments TCAN4x5x CAN Controller + +maintainers: + - Marc Kleine-Budde <[email protected]> +
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml line 21
Quoted 10 lines
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml new file +10
-0+allOf: + - $ref: can-controller.yaml# + +properties: + compatible: + oneOf: + - enum: + - ti,tcan4552 + - ti,tcan4553 + - ti,tcan4x5x
That's not really what old binding said.
It said for example:
"ti,tcan4552", "ti,tcan4x5x"
Which is not allowed above. You need list. Considering there are no in-tree users of ti,tcan4x5x alone, I would allow only lists followed by ti,tcan4x5x. IOW: disallow ti,tcan4x5x alone.
Mention this change to the binding in the commit message.
Quoted 5 lines
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml new file +5
-0+ + reg: + maxItems: 1 + + interrupts:
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml line 36
Quoted 10 lines
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml new file +10
-0+ maxItems: 1 + + clocks: + maxItems: 1 + + vdd-supply: + description: Regulator that powers the CAN controller. + + xceiver-supply: + description: Regulator that powers the CAN transceiver.
You need to mention all changes done to the binding in the commit msg.
Quoted 11 lines
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml new file +11
-0+ + reset-gpios: + description: Hardwired output GPIO. If not defined then software reset. + maxItems: 1 + + device-state-gpios: + description: Input GPIO that indicates if the device is in a sleep state or if the device is active. + Not available with tcan4552/4553. + maxItems: 1 + + device-wake-gpios:
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml line 57
Quoted 10 lines
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml new file +10
-0+ description: Wake up GPIO to wake up the TCAN device. Not available with tcan4552/4553. + maxItems: 1 + + bosch,mram-cfg: + $ref: bosch,m_can.yaml# + + spi-max-frequency: + description: + Must be half or less of "clocks" frequency. + maximum: 10000000
Old binding said 18 MHz?
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml line 70
Quoted 13 lines
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml new file +13
-0+ + wakeup-source: + $ref: /schemas/types.yaml#/definitions/flag + description: + Enable CAN remote wakeup. + +required: + - compatible + - reg + - interrupts + - clocks + - bosch,mram-cfg +
Missing allOf: with $ref to spi-peripheral-props. See other SPI devices.
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml line 71
Quoted 1 line
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml new file +1
-0+additionalProperties: false
And this becomes unevaluatedProperties: false
Best regards,
Krzysztof
Marc Kleine-Budde
maintainerQuoted 8 lines · Krzysztof Kozlowski
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml line 21
Quoted 7 lines
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml new file +7
-0+properties: + compatible: + oneOf: + - enum: + - ti,tcan4552 + - ti,tcan4553 + - ti,tcan4x5x
Quoted 8 lines
That's not really what old binding said.
It said for example:
"ti,tcan4552", "ti,tcan4x5x"Which is not allowed above. You need list. Considering there are no in-tree users of ti,tcan4x5x alone, I would allow only lists followed by ti,tcan4x5x. IOW: disallow ti,tcan4x5x alone.
I'd like to keep the old binding.
Quoted 1 line
Mention this change to the binding in the commit message.
The tcan4x5x chip family has 2 registers for automatic detection of the chip variant. While the ID2 register of the tcan4550 is 0x0, the registers for the tcan4552 and tcan4553 contain 4552 and 4553 respectively in ASCII.
The driver was originally added for the tcan4550 chip, but currently only has a compatible for "ti,tcan4x5x".
Marc
Signature · 4 lines
Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung Nürnberg | Phone: +49-5121-206917-129 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |
Quoted 11 lines · Marc Kleine-Budde
Quoted 10 lines · Krzysztof Kozlowski
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml line 21
Quoted 7 lines
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml new file +7
-0+properties: + compatible: + oneOf: + - enum: + - ti,tcan4552 + - ti,tcan4553 + - ti,tcan4x5xThat's not really what old binding said.
Quoted 8 lines
Quoted 6 lines
It said for example:
"ti,tcan4552", "ti,tcan4x5x"Which is not allowed above. You need list. Considering there are no in-tree users of ti,tcan4x5x alone, I would allow only lists followed by ti,tcan4x5x. IOW: disallow ti,tcan4x5x alone.
I'd like to keep the old binding.
Any reason why? It's against of bindings policies. If this was a new binding, it would be a clear NAK, so here due to lack of user we can make it correct.
Quoted 7 lines
Quoted 2 lines
Mention this change to the binding in the commit message.
The tcan4x5x chip family has 2 registers for automatic detection of the chip variant. While the ID2 register of the tcan4550 is
0x0, the registers for the tcan4552 and tcan4553 contain 4552 and 4553 respectively in ASCII.
This does not grant exception for wildcards. This only says that one model should be used as fallback.
Quoted 3 lines
The driver was originally added for the tcan4550 chip, but currently only has a compatible for "ti,tcan4x5x".
That's not really related to discussion. We do not talk about changing driver.
Best regards,
Krzysztof
Quoted 13 lines · Krzysztof Kozlowski
Quoted 11 lines · Sean Nyekjaer
Convert binding doc tcan4x5x.txt to yaml.
Signed-off-by Sean Nyekjaer <[email protected]>---
Can we somehow reference bosch,mram-cfg from the bosch,m_can.yaml? I have searched for yaml files that tries the same, but it's usually includes a whole node.
I have also tried:
$ref: /schema/bosch,m_can.yaml#/properties/bosch,mram-cfg
Quoted 8 lines
Yes, this would work just with full path, so /schemas/net/can/...
See:
Documentation/devicetree/bindings/pinctrl/starfive,jh7100-pinctrl.yamlBut you can also just copy it. Ideally this should be moved to common schema or replaced with more generic property, but these do not have to be part of this conversion.
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml +1 -1
@@ -50,7 +50,7 @@ properties: maxItems: 1 bosch,mram-cfg: - $ref: bosch,m_can.yaml# + $ref: /schemas/net/can/bosch,m_can.yaml#/properties/bosch,mram-cfg spi-max-frequency: description:
Still results in:
% make dt_binding_check DT_SCHEMA_FILES=ti,tcan4x5x.yaml
SCHEMA Documentation/devicetree/bindings/processed-schema.json
CHKDT Documentation/devicetree/bindingsDocumentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml: properties:bosch,mram-cfg: 'anyOf' conditional failed, one must be fixed:
'description' is a dependency of '$ref'
'/schemas/net/can/bosch,m_can.yaml#/properties/bosch,mram-cfg' does not match 'types.yaml#/definitions/'
hint: A vendor property needs a $ref to types.yaml
'/schemas/net/can/bosch,m_can.yaml#/properties/bosch,mram-cfg' does not match '^#/(definitions|\\$defs)/'
hint: A vendor property can have a $ref to a a $defs schema
hint: Vendor specific properties must have a type and description unless they have a defined, common suffix. from schema $id: http://devicetree.org/meta-schemas/vendor-props.yaml#
Quoted 43 lines
Quoted 10 lines
Any hints to share a property?
.../devicetree/bindings/net/can/tcan4x5x.txt | 48 --------- .../bindings/net/can/ti,tcan4x5x.yaml | 97 +++++++++++++++++++ 2 files changed, 97 insertions(+), 48 deletions(-) delete mode 100644 Documentation/devicetree/bindings/net/can/tcan4x5x.txt create mode 100644 Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml...
Quoted 17 lines
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml new file +11
-0@@ -0,0 +1,97 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/can/ti,tcan4x5x.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments TCAN4x5x CAN Controller + +maintainers: + - Marc Kleine-Budde <[email protected]> +Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml line 21
Quoted 10 lines
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml new file +10
-0+allOf: + - $ref: can-controller.yaml# + +properties: + compatible: + oneOf: + - enum: + - ti,tcan4552 + - ti,tcan4553 + - ti,tcan4x5xThat's not really what old binding said.
Quoted 10 lines
It said for example:
"ti,tcan4552", "ti,tcan4x5x"Which is not allowed above. You need list. Considering there are no in-tree users of ti,tcan4x5x alone, I would allow only lists followed by ti,tcan4x5x. IOW: disallow ti,tcan4x5x alone.
Mention this change to the binding in the commit message.
I would prefer to not change anything other that doing the conversion to DT schema.
Quoted 9 lines
Quoted 9 lines
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml new file +9
-0+ + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1
Quoted 9 lines
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml line 36
Quoted 6 lines
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml new file +6
-0+ + vdd-supply: + description: Regulator that powers the CAN controller. + + xceiver-supply: + description: Regulator that powers the CAN transceiver.You need to mention all changes done to the binding in the commit msg.
Is this a change? It existed in the old doc aswell...
Quoted 15 lines
Quoted 15 lines
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml new file +15
-0+ + reset-gpios: + description: Hardwired output GPIO. If not defined then software reset. + maxItems: 1 + + device-state-gpios: + description: Input GPIO that indicates if the device is in a sleep state or if the device is active. + Not available with tcan4552/4553. + maxItems: 1 + + device-wake-gpios: + description: Wake up GPIO to wake up the TCAN device. Not available with tcan4552/4553. + maxItems: 1 + + bosch,mram-cfg:
Quoted 9 lines
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml line 57
Quoted 6 lines
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml new file +6
-0+ $ref: bosch,m_can.yaml# + + spi-max-frequency: + description: + Must be half or less of "clocks" frequency. + maximum: 10000000Old binding said 18 MHz?
Good catch.
Quoted 7 lines
Quoted 7 lines
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml new file +7
-0+ + wakeup-source: + $ref: /schemas/types.yaml#/definitions/flag + description: + Enable CAN remote wakeup. + +required:
Quoted 10 lines
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml line 70
Quoted 6 lines
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml new file +6
-0+ - compatible + - reg + - interrupts + - clocks + - bosch,mram-cfg +Missing allOf: with $ref to spi-peripheral-props. See other SPI devices.
Added for v2.
Quoted 7 lines
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml line 71
Quoted 1 line
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml new file +1
-0+additionalProperties: falseAnd this becomes unevaluatedProperties: false
Best regards,
Krzysztof
Added for v2.
Br,
/Sean
Quoted 15 lines · Sean Nyekjaer
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml +1
-1@@ -50,7 +50,7 @@ properties: maxItems: 1 bosch,mram-cfg: - $ref: bosch,m_can.yaml# + $ref: /schemas/net/can/bosch,m_can.yaml#/properties/bosch,mram-cfg spi-max-frequency: description:
Quoted 12 lines
Still results in:
% makedt_binding_checkDT_SCHEMA_FILES=ti,tcan4x5x.yaml
SCHEMADocumentation/devicetree/bindings/processed-schema.json
CHKDTDocumentation/devicetree/bindingsDocumentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml: properties:bosch,mram-cfg: 'anyOf' conditional failed, one must be fixed:
'description' is a dependency of '$ref'
'/schemas/net/can/bosch,m_can.yaml#/properties/bosch,mram-cfg' does not match 'types.yaml#/definitions/'
hint: A vendor property needs a $ref totypes.yaml
'/schemas/net/can/bosch,m_can.yaml#/properties/bosch,mram-cfg' does not match '^#/(definitions|\\$defs)/'
hint: A vendor property can have a $ref to a a $defs schema
hint: Vendor specific properties must have a type and description unless they have a defined, common suffix. from schema $id: http://devicetree.org/meta-schemas/vendor-props.yaml#
Yeah, probably not much benefits of referencing other schema. Just copy the property.
Quoted 51 lines
Quoted 51 lines
Quoted 11 lines
Any hints to share a property?
.../devicetree/bindings/net/can/tcan4x5x.txt | 48 --------- .../bindings/net/can/ti,tcan4x5x.yaml | 97 +++++++++++++++++++ 2 files changed, 97 insertions(+), 48 deletions(-) delete mode 100644 Documentation/devicetree/bindings/net/can/tcan4x5x.txt create mode 100644 Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml...
Quoted 17 lines
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml new file +11
-0@@ -0,0 +1,97 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/can/ti,tcan4x5x.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments TCAN4x5x CAN Controller + +maintainers: + - Marc Kleine-Budde <[email protected]> +Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml line 21
Quoted 10 lines
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml new file +10
-0+allOf: + - $ref: can-controller.yaml# + +properties: + compatible: + oneOf: + - enum: + - ti,tcan4552 + - ti,tcan4553 + - ti,tcan4x5xThat's not really what old binding said.
It said for example:
"ti,tcan4552", "ti,tcan4x5x"Which is not allowed above. You need list. Considering there are no in-tree users of ti,tcan4x5x alone, I would allow only lists followed by ti,tcan4x5x. IOW: disallow ti,tcan4x5x alone.
Quoted 6 lines
Quoted 3 lines
Mention this change to the binding in the commit message.
I would prefer to not change anything other that doing the conversion to DT schema.
Well, above you changed a lot :/, but fine - wildcard can stay. But anyway compatible list has to be fixed.
Quoted 19 lines
Quoted 10 lines
Quoted 10 lines
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml new file +9
-0+ + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1Quoted 9 lines
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml line 36
Quoted 6 lines
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml new file +6
-0+ + vdd-supply: + description: Regulator that powers the CAN controller. + + xceiver-supply: + description: Regulator that powers the CAN transceiver.You need to mention all changes done to the binding in the commit msg.
Quoted 1 line
Is this a change? It existed in the old doc aswell...
Where? I pointed out that this is a change. I cannot find it. If you disagree, please point to the patch. And it's tricky for me to prove my point - to show that such thing did not exist...
Two more comments below:
Quoted 8 lines
Quoted 8 lines
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml line 43
Quoted 8 lines
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml new file +7
-0+ + reset-gpios: + description: Hardwired output GPIO. If not defined then software reset. + maxItems: 1 + + device-state-gpios: + description: Input GPIO that indicates if the device is in a sleep state or if the device is active.
Please wrap code according to coding style (checkpatch is not a coding style description, but only a tool).
Quoted 1 line
Quoted 1 line
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml line 44
Quoted 1 line
Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml new file +1
-0+ Not available with tcan4552/4553.
Then you need if:then: inside allOf: block disallowing it for this variant.
https://elixir.bootlin.com/linux/v5.19/source/Documentation/devicetree/bindings/example-schema.yaml#L223
Best regards,
Krzysztof
Rob Herring (Arm)
maintainerQuoted 12 lines · Sean Nyekjaer
Convert binding doc tcan4x5x.txt to yaml.
Signed-off-by Sean Nyekjaer <[email protected]>---
Can we somehow reference bosch,mram-cfg from the bosch,m_can.yaml? I have searched for yaml files that tries the same, but it's usually includes a whole node.
I have also tried:
$ref: /schema/bosch,m_can.yaml#/properties/bosch,mram-cfg
Quoted 8 lines
Any hints to share a property?
.../devicetree/bindings/net/can/tcan4x5x.txt | 48 --------- .../bindings/net/can/ti,tcan4x5x.yaml | 97 +++++++++++++++++++ 2 files changed, 97 insertions(+), 48 deletions(-) delete mode 100644 Documentation/devicetree/bindings/net/can/tcan4x5x.txt create mode 100644 Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml
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/net/can/ti,tcan4x5x.yaml: properties:bosch,mram-cfg: 'anyOf' conditional failed, one must be fixed:
'description' is a dependency of '$ref'
'bosch,m_can.yaml#' does not match 'types.yaml#/definitions/'
hint: A vendor property needs a $ref to types.yaml
'bosch,m_can.yaml#' does not match '^#/(definitions|\\$defs)/'
hint: A vendor property can have a $ref to a a $defs schema
hint: Vendor specific properties must have a type and description unless they have a defined, common suffix.
from schema $id: http://devicetree.org/meta-schemas/vendor-props.yaml#
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/can/ti,tcan4x5x.example.dtb: can@0: bosch,mram-cfg: [0, 0, 0, 16, 0, 0, 1, 1] is not of type 'object'
from schema $id: http://devicetree.org/schemas/net/can/ti,tcan4x5x.yaml#
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/can/ti,tcan4x5x.example.dtb: can@0: bosch,mram-cfg: [0, 0, 0, 16, 0, 0, 1, 1] is not of type 'object'
from schema $id: http://devicetree.org/schemas/net/can/ti,tcan4x5x.yaml#
doc reference errors (make refcheckdocs):
See https://patchwork.ozlabs.org/project/devicetree-bindings/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.