From: André Apitzsch Date: Mon, 7 Feb 2022 23:06:38 +0000 (+0100) Subject: leds: sgm3140: Add ocs,ocp8110 compatible X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=77d62fccebd4dd2e4dbec2bbe581ef98e128561b;p=linux.git 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 Signed-off-by: Pavel Machek --- diff --git a/drivers/leds/flash/leds-sgm3140.c b/drivers/leds/flash/leds-sgm3140.c index f4f831570f11c..d3a30ad94ac46 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 */ } };