[PATCH v3 1/2] dt-bindings: rng: add google,gs101-trng compatible
From: Tudor Ambarus
Date: Fri Oct 24 2025 - 13:58:21 EST
Add support for the TRNG found on GS101. It works well with the current
exynos850 TRNG support.
The TRNG controller can be part of a power domain, allow the relevant
property 'power-domains'.
Signed-off-by: Tudor Ambarus <tudor.ambarus@xxxxxxxxxx>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
---
.../devicetree/bindings/rng/samsung,exynos5250-trng.yaml | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/rng/samsung,exynos5250-trng.yaml b/Documentation/devicetree/bindings/rng/samsung,exynos5250-trng.yaml
index 1a71935d8a1906591439c03b7678538e656324b6..699831927932949a433fa5dca767ad366fb76f2c 100644
--- a/Documentation/devicetree/bindings/rng/samsung,exynos5250-trng.yaml
+++ b/Documentation/devicetree/bindings/rng/samsung,exynos5250-trng.yaml
@@ -12,9 +12,13 @@ maintainers:
properties:
compatible:
- enum:
- - samsung,exynos5250-trng
- - samsung,exynos850-trng
+ oneOf:
+ - enum:
+ - samsung,exynos5250-trng
+ - samsung,exynos850-trng
+ - items:
+ - const: google,gs101-trng
+ - const: samsung,exynos850-trng
clocks:
minItems: 1
@@ -24,6 +28,9 @@ properties:
minItems: 1
maxItems: 2
+ power-domains:
+ maxItems: 1
+
reg:
maxItems: 1
--
2.51.1.851.g4ebd6896fd-goog