2023-07-14 10:37:04

by Jaewon Kim

[permalink] [raw]
Subject: [PATCH v2 0/3] support PWM for exynosautov9

Add pwm nodes to support PWM fan on exynosautov9-sadk board.

Changes in v2.
- add new compatible string for exynosautov9

Jaewon Kim (3):
dt-bindings: pwm: samsung: add exynosautov9 compatible
pwm: samsung: Add compatible for ExynosAutov9 SoC
arm64: dts: exynos: add pwm node for exynosautov9-sadk

Documentation/devicetree/bindings/pwm/pwm-samsung.yaml | 1 +
arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts | 6 ++++++
arch/arm64/boot/dts/exynos/exynosautov9.dtsi | 9 +++++++++
drivers/pwm/pwm-samsung.c | 1 +
4 files changed, 17 insertions(+)

--
2.17.1



2023-07-14 10:46:03

by Jaewon Kim

[permalink] [raw]
Subject: [PATCH v2 2/3] pwm: samsung: Add compatible for ExynosAutov9 SoC

Add new compatible string to support ExynosAutov9 SoC.

Signed-off-by: Jaewon Kim <[email protected]>
---
drivers/pwm/pwm-samsung.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/pwm/pwm-samsung.c b/drivers/pwm/pwm-samsung.c
index e8828f57ab15..50a88565c440 100644
--- a/drivers/pwm/pwm-samsung.c
+++ b/drivers/pwm/pwm-samsung.c
@@ -513,6 +513,7 @@ static const struct of_device_id samsung_pwm_matches[] = {
{ .compatible = "samsung,s5p6440-pwm", .data = &s5p64x0_variant },
{ .compatible = "samsung,s5pc100-pwm", .data = &s5pc100_variant },
{ .compatible = "samsung,exynos4210-pwm", .data = &s5p64x0_variant },
+ { .compatible = "samsung,exynosautov9-pwm", .data = &s5p64x0_variant },
{},
};
MODULE_DEVICE_TABLE(of, samsung_pwm_matches);
--
2.17.1


2023-07-14 10:46:32

by Jaewon Kim

[permalink] [raw]
Subject: [PATCH v2 1/3] dt-bindings: pwm: samsung: add exynosautov9 compatible

Add samsung,exynosautov9-pwm compatible string to binding document.

Signed-off-by: Jaewon Kim <[email protected]>
---
Documentation/devicetree/bindings/pwm/pwm-samsung.yaml | 1 +
1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/pwm/pwm-samsung.yaml b/Documentation/devicetree/bindings/pwm/pwm-samsung.yaml
index fe603fb1b2cc..39a471083016 100644
--- a/Documentation/devicetree/bindings/pwm/pwm-samsung.yaml
+++ b/Documentation/devicetree/bindings/pwm/pwm-samsung.yaml
@@ -26,6 +26,7 @@ properties:
- samsung,s5p6440-pwm # 32-bit, S5P64x0
- samsung,s5pc100-pwm # 32-bit, S5PC100, S5PV210, Exynos4210 rev0 SoCs
- samsung,exynos4210-pwm # 32-bit, Exynos
+ - samsung,exynosautov9-pwm # 32-bit, ExynosAutov9

reg:
maxItems: 1
--
2.17.1


2023-07-15 02:54:08

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH v2 1/3] dt-bindings: pwm: samsung: add exynosautov9 compatible


On Fri, 14 Jul 2023 19:09:27 +0900, Jaewon Kim wrote:
> Add samsung,exynosautov9-pwm compatible string to binding document.
>
> Signed-off-by: Jaewon Kim <[email protected]>
> ---
> Documentation/devicetree/bindings/pwm/pwm-samsung.yaml | 1 +
> 1 file changed, 1 insertion(+)
>

Acked-by: Rob Herring <[email protected]>


2023-07-15 07:56:35

by Uwe Kleine-König

[permalink] [raw]
Subject: Re: [PATCH v2 2/3] pwm: samsung: Add compatible for ExynosAutov9 SoC

Hello,

On Fri, Jul 14, 2023 at 07:09:28PM +0900, Jaewon Kim wrote:
> Add new compatible string to support ExynosAutov9 SoC.
>
> Signed-off-by: Jaewon Kim <[email protected]>

Looks good to me:

Acked-by: Uwe Kleine-K?nig <[email protected]>

What are the merge plans here? The whole series via pwm or a samsung
tree? Or a mixture?

Best regards
Uwe

--
Pengutronix e.K. | Uwe Kleine-K?nig |
Industrial Linux Solutions | https://www.pengutronix.de/ |


Attachments:
(No filename) (546.00 B)
signature.asc (499.00 B)
Download all attachments

2023-07-17 05:08:29

by Jaewon Kim

[permalink] [raw]
Subject: Re: [PATCH v2 2/3] pwm: samsung: Add compatible for ExynosAutov9 SoC

Hello,


On 23. 7. 15. 16:22, Uwe Kleine-König wrote:
> Hello,
>
> On Fri, Jul 14, 2023 at 07:09:28PM +0900, Jaewon Kim wrote:
>> Add new compatible string to support ExynosAutov9 SoC.
>>
>> Signed-off-by: Jaewon Kim <[email protected]>
> Looks good to me:
>
> Acked-by: Uwe Kleine-König <[email protected]>
>
> What are the merge plans here? The whole series via pwm or a samsung
> tree? Or a mixture?

