Skip to contentSkip to conversation

dt-bindings: net: can: fix dtbs warning

PATCH Applied Dinh Nguyen 2 participants 2 messages Jan 28, 2022 – Feb 10, 2022

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: net: can: fix dtbs warning

Mute the warning from "make dtbs_check":

Documentation/devicetree/bindings/net/can/bosch,m_can.example.dt.yaml:
can@20e8000: bosch,mram-cfg: [[0, 0, 0, 32, 0, 0, 0, 1]] is too short

---
 Documentation/devicetree/bindings/net/can/bosch,m_can.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/net/can/bosch,m_can.yaml +1 -0
index 401ab7cdb379..035964a8609c 100644
@@ -101,6 +101,7 @@ properties:
       - description: Tx Buffers 0-32 elements / 0-576 words
         minimum: 0
         maximum: 32
+    minItems: 1
 
   power-domains:
     description:
Signature · 1 line
2.25.1
maintainer Applied
#1 lore raw
Quoted 10 lines · Dinh Nguyen

Mute the warning from "make dtbs_check":

Documentation/devicetree/bindings/net/can/bosch,m_can.example.dt.yaml:
can@20e8000: bosch,mram-cfg: [[0, 0, 0, 32, 0, 0, 0, 1]] is too short

---
 Documentation/devicetree/bindings/net/can/bosch,m_can.yaml | 1 +
 1 file changed, 1 insertion(+)

Applied, thanks!