Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
69 lines
1.3 KiB
Plaintext
69 lines
1.3 KiB
Plaintext
Binding for a Clockgen hardware block found on
|
|
certain STMicroelectronics consumer electronics SoC devices.
|
|
|
|
A Clockgen node can contain pll, diviser or multiplexer nodes.
|
|
|
|
We will find only the base address of the Clockgen, this base
|
|
address is common of all subnode.
|
|
|
|
clockgen_node {
|
|
reg = <>;
|
|
|
|
pll_node {
|
|
...
|
|
};
|
|
|
|
quadfs_node {
|
|
...
|
|
};
|
|
|
|
mux_node {
|
|
...
|
|
};
|
|
|
|
flexgen_node {
|
|
...
|
|
};
|
|
...
|
|
};
|
|
|
|
This binding uses the common clock binding[1].
|
|
Each subnode should use the binding described in [2]..[7]
|
|
|
|
[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
|
|
[3] Documentation/devicetree/bindings/clock/st/st,clkgen-mux.txt
|
|
[4] Documentation/devicetree/bindings/clock/st/st,clkgen-pll.txt
|
|
[7] Documentation/devicetree/bindings/clock/st/st,quadfs.txt
|
|
[8] Documentation/devicetree/bindings/clock/st/st,flexgen.txt
|
|
|
|
|
|
Required properties:
|
|
- reg : A Base address and length of the register set.
|
|
|
|
Example:
|
|
|
|
clockgen-a@90ff000 {
|
|
compatible = "st,clkgen-c32";
|
|
reg = <0x90ff000 0x1000>;
|
|
|
|
clk_s_a0_pll: clk-s-a0-pll {
|
|
#clock-cells = <1>;
|
|
compatible = "st,clkgen-pll0";
|
|
|
|
clocks = <&clk_sysin>;
|
|
|
|
clock-output-names = "clk-s-a0-pll-ofd-0";
|
|
};
|
|
|
|
clk_s_a0_flexgen: clk-s-a0-flexgen {
|
|
compatible = "st,flexgen";
|
|
|
|
#clock-cells = <1>;
|
|
|
|
clocks = <&clk_s_a0_pll 0>,
|
|
<&clk_sysin>;
|
|
|
|
clock-output-names = "clk-ic-lmi0";
|
|
};
|
|
};
|