Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1756911pxb; Wed, 9 Feb 2022 03:59:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJzwEr0clpQlvRzIFN83PFLcFJetIVqqNQpFN4tdJKoKptrU+As0eFq/3bsqQWWPWQr0dy5X X-Received: by 2002:a62:f207:: with SMTP id m7mr2020418pfh.44.1644407950097; Wed, 09 Feb 2022 03:59:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644407950; cv=none; d=google.com; s=arc-20160816; b=vmu8Qny+5+CTeT5enejGRqso2/xgcEYTIA/qNJVVwprGloS81wSNbNiNAc1xkl9v/H uhkCzP2kXsjX7CyfDta3vcEegRm1U9sZV7ImcGMXAesYdbeLV8UyM0B0awNCYNTCR7hZ Xw9A0pETKcKcVUiCtkWUI2cwiL0GtwmV3V9XG4e105N4D/BkJfGCnV9gyKT5FQhSN96x noCS9iPL1knjqbTBunfow/pR9e3oU78jrQBQKGiwDc7c8LsYq3iIFdjQZdYTlaWkReys y6xMJEcZx/mAOh+edkonceTzsBYRx3XtgvSUnjJbSHAUU0m8sG0hOSW8dO6DnFZLg7pf UqkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=odaRBCXhsV+LMhW5wk93CKXvfC3BMdrrIG/6FD/qh6Q=; b=o8LfHWlHb7XsPiJnC2naj6SKzTUpwnRetqjCj7nl2i5vfgiUx0rGC4plXIwkuLCbc8 pDGEugxaePfbd9AK+vMoS7ovJxvb1Z4yLyaVeXznWiiC/rUkh3ZhjWMqOpnQpV+IdXj+ esTOZqWnoRnVIG2dE1xechNtVYauLDri5IoIo4yicsHo3zSXH3uQj67ZnxutFil3f6S0 ieqlLLLiMwioKy+sQi3F+r0hVMV7Fn449Rtr/v1edb/mAgn8pRL9ejoYa/gvJGZyjtUD h4Te5jJapQd8am8zCWlTYAX1OxHJbHv1gR/h3FDxtLUfuxDxqWsDc8Jv8s4khhiB7TiM eisQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id w4si14240412plz.621.2022.02.09.03.59.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 03:59:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 55810E02DFE0; Wed, 9 Feb 2022 02:03:21 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344957AbiBHBEN (ORCPT + 99 others); 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= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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