summaryrefslogtreecommitdiffstats
path: root/drivers/leds
diff options
context:
space:
mode:
authorAndré Apitzsch <git@apitzsch.eu>2022-02-08 00:06:38 +0100
committerPavel Machek <pavel@ucw.cz>2022-02-12 12:27:53 +0100
commit77d62fccebd4dd2e4dbec2bbe581ef98e128561b (patch)
tree3974e710a10e486da79c7e4bab197dea698e568e /drivers/leds
parentdt-bindings: vendor-prefixes: Add ocs prefix (diff)
downloadlinux-77d62fccebd4dd2e4dbec2bbe581ef98e128561b.tar.xz
linux-77d62fccebd4dd2e4dbec2bbe581ef98e128561b.zip
leds: sgm3140: Add ocs,ocp8110 compatible
Orient-Chip's ocp8110 has the same pin configuration as the sgm3140. The data sheet can be found at: https://cdn.datasheetspdf.com/pdf-down/O/C/P/OCP8110-OrientChip.pdf Signed-off-by: André Apitzsch <git@apitzsch.eu> Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/leds')
-rw-r--r--drivers/leds/flash/leds-sgm3140.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/leds/flash/leds-sgm3140.c b/drivers/leds/flash/leds-sgm3140.c
index f4f831570f11..d3a30ad94ac4 100644
--- a/drivers/leds/flash/leds-sgm3140.c
+++ b/drivers/leds/flash/leds-sgm3140.c
@@ -290,6 +290,7 @@ static int sgm3140_remove(struct platform_device *pdev)
}
static const struct of_device_id sgm3140_dt_match[] = {
+ { .compatible = "ocs,ocp8110" },
{ .compatible = "sgmicro,sgm3140" },
{ /* sentinel */ }
};