summaryrefslogtreecommitdiff
path: root/drivers/leds/simple/simatic-ipc-leds-gpio-core.c
diff options
context:
space:
mode:
authorXing Tong Wu <xingtong.wu@siemens.com>2024-03-14 10:05:06 +0300
committerLee Jones <lee@kernel.org>2024-04-12 11:47:11 +0300
commit6b0d685d75a70ef9c9558efb0374ec4a9aaf95d2 (patch)
treeb048cab969621281039e83fedf0cee720041ded3 /drivers/leds/simple/simatic-ipc-leds-gpio-core.c
parent016cfc41fc6d6598d72826ba61546900542a3acb (diff)
downloadlinux-6b0d685d75a70ef9c9558efb0374ec4a9aaf95d2.tar.xz
leds: simatic-ipc-leds-gpio: Add support for module BX-59A
This is used for the Siemens Simatic IPC BX-59A, which has its LEDs connected to GPIOs provided by the Nuvoton NCT6126D. Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Xing Tong Wu <xingtong.wu@siemens.com> Link: https://lore.kernel.org/r/20240314070506.2384-1-xingtong_wu@163.com Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'drivers/leds/simple/simatic-ipc-leds-gpio-core.c')
-rw-r--r--drivers/leds/simple/simatic-ipc-leds-gpio-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/leds/simple/simatic-ipc-leds-gpio-core.c b/drivers/leds/simple/simatic-ipc-leds-gpio-core.c
index 667ba1bc3a30..85003fd7f1aa 100644
--- a/drivers/leds/simple/simatic-ipc-leds-gpio-core.c
+++ b/drivers/leds/simple/simatic-ipc-leds-gpio-core.c
@@ -56,6 +56,7 @@ int simatic_ipc_leds_gpio_probe(struct platform_device *pdev,
case SIMATIC_IPC_DEVICE_127E:
case SIMATIC_IPC_DEVICE_227G:
case SIMATIC_IPC_DEVICE_BX_21A:
+ case SIMATIC_IPC_DEVICE_BX_59A:
break;
default:
return -ENODEV;