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

Krzysztof Kozlowski posted 1 patch 2 years ago
.../bindings/soc/samsung/samsung,exynos-sysreg.yaml        | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
[PATCH] dt-bindings: samsung: exynos-sysreg: combine exynosautov920 with other enum
Posted by Krzysztof Kozlowski 2 years ago
No need to create a new enum every time we bring-up new SoC.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../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
-- 
2.34.1
Re: [PATCH] dt-bindings: samsung: exynos-sysreg: combine exynosautov920 with other enum
Posted by Krzysztof Kozlowski 2 years ago
On Sun, 10 Dec 2023 14:48:34 +0100, Krzysztof Kozlowski wrote:
> No need to create a new enum every time we bring-up new SoC.
> 
> 

Applied, thanks!

[1/1] dt-bindings: samsung: exynos-sysreg: combine exynosautov920 with other enum
      https://git.kernel.org/krzk/linux/c/e4f027756dff6a4e2abc640f276f91219559a3c9

Best regards,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Re: [PATCH] dt-bindings: samsung: exynos-sysreg: combine exynosautov920 with other enum
Posted by Jaewon Kim 2 years ago
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@linaro.org>
> ---

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


>   .../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
Re: [PATCH] dt-bindings: samsung: exynos-sysreg: combine exynosautov920 with other enum
Posted by Sam Protsenko 2 years ago
On Sun, Dec 10, 2023 at 7:48 AM Krzysztof Kozlowski
<krzysztof.kozlowski@linaro.org> wrote:
>
> No need to create a new enum every time we bring-up new SoC.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---

Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>

>  .../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
> --
> 2.34.1
>
>