Re: [U-Boot] [RESEND PATCH 1/3] pwm: sunxi: add support for PWM found on Allwinner A64 and H3

2017-09-19 Thread Andre Przywara
Hi, On 19/09/17 09:53, Icenowy Zheng wrote: > > > 于 2017年9月19日 GMT+08:00 下午4:51:32, Andre Przywara 写到: >> Hi, >> >> On 19/09/17 06:06, Vasily Khoruzhick wrote: >>> This commit adds basic support for PWM found on Allwinner A64 and H3 >> >> Mmh, can you explain (for

Re: [U-Boot] [RESEND PATCH 1/3] pwm: sunxi: add support for PWM found on Allwinner A64 and H3

2017-09-19 Thread Andre Przywara
Hi, On 19/09/17 06:06, Vasily Khoruzhick wrote: > This commit adds basic support for PWM found on Allwinner A64 and H3 Mmh, can you explain (for instance in a 0/3 email) what this is used for? My understanding is that PWM0 (which is what you hard code here) is only exposed on PD22, which is also

[U-Boot] [RESEND PATCH 1/3] pwm: sunxi: add support for PWM found on Allwinner A64 and H3

2017-09-18 Thread Vasily Khoruzhick
This commit adds basic support for PWM found on Allwinner A64 and H3 Signed-off-by: Vasily Khoruzhick --- arch/arm/include/asm/arch-sunxi/gpio.h | 1 + arch/arm/include/asm/arch-sunxi/pwm.h | 12 +++ arch/arm/mach-sunxi/board.c| 11 +++ drivers/pwm/Kconfig