Skip to content

Commit

Permalink
nvmem: meson-efuse: bindings: Add secure-monitor phandle
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Carlo Caione authored and Kevin Hilman committed Oct 3, 2019
1 parent beb9168 commit 47b3c53
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -16,6 +17,7 @@ Example:
clocks = <&clkc CLKID_EFUSE>;
#address-cells = <1>;
#size-cells = <1>;
secure-monitor = <&sm>;

sn: sn@14 {
reg = <0x14 0x10>;
Expand All @@ -30,6 +32,10 @@ Example:
};
};

sm: secure-monitor {
compatible = "amlogic,meson-gxbb-sm";
};

= Data consumers =
Are device nodes which consume nvmem data cells.

Expand Down

0 comments on commit 47b3c53

Please sign in to comment.