mbox series

[0/4] PWM and keyboard backlight driver for ARM Macs

Message ID 20221028165215.43662-1-fnkl.kernel@gmail.com (mailing list archive)
Headers show
Series PWM and keyboard backlight driver for ARM Macs | expand

Message

Sasha Finkelstein Oct. 28, 2022, 4:52 p.m. UTC
Hi,

This series adds support for the PWM controller present on ARM Macs and used
among other things for the keyboard backlight on those laptops.

The included device tree patch also hooks up the keyboard backlight using
the pwm-leds binding.

Best Regards.

Sasha Finkelstein (4):
 dt-bindings: pwm: Add Apple PWM controller
 pwm: Add Apple PWM controller
 arm64: dts: apple: t8103: Add PWM controller
 MAINTAINERS: Add entries for Apple PWM driver

 Documentation/devicetree/bindings/pwm/pwm-apple.yaml |  51 +++++++++++++
 MAINTAINERS                                          |   2 ++
 arch/arm64/boot/dts/apple/t8103-j293.dts             |  20 ++++++++
 arch/arm64/boot/dts/apple/t8103-j313.dts             |  20 ++++++++
 arch/arm64/boot/dts/apple/t8103.dtsi                 |   9 ++++
 drivers/pwm/Kconfig                                  |  12 ++++
 drivers/pwm/Makefile                                 |   1 +
 drivers/pwm/pwm-apple.c                              | 124 +++++++++++++++++++
 8 files changed, 239 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/pwm/pwm-apple.yaml
 create mode 100644 drivers/pwm/pwm-apple.c