It would be nice to be merged whole series in the samsung tree.

Krzysztof could you apply all patch after your review?


>
> Best regards
> Uwe
>

Thanks

Jaewon Kim


2023-07-17 06:17:16

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH v2 2/3] pwm: samsung: Add compatible for ExynosAutov9 SoC

On 17/07/2023 06:44, Jaewon Kim wrote:
> Hello,
>
>
> On 23. 7. 15. 16:22, Uwe Kleine-König wrote:
>> Hello,
>>
>> On Fri, Jul 14, 2023 at 07:09:28PM +0900, Jaewon Kim wrote:
>>> Add new compatible string to support ExynosAutov9 SoC.
>>>
>>> Signed-off-by: Jaewon Kim <[email protected]>
>> Looks good to me:
>>
>> Acked-by: Uwe Kleine-König <[email protected]>
>>
>> What are the merge plans here? The whole series via pwm or a samsung
>> tree? Or a mixture?
>
> It would be nice to be merged whole series in the samsung tree.
>
> Krzysztof could you apply all patch after your review?

Patch needs fixes - it is really different than we talked about.

Anyway, both PWM patches - bindings and driver - should go via PWM tree.
I will take the DTS, once proper version is sent.

Best regards,
Krzysztof


2023-07-17 06:19:57

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH v2 2/3] pwm: samsung: Add compatible for ExynosAutov9 SoC

On 14/07/2023 12:09, Jaewon Kim wrote:
> Add new compatible string to support ExynosAutov9 SoC.
>
> Signed-off-by: Jaewon Kim <[email protected]>
> ---
> drivers/pwm/pwm-samsung.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/pwm/pwm-samsung.c b/drivers/pwm/pwm-samsung.c
> index e8828f57ab15..50a88565c440 100644
> --- a/drivers/pwm/pwm-samsung.c
> +++ b/drivers/pwm/pwm-samsung.c
> @@ -513,6 +513,7 @@ static const struct of_device_id samsung_pwm_matches[] = {
> { .compatible = "samsung,s5p6440-pwm", .data = &s5p64x0_variant },
> { .compatible = "samsung,s5pc100-pwm", .data = &s5pc100_variant },
> { .compatible = "samsung,exynos4210-pwm", .data = &s5p64x0_variant },
> + { .compatible = "samsung,exynosautov9-pwm", .data = &s5p64x0_variant },

That's not what I asked for. You do not need entry here. Devices are
compatible.

Best regards,
Krzysztof


2023-07-17 06:25:13

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH v2 1/3] dt-bindings: pwm: samsung: add exynosautov9 compatible

On 14/07/2023 12:09, Jaewon Kim wrote:
> Add samsung,exynosautov9-pwm compatible string to binding document.
>
> Signed-off-by: Jaewon Kim <[email protected]>
> ---
> Documentation/devicetree/bindings/pwm/pwm-samsung.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/pwm/pwm-samsung.yaml b/Documentation/devicetree/bindings/pwm/pwm-samsung.yaml
> index fe603fb1b2cc..39a471083016 100644
> --- a/Documentation/devicetree/bindings/pwm/pwm-samsung.yaml
> +++ b/Documentation/devicetree/bindings/pwm/pwm-samsung.yaml
> @@ -26,6 +26,7 @@ properties:
> - samsung,s5p6440-pwm # 32-bit, S5P64x0
> - samsung,s5pc100-pwm # 32-bit, S5PC100, S5PV210, Exynos4210 rev0 SoCs
> - samsung,exynos4210-pwm # 32-bit, Exynos
> + - samsung,exynosautov9-pwm # 32-bit, ExynosAutov9


This does not express compatibility properly.

Best regards,
Krzysztof


2023-07-17 06:34:54

by Jaewon Kim

[permalink] [raw]
Subject: Re: [PATCH v2 2/3] pwm: samsung: Add compatible for ExynosAutov9 SoC


On 23. 7. 17. 14:58, Krzysztof Kozlowski wrote:
> On 14/07/2023 12:09, Jaewon Kim wrote:
>> Add new compatible string to support ExynosAutov9 SoC.
>>
>> Signed-off-by: Jaewon Kim <[email protected]>
>> ---
>> drivers/pwm/pwm-samsung.c | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/pwm/pwm-samsung.c b/drivers/pwm/pwm-samsung.c
>> index e8828f57ab15..50a88565c440 100644
>> --- a/drivers/pwm/pwm-samsung.c
>> +++ b/drivers/pwm/pwm-samsung.c
>> @@ -513,6 +513,7 @@ static const struct of_device_id samsung_pwm_matches[] = {
>> { .compatible = "samsung,s5p6440-pwm", .data = &s5p64x0_variant },
>> { .compatible = "samsung,s5pc100-pwm", .data = &s5pc100_variant },
>> { .compatible = "samsung,exynos4210-pwm", .data = &s5p64x0_variant },
>> + { .compatible = "samsung,exynosautov9-pwm", .data = &s5p64x0_variant },
> That's not what I asked for. You do not need entry here. Devices are
> compatible.

I misunderstood your intent.

I will add only this compatible to DT and send it again with v3 patch.

> Best regards,
> Krzysztof
>
>

Thanks

Jaewon Kim