public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] pwm support for allwinner sun8i SOCs.
@ 2018-02-25 13:49 hao_zhang
  0 siblings, 0 replies; only message in thread
From: hao_zhang @ 2018-02-25 13:49 UTC (permalink / raw)
  To: linux-arm-kernel

PWM support for allwinner sun8i SOCs.

This patchset adds pwm support for allwinner sun8i SOCs.


v2 Changes:
1. change sun8i-r40 symbol to sun8i.
2. change pwm0_pin, pwm0-pin to pwm_ch0_pin, pwm-ch0-pin.
3. remove clk_disable_unprepare(), check !match and IS_ERR(pwm->regmap).




hao_zhang (4):
  dt-bindings: pwm: binding allwinner sun8i.
  ARM: dtsi: add pwm node for sun8i.
  ARM: dts: add pwm status for r40.
  ARM: PWM: add allwinner sun8i pwm support.

 .../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.c                            | 401 +++++++++++++++++++++
 6 files changed, 449 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/pwm/pwm-sun8i.txt
 create mode 100644 drivers/pwm/pwm-sun8i.c

-- 
2.7.4

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-02-25 13:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-25 13:49 [PATCH v2 0/4] pwm support for allwinner sun8i SOCs hao_zhang

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