Skip to content

Conversation

@jiegan0107
Copy link

This patch extends the gpio-backlight driver and its Device Tree
bindings to support multiple GPIOs for controlling a single
backlight device.

Some panels require more than one GPIO to enable or disable the
backlight, and previously the driver only supported a single GPIO.
With this change:

  • The driver now handles an array of GPIOs and updates all of them
    based on brightness state.
  • The Device Tree binding has been updated to allow specifying one
    or more GPIOs for a gpio-backlight node.

This approach avoids describing multiple backlight devices in DT for a
single panel.

Sudarshan Shetty added 2 commits January 22, 2026 09:13
Update the gpio-backlight binding to support configurations that require
more than one GPIO for enabling/disabling the backlight.

Link: https://lore.kernel.org/all/20260120125036.2203995-2-tessolveupstream@gmail.com/
Signed-off-by: Sudarshan Shetty <tessolveupstream@gmail.com>
Signed-off-by: Jie Gan <jie.gan@oss.qualcomm.com>
…ht control

The gpio-backlight driver currently supports only a single GPIO to
enable or disable a backlight device. Some panels require multiple
enable GPIOs to be asserted together.

Extend the driver to support an array of GPIOs for a single backlight
instance. All configured GPIOs are toggled together based on the
backlight state.

Existing single-GPIO Device Tree users remain unaffected.

Link: https://lore.kernel.org/all/20260120125036.2203995-3-tessolveupstream@gmail.com/
Signed-off-by: Sudarshan Shetty <tessolveupstream@gmail.com>
Signed-off-by: Jie Gan <jie.gan@oss.qualcomm.com>
@qcomlnxci qcomlnxci requested a review from a team January 23, 2026 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant