From patchwork Fri Jun 2 13:38:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raymond Hackley X-Patchwork-Id: 102571 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1046794vqr; Fri, 2 Jun 2023 07:00:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4b+kd0ozDp2N37Q+Jm3He03M/glyVHNOOcWuRCeooU3GZhH1MYOlDZXxvdKoGsWYUO2Iy7 X-Received: by 2002:a05:6a21:3884:b0:10e:d3a0:cddf with SMTP id yj4-20020a056a21388400b0010ed3a0cddfmr10357335pzb.12.1685714399703; Fri, 02 Jun 2023 06:59:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685714399; cv=none; d=google.com; s=arc-20160816; b=SDMGt5zvusNnwdlERntxfeYorLAxGkMs/jUGbIy7Q9rC/OqBBj5CSaBA8bwL/fsdpe 3zNyj7ZS77kpdi4NfyTR8ypv0dRIGqDSIxvt0tin5+mm+9s5tV5jYQTgg5WQ9akWyTEz QrkWjc9GKfbcjvMYNId4s1RKovzmNgUOmnzsJLbw1uZGWCD4L8txLazEHujM/2zI9AVt UEagBYBCVSDkBOWQgFfYVSsGoY5gFVYPLU2IYMyEKjWrnY3KJkt/WX7zGN2LHkicBeE6 imq8V5UWkgoB2M+nDqQI1Q27mcf1ik/cRFye6vq4dE9ebIWYp1UNb01GSyvPu1Ioi0w/ nBZg== 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=bsHSAN20PI+leXRVPAKhT58R/jP9fMKdBTvAX0E8FqU=; b=ciHJrHTbQ2qvhyi4fgYrlu/PGF6gD8W7HPaw+5WlhQ9ehE0/7+KQDBkpagT5GSePL/ IONlT9eEn5sD4agFy9rFutXAGC6Xt+YZ7W8xISPIyhQsd9w2i50ERj2ls922/I5+epPl 7MDHkmqv26DT0u64qfztQTOYIHwQqBGzPE1rkbeh2Cp923imTDoQhNxbqq9Fnne33KeE 4BtJelpY/uetPgDT3E3jJ+zNl0ZoGHpIh/Vh0BH8lE0SKS2Rs19+6OZSshqDEMJuxOXy 4zbCLCNOCIfZlrkROrLkobpUT9h7iox/JqZHYo37fPtdKJIsdPog/V0T8A9OsMXuN8rn mU5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=DNccUdTJ; 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 u72-20020a63794b000000b0053f24deef11si1041623pgc.318.2023.06.02.06.59.45; Fri, 02 Jun 2023 06:59:59 -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=DNccUdTJ; 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 S235760AbjFBNi0 (ORCPT + 99 others); Fri, 2 Jun 2023 09:38:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235043AbjFBNiY (ORCPT ); Fri, 2 Jun 2023 09:38:24 -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 9707C136; Fri, 2 Jun 2023 06:38:23 -0700 (PDT) Date: Fri, 02 Jun 2023 13:38:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1685713100; x=1685972300; bh=bsHSAN20PI+leXRVPAKhT58R/jP9fMKdBTvAX0E8FqU=; 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=DNccUdTJebMvcEBYi5E1OBB0768TRLbkYqrJUHLtZ9tns+jgLFGq9evDSFUyLzmqG G7BCNMchvygYVc1pkDGuBl+ipJwYaaPjpl28ZtqxcS4CyayG2mC1EJ8mh6Y468dH2D 27GMl3y45RL4JN9pHalBVka8l2cV4d6vCsdOdlJ35CfKpGVN7yvhKT8DVBPPmb8pWu aBfcUhFki+oRA3xJYAybc9EJSqNLnZEbBW+wVdXiYFD60G1Xi7Jzwh6w0MF3+Xx/72 Dotx5FX+ybQXEEv6yK+c3JgMjub153jQBu5WzZ4YRBmiB79mwhe4Tbrniw3mzmGaoV TYJ/dDlbXVAAA== 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 1/2] dt-bindings: leds: sgm3140: Document richtek,rt5033 compatible Message-ID: <20230602133714.260556-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?1767599662188471733?= X-GMAIL-MSGID: =?utf-8?q?1767599662188471733?= Add devicetree binding for Richtek RT5033 Flash LED charge pump used for camera flash LEDs. Signed-off-by: Raymond Hackley --- Documentation/devicetree/bindings/leds/leds-sgm3140.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/leds/leds-sgm3140.yaml b/Documentation/devicetree/bindings/leds/leds-sgm3140.yaml index 4d2ffe5fcfc7..37d2a93780ab 100644 --- a/Documentation/devicetree/bindings/leds/leds-sgm3140.yaml +++ b/Documentation/devicetree/bindings/leds/leds-sgm3140.yaml @@ -20,6 +20,7 @@ properties: compatible: enum: - ocs,ocp8110 + - richtek,rt5033-led - sgmicro,sgm3140 enable-gpios: 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 */ } };