Skip to content

Commit d946563

Browse files
ambaruskrzk
authored andcommitted
dt-bindings: rng: add google,gs101-trng compatible
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@linaro.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://patch.msgid.link/20251024-gs101-trng-v3-1-5d3403738f39@linaro.org Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
1 parent 8f0b4cc commit d946563

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

Documentation/devicetree/bindings/rng/samsung,exynos5250-trng.yaml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,13 @@ maintainers:
1212

1313
properties:
1414
compatible:
15-
enum:
16-
- samsung,exynos5250-trng
17-
- samsung,exynos850-trng
15+
oneOf:
16+
- enum:
17+
- samsung,exynos5250-trng
18+
- samsung,exynos850-trng
19+
- items:
20+
- const: google,gs101-trng
21+
- const: samsung,exynos850-trng
1822

1923
clocks:
2024
minItems: 1
@@ -24,6 +28,9 @@ properties:
2428
minItems: 1
2529
maxItems: 2
2630

31+
power-domains:
32+
maxItems: 1
33+
2734
reg:
2835
maxItems: 1
2936

0 commit comments

Comments
 (0)