[PATCH 20/25] dt-bindings: rng: rockchip: Add RV1106 compatible
From: Vladislav Leonov
Date: Mon Aug 10 2026 - 08:40:40 EST
Add rockchip,rv1106-rng as a variant of rockchip,rk3588-rng, following
the pattern used for fallback compatibles in the schema (an items list
with an enum and a matching const fallback), so RV1106 can reuse the
existing rk3588-rng driver bindings.
Signed-off-by: Vladislav Leonov <vlad@xxxxxxx>
---
.../devicetree/bindings/rng/rockchip,rk3588-rng.yaml | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/rng/rockchip,rk3588-rng.yaml b/Documentation/devicetree/bindings/rng/rockchip,rk3588-rng.yaml
index fcc5be80142d..60ceac2697c0 100644
--- a/Documentation/devicetree/bindings/rng/rockchip,rk3588-rng.yaml
+++ b/Documentation/devicetree/bindings/rng/rockchip,rk3588-rng.yaml
@@ -13,10 +13,13 @@ maintainers:
properties:
compatible:
- enum:
- - rockchip,rk3576-rng
- - rockchip,rk3588-rng
-
+ oneOf:
+ - const: rockchip,rk3576-rng
+ - const: rockchip,rk3588-rng
+ - items:
+ - enum:
+ - rockchip,rv1106-rng
+ - const: rockchip,rk3588-rng
reg:
maxItems: 1
--
2.47.3