diff options
author | Kevin Hilman <khilman@baylibre.com> | 2017-08-22 15:29:59 -0700 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2017-08-22 15:29:59 -0700 |
commit | 58308abae892dc6fdcb8c0879829e65fce354c6e (patch) | |
tree | c15455193653739bb517f7b16077933c237eefc6 /Documentation | |
parent | f72d6f6037b7b07927f78e159e4949b8e0263258 (diff) | |
parent | 596f2b78da7b658b5e7758d18e8135401ca12fad (diff) | |
download | linux-stable-58308abae892dc6fdcb8c0879829e65fce354c6e.tar.gz linux-stable-58308abae892dc6fdcb8c0879829e65fce354c6e.tar.bz2 linux-stable-58308abae892dc6fdcb8c0879829e65fce354c6e.zip |
Merge tag 'meson-clk-headers-for-4.14' of git://github.com/BayLibre/clk-meson into v4.14/dt64
Amlogic clock headers updates for 4.14
* meson8b: add the reset controller to the clkc
* meson: expose all clk ids
* gxbb-aoclk: Add CEC 32k clock
* gxbb: add mmc input 0 clocks
* meson: fix protection against undefined clks
* tag 'meson-clk-headers-for-4.14' of git://github.com/BayLibre/clk-meson:
dt-bindings: clock: gxbb-aoclk: Add CEC 32k clock
clk: meson: gxbb: Add sd_emmc clk0 clkids
clk: meson-gxbb: expose almost every clock in the bindings
clk: meson8b: expose every clock in the bindings
clk: meson: gxbb: fix protection against undefined clks
clk: meson: meson8b: fix protection against undefined clks
dt-bindings: clock: meson8b: describe the embedded reset controller
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/clock/amlogic,meson8b-clkc.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/clock/amlogic,meson8b-clkc.txt b/Documentation/devicetree/bindings/clock/amlogic,meson8b-clkc.txt index 606da38c0959..c858fd64f680 100644 --- a/Documentation/devicetree/bindings/clock/amlogic,meson8b-clkc.txt +++ b/Documentation/devicetree/bindings/clock/amlogic,meson8b-clkc.txt @@ -16,18 +16,25 @@ Required Properties: mapped region. - #clock-cells: should be 1. +- #reset-cells: should be 1. Each clock is assigned an identifier and client nodes can use this identifier to specify the clock which they consume. All available clocks are defined as preprocessor macros in the dt-bindings/clock/meson8b-clkc.h header and can be used in device tree sources. +Similarly a preprocessor macro for each reset line is defined in +dt-bindings/reset/amlogic,meson8b-clkc-reset.h (which can be used from the +device tree sources). + + Example: Clock controller node: clkc: clock-controller@c1104000 { - #clock-cells = <1>; compatible = "amlogic,meson8b-clkc"; reg = <0xc1108000 0x4>, <0xc1104000 0x460>; + #clock-cells = <1>; + #reset-cells = <1>; }; |