| Binding for clock gate requiring global Meta locking. |
| |
| This binding uses the common clock binding[1]. |
| |
| [1] Documentation/devicetree/bindings/clock/clock-bindings.txt |
| |
| Required properties: |
| - compatible : Shall be "img,meta-mux-clock". |
| - #clock-cells : From common clock binding; shall be set to 0. |
| - reg : Address of configuration register. |
| - bit : Bit number of gate switch in configuration register. |
| - clocks : From common clock binding. |
| |
| Required source clocks: |
| - 0 : Input clock that can be gated (doesn't have to be named). |
| |
| Optional properties: |
| - clock-output-names : From common clock binding. |
| |
| Example: |
| clock { |
| compatible = "img,meta-gate-clock"; |
| #clock-cells = <0>; |
| clocks = <&sys_clk>; |
| reg = <0x02004010 0x4>; |
| bit = <0>; |
| clock-output-names = "scb0"; |
| }; |