* [PATCH v2 01/10] dt-bindings: pwm: allwinner,sun4i-a10: Add F1C100s compatible
[not found] <20221107005433.11079-1-andre.przywara@arm.com>
@ 2022-11-07 0:54 ` Andre Przywara
2022-11-07 20:09 ` Uwe Kleine-König
2022-11-15 10:25 ` Thierry Reding
2022-11-07 0:54 ` [PATCH v2 02/10] ARM: dts: suniv: f1c100s: add PWM node Andre Przywara
1 sibling, 2 replies; 8+ messages in thread
From: Andre Przywara @ 2022-11-07 0:54 UTC (permalink / raw)
To: Chen-Yu Tsai, Samuel Holland, Jernej Skrabec, Rob Herring,
Krzysztof Kozlowski
Cc: Clément Péron, Icenowy Zheng, devicetree,
linux-arm-kernel, linux-sunxi, Thierry Reding,
Uwe Kleine-König, linux-pwm, Rob Herring
The PWM controller in the Allwinner F1C100s series of SoCs is the same
as in the A20 SoCs, so allow using that as the fallback name.
Join the V3s compatible string in an enum on the way.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Rob Herring <robh@kernel.org>
---
.../devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.yaml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.yaml b/Documentation/devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.yaml
index 4cc3cc7c50be..66e400f2a3a4 100644
--- a/Documentation/devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.yaml
+++ b/Documentation/devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.yaml
@@ -25,7 +25,9 @@ properties:
- const: allwinner,sun8i-a83t-pwm
- const: allwinner,sun8i-h3-pwm
- items:
- - const: allwinner,sun8i-v3s-pwm
+ - enum:
+ - allwinner,suniv-f1c100s-pwm
+ - allwinner,sun8i-v3s-pwm
- const: allwinner,sun7i-a20-pwm
- items:
- const: allwinner,sun50i-a64-pwm
--
2.35.5
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH v2 02/10] ARM: dts: suniv: f1c100s: add PWM node
[not found] <20221107005433.11079-1-andre.przywara@arm.com>
2022-11-07 0:54 ` [PATCH v2 01/10] dt-bindings: pwm: allwinner,sun4i-a10: Add F1C100s compatible Andre Przywara
@ 2022-11-07 0:54 ` Andre Przywara
2022-11-07 17:57 ` Jernej Škrabec
2022-11-15 10:19 ` Uwe Kleine-König
1 sibling, 2 replies; 8+ messages in thread
From: Andre Przywara @ 2022-11-07 0:54 UTC (permalink / raw)
To: Chen-Yu Tsai, Samuel Holland, Jernej Skrabec, Rob Herring,
Krzysztof Kozlowski
Cc: Clément Péron, Icenowy Zheng, devicetree,
linux-arm-kernel, linux-sunxi, Thierry Reding,
Uwe Kleine-König, linux-pwm
The Allwinner F1C100s family of SoCs contain a PWM controller compatible
to the one used in the A20 chip.
Add the DT node so that any users can simply enable it in their board
DT.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
---
arch/arm/boot/dts/suniv-f1c100s.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/suniv-f1c100s.dtsi b/arch/arm/boot/dts/suniv-f1c100s.dtsi
index a01541ba42c5..81749d5da12f 100644
--- a/arch/arm/boot/dts/suniv-f1c100s.dtsi
+++ b/arch/arm/boot/dts/suniv-f1c100s.dtsi
@@ -218,6 +218,15 @@ wdt: watchdog@1c20ca0 {
clocks = <&osc32k>;
};
+ pwm: pwm@1c21000 {
+ compatible = "allwinner,suniv-f1c100s-pwm",
+ "allwinner,sun7i-a20-pwm";
+ reg = <0x01c21000 0x400>;
+ clocks = <&osc24M>;
+ #pwm-cells = <3>;
+ status = "disabled";
+ };
+
uart0: serial@1c25000 {
compatible = "snps,dw-apb-uart";
reg = <0x01c25000 0x400>;
--
2.35.5
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH v2 02/10] ARM: dts: suniv: f1c100s: add PWM node
2022-11-07 0:54 ` [PATCH v2 02/10] ARM: dts: suniv: f1c100s: add PWM node Andre Przywara
@ 2022-11-07 17:57 ` Jernej Škrabec
2022-11-15 10:19 ` Uwe Kleine-König
1 sibling, 0 replies; 8+ messages in thread
From: Jernej Škrabec @ 2022-11-07 17:57 UTC (permalink / raw)
To: Chen-Yu Tsai, Samuel Holland, Rob Herring, Krzysztof Kozlowski,
Andre Przywara
Cc: Clément Péron, Icenowy Zheng, devicetree,
linux-arm-kernel, linux-sunxi, Thierry Reding,
Uwe Kleine-König, linux-pwm
Dne ponedeljek, 07. november 2022 ob 01:54:25 CET je Andre Przywara
napisal(a):
> The Allwinner F1C100s family of SoCs contain a PWM controller compatible
> to the one used in the A20 chip.
> Add the DT node so that any users can simply enable it in their board
> DT.
>
> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Best regards,
Jernej
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v2 01/10] dt-bindings: pwm: allwinner,sun4i-a10: Add F1C100s compatible
2022-11-07 0:54 ` [PATCH v2 01/10] dt-bindings: pwm: allwinner,sun4i-a10: Add F1C100s compatible Andre Przywara
@ 2022-11-07 20:09 ` Uwe Kleine-König
2022-11-15 10:25 ` Thierry Reding
1 sibling, 0 replies; 8+ messages in thread
From: Uwe Kleine-König @ 2022-11-07 20:09 UTC (permalink / raw)
To: Andre Przywara
Cc: Chen-Yu Tsai, Samuel Holland, Jernej Skrabec, Rob Herring,
Krzysztof Kozlowski, Clément Péron, Icenowy Zheng,
devicetree, linux-arm-kernel, linux-sunxi, Thierry Reding,
linux-pwm, Rob Herring
[-- Attachment #1: Type: text/plain, Size: 1412 bytes --]
On Mon, Nov 07, 2022 at 12:54:24AM +0000, Andre Przywara wrote:
> The PWM controller in the Allwinner F1C100s series of SoCs is the same
> as in the A20 SoCs, so allow using that as the fallback name.
>
> Join the V3s compatible string in an enum on the way.
>
> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
> Acked-by: Rob Herring <robh@kernel.org>
> ---
> .../devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.yaml | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.yaml b/Documentation/devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.yaml
> index 4cc3cc7c50be..66e400f2a3a4 100644
> --- a/Documentation/devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.yaml
> +++ b/Documentation/devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.yaml
> @@ -25,7 +25,9 @@ properties:
> - const: allwinner,sun8i-a83t-pwm
> - const: allwinner,sun8i-h3-pwm
> - items:
> - - const: allwinner,sun8i-v3s-pwm
> + - enum:
> + - allwinner,suniv-f1c100s-pwm
> + - allwinner,sun8i-v3s-pwm
LGTM
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | https://www.pengutronix.de/ |
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v2 02/10] ARM: dts: suniv: f1c100s: add PWM node
2022-11-07 0:54 ` [PATCH v2 02/10] ARM: dts: suniv: f1c100s: add PWM node Andre Przywara
2022-11-07 17:57 ` Jernej Škrabec
@ 2022-11-15 10:19 ` Uwe Kleine-König
2022-11-15 10:25 ` Thierry Reding
1 sibling, 1 reply; 8+ messages in thread
From: Uwe Kleine-König @ 2022-11-15 10:19 UTC (permalink / raw)
To: Andre Przywara
Cc: Chen-Yu Tsai, Samuel Holland, Jernej Skrabec, Rob Herring,
Krzysztof Kozlowski, Clément Péron, Icenowy Zheng,
devicetree, linux-arm-kernel, linux-sunxi, Thierry Reding,
linux-pwm
[-- Attachment #1: Type: text/plain, Size: 820 bytes --]
On Mon, Nov 07, 2022 at 12:54:25AM +0000, Andre Przywara wrote:
> The Allwinner F1C100s family of SoCs contain a PWM controller compatible
> to the one used in the A20 chip.
> Add the DT node so that any users can simply enable it in their board
> DT.
>
> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
I checked "by hand" that this matches the modified binding in patch
01/10.
Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
I assume the whole series will go in via a tree different from the PWM
tree? While this is Thierry's area of maintenance, I'd be surprised if
he had concerns about that.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | https://www.pengutronix.de/ |
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v2 02/10] ARM: dts: suniv: f1c100s: add PWM node
2022-11-15 10:19 ` Uwe Kleine-König
@ 2022-11-15 10:25 ` Thierry Reding
2022-11-15 21:40 ` Jernej Škrabec
0 siblings, 1 reply; 8+ messages in thread
From: Thierry Reding @ 2022-11-15 10:25 UTC (permalink / raw)
To: Uwe Kleine-König
Cc: Andre Przywara, Chen-Yu Tsai, Samuel Holland, Jernej Skrabec,
Rob Herring, Krzysztof Kozlowski, Clément Péron,
Icenowy Zheng, devicetree, linux-arm-kernel, linux-sunxi,
linux-pwm
[-- Attachment #1: Type: text/plain, Size: 947 bytes --]
On Tue, Nov 15, 2022 at 11:19:26AM +0100, Uwe Kleine-König wrote:
> On Mon, Nov 07, 2022 at 12:54:25AM +0000, Andre Przywara wrote:
> > The Allwinner F1C100s family of SoCs contain a PWM controller compatible
> > to the one used in the A20 chip.
> > Add the DT node so that any users can simply enable it in their board
> > DT.
> >
> > Signed-off-by: Andre Przywara <andre.przywara@arm.com>
>
> I checked "by hand" that this matches the modified binding in patch
> 01/10.
>
> Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
>
> I assume the whole series will go in via a tree different from the PWM
> tree? While this is Thierry's area of maintenance, I'd be surprised if
> he had concerns about that.
Yeah, it's probably best for the Allwinner maintainers to pick this up
into their tree so that the bindings changes go along with the DT
changes.
Acked-by: Thierry Reding <thierry.reding@gmail.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v2 01/10] dt-bindings: pwm: allwinner,sun4i-a10: Add F1C100s compatible
2022-11-07 0:54 ` [PATCH v2 01/10] dt-bindings: pwm: allwinner,sun4i-a10: Add F1C100s compatible Andre Przywara
2022-11-07 20:09 ` Uwe Kleine-König
@ 2022-11-15 10:25 ` Thierry Reding
1 sibling, 0 replies; 8+ messages in thread
From: Thierry Reding @ 2022-11-15 10:25 UTC (permalink / raw)
To: Andre Przywara
Cc: Chen-Yu Tsai, Samuel Holland, Jernej Skrabec, Rob Herring,
Krzysztof Kozlowski, Clément Péron, Icenowy Zheng,
devicetree, linux-arm-kernel, linux-sunxi, Uwe Kleine-König,
linux-pwm, Rob Herring
[-- Attachment #1: Type: text/plain, Size: 558 bytes --]
On Mon, Nov 07, 2022 at 12:54:24AM +0000, Andre Przywara wrote:
> The PWM controller in the Allwinner F1C100s series of SoCs is the same
> as in the A20 SoCs, so allow using that as the fallback name.
>
> Join the V3s compatible string in an enum on the way.
>
> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
> Acked-by: Rob Herring <robh@kernel.org>
> ---
> .../devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.yaml | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
Acked-by: Thierry Reding <thierry.reding@gmail.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v2 02/10] ARM: dts: suniv: f1c100s: add PWM node
2022-11-15 10:25 ` Thierry Reding
@ 2022-11-15 21:40 ` Jernej Škrabec
0 siblings, 0 replies; 8+ messages in thread
From: Jernej Škrabec @ 2022-11-15 21:40 UTC (permalink / raw)
To: Uwe Kleine-König, Thierry Reding
Cc: Andre Przywara, Chen-Yu Tsai, Samuel Holland, Rob Herring,
Krzysztof Kozlowski, Clément Péron, Icenowy Zheng,
devicetree, linux-arm-kernel, linux-sunxi, linux-pwm
Dne torek, 15. november 2022 ob 11:25:12 CET je Thierry Reding napisal(a):
> On Tue, Nov 15, 2022 at 11:19:26AM +0100, Uwe Kleine-König wrote:
> > On Mon, Nov 07, 2022 at 12:54:25AM +0000, Andre Przywara wrote:
> > > The Allwinner F1C100s family of SoCs contain a PWM controller compatible
> > > to the one used in the A20 chip.
> > > Add the DT node so that any users can simply enable it in their board
> > > DT.
> > >
> > > Signed-off-by: Andre Przywara <andre.przywara@arm.com>
> >
> > I checked "by hand" that this matches the modified binding in patch
> > 01/10.
> >
> > Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> >
> > I assume the whole series will go in via a tree different from the PWM
> > tree? While this is Thierry's area of maintenance, I'd be surprised if
> > he had concerns about that.
>
> Yeah, it's probably best for the Allwinner maintainers to pick this up
> into their tree so that the bindings changes go along with the DT
> changes.
Yeah, that's the plan. I'll merge it in following days.
Best regards,
Jernej
>
> Acked-by: Thierry Reding <thierry.reding@gmail.com>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2022-11-15 21:41 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20221107005433.11079-1-andre.przywara@arm.com>
2022-11-07 0:54 ` [PATCH v2 01/10] dt-bindings: pwm: allwinner,sun4i-a10: Add F1C100s compatible Andre Przywara
2022-11-07 20:09 ` Uwe Kleine-König
2022-11-15 10:25 ` Thierry Reding
2022-11-07 0:54 ` [PATCH v2 02/10] ARM: dts: suniv: f1c100s: add PWM node Andre Przywara
2022-11-07 17:57 ` Jernej Škrabec
2022-11-15 10:19 ` Uwe Kleine-König
2022-11-15 10:25 ` Thierry Reding
2022-11-15 21:40 ` Jernej Škrabec
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox