All of lore.kernel.org
 help / color / mirror / Atom feed
From: "André Apitzsch" <git@apitzsch.eu>
To: linux-leds@vger.kernel.org, Pavel Machek <pavel@ucw.cz>
Cc: "André Apitzsch" <git@apitzsch.eu>
Subject: [PATCH 1/3] leds: sgm3140: Add ocs,ocp8110 compatible
Date: Wed, 17 Nov 2021 10:14:03 +0100	[thread overview]
Message-ID: <20211117091405.7412-2-git@apitzsch.eu> (raw)
In-Reply-To: <20211117091405.7412-1-git@apitzsch.eu>

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>
---
 drivers/leds/flash/leds-sgm3140.c | 1 +
 1 file changed, 1 insertion(+)

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 */ }
 };
-- 
2.34.0


  reply	other threads:[~2021-11-17 13:19 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-17  9:14 [PATCH 0/3] Add support for ocp8110 flash André Apitzsch
2021-11-17  9:14 ` André Apitzsch [this message]
2021-11-17  9:14 ` [PATCH 2/3] dt-bindings: vendor-prefixes: Add ocs prefix André Apitzsch
2021-11-17  9:14 ` [PATCH 3/3] dt-bindings: leds: sgm3140: Document ocp8110 compatible André Apitzsch
2022-02-07 23:06 ` [PATCH v2 0/3] Add support for ocp8110 flash André Apitzsch
2022-02-07 23:06   ` [PATCH v2 1/3] dt-bindings: vendor-prefixes: Add ocs prefix André Apitzsch
2022-02-11 16:33     ` Rob Herring
2022-02-07 23:06   ` [PATCH v2 2/3] dt-bindings: leds: sgm3140: Document ocp8110 compatible André Apitzsch
2022-02-11 16:34     ` Rob Herring
2022-02-12 13:13       ` André Apitzsch
2022-02-12 17:03         ` Pavel Machek
2022-02-07 23:06   ` [PATCH v2 3/3] leds: sgm3140: Add ocs,ocp8110 compatible André Apitzsch
2022-02-12 11:28   ` [PATCH v2 0/3] Add support for ocp8110 flash Pavel Machek
2022-02-12 18:09 ` [PATCH v3 1/3] dt-bindings: vendor-prefixes: Add ocs prefix André Apitzsch
2022-02-12 18:09 ` [PATCH v3 2/3] dt-bindings: leds: sgm3140: Document ocp8110 compatible André Apitzsch
2022-02-22 20:56   ` Rob Herring
2022-03-21 19:05     ` André Apitzsch
2022-02-12 18:09 ` [PATCH v3 3/3] leds: sgm3140: Add ocs,ocp8110 compatible André Apitzsch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211117091405.7412-2-git@apitzsch.eu \
    --to=git@apitzsch.eu \
    --cc=linux-leds@vger.kernel.org \
    --cc=pavel@ucw.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.