[PATCH v2 0/2] Add ZTE ZX PWM device driver support
Shawn Guo
shawnguo at kernel.org
Thu Jul 27 01:23:35 PDT 2017
From: Shawn Guo <shawn.guo at linaro.org>
The series adds the dt-bindings document and device driver for PWM
controller found on ZTE ZX family SoCs.
Changes for v2:
- Add Rob's ACK for dt-bindings patch
- Use inline function rather than macro for to_zx_pwm_chip()
- Convert zx_pwm_ops to implement atomic callbacks .apply() and .get_state()
Shawn Guo (2):
dt-bindings: pwm: add bindings doc for ZTE ZX PWM controller
pwm: add ZTE ZX PWM device driver
Documentation/devicetree/bindings/pwm/pwm-zx.txt | 22 ++
drivers/pwm/Kconfig | 9 +
drivers/pwm/Makefile | 1 +
drivers/pwm/pwm-zx.c | 270 +++++++++++++++++++++++
4 files changed, 302 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pwm/pwm-zx.txt
create mode 100644 drivers/pwm/pwm-zx.c
--
1.9.1
More information about the linux-arm-kernel
mailing list