Skip to content

pwm-backlight: switch to gpiod interface (part 1)

Alexandre Courbot linux-gpio linux-pwm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ARM: SAMSUNG: remove gpio flags in dev-backlightarch/arm/plat-samsung/dev-backlight.c+0 -28 replies
2/2pwm-backlight: switch to gpiod interfacedrivers/video/backlight/pwm_bl.c include/linux/pwm_backlight.h+32 -452 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchJingoo Han
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] pwm-backlight: switch to gpiod interface (part 1)

These two patches initiate the switch of the pwm-backlight driver to the gpiod GPIO interface, as it considerably simplifies the code.

For compatibility with current users of the driver, it is still possible to pass the enable GPIO number as platform data. Two platforms are still relying on this feature (pxa/palmtc and shmobile/armadillo800eva) which will be removed as soon as its last users are switched to GPIO mapping tables.

Alexandre Courbot (2):
ARM: SAMSUNG: remove gpio flags in dev-backlight
pwm-backlight: switch to gpiod interface

 arch/arm/plat-samsung/dev-backlight.c |  2 -
 drivers/video/backlight/pwm_bl.c      | 72 +++++++++++++++--------------------
 include/linux/pwm_backlight.h         |  5 +--
 3 files changed, 32 insertions(+), 47 deletions(-)
Signature · 1 line
1.9.0