[PATCH v6 1/2] dt-bindings: pwm: samsung: add exynosautov9 compatible

Jaewon Kim posted 2 patches 2 years, 1 month ago
[PATCH v6 1/2] dt-bindings: pwm: samsung: add exynosautov9 compatible
Posted by Jaewon Kim 2 years, 1 month ago
Add samsung,exynosautov9-pwm compatible string to binding document.

Signed-off-by: Jaewon Kim <jaewon02.kim@samsung.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../devicetree/bindings/pwm/pwm-samsung.yaml    | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/Documentation/devicetree/bindings/pwm/pwm-samsung.yaml b/Documentation/devicetree/bindings/pwm/pwm-samsung.yaml
index fe603fb1b2cc..2162f661ed5a 100644
--- a/Documentation/devicetree/bindings/pwm/pwm-samsung.yaml
+++ b/Documentation/devicetree/bindings/pwm/pwm-samsung.yaml
@@ -20,12 +20,17 @@ description: |+
 
 properties:
   compatible:
-    enum:
-      - samsung,s3c2410-pwm             # 16-bit, S3C24xx
-      - samsung,s3c6400-pwm             # 32-bit, S3C64xx
-      - samsung,s5p6440-pwm             # 32-bit, S5P64x0
-      - samsung,s5pc100-pwm             # 32-bit, S5PC100, S5PV210, Exynos4210 rev0 SoCs
-      - samsung,exynos4210-pwm          # 32-bit, Exynos
+    oneOf:
+      - enum:
+          - samsung,s3c2410-pwm             # 16-bit, S3C24xx
+          - samsung,s3c6400-pwm             # 32-bit, S3C64xx
+          - samsung,s5p6440-pwm             # 32-bit, S5P64x0
+          - samsung,s5pc100-pwm             # 32-bit, S5PC100, S5PV210, Exynos4210 rev0 SoCs
+          - samsung,exynos4210-pwm          # 32-bit, Exynos
+      - items:
+          - enum:
+              - samsung,exynosautov9-pwm
+          - const: samsung,exynos4210-pwm
 
   reg:
     maxItems: 1
-- 
2.17.1
Re: [PATCH v6 1/2] dt-bindings: pwm: samsung: add exynosautov9 compatible
Posted by Thierry Reding 2 years, 1 month ago
On Tue, Jul 18, 2023 at 03:21:59PM +0900, Jaewon Kim wrote:
> Add samsung,exynosautov9-pwm compatible string to binding document.
> 
> Signed-off-by: Jaewon Kim <jaewon02.kim@samsung.com>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  .../devicetree/bindings/pwm/pwm-samsung.yaml    | 17 +++++++++++------
>  1 file changed, 11 insertions(+), 6 deletions(-)

Kryzsztof,

do you want to pick this up along with the DT change? If so:

Acked-by: Thierry Reding <thierry.reding@gmail.com>

Let me know if you prefer for this to go through the PWM tree.

Thierry
Re: [PATCH v6 1/2] dt-bindings: pwm: samsung: add exynosautov9 compatible
Posted by Krzysztof Kozlowski 2 years, 1 month ago
On 20/07/2023 17:57, Thierry Reding wrote:
> On Tue, Jul 18, 2023 at 03:21:59PM +0900, Jaewon Kim wrote:
>> Add samsung,exynosautov9-pwm compatible string to binding document.
>>
>> Signed-off-by: Jaewon Kim <jaewon02.kim@samsung.com>
>> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>> ---
>>  .../devicetree/bindings/pwm/pwm-samsung.yaml    | 17 +++++++++++------
>>  1 file changed, 11 insertions(+), 6 deletions(-)
> 
> Kryzsztof,
> 
> do you want to pick this up along with the DT change? If so:
> 
> Acked-by: Thierry Reding <thierry.reding@gmail.com>
> 
> Let me know if you prefer for this to go through the PWM tree.

I already applied it and sent a confirmation of that.

Best regards,
Krzysztof