nvmem: Add DT binding documentation for Vybrid OCOTP driver
authorSanchayan Maity <maitysanchayan@gmail.com>
Wed, 30 Sep 2015 12:54:44 +0000 (13:54 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 11:06:13 +0000 (12:06 +0100)
Add the devicetree bindings for the Freescale Vybrid On-Chip
OTP driver.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/nvmem/vf610-ocotp.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/nvmem/vf610-ocotp.txt b/Documentation/devicetree/bindings/nvmem/vf610-ocotp.txt
new file mode 100644 (file)
index 0000000..56ed481
--- /dev/null
@@ -0,0 +1,19 @@
+On-Chip OTP Memory for Freescale Vybrid
+
+Required Properties:
+  compatible:
+  - "fsl,vf610-ocotp" for VF5xx/VF6xx
+  #address-cells : Should be 1
+  #size-cells : Should be 1
+  reg : Address and length of OTP controller and fuse map registers
+  clocks : ipg clock we associate with the OCOTP peripheral
+
+Example for Vybrid VF5xx/VF6xx:
+
+       ocotp: ocotp@400a5000 {
+               compatible = "fsl,vf610-ocotp";
+               #address-cells = <1>;
+               #size-cells = <1>;
+               reg = <0x400a5000 0xCF0>;
+               clocks = <&clks VF610_CLK_OCOTP>;
+       };