]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
mfd: cgbc: Add support for backlight
authorPetri Karhula <petri.karhula@novatron.fi>
Fri, 5 Dec 2025 12:19:48 +0000 (12:19 +0000)
committerLee Jones <lee@kernel.org>
Wed, 4 Feb 2026 11:07:20 +0000 (11:07 +0000)
The Board Controller has control for display backlight.
Add backlight cell for the cgbc-backlight driver which
adds support for backlight brightness control.

Signed-off-by: Petri Karhula <petri.karhula@novatron.fi>
Reviewed-by: Thomas Richard <thomas.richard@bootlin.com>
Link: https://patch.msgid.link/20251205-cgbc-backlight-v6-2-e4175b0bf406@novatron.fi
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/cgbc-core.c

index 4782ff1114a9bd5091f0f784149046e40a35525c..10bb4b414c34d28ee78e3b7c62a72c529d68ac7e 100644 (file)
@@ -237,6 +237,7 @@ static struct mfd_cell cgbc_devs[] = {
        { .name = "cgbc-i2c", .id = 1 },
        { .name = "cgbc-i2c", .id = 2 },
        { .name = "cgbc-hwmon"  },
+       { .name = "cgbc-backlight" },
 };
 
 static int cgbc_map(struct cgbc_device_data *cgbc)