dt-bindings: clock: Add binding for TI clksel
authorTony Lindgren <tony@atomide.com>
Thu, 3 Feb 2022 07:39:29 +0000 (09:39 +0200)
committerRob Herring <robh@kernel.org>
Wed, 9 Feb 2022 22:01:00 +0000 (16:01 -0600)
commit31fc1c63c2ae4a542e3c7ac572a10a59ece45c24
treee8883122a82b30b232694de4268475ae3d9b81d3
parent208b65f7b5cccb7185ec7c1b11e788eddf9e075a
dt-bindings: clock: Add binding for TI clksel

In order to prepare for fixing lots of devicetree unique_unit_address
warnings for the TI clock nodes, let's add a binding for the TI clksel
clocks. This allows us to move the overlapping reg properties for the
component clocks to be children of the related clksel nodes. And with
that we need the reg property only for the parent clksel node making
the reg property unique like it should be.

We want to set #clock-cells = <2> in case we ever start parsing ranges
of clkcsel instances directly using a clksel driver rather than using the
existing component clock drivers and child nodes.

And before the devicetree files can be updated, we need to update the
TI clock drivers to get the IO address from the parent clksel node.

Cc: Tero Kristo <kristo@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220203073929.59296-1-tony@atomide.com
Documentation/devicetree/bindings/clock/ti/ti,clksel.yaml [new file with mode: 0644]