This driver provides backlight brightness control through the Linux
backlight subsystem. It communicates with the board controller to
adjust LCD backlight using PWM signals. Communication is done
through Congatec Board Controller core driver.
Signed-off-by: Petri Karhula <[email protected]>
---
Changes in v6:
- No code changes, just collected tags.
- Link to v5:
https://lore.kernel.org/r/[email protected]
Changes in v5:
- Added current and requested brightnesses to verification error message.
- Link to v4:
https://lore.kernel.org/r/[email protected]
Changes in v4:
- Factor out brightness read into a helper
- Set backlight_properties.scale to BACKLIGHT_SCALE_LINEAR
- Link to v3:
https://lore.kernel.org/r/[email protected]
Changes in v3:
- Fixed review comments and simplified the structure of the driver
- Link to v2:
https://lore.kernel.org/r/[email protected]
Changes in v2:
- Separated Board Controller core driver change into its own patch
- Link to v1:
https://lore.kernel.org/r/[email protected]
---
Petri Karhula (2):
backlight: Add Congatec Board Controller (CGBC) backlight support
mfd: cgbc: Add support for backlight
drivers/mfd/cgbc-core.c | 1 +
drivers/video/backlight/Kconfig | 11 +++
drivers/video/backlight/Makefile | 1 +
drivers/video/backlight/cgbc_bl.c | 180 ++++++++++++++++++++++++++++++++++++++
4 files changed, 193 insertions(+)
---
base-commit: 7d0a66e4bb9081d75c82ec4957c50034cb0ea449
change-id: 20251118-cgbc-backlight-35c1109db0b8
Best regards,
--
Petri Karhula <[email protected]>