From patchwork Fri Jun 2 13:38:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raymond Hackley X-Patchwork-Id: 102570 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1039205vqr; Fri, 2 Jun 2023 06:46:01 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ42d473gGX+BV8l047LQee20yrrqI6fcLZeQ6ciFrrPUwNC3oV9HuLlVFDAIylRNeAh66PT X-Received: by 2002:a05:6358:5916:b0:123:e66:19b6 with SMTP id g22-20020a056358591600b001230e6619b6mr11196195rwf.27.1685713561567; Fri, 02 Jun 2023 06:46:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685713561; cv=none; d=google.com; s=arc-20160816; b=zLDzPPtj7eJq+sDvuW8IrCjA7f1EdCT2TZb4A8xNMkb6LKPkRLK1V3HJI16hB7e3Nz eh8//9uotwkkQyI3lhkopvsCuTDs//Tal4HL4Mc10l2CRSX6Km+QsF8HyY0szVVrIW4N kZ9bvFCxd1f6W1yMoqwwf1aF2aSnXUq1G0GVPyMCq5K8qwE79pBZ6ukGV6WmSoc+jBi+ yHIMc3ijChux07wShJRQ+mhuAobC3o2RZsYGAbA2xT/S8tQq0sWCzGORHf+JeGmR9RVr NL01Vj6OnHCUmLYwrnj+DIMFwcgfFpKTQVYZUCrPpRKpDlaq/461RKncpni4JxdSrAb3 uBrA== 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 :feedback-id:references:in-reply-to:message-id:subject:cc:from:to :dkim-signature:date; bh=JFatXUbuyrOmuslFYZorSsbJ/niD1OMN+SFRZ93mUp0=; b=YIPdyPdrxg3Mgt/bdT58SxMfcqJ/vtz6N8scuwQvfTakUm9Qeg/ZmhvXl33kGJfY/F Vq66St/obz9LeGeQ4uxAuwVC0G6uHZhoERZf7gwwumQWu7jxGlrENgBAEqjKxvOAqpt+ TE/jcAgU+WzWMHh5yK8bfTRgMgIORKaU3+8GYmAYrdiq2rn+y1TbTrP/Zj7gJUCXJ8JR j508LlAk7yYKY6+DbWbcNfktofO/hE28fmzXm4EifiwFfyT6boeXEHYbqZdYLSjkaHqE uoBw+07wpRWHSZF/oarPefMMCjr1JX87eW09ibTnYqk0AWD5i9/qFiGfS/8pL0im607Y zGzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=P9w9TClB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w4-20020a656944000000b0053ef547263bsi922785pgq.165.2023.06.02.06.45.49; Fri, 02 Jun 2023 06:46:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=P9w9TClB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235295AbjFBNiX (ORCPT + 99 others); Fri, 2 Jun 2023 09:38:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235043AbjFBNiU (ORCPT ); Fri, 2 Jun 2023 09:38:20 -0400 Received: from mail-0201.mail-europe.com (mail-0201.mail-europe.com [51.77.79.158]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E94FD136; Fri, 2 Jun 2023 06:38:18 -0700 (PDT) Date: Fri, 02 Jun 2023 13:38:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1685713095; x=1685972295; bh=JFatXUbuyrOmuslFYZorSsbJ/niD1OMN+SFRZ93mUp0=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=P9w9TClBgI+Je7GgWb9dXSFJ7zYBMTvmerw9q0r7kVJi1d6Tyg4s66/YeQKWLcDyY 2DeXa+L8HFJrQHSlOoYpsEOajOLRYOLPgu39wxZ8Ul0GceuNcFwTt4fpnKfNrkP2Ue 8/Yu3llp6tMKc8TOzLEDhLtJlqNkDZl/AcMdj4VztklFjd9d3wiubaWkRM0VSgghZJ s2yS3fJaYL+G2ZCFAaLTqFI/le2RenOBz5hQ5MIO1Q1+Di+ZRUPKAvxONdbgUACCAM Hxe6Dbwui/HhHSRfM83yHFip4KxSHhr3riO07pwKQMKqbLvINjFZdkB1ZVGQ8NQfuj 0hYOt4NiJoD5g== To: open list From: Raymond Hackley Cc: Pavel Machek , Lee Jones , Rob Herring , Krzysztof Kozlowski , Luca Weiss , "open list : LED SUBSYSTEM" , "open list : OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , ~postmarketos/upstreaming@lists.sr.ht Subject: [RESEND PATCH 2/2] leds: sgm3140: Add richtek,rt5033-led compatible Message-ID: <20230602133726.260610-1-raymondhackley@protonmail.com> In-Reply-To: <20230602133533.260502-1-raymondhackley@protonmail.com> References: <20230602133533.260502-1-raymondhackley@protonmail.com> Feedback-ID: 49437091:user:proton MIME-Version: 1.0 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767596639037530909?= X-GMAIL-MSGID: =?utf-8?q?1767598783224942859?= Richtek's rt5033-led has pin configurations similar to sgm3140. Add it to the compatible list. Signed-off-by: Raymond Hackley --- 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 d3a30ad94ac4..d3f50dca5136 100644 --- a/drivers/leds/flash/leds-sgm3140.c +++ b/drivers/leds/flash/leds-sgm3140.c @@ -291,6 +291,7 @@ static int sgm3140_remove(struct platform_device *pdev) static const struct of_device_id sgm3140_dt_match[] = { { .compatible = "ocs,ocp8110" }, + { .compatible = "richtek,rt5033-led" }, { .compatible = "sgmicro,sgm3140" }, { /* sentinel */ } };