U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFC 0/4] pwm: sunxi: Add support Allwinner D1 PWM
@ 2024-05-18  3:54 John Watts
  2024-05-18  3:54 ` [PATCH RFC 1/4] clk: sunxi: Add PWM bus clock and reset John Watts
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: John Watts @ 2024-05-18  3:54 UTC (permalink / raw)
  To: Jagan Teki, Andre Przywara, Lukasz Majewski, Sean Anderson,
	Tom Rini, Rick Chen, Leo, Sumit Garg
  Cc: u-boot, John Watts

This patch series adds support for the Allwinner D1, T113 and R329 PWM.

This code isn't based on any kernel code but instead written from scratch with
the goal of handling the PWM pairs deterministically.

I've tested this on T113 hardware and it works very well.

Signed-off-by: John Watts <contact@jookia.org>
---
John Watts (4):
      clk: sunxi: Add PWM bus clock and reset
      pinctrl: sunxi: Add PWM7 pinctrl for the D1
      pwm: sunxi: Add support Allwinner D1 PWM
      [FOR TESTING ONLY] sunxi-d1s-t113: Add D1 and T113 PWM node

 arch/riscv/dts/sunxi-d1s-t113.dtsi                 |  12 +
 drivers/clk/sunxi/clk_d1.c                         |   4 +
 drivers/pinctrl/sunxi/pinctrl-sunxi.c              |   1 +
 drivers/pwm/Kconfig                                |   6 +
 drivers/pwm/Makefile                               |   1 +
 drivers/pwm/sunxi_pwm_d1.c                         | 542 +++++++++++++++++++++
 .../src/riscv/allwinner/sunxi-d1s-t113.dtsi        |  12 +
 7 files changed, 578 insertions(+)
---
base-commit: 312efdf9c9297382b4e1d04c50376573764b5c00
change-id: 20240518-pwm_d1-b43d263ea143

Best regards,
-- 
John Watts <contact@jookia.org>


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-05-20 23:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-18  3:54 [PATCH RFC 0/4] pwm: sunxi: Add support Allwinner D1 PWM John Watts
2024-05-18  3:54 ` [PATCH RFC 1/4] clk: sunxi: Add PWM bus clock and reset John Watts
2024-05-18  3:54 ` [PATCH RFC 2/4] pinctrl: sunxi: Add PWM7 pinctrl for the D1 John Watts
2024-05-18  3:54 ` [PATCH RFC 3/4] pwm: sunxi: Add support Allwinner D1 PWM John Watts
2024-05-20 23:37   ` John Watts
2024-05-18  3:54 ` [PATCH FOR TESTING ONLY RFC 4/4] sunxi-d1s-t113: Add D1 and T113 PWM node John Watts
2024-05-20 10:28   ` Sumit Garg
2024-05-20 23:24     ` John Watts
2024-05-20  6:10 ` [PATCH RFC 3/4] pwm: sunxi: Add support Allwinner D1 PWM John Watts
2024-05-20  6:14 ` John Watts

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox