[PATCH v5 1/2] dt-bindings: timer: Update TI timer to yaml
Rob Herring
robh at kernel.org
Mon Apr 25 14:55:04 PDT 2022
On Thu, 14 Apr 2022 11:58:06 +0300, Tony Lindgren wrote:
> Let's update the TI timer binding to use yaml. As this binding is specific
> to the TI dual-mode timers also known as dm-timers, let's use file name
> ti,timer-dm.yaml to avoid confusion with other timers.
>
> We add checks for the deprecated ti,hwmods property as done for other TI
> device driver bindings earlier.
>
> We also correct the issue with the old binding that was out of date for
> several properties.
>
> The am43 related timers are undocumented, but compatible with the am3
> timers. Let's add the am43 timers too.
>
> The dm814 and dm816 timers are missing, let's add them.
>
> Some timers on some SoCs are dual mapped, like the ABE timers on omap4
> and 5. The reg property maxItems must be updated to 2.
>
> The timer clocks can be managed by the parent interconnect target module
> with no clocks assigned for the timer node. And in some cases, the SoC may
> need to configure additional system clock for the timer in addition to the
> functional clock.
>
> The clock names are optional and not specific to the comptible property.
> For example, dra7 timers on l3 interconnect do not need clock-names, while
> the timers on dra7 l4 interconnect need them with both being compatible
> with ti,omap5430-timer.
>
> Cc: Daniel Lezcano <daniel.lezcano at linaro.org>
> Cc: Grygorii Strashko <grygorii.strashko at ti.com>
> Cc: Keerthy <j-keerthy at ti.com>
> Cc: Nishanth Menon <nm at ti.com>
> Cc: Vignesh Raghavendra <vigneshr at ti.com>
> Signed-off-by: Tony Lindgren <tony at atomide.com>
> ---
> .../bindings/pwm/pwm-omap-dmtimer.txt | 2 +-
> .../bindings/timer/ti,timer-dm.yaml | 142 ++++++++++++++++++
> .../devicetree/bindings/timer/ti,timer.txt | 44 ------
> 3 files changed, 143 insertions(+), 45 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/timer/ti,timer-dm.yaml
> delete mode 100644 Documentation/devicetree/bindings/timer/ti,timer.txt
>
Applied, thanks!
More information about the linux-arm-kernel
mailing list