* [PATCH] ARM: dts: sun8i: v3s: add pwm controller to v3s dts
@ 2021-05-13 18:20 Tobias Schramm
2021-05-13 19:31 ` Jernej Škrabec
0 siblings, 1 reply; 2+ messages in thread
From: Tobias Schramm @ 2021-05-13 18:20 UTC (permalink / raw)
To: Rob Herring, Maxime Ripard, Chen-Yu Tsai
Cc: devicetree, linux-arm-kernel, linux-sunxi, linux-kernel, Tobias Schramm
The Allwinner V3s and V3 SoCs feature a pwm controller identical to the
one used in the Allwinner A20.
This commit adds it to the V3s dtsi.
Signed-off-by: Tobias Schramm <t.schramm@manjaro.org>
---
arch/arm/boot/dts/sun8i-v3s.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/sun8i-v3s.dtsi b/arch/arm/boot/dts/sun8i-v3s.dtsi
index 770f5a25ab4c..22bc5ab4c3ca 100644
--- a/arch/arm/boot/dts/sun8i-v3s.dtsi
+++ b/arch/arm/boot/dts/sun8i-v3s.dtsi
@@ -433,6 +433,14 @@ wdt0: watchdog@1c20ca0 {
clocks = <&osc24M>;
};
+ pwm: pwm@1c21400 {
+ compatible = "allwinner,sun7i-a20-pwm";
+ reg = <0x01c21400 0xc>;
+ clocks = <&osc24M>;
+ #pwm-cells = <3>;
+ status = "disabled";
+ };
+
lradc: lradc@1c22800 {
compatible = "allwinner,sun4i-a10-lradc-keys";
reg = <0x01c22800 0x400>;
--
2.30.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] 2+ messages in thread
* Re: [PATCH] ARM: dts: sun8i: v3s: add pwm controller to v3s dts
2021-05-13 18:20 [PATCH] ARM: dts: sun8i: v3s: add pwm controller to v3s dts Tobias Schramm
@ 2021-05-13 19:31 ` Jernej Škrabec
0 siblings, 0 replies; 2+ messages in thread
From: Jernej Škrabec @ 2021-05-13 19:31 UTC (permalink / raw)
To: Rob Herring, Maxime Ripard, Chen-Yu Tsai, Tobias Schramm
Cc: devicetree, linux-arm-kernel, linux-sunxi, linux-kernel, Tobias Schramm
Hi!
Dne četrtek, 13. maj 2021 ob 20:20:00 CEST je Tobias Schramm napisal(a):
> The Allwinner V3s and V3 SoCs feature a pwm controller identical to the
> one used in the Allwinner A20.
> This commit adds it to the V3s dtsi.
>
> Signed-off-by: Tobias Schramm <t.schramm@manjaro.org>
> ---
> arch/arm/boot/dts/sun8i-v3s.dtsi | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun8i-v3s.dtsi b/arch/arm/boot/dts/sun8i-
v3s.dtsi
> index 770f5a25ab4c..22bc5ab4c3ca 100644
> --- a/arch/arm/boot/dts/sun8i-v3s.dtsi
> +++ b/arch/arm/boot/dts/sun8i-v3s.dtsi
> @@ -433,6 +433,14 @@ wdt0: watchdog@1c20ca0 {
> clocks = <&osc24M>;
> };
>
> + pwm: pwm@1c21400 {
> + compatible = "allwinner,sun7i-a20-pwm";
Add V3s fallback compatible (as a first one) here and document it.
Best regards,
Jernej
> + reg = <0x01c21400 0xc>;
> + clocks = <&osc24M>;
> + #pwm-cells = <3>;
> + status = "disabled";
> + };
> +
> lradc: lradc@1c22800 {
> compatible = "allwinner,sun4i-a10-lradc-
keys";
> reg = <0x01c22800 0x400>;
> --
> 2.30.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] 2+ messages in thread
end of thread, other threads:[~2021-05-13 19:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-13 18:20 [PATCH] ARM: dts: sun8i: v3s: add pwm controller to v3s dts Tobias Schramm
2021-05-13 19:31 ` Jernej Škrabec
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).