summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Apitzsch <git@apitzsch.eu>2022-02-08 02:06:38 +0300
committerPavel Machek <pavel@ucw.cz>2022-02-12 14:27:53 +0300
commit77d62fccebd4dd2e4dbec2bbe581ef98e128561b (patch)
tree3974e710a10e486da79c7e4bab197dea698e568e
parent2f1b6bb66900ed3b54bda885ac87dcd5a7e122b4 (diff)
downloadlinux-77d62fccebd4dd2e4dbec2bbe581ef98e128561b.tar.xz
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>
-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 */ }
};