This patch series adds OTP memory support for Rockchip RK3588 SoC, while also providing a few improvements to the existing rockchip-otp driver, in addition to converting the bindings to dt-schema. Changes in v2: - Renamed rockchip-otp.yaml to rockchip,otp.yaml and removed clock's minItems in PATCH 1/8, according to the review from Krzysztof - Updated commit message in PATCH 2/8, per Heiko's suggestion - Renamed rockchip_data's clocks to clks in PATCH 3/8, per Heiko's review - Preserved clocks order/names from older SoC variants in PATCH 2/8, according to Krzysztof's review; updated accordingly patches 7/8 and 8/8 - Added Tested-by tags from Vincent - Added Reviewed-by tags from Heiko - v1: https://lore.kernel.org/lkml/20230501084401.765169-1-cristian.ciocaltea@xxxxxxxxxxxxx/ Cristian Ciocaltea (8): dt-bindings: nvmem: Convert rockchip-otp.txt to dt-schema dt-bindings: nvmem: rockchip,otp: Add compatible for RK3588 nvmem: rockchip-otp: Add clks and reg_read to rockchip_data nvmem: rockchip-otp: Generalize rockchip_otp_wait_status() nvmem: rockchip-otp: Use devm_reset_control_array_get_exclusive() nvmem: rockchip-otp: Improve probe error handling nvmem: rockchip-otp: Add support for RK3588 arm64: dts: rockchip: Add rk3588 OTP node .../bindings/nvmem/rockchip,otp.yaml | 122 +++++++++++ .../bindings/nvmem/rockchip-otp.txt | 25 --- arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 54 +++++ drivers/nvmem/rockchip-otp.c | 191 +++++++++++++----- 4 files changed, 320 insertions(+), 72 deletions(-) create mode 100644 Documentation/devicetree/bindings/nvmem/rockchip,otp.yaml delete mode 100644 Documentation/devicetree/bindings/nvmem/rockchip-otp.txt -- 2.40.0