[PATCH RESEND v2 0/6] RK3576 OTP support

Heiko Stuebner
2025-02-10T22:45:28Z

This enables OTP support in the nvmem driver for rk3576.

I expect to pick the clock patch (patch1) and the arm64-dts patch (patch6)
myself, after the nvmem-driver and -binding patches have been applied
(patches 2-5).

But kept them together for people wanting to try this series.

changes in v2:
- fix register constant in clock definition (Diederik)
- add patch to set limits on variant-specific clock-names
- use correct limits for clocks + resets on rk3576 binding

RESEND, because I messed up my git-send-email which caused it to include
the list of patches 2 times, duplicating everything :-( .

Heiko Stuebner (6):
clk: rockchip: rk3576: define clk_otp_phy_g
nvmem: rockchip-otp: Move read-offset into variant-data
dt-bindings: nvmem: rockchip,otp: add missing limits for clock-names
dt-bindings: nvmem: rockchip,otp: Add compatible for RK3576
nvmem: rockchip-otp: add rk3576 variant data
arm64: dts: rockchip: add rk3576 otp node

.../bindings/nvmem/rockchip,otp.yaml | 25 ++++++++++++
arch/arm64/boot/dts/rockchip/rk3576.dtsi | 39 +++++++++++++++++++
drivers/clk/rockchip/clk-rk3576.c | 2 +
drivers/nvmem/rockchip-otp.c | 17 +++++++-
4 files changed, 81 insertions(+), 2 deletions(-)

--
2.47.2