Add support for the PWM controller found in Amlogic Meson SoCs. This controller provides a dual PWM output with 4 selectable clock source and a two level divider to achieve a better PWM range.
Currently Meson8b and GXBB SoCs are supported. Changes since v2 at http://lkml.kernel.org/r/[email protected] : - Switch to apply() callback only, this fixes the setup sequence - Implement get_state - Make clock parent names as DT match data Changes since v1 at http://lkml.kernel.org/r/[email protected] : - fix meson8b dtsi Neil Armstrong (4): pwm: Add support for Meson PWM Controller dt-bindings: pwm: Add bindings for Meson PWM Controller ARM64: dts: meson-gxbb: Add Meson GXBB PWM Controller nodes ARM: dts: meson8b: Add Meson8b PWM Controller nodes .../devicetree/bindings/pwm/pwm-meson.txt | 21 + arch/arm/boot/dts/meson8b.dtsi | 21 + arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 28 ++ drivers/pwm/Kconfig | 9 + drivers/pwm/Makefile | 1 + drivers/pwm/pwm-meson.c | 528 +++++++++++++++++++++ 6 files changed, 608 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/pwm-meson.txt create mode 100644 drivers/pwm/pwm-meson.c -- 1.9.1

