2023-12-10 13:48:50

by Krzysztof Kozlowski

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

No need to create a new enum every time we bring-up new SoC.

Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
.../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


2023-12-10 23:40:18

by Sam Protsenko

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

On Sun, Dec 10, 2023 at 7:48 AM Krzysztof Kozlowski
<[email protected]> wrote:
>
> No need to create a new enum every time we bring-up new SoC.
>
> Signed-off-by: Krzysztof Kozlowski <[email protected]>
> ---

Reviewed-by: Sam Protsenko <[email protected]>

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

2023-12-11 02:29:33

by Jaewon Kim

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


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 <[email protected]>
> ---

Reviewed-by: Jaewon Kim <[email protected]>


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

2023-12-11 07:42:43

by Krzysztof Kozlowski

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


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 <[email protected]>