leds: sgm3140: Add ocs,ocp8110 compatible
authorAndré Apitzsch <git@apitzsch.eu>
Mon, 7 Feb 2022 23:06:38 +0000 (00:06 +0100)
committerPavel Machek <pavel@ucw.cz>
Sat, 12 Feb 2022 11:27:53 +0000 (12:27 +0100)
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>
drivers/leds/flash/leds-sgm3140.c

index f4f831570f11c442b8b4c9887fc482c6c15678f2..d3a30ad94ac463e4f472e675c1918f0d67d8d399 100644 (file)
@@ -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 */ }
 };