aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-ep93xx.c
diff options
context:
space:
mode:
authorFabio Baltieri <fabiobaltieri@chromium.org>2022-04-28 10:04:19 +0000
committerThierry Reding <thierry.reding@gmail.com>2022-05-20 16:40:01 +0200
commit3d593b6e80ad2c911b5645af28d83eabb96e7c1b (patch)
tree32f28ebd34cc4e759f0158c72a473f38fb9e4a06 /drivers/pwm/pwm-ep93xx.c
parentdt-bindings: google,cros-ec-pwm: Add the new -type compatible (diff)
downloadlinux-dev-3d593b6e80ad2c911b5645af28d83eabb96e7c1b.tar.xz
linux-dev-3d593b6e80ad2c911b5645af28d83eabb96e7c1b.zip
pwm: pwm-cros-ec: Add channel type support
Add support for EC_PWM_TYPE_DISPLAY_LIGHT and EC_PWM_TYPE_KB_LIGHT pwm types to the PWM cros_ec_pwm driver. This allows specifying one of these PWM channel by functionality, and let the EC firmware pick the correct channel, thus abstracting the hardware implementation from the kernel driver. To use it, define the node with the "google,cros-ec-pwm-type" compatible. Signed-off-by: Fabio Baltieri <fabiobaltieri@chromium.org> Reviewed-by: Tzung-Bi Shih <tzungbi@kernel.org> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-ep93xx.c')
0 files changed, 0 insertions, 0 deletions