Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

nvmem: rockchip-efuse: describe the usage of eFuse

This patch add the bindings document of rockchip eFuse driver.

Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Cc: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: ZhengShunQian <zhengsq@rock-chips.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

ZhengShunQian and committed by
Greg Kroah-Hartman
faf25a90 c01e9a11

+38
+38
Documentation/devicetree/bindings/nvmem/rockchip-efuse.txt
··· 1 + = Rockchip eFuse device tree bindings = 2 + 3 + Required properties: 4 + - compatible: Should be "rockchip,rockchip-efuse" 5 + - reg: Should contain the registers location and exact eFuse size 6 + - clocks: Should be the clock id of eFuse 7 + - clock-names: Should be "pclk_efuse" 8 + 9 + = Data cells = 10 + Are child nodes of eFuse, bindings of which as described in 11 + bindings/nvmem/nvmem.txt 12 + 13 + Example: 14 + 15 + efuse: efuse@ffb40000 { 16 + compatible = "rockchip,rockchip-efuse"; 17 + reg = <0xffb40000 0x20>; 18 + #address-cells = <1>; 19 + #size-cells = <1>; 20 + clocks = <&cru PCLK_EFUSE256>; 21 + clock-names = "pclk_efuse"; 22 + 23 + /* Data cells */ 24 + cpu_leakage: cpu_leakage { 25 + reg = <0x17 0x1>; 26 + }; 27 + }; 28 + 29 + = Data consumers = 30 + Are device nodes which consume nvmem data cells. 31 + 32 + Example: 33 + 34 + cpu_leakage { 35 + ... 36 + nvmem-cells = <&cpu_leakage>; 37 + nvmem-cell-names = "cpu_leakage"; 38 + };