On Fri, 08 Apr 2022 11:12:58 +0300, Tony Lindgren wrote: > Let's update the TI timer binding to use yaml. And add compatible for > ti,am654-timer for TI am64, am65 and j72 SoCs. As the timer hardware is > the same between am64, am65 and j72 we use the compatible name for the > earliest SoC with this timer. > > As this binding is specific to the TI dual-mode timers also known > as dm-timers, let's use ti,timer-dm.yaml naming for the new file. > > Cc: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx> > Cc: Keerthy <j-keerthy@xxxxxx> > Cc: Nishanth Menon <nm@xxxxxx> > Cc: Vignesh Raghavendra <vigneshr@xxxxxx> > Signed-off-by: Tony Lindgren <tony@xxxxxxxxxxx> > --- > .../bindings/timer/ti,timer-dm.yaml | 105 ++++++++++++++++++ > .../devicetree/bindings/timer/ti,timer.txt | 44 -------- > 2 files changed, 105 insertions(+), 44 deletions(-) > create mode 100644 Documentation/devicetree/bindings/timer/ti,timer-dm.yaml > delete mode 100644 Documentation/devicetree/bindings/timer/ti,timer.txt > 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/ timer@0: compatible:0: 'ti,am4372-timer-1ms' is not one of ['ti,omap2420-timer', 'ti,omap3430-timer', 'ti,omap4430-timer', 'ti,omap5430-timer', 'ti,am335x-timer', 'ti,am335x-timer-1ms', 'ti,am654-timer'] arch/arm/boot/dts/am437x-cm-t43.dtb arch/arm/boot/dts/am437x-gp-evm.dtb arch/arm/boot/dts/am437x-idk-evm.dtb arch/arm/boot/dts/am437x-sbc-t43.dtb arch/arm/boot/dts/am437x-sk-evm.dtb arch/arm/boot/dts/am43x-epos-evm.dtb timer@0: compatible:0: 'ti,am4372-timer' is not one of ['ti,omap2420-timer', 'ti,omap3430-timer', 'ti,omap4430-timer', 'ti,omap5430-timer', 'ti,am335x-timer', 'ti,am335x-timer-1ms', 'ti,am654-timer'] arch/arm/boot/dts/am437x-cm-t43.dtb arch/arm/boot/dts/am437x-cm-t43.dtb arch/arm/boot/dts/am437x-cm-t43.dtb arch/arm/boot/dts/am437x-cm-t43.dtb arch/arm/boot/dts/am437x-cm-t43.dtb arch/arm/boot/dts/am437x-cm-t43.dtb arch/arm/boot/dts/am437x-cm-t43.dtb arch/arm/boot/dts/am437x-cm-t43.dtb arch/arm/boot/dts/am437x-cm-t43.dtb arch/arm/boot/dts/am437x-cm-t43.dtb arch/arm/boot/dts/am437x-gp-evm.dtb arch/arm/boot/dts/am437x-gp-evm.dtb arch/arm/boot/dts/am437x-gp-evm.dtb arch/arm/boot/dts/am437x-gp-evm.dtb arch/arm/boot/dts/am437x-gp-evm.dtb arch/arm/boot/dts/am437x-gp-evm.dtb arch/arm/boot/dts/am437x-gp-evm.dtb arch/arm/boot/dts/am437x-gp-evm.dtb arch/arm/boot/dts/am437x-gp-evm.dtb arch/arm/boot/dts/am437x-gp-evm.dtb arch/arm/boot/dts/am437x-idk-evm.dtb arch/arm/boot/dts/am437x-idk-evm.dtb arch/arm/boot/dts/am437x-idk-evm.dtb arch/arm/boot/dts/am437x-idk-evm.dtb arch/arm/boot/dts/am437x-idk-evm.dtb arch/arm/boot/dts/am437x-idk-evm.dtb arch/arm/boot/dts/am437x-idk-evm.dtb arch/arm/boot/dts/am437x-idk-evm.dtb arch/arm/boot/dts/am437x-idk-evm.dtb arch/arm/boot/dts/am437x-idk-evm.dtb arch/arm/boot/dts/am437x-sbc-t43.dtb arch/arm/boot/dts/am437x-sbc-t43.dtb arch/arm/boot/dts/am437x-sbc-t43.dtb arch/arm/boot/dts/am437x-sbc-t43.dtb arch/arm/boot/dts/am437x-sbc-t43.dtb arch/arm/boot/dts/am437x-sbc-t43.dtb arch/arm/boot/dts/am437x-sbc-t43.dtb arch/arm/boot/dts/am437x-sbc-t43.dtb arch/arm/boot/dts/am437x-sbc-t43.dtb arch/arm/boot/dts/am437x-sbc-t43.dtb arch/arm/boot/dts/am437x-sk-evm.dtb arch/arm/boot/dts/am437x-sk-evm.dtb arch/arm/boot/dts/am437x-sk-evm.dtb arch/arm/boot/dts/am437x-sk-evm.dtb arch/arm/boot/dts/am437x-sk-evm.dtb arch/arm/boot/dts/am437x-sk-evm.dtb arch/arm/boot/dts/am437x-sk-evm.dtb arch/arm/boot/dts/am437x-sk-evm.dtb arch/arm/boot/dts/am437x-sk-evm.dtb arch/arm/boot/dts/am437x-sk-evm.dtb arch/arm/boot/dts/am43x-epos-evm.dtb arch/arm/boot/dts/am43x-epos-evm.dtb arch/arm/boot/dts/am43x-epos-evm.dtb arch/arm/boot/dts/am43x-epos-evm.dtb arch/arm/boot/dts/am43x-epos-evm.dtb arch/arm/boot/dts/am43x-epos-evm.dtb arch/arm/boot/dts/am43x-epos-evm.dtb arch/arm/boot/dts/am43x-epos-evm.dtb arch/arm/boot/dts/am43x-epos-evm.dtb arch/arm/boot/dts/am43x-epos-evm.dtb timer@0: compatible: ['ti,am4372-timer-1ms', 'ti,am335x-timer-1ms'] is too long arch/arm/boot/dts/am437x-cm-t43.dtb arch/arm/boot/dts/am437x-gp-evm.dtb arch/arm/boot/dts/am437x-idk-evm.dtb arch/arm/boot/dts/am437x-sbc-t43.dtb arch/arm/boot/dts/am437x-sk-evm.dtb arch/arm/boot/dts/am43x-epos-evm.dtb timer@0: compatible: ['ti,am4372-timer', 'ti,am335x-timer'] is too long arch/arm/boot/dts/am437x-cm-t43.dtb arch/arm/boot/dts/am437x-cm-t43.dtb arch/arm/boot/dts/am437x-cm-t43.dtb arch/arm/boot/dts/am437x-cm-t43.dtb arch/arm/boot/dts/am437x-cm-t43.dtb arch/arm/boot/dts/am437x-cm-t43.dtb arch/arm/boot/dts/am437x-cm-t43.dtb arch/arm/boot/dts/am437x-cm-t43.dtb arch/arm/boot/dts/am437x-cm-t43.dtb arch/arm/boot/dts/am437x-cm-t43.dtb arch/arm/boot/dts/am437x-gp-evm.dtb arch/arm/boot/dts/am437x-gp-evm.dtb arch/arm/boot/dts/am437x-gp-evm.dtb arch/arm/boot/dts/am437x-gp-evm.dtb arch/arm/boot/dts/am437x-gp-evm.dtb arch/arm/boot/dts/am437x-gp-evm.dtb arch/arm/boot/dts/am437x-gp-evm.dtb arch/arm/boot/dts/am437x-gp-evm.dtb arch/arm/boot/dts/am437x-gp-evm.dtb arch/arm/boot/dts/am437x-gp-evm.dtb arch/arm/boot/dts/am437x-idk-evm.dtb arch/arm/boot/dts/am437x-idk-evm.dtb arch/arm/boot/dts/am437x-idk-evm.dtb arch/arm/boot/dts/am437x-idk-evm.dtb arch/arm/boot/dts/am437x-idk-evm.dtb arch/arm/boot/dts/am437x-idk-evm.dtb arch/arm/boot/dts/am437x-idk-evm.dtb arch/arm/boot/dts/am437x-idk-evm.dtb arch/arm/boot/dts/am437x-idk-evm.dtb arch/arm/boot/dts/am437x-idk-evm.dtb arch/arm/boot/dts/am437x-sbc-t43.dtb arch/arm/boot/dts/am437x-sbc-t43.dtb arch/arm/boot/dts/am437x-sbc-t43.dtb arch/arm/boot/dts/am437x-sbc-t43.dtb arch/arm/boot/dts/am437x-sbc-t43.dtb arch/arm/boot/dts/am437x-sbc-t43.dtb arch/arm/boot/dts/am437x-sbc-t43.dtb arch/arm/boot/dts/am437x-sbc-t43.dtb arch/arm/boot/dts/am437x-sbc-t43.dtb arch/arm/boot/dts/am437x-sbc-t43.dtb arch/arm/boot/dts/am437x-sk-evm.dtb arch/arm/boot/dts/am437x-sk-evm.dtb arch/arm/boot/dts/am437x-sk-evm.dtb arch/arm/boot/dts/am437x-sk-evm.dtb arch/arm/boot/dts/am437x-sk-evm.dtb arch/arm/boot/dts/am437x-sk-evm.dtb arch/arm/boot/dts/am437x-sk-evm.dtb arch/arm/boot/dts/am437x-sk-evm.dtb arch/arm/boot/dts/am437x-sk-evm.dtb arch/arm/boot/dts/am437x-sk-evm.dtb arch/arm/boot/dts/am43x-epos-evm.dtb arch/arm/boot/dts/am43x-epos-evm.dtb arch/arm/boot/dts/am43x-epos-evm.dtb arch/arm/boot/dts/am43x-epos-evm.dtb arch/arm/boot/dts/am43x-epos-evm.dtb arch/arm/boot/dts/am43x-epos-evm.dtb arch/arm/boot/dts/am43x-epos-evm.dtb arch/arm/boot/dts/am43x-epos-evm.dtb arch/arm/boot/dts/am43x-epos-evm.dtb arch/arm/boot/dts/am43x-epos-evm.dtb