Message ID | 20220820194804.3352415-1-andrew@lunn.ch |
---|---|
Headers | show |
Series | Start converting MVEBU bindings to YAML | expand |
On Sat, 20 Aug 2022 21:47:57 +0200, Andrew Lunn wrote: > Signed-off-by: Andrew Lunn <andrew@lunn.ch> > --- > .../devicetree/bindings/usb/ehci-orion.txt | 22 ---------- > .../bindings/usb/marvell,orion-ehci.yaml | 44 +++++++++++++++++++ > 2 files changed, 44 insertions(+), 22 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/usb/ehci-orion.txt > create mode 100644 Documentation/devicetree/bindings/usb/marvell,orion-ehci.yaml > Running 'make dtbs_check' with the schema in this patch gives the following warnings. Consider if they are expected or the schema is incorrect. These may not be new warnings. Note that it is not yet a requirement to have 0 warnings for dtbs_check. This will change in the future. Full log is available here: https://patchwork.ozlabs.org/patch/ ehci@50000: '#address-cells', '#size-cells', 'port@1' do not match any of the regexes: 'pinctrl-[0-9]+' arch/arm/boot/dts/kirkwood-c200-v1.dtb arch/arm/boot/dts/kirkwood-l-50.dtb usb@50000: 'phy-names' does not match any of the regexes: 'pinctrl-[0-9]+' arch/arm/boot/dts/armada-375-db.dtb usb@58000: 'usb-phy' does not match any of the regexes: 'pinctrl-[0-9]+' arch/arm/boot/dts/armada-388-helios4.dtb usb@58000: 'vcc-supply' does not match any of the regexes: 'pinctrl-[0-9]+' arch/arm/boot/dts/armada-388-gp.dtb usb@5e000: 'marvell,usb-misc-reg', 'phy-names' do not match any of the regexes: 'pinctrl-[0-9]+' arch/arm64/boot/dts/marvell/armada-3720-db.dtb arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtb arch/arm64/boot/dts/marvell/armada-3720-espressobin-emmc.dtb arch/arm64/boot/dts/marvell/armada-3720-espressobin-ultra.dtb arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7.dtb arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7-emmc.dtb arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dtb arch/arm64/boot/dts/marvell/armada-3720-uDPU.dtb usb@a0000: 'dr_mode', 'phy-names' do not match any of the regexes: 'pinctrl-[0-9]+' arch/arm64/boot/dts/marvell/ac5-98dx35xx-rd.dtb usb-host@50000: 'vbus-supply' does not match any of the regexes: 'pinctrl-[0-9]+' arch/arm/boot/dts/dove-sbc-a510.dtb
On Mon, Aug 22, 2022 at 9:29 AM Andrew Lunn <andrew@lunn.ch> wrote: > > On Mon, Aug 22, 2022 at 08:53:23AM -0500, Rob Herring wrote: > > On Sat, Aug 20, 2022 at 09:47:53PM +0200, Andrew Lunn wrote: > > > This is the first batch of patches converting the Marvell MVEBU driver > > > bindings from .txt to .yaml. So far, kirkwood has been used for > > > testing, but these drivers apply to a range of Marvell SoCs. > > > > > > In order to reduce the number of warnings from the DT schema checking > > > tools, a few minor changes have been made to a few DT files. No actual > > > errors have been found, the changes just make the checker quiet. > > > > > > Andrew Lunn (11): > > > DT: RTC: orion-rtc: Convert to YAML > > > DT: thermal: marvell,kirkwood-thermal: Convert to YAML > > > DT: pinctrl: Convert marvell,kirkwood-pintctrl to YAML > > > DT: USB: Convert ehci-orion to YAML > > > DT: watchdog: Convert marvel.txt to YAML > > > arm: DT: kirkwood/orion5: Rename watchdog node > > > DT: nand-controller: Reflect reality of marvell,orion-nand > > > DT: mtd: Convert orion-nand to YAML > > > arm: DT: kirkwood.dtsi: Rename nand to nand-controller > > > DT: timer: Convert marvell,orion-timer.txt to YAML > > > DT: clock: Convert mvebu-gated-clock.txt to YAML > > > > Also, there's not any dependency between most of these patches and they > > all go thru different subsystems, so no need for this to be 1 series. > > My intention was for them all to go through mvebu, to arm-soc and in. > That is how all these .txt files got merged many years ago. Yes, that did happen some, but the documented path in for bindings is via subsystem maintainers (with the driver for new bindings). The 2nd preference is the DT tree as I'm about the only one testing (or continuously testing) the schemas. Rob