]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
nvmem: meson-efuse: bindings: Add secure-monitor phandle
authorCarlo Caione <ccaione@baylibre.com>
Wed, 31 Jul 2019 08:23:37 +0000 (09:23 +0100)
committerKevin Hilman <khilman@baylibre.com>
Thu, 3 Oct 2019 15:43:33 +0000 (08:43 -0700)
Add a new property to link the nvmem driver to the secure-monitor. The
nvmem driver needs to access the secure-monitor to be able to access the
fuses.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt

index 2e0723ab338434d7535cef1fec7f0c10a7ba9d5c..f7b3ed74db54f70cb4cb5b68bd7fb12325527ef7 100644 (file)
@@ -4,6 +4,7 @@ Required properties:
 - compatible: should be "amlogic,meson-gxbb-efuse"
 - clocks: phandle to the efuse peripheral clock provided by the
          clock controller.
+- secure-monitor: phandle to the secure-monitor node
 
 = Data cells =
 Are child nodes of eFuse, bindings of which as described in
@@ -16,6 +17,7 @@ Example:
                clocks = <&clkc CLKID_EFUSE>;
                #address-cells = <1>;
                #size-cells = <1>;
+               secure-monitor = <&sm>;
 
                sn: sn@14 {
                        reg = <0x14 0x10>;
@@ -30,6 +32,10 @@ Example:
                };
        };
 
+       sm: secure-monitor {
+               compatible = "amlogic,meson-gxbb-sm";
+       };
+
 = Data consumers =
 Are device nodes which consume nvmem data cells.