mirror of
https://github.com/torvalds/linux.git
synced 2024-12-24 11:51:27 +00:00
880d54ff56
This patch reworks the clock binding to avoid too much detail in DT. Now we have only compatible string per type of clock (remark from Rob https://lkml.org/lkml/2016/5/25/492) Signed-off-by: Gabriel Fernandez <gabriel.fernandez@st.com> Acked-by: Peter Griffin <peter.griffin@linaro.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
33 lines
778 B
Plaintext
33 lines
778 B
Plaintext
Binding for a ST multiplexed clock driver.
|
|
|
|
This binding supports only simple indexed multiplexers, it does not
|
|
support table based parent index to hardware value translations.
|
|
|
|
This binding uses the common clock binding[1].
|
|
|
|
[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
|
|
|
|
Required properties:
|
|
|
|
- compatible : shall be:
|
|
"st,stih407-clkgen-a9-mux"
|
|
|
|
- #clock-cells : from common clock binding; shall be set to 0.
|
|
|
|
- reg : A Base address and length of the register set.
|
|
|
|
- clocks : from common clock binding
|
|
|
|
Example:
|
|
|
|
clk_m_a9: clk-m-a9@92b0000 {
|
|
#clock-cells = <0>;
|
|
compatible = "st,stih407-clkgen-a9-mux";
|
|
reg = <0x92b0000 0x10000>;
|
|
|
|
clocks = <&clockgen_a9_pll 0>,
|
|
<&clockgen_a9_pll 0>,
|
|
<&clk_s_c0_flexgen 13>,
|
|
<&clk_m_a9_ext2f_div2>;
|
|
};
|