From patchwork Wed Nov 17 09:14:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andr=C3=A9_Apitzsch?= X-Patchwork-Id: 517307 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 77822C433F5 for ; Wed, 17 Nov 2021 13:19:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5D4C761B1B for ; Wed, 17 Nov 2021 13:19:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231760AbhKQNWS (ORCPT ); Wed, 17 Nov 2021 08:22:18 -0500 Received: from smtprelay02.ispgateway.de ([80.67.18.14]:19931 "EHLO smtprelay02.ispgateway.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237463AbhKQNWR (ORCPT ); Wed, 17 Nov 2021 08:22:17 -0500 Received: from [92.206.166.137] (helo=note-book.lan) by smtprelay02.ispgateway.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1mnH2b-0002o1-01; Wed, 17 Nov 2021 10:15:41 +0100 From: =?utf-8?q?Andr=C3=A9_Apitzsch?= To: linux-leds@vger.kernel.org, Pavel Machek Cc: =?utf-8?q?Andr=C3=A9_Apitzsch?= Subject: [PATCH 1/3] leds: sgm3140: Add ocs,ocp8110 compatible Date: Wed, 17 Nov 2021 10:14:03 +0100 Message-Id: <20211117091405.7412-2-git@apitzsch.eu> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20211117091405.7412-1-git@apitzsch.eu> References: <20211117091405.7412-1-git@apitzsch.eu> MIME-Version: 1.0 X-Df-Sender: YW5kcmVAYXBpdHpzY2guZXU= Precedence: bulk List-ID: X-Mailing-List: linux-leds@vger.kernel.org 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 --- 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 */ } };