* [PATCH v6 0/2] support PWM for exynosautov9
[not found] <CGME20230718062723epcas2p4fa1d2b07220c873a4d7de2d1899f1699@epcas2p4.samsung.com>
@ 2023-07-18 6:21 ` Jaewon Kim
[not found] ` <CGME20230718062724epcas2p4c5e986c62fba72f722a37973e721a452@epcas2p4.samsung.com>
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Jaewon Kim @ 2023-07-18 6:21 UTC (permalink / raw)
To: Thierry Reding, Uwe Kleine-König, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Alim Akhtar
Cc: linux-pwm, devicetree, linux-kernel, linux-arm-kernel,
linux-samsung-soc, Jaewon Kim
Add pwm nodes to support PWM fan on exynosautov9-sadk board.
---
Changes in v6:
- add disabled status to exynosautov9.dtsi
Changes in v5:
- change const to enum in dt-bindings document
- remove comment for exynosautov9
Changes in v4:
- add document file.
Changes in v3:
- removed adding compatible to driver.
Changes in v2:
- add compatible string to driver.
Jaewon Kim (2):
dt-bindings: pwm: samsung: add exynosautov9 compatible
arm64: dts: exynos: add pwm node for exynosautov9-sadk
.../devicetree/bindings/pwm/pwm-samsung.yaml | 17 +++++++++++------
.../arm64/boot/dts/exynos/exynosautov9-sadk.dts | 6 ++++++
arch/arm64/boot/dts/exynos/exynosautov9.dtsi | 11 +++++++++++
3 files changed, 28 insertions(+), 6 deletions(-)
--
2.17.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v6 1/2] dt-bindings: pwm: samsung: add exynosautov9 compatible
[not found] ` <CGME20230718062724epcas2p4c5e986c62fba72f722a37973e721a452@epcas2p4.samsung.com>
@ 2023-07-18 6:21 ` Jaewon Kim
2023-07-20 15:57 ` Thierry Reding
0 siblings, 1 reply; 6+ messages in thread
From: Jaewon Kim @ 2023-07-18 6:21 UTC (permalink / raw)
To: Thierry Reding, Uwe Kleine-König, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Alim Akhtar
Cc: linux-pwm, devicetree, linux-kernel, linux-arm-kernel,
linux-samsung-soc, Jaewon Kim
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
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH v6 2/2] arm64: dts: exynos: add pwm node for exynosautov9-sadk
[not found] ` <CGME20230718062724epcas2p38ce71c6a195738a7bdc3871e6cbcf71c@epcas2p3.samsung.com>
@ 2023-07-18 6:22 ` Jaewon Kim
0 siblings, 0 replies; 6+ messages in thread
From: Jaewon Kim @ 2023-07-18 6:22 UTC (permalink / raw)
To: Thierry Reding, Uwe Kleine-König, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Alim Akhtar
Cc: linux-pwm, devicetree, linux-kernel, linux-arm-kernel,
linux-samsung-soc, Jaewon Kim
Add pwm node to support fan on exynosautov9-sadk board.
PWM channel 3 of ExynosAutov9 is connected to fan for SoC cooling
in SADK board.
Signed-off-by: Jaewon Kim <jaewon02.kim@samsung.com>
---
arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts | 6 ++++++
arch/arm64/boot/dts/exynos/exynosautov9.dtsi | 11 +++++++++++
2 files changed, 17 insertions(+)
diff --git a/arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts b/arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts
index 101f51bf565a..bc1815f6ada2 100644
--- a/arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts
+++ b/arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts
@@ -49,6 +49,12 @@
};
};
+&pwm {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pwm_tout3>;
+ status = "okay";
+};
+
&serial_0 {
pinctrl-0 = <&uart0_bus_dual>;
status = "okay";
diff --git a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi
index d3c5cdeff47f..16669b0443fa 100644
--- a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi
+++ b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi
@@ -1560,6 +1560,17 @@
samsung,syscon-phandle = <&pmu_system_controller>;
samsung,cluster-index = <1>;
};
+
+ pwm: pwm@103f0000 {
+ compatible = "samsung,exynosautov9-pwm",
+ "samsung,exynos4210-pwm";
+ reg = <0x103f0000 0x100>;
+ samsung,pwm-outputs = <0>, <1>, <2>, <3>;
+ #pwm-cells = <3>;
+ clocks = <&xtcxo>;
+ clock-names = "timers";
+ status = "disabled";
+ };
};
};
--
2.17.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH v6 0/2] support PWM for exynosautov9
2023-07-18 6:21 ` [PATCH v6 0/2] support PWM for exynosautov9 Jaewon Kim
[not found] ` <CGME20230718062724epcas2p4c5e986c62fba72f722a37973e721a452@epcas2p4.samsung.com>
[not found] ` <CGME20230718062724epcas2p38ce71c6a195738a7bdc3871e6cbcf71c@epcas2p3.samsung.com>
@ 2023-07-19 7:36 ` Krzysztof Kozlowski
2 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2023-07-19 7:36 UTC (permalink / raw)
To: Thierry Reding, Uwe Kleine-König, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Alim Akhtar, Jaewon Kim
Cc: Krzysztof Kozlowski, linux-pwm, devicetree, linux-kernel,
linux-arm-kernel, linux-samsung-soc
On Tue, 18 Jul 2023 15:21:58 +0900, Jaewon Kim wrote:
> Add pwm nodes to support PWM fan on exynosautov9-sadk board.
>
Applied, thanks!
[1/2] dt-bindings: pwm: samsung: add exynosautov9 compatible
https://git.kernel.org/krzk/linux/c/8188b984dea9df7bfa128fc6f8ec0b01edff2d43
[2/2] arm64: dts: exynos: add pwm node for exynosautov9-sadk
https://git.kernel.org/krzk/linux/c/74641f4a79af8dd3138a7e9a0ec352fdca5d7aba
Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v6 1/2] dt-bindings: pwm: samsung: add exynosautov9 compatible
2023-07-18 6:21 ` [PATCH v6 1/2] dt-bindings: pwm: samsung: add exynosautov9 compatible Jaewon Kim
@ 2023-07-20 15:57 ` Thierry Reding
2023-07-21 7:34 ` Krzysztof Kozlowski
0 siblings, 1 reply; 6+ messages in thread
From: Thierry Reding @ 2023-07-20 15:57 UTC (permalink / raw)
To: Jaewon Kim
Cc: Uwe Kleine-König, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Alim Akhtar, linux-pwm, devicetree, linux-kernel,
linux-arm-kernel, linux-samsung-soc
[-- Attachment #1.1: Type: text/plain, Size: 606 bytes --]
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
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
[-- Attachment #2: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v6 1/2] dt-bindings: pwm: samsung: add exynosautov9 compatible
2023-07-20 15:57 ` Thierry Reding
@ 2023-07-21 7:34 ` Krzysztof Kozlowski
0 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2023-07-21 7:34 UTC (permalink / raw)
To: Thierry Reding, Jaewon Kim
Cc: Uwe Kleine-König, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Alim Akhtar, linux-pwm, devicetree, linux-kernel,
linux-arm-kernel, linux-samsung-soc
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
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-07-21 7:35 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CGME20230718062723epcas2p4fa1d2b07220c873a4d7de2d1899f1699@epcas2p4.samsung.com>
2023-07-18 6:21 ` [PATCH v6 0/2] support PWM for exynosautov9 Jaewon Kim
[not found] ` <CGME20230718062724epcas2p4c5e986c62fba72f722a37973e721a452@epcas2p4.samsung.com>
2023-07-18 6:21 ` [PATCH v6 1/2] dt-bindings: pwm: samsung: add exynosautov9 compatible Jaewon Kim
2023-07-20 15:57 ` Thierry Reding
2023-07-21 7:34 ` Krzysztof Kozlowski
[not found] ` <CGME20230718062724epcas2p38ce71c6a195738a7bdc3871e6cbcf71c@epcas2p3.samsung.com>
2023-07-18 6:22 ` [PATCH v6 2/2] arm64: dts: exynos: add pwm node for exynosautov9-sadk Jaewon Kim
2023-07-19 7:36 ` [PATCH v6 0/2] support PWM for exynosautov9 Krzysztof Kozlowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).