nvmem: rockchip-efuse: add optional property to get efuse size
authorChen Liang <cl@rock-chips.com>
Tue, 11 Apr 2017 07:51:23 +0000 (15:51 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 11 Apr 2017 08:37:57 +0000 (16:37 +0800)
commit976deff0dbc8e0af97b7ac1ba6dddb41cd1a9412
tree552f51d11483180512592fd45501a1119a0165f2
parent8c606fb4f6e8bb852d48a3e1228f5ea33bdb308d
nvmem: rockchip-efuse: add optional property to get efuse size

The exact efuse size is defined in property <reg> before, this assume
that the length of registers is equal to efuse size, but it not true
for some chips, so we need anothor property to redefine efuse size.

Change-Id: I9cdab8adc2a13b55cfcacc3c2248295c4387a806
Signed-off-by: Chen Liang <cl@rock-chips.com>
Documentation/devicetree/bindings/nvmem/rockchip-efuse.txt
drivers/nvmem/rockchip-efuse.c