Re: [PATCH RFC 3/4] pwm: sunxi: Add support Allwinner D1 PWM

2024-05-20 Thread John Watts
On Sat, May 18, 2024 at 01:54:45PM +1000, John Watts wrote: > This driver documents and handles setting up PWM on the D1. > > Signed-off-by: John Watts > --- > drivers/pwm/Kconfig| 6 + > drivers/pwm/Makefile | 1 + > drivers/pwm/sunxi_pwm_d1.c | 542 >

Re: [PATCH RFC 3/4] pwm: sunxi: Add support Allwinner D1 PWM

2024-05-19 Thread John Watts
After a long time reading the datasheet I found out my approach was actually wrong and led to an off by on error. Signed-off-by: John Watts --- drivers/pwm/sunxi_pwm_d1.c | 57 +- 1 file changed, 32 insertions(+), 25 deletions(-) diff --git a/drivers/pwm/sunx

Re: [PATCH RFC 3/4] pwm: sunxi: Add support Allwinner D1 PWM

2024-05-19 Thread John Watts
After a long time reading the datasheet I found out my approach was actually wrong and led to an off by on error. Signed-off-by: John Watts --- drivers/pwm/sunxi_pwm_d1.c | 57 +- 1 file changed, 32 insertions(+), 25 deletions(-) diff --git a/drivers/pwm/sunx

[PATCH RFC 3/4] pwm: sunxi: Add support Allwinner D1 PWM

2024-05-17 Thread John Watts
This driver documents and handles setting up PWM on the D1. Signed-off-by: John Watts --- drivers/pwm/Kconfig| 6 + drivers/pwm/Makefile | 1 + drivers/pwm/sunxi_pwm_d1.c | 542 + 3 files changed, 549 insertions(+) diff --git a/drive