Devicetree
 help / color / mirror / Atom feed
* [PATCH 0/2] nvmem: rockchip-otp: Add support for the RV1106
@ 2026-12-03 12:24 Weihong Guan
  2026-12-03 12:24 ` [PATCH 1/2] dt-bindings: nvmem: rockchip,otp: Add RV1106 Weihong Guan
  2026-12-03 12:24 ` [PATCH 2/2] nvmem: rockchip-otp: Add support for RV1106 Weihong Guan
  0 siblings, 2 replies; 5+ messages in thread
From: Weihong Guan @ 2026-12-03 12:24 UTC (permalink / raw)
  To: Srinivas Kandagatla
  Cc: Weihong Guan, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Heiko Stuebner, Ondrej Jirman, devicetree, linux-arm-kernel,
	linux-rockchip

The RV1106, and the RV1103 which shares its blocks, has the RK3568's
OTP controller behind six clocks and six resets. These two patches add
the compatible to the binding and its data to the driver; the device
tree node can come with the RV1106/RV1103 dtsi, which is under review
(Simon Glass's series).

Tested on a Luckfox Pico Plus (RV1103) on 7.3.7 with an out-of-tree
RV1103 device tree that has the node as in the binding: the OTP's 0x80
bytes read the same as with the vendor's clock and reset names, the
board's dtb validates against the binding, and dt_binding_check passes.

The driver data matches Rockchip's own driver for the RV1106 (size,
read routine, clocks); Ondrej Jirman's port of it to 6.x was the start.
Written with the help of an AI assistant (Claude), as each patch's
Assisted-by says: the binding's rules and the commit messages, from our
out-of-tree patch; reviewed, built and tested on the board by me.

Weihong Guan (2):
  dt-bindings: nvmem: rockchip,otp: Add RV1106
  nvmem: rockchip-otp: Add support for RV1106

 .../bindings/nvmem/rockchip,otp.yaml          | 38 +++++++++++++++++--
 drivers/nvmem/rockchip-otp.c                  | 16 ++++++++
 2 files changed, 50 insertions(+), 4 deletions(-)


base-commit: ca20d5a011d35fc25e328fe31ac47f7aae557c5a
-- 
2.47.3


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-12-03 13:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03 12:24 [PATCH 0/2] nvmem: rockchip-otp: Add support for the RV1106 Weihong Guan
2026-12-03 12:24 ` [PATCH 1/2] dt-bindings: nvmem: rockchip,otp: Add RV1106 Weihong Guan
2026-12-03 12:48   ` sashiko-bot
2026-12-03 12:24 ` [PATCH 2/2] nvmem: rockchip-otp: Add support for RV1106 Weihong Guan
2026-12-03 13:06   ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox