help with converting txt binding to yaml

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

i try to convert the mt7530 txt binding to yaml and currently hang on duplicate labels across examples

have the 3 examples added like in the Documentation/devicetree/bindings/net/dsa/mt7530.txt

    Documentation/devicetree/bindings/net/dsa/mediatek.example.dts:203.26-213.15:
    ERROR (duplicate_label): /example-2/eth/mac@0: Duplicate label 'gmac0' on /example-2/eth/mac@0 and /example-1/eth/mac@0
    Documentation/devicetree/bindings/net/dsa/mediatek.example.dts:215.28-285.15:
    ERROR (duplicate_label): /example-2/eth/mdio-bus: Duplicate label 'mdio' on /example-2/eth/mdio-bus and /example-1/eth/mdio-bus
    Documentation/devicetree/bindings/net/dsa/mediatek.example.dts:224.35-284.19:
    ERROR (duplicate_label): /example-2/eth/mdio-bus/switch@1f: Duplicate label 'mt7530' on /example-2/eth/mdio-bus/switch@1f and /example-1/eth/mdio-bus/switch@1f
    Documentation/devicetree/bindings/net/dsa/mediatek.example.dts:271.43-282.27:
    ERROR (duplicate_label): /example-2/eth/mdio-bus/switch@1f/ports/port@6: Duplicate label 'cpu_port0' on /example-2/eth/mdio-bus/switch@1f/ports/port@6 and /example-1/eth/mdio-bus/switch@1f/ports/port@6


added descriptions about muxing/port 5 modes to "global" description, don't know if there is any better place.

and how to add requirements for the subnodes ("Required properties for the child nodes within ports container")

this is my current state:

https://github.com/frank-w/BPI-R2-4.14/blob/5.18-mt7531-mainline/Documentation/devicetree/bindings/net/dsa/mediatek.yaml

regards Frank



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux