As the timing and organization of efuse may be differentI can take patch 1 and 3, but dts has to go via arm soc tree.
between rockchip SoCs, so their read function may be different.
We add different device tree compatible string for rockchip SoCs
to match their own read function.
V3->V4:
- 3/3 change the type of out_value into u32 and buf into u8, their values
come from register, use u32 and u8 may be more readable.
Finley Xiao (3):
nvmem: rockchip-efuse: update compatible strings for Rockchip efuse
ARM: dts: rockchip: update compatible strings for Rockchip efuse
nvmem: rockchip-efuse: add rk3399-efuse support
.../devicetree/bindings/nvmem/rockchip-efuse.txt | 13 +-
arch/arm/boot/dts/rk3066a.dtsi | 2 +-
arch/arm/boot/dts/rk3188.dtsi | 2 +-
arch/arm/boot/dts/rk3288.dtsi | 2 +-
drivers/nvmem/rockchip-efuse.c | 131 ++++++++++++++++++---
5 files changed, 126 insertions(+), 24 deletions(-)