[PATCH v1 0/4] pwm support for allwinner sun8i R40/V40/T3 SOCs.

hao_zhang
2018-01-11T11:31:00Z

This patchset add pwm support for allwinner sun8i R40/V40/T3 SOCs.

Beause of my mistake, previous patch set from v4.
this patch set i resend it from v1 and fix some error.

PATCH LOG:
[v4,1/4] dt-bindings: pwm: binding allwinner sun8i R40/V40/T3.
https://patchwork.kernel.org/patch/10110177/
[v4,2/4] ARM: PWM: add allwinner sun8i R40/V40/T3 pwm support.
https://patchwork.kernel.org/patch/10110185/
[v4,3/4] ARM: dts: add pwm node for r40.
https://patchwork.kernel.org/patch/10110191/

Fixed:
1.change readl/writel to regmap.
2.undo the previous polarity, do clk_disable_unprepare()
and unlock spinlock while error return.

Regards,
Hao Zhang

hao_zhang (4):
dt-bindings: pwm: binding allwinner sun8i R40/V40/T3.
ARM: PWM: add allwinner sun8i R40/V40/T3 pwm support.
ARM: dts: add pwm pins for r40.
ARM: dts: add pwm node for r40.

.../devicetree/bindings/pwm/pwm-sun8i.txt | 18 +
arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts | 6 +
arch/arm/boot/dts/sun8i-r40.dtsi | 13 +
drivers/pwm/Kconfig | 10 +
drivers/pwm/Makefile | 1 +
drivers/pwm/pwm-sun8i-r40.c | 394 +++++++++++++++++++++
6 files changed, 442 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pwm/pwm-sun8i.txt
create mode 100644 drivers/pwm/pwm-sun8i-r40.c

--
2.7.4