[PATCH 1/2] dt-bindings: rng: add google,gs101-trng compatible

Tudor Ambarus posted 2 patches 3 months, 2 weeks ago
There is a newer version of this series
[PATCH 1/2] dt-bindings: rng: add google,gs101-trng compatible
Posted by Tudor Ambarus 3 months, 2 weeks ago
Add support for the TRNG found on GS101. It works well with the current
exynos850 TRNG support.

Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
---
 .../devicetree/bindings/rng/samsung,exynos5250-trng.yaml       | 10 +++++++---
 1 file changed, 7 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..4cae7dccbb915cf50dfa8db86b43293a66200002 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

-- 
2.51.0.915.g61a8936c21-goog
Re: [PATCH 1/2] dt-bindings: rng: add google,gs101-trng compatible
Posted by Krzysztof Kozlowski 3 months, 2 weeks ago
On 22/10/2025 13:19, Tudor Ambarus wrote:
> Add support for the TRNG found on GS101. It works well with the current
> exynos850 TRNG support.
> 
> Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
> ---
>  .../devicetree/bindings/rng/samsung,exynos5250-trng.yaml       | 10 +++++++---
>  1 file changed, 7 insertions(+), 3 deletions(-)


No power domains here? I would prefer to see such additions together
with the compatible, if that is possible.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof