]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
nvmem: meson-efuse: bindings: add peripheral clock
authorJerome Brunet <jbrunet@baylibre.com>
Fri, 30 Nov 2018 11:53:22 +0000 (11:53 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Dec 2018 14:45:45 +0000 (15:45 +0100)
The efuse found in gx SoC requires a peripheral clock to properly operate.
We have been able to work without it until now because the clock was on by
default, and left on by the CCF. Soon, it will not be the case anymore, so
the device needs to claim the clock it needs

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt

index e3298e18de26b55580a8ec5e1241a8d32060d330..2e0723ab338434d7535cef1fec7f0c10a7ba9d5c 100644 (file)
@@ -2,6 +2,8 @@
 
 Required properties:
 - compatible: should be "amlogic,meson-gxbb-efuse"
+- clocks: phandle to the efuse peripheral clock provided by the
+         clock controller.
 
 = Data cells =
 Are child nodes of eFuse, bindings of which as described in
@@ -11,6 +13,7 @@ Example:
 
        efuse: efuse {
                compatible = "amlogic,meson-gxbb-efuse";
+               clocks = <&clkc CLKID_EFUSE>;
                #address-cells = <1>;
                #size-cells = <1>;