Re: [PATCH] dt-bindings: samsung: exynos-sysreg: combine exynosautov920 with other enum

From: Jaewon Kim
Date: Sun Dec 10 2023 - 21:29:31 EST



On 23. 12. 10. 22:48, Krzysztof Kozlowski wrote:
> No need to create a new enum every time we bring-up new SoC.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
> ---

Reviewed-by: Jaewon Kim <jaewon02.kim@xxxxxxxxxxx>


> .../bindings/soc/samsung/samsung,exynos-sysreg.yaml | 7 ++-----
> 1 file changed, 2 insertions(+), 5 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml
> index 2de4301a467d..b00f25482fec 100644
> --- a/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml
> +++ b/Documentation/devicetree/bindings/soc/samsung/samsung,exynos-sysreg.yaml
> @@ -17,6 +17,8 @@ properties:
> - samsung,exynos3-sysreg
> - samsung,exynos4-sysreg
> - samsung,exynos5-sysreg
> + - samsung,exynosautov920-peric0-sysreg
> + - samsung,exynosautov920-peric1-sysreg
> - tesla,fsd-cam-sysreg
> - tesla,fsd-fsys0-sysreg
> - tesla,fsd-fsys1-sysreg
> @@ -50,11 +52,6 @@ properties:
> - samsung,exynosautov9-peric1-sysreg
> - const: samsung,exynosautov9-sysreg
> - const: syscon
> - - items:
> - - enum:
> - - samsung,exynosautov920-peric0-sysreg
> - - samsung,exynosautov920-peric1-sysreg
> - - const: syscon
>
> reg:
> maxItems: 1