From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EC8D5C35280 for ; Tue, 8 Feb 2022 01:05:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344969AbiBHBEN (ORCPT ); Mon, 7 Feb 2022 20:04:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238462AbiBGXJs (ORCPT ); Mon, 7 Feb 2022 18:09:48 -0500 Received: from smtprelay05.ispgateway.de (smtprelay05.ispgateway.de [80.67.18.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B181C061355; Mon, 7 Feb 2022 15:09:47 -0800 (PST) Received: from [92.206.166.137] (helo=note-book.lan) by smtprelay05.ispgateway.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nHD78-0001JC-EZ; Tue, 08 Feb 2022 00:08:06 +0100 From: =?UTF-8?q?Andr=C3=A9=20Apitzsch?= To: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-leds@vger.kernel.org, Pavel Machek Cc: Rob Herring , Matthias Brugger , Linus Walleij , =?UTF-8?q?Andr=C3=A9=20Apitzsch?= Subject: [PATCH v2 3/3] leds: sgm3140: Add ocs,ocp8110 compatible Date: Tue, 8 Feb 2022 00:06:38 +0100 Message-Id: <20220207230638.56730-4-git@apitzsch.eu> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220207230638.56730-1-git@apitzsch.eu> References: <20211117091405.7412-1-git@apitzsch.eu> <20220207230638.56730-1-git@apitzsch.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Df-Sender: YW5kcmVAYXBpdHpzY2guZXU= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 */ } }; -- 2.35.1