[PATCH v1 0/2] backlight: gpio-backlight: Add support for multiple GPIOs

From: Sudarshan Shetty

Date: Mon Jan 05 2026 - 03:51:40 EST


Hi all,

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 1 or 2
GPIOs for a backlight node.

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

Thanks,
Anusha

Sudarshan Shetty (2):
dt-bindings: backlight: gpio-backlight: allow multiple GPIOs
backlight: gpio: add support for multiple GPIOs for backlight control

.../leds/backlight/gpio-backlight.yaml | 12 +++-
drivers/video/backlight/gpio_backlight.c | 61 ++++++++++++++-----
2 files changed, 56 insertions(+), 17 deletions(-)

--
2.34.1