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

dt-bindings: nvmem: rockchip,otp: Add compatible for RK3576

Document the OTP memory found on Rockchip RK3576 SoC.

The RK3576 uses the same set of clocks as the px30/rk3308
but has one reset more, so adapt the binding to handle this
variant as well.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Tested-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20250411112251.68002-4-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Heiko Stuebner and committed by
Greg Kroah-Hartman
91659606 1b23c14c

+21
+21
Documentation/devicetree/bindings/nvmem/rockchip,otp.yaml
··· 14 14 enum: 15 15 - rockchip,px30-otp 16 16 - rockchip,rk3308-otp 17 + - rockchip,rk3576-otp 17 18 - rockchip,rk3588-otp 18 19 19 20 reg: ··· 70 69 reset-names: 71 70 items: 72 71 - const: phy 72 + 73 + - if: 74 + properties: 75 + compatible: 76 + contains: 77 + enum: 78 + - rockchip,rk3576-otp 79 + then: 80 + properties: 81 + clocks: 82 + maxItems: 3 83 + clock-names: 84 + maxItems: 3 85 + resets: 86 + minItems: 2 87 + maxItems: 2 88 + reset-names: 89 + items: 90 + - const: otp 91 + - const: apb 73 92 74 93 - if: 75 94 properties: