Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 18fcd4cd authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "dt-bindings: clk: Introduce 'protected-clocks' property"

parents fa4f9dbf f8f02a44
Loading
Loading
Loading
Loading
+16 −0
Original line number Original line Diff line number Diff line
@@ -168,3 +168,19 @@ a shared clock is forbidden.


Configuration of common clocks, which affect multiple consumer devices can
Configuration of common clocks, which affect multiple consumer devices can
be similarly specified in the clock provider node.
be similarly specified in the clock provider node.

==Protected clocks==

Some platforms or firmwares may not fully expose all the clocks to the OS, such
as in situations where those clks are used by drivers running in ARM secure
execution levels. Such a configuration can be specified in device tree with the
protected-clocks property in the form of a clock specifier list. This property should
only be specified in the node that is providing the clocks being protected:

   clock-controller@a000f000 {
        compatible = "vendor,clk95;
        reg = <0xa000f000 0x1000>
        #clocks-cells = <1>;
        ...
        protected-clocks = <UART3_CLK>, <SPI5_CLK>;
   };