From: srini@kernel.org
To: gregkh@linuxfoundation.org
Cc: linux-kernel@vger.kernel.org, Jonas Karlman <jonas@kwiboo.se>,
Heiko Stuebner <heiko@sntech.de>,
"Rob Herring (Arm)" <robh@kernel.org>,
Srinivas Kandagatla <srini@kernel.org>
Subject: [PATCH 5/9] dt-bindings: nvmem: rockchip,otp: Add compatible for RK3528
Date: Fri, 27 Mar 2026 13:17:47 +0000 [thread overview]
Message-ID: <20260327131751.3026030-6-srini@kernel.org> (raw)
In-Reply-To: <20260327131751.3026030-1-srini@kernel.org>
From: Jonas Karlman <jonas@kwiboo.se>
Add compatible string for the OTP controller in RK3528. Compared to the
RK3562 and RK3568 the OTP in RK3528 does not have a phy clock or reset.
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Srinivas Kandagatla <srini@kernel.org>
---
.../bindings/nvmem/rockchip,otp.yaml | 25 +++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/Documentation/devicetree/bindings/nvmem/rockchip,otp.yaml b/Documentation/devicetree/bindings/nvmem/rockchip,otp.yaml
index e90136f7dcfb..7e4d5e1c4ced 100644
--- a/Documentation/devicetree/bindings/nvmem/rockchip,otp.yaml
+++ b/Documentation/devicetree/bindings/nvmem/rockchip,otp.yaml
@@ -14,6 +14,7 @@ properties:
enum:
- rockchip,px30-otp
- rockchip,rk3308-otp
+ - rockchip,rk3528-otp
- rockchip,rk3562-otp
- rockchip,rk3568-otp
- rockchip,rk3576-otp
@@ -72,6 +73,30 @@ allOf:
items:
- const: phy
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - rockchip,rk3528-otp
+ then:
+ properties:
+ clocks:
+ maxItems: 3
+ clock-names:
+ items:
+ - const: otp
+ - const: apb_pclk
+ - const: sbpi
+ resets:
+ minItems: 3
+ maxItems: 3
+ reset-names:
+ items:
+ - const: otp
+ - const: apb
+ - const: sbpi
+
- if:
properties:
compatible:
--
2.47.3
next prev parent reply other threads:[~2026-03-27 13:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-27 13:17 [PATCH 0/9] nvmem: patches (set 1) for 7.1 srini
2026-03-27 13:17 ` [PATCH 1/9] dt-bindings: nvmem: qfprom: Add Kaanapali compatible srini
2026-03-27 13:17 ` [PATCH 2/9] nvmem: qnap-mcu-eeprom: Fix struct assignments using commas instead of semicolons srini
2026-03-27 13:17 ` [PATCH 3/9] dt-bindings: nvmem: sl28cpld: Drop sa67mcu compatible srini
2026-03-27 13:17 ` [PATCH 4/9] dt-bindings: nvmem: rockchip,otp: Add support for RK3562 and RK3568 srini
2026-03-27 13:17 ` srini [this message]
2026-03-27 13:17 ` [PATCH 6/9] nvmem: rockchip-otp: Handle internal word_size in main reg_read op srini
2026-03-27 13:17 ` [PATCH 7/9] nvmem: rockchip-otp: Add support for RK3568 srini
2026-03-27 13:17 ` [PATCH 8/9] nvmem: rockchip-otp: Add support for RK3562 srini
2026-03-27 13:17 ` [PATCH 9/9] nvmem: rockchip-otp: Add support for RK3528 srini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260327131751.3026030-6-srini@kernel.org \
--to=srini@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=heiko@sntech.de \
--cc=jonas@kwiboo.se \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox