Message ID | 20230602131009.260239-1-raymondhackley@protonmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1030865vqr; Fri, 2 Jun 2023 06:32:13 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5wS16L0r5S4OQawvfZ1IF2HJEcXVixFKAutHqDdrwnN5wQjsIlIIXqIWa0X18gmprtq9EV X-Received: by 2002:a05:6a20:d81b:b0:10b:5ce1:beb9 with SMTP id iv27-20020a056a20d81b00b0010b5ce1beb9mr12198741pzb.33.1685712733091; Fri, 02 Jun 2023 06:32:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685712733; cv=none; d=google.com; s=arc-20160816; b=O+dy2ZhUlfi8dS5CUs12ilYOCg8u65k5e9DxPCzR4f60VKj25Xt6ZeDZLTDI07FcmX aTP5TKeAxdxdlvTZFxnAOTMc8j/S0F2bfng9fPM2TAwS/pob12CP6ilVAYKvlLwVyo6U tuGhSRdvAqCqaN99fqJe0FwqFFE74PGLr5ch7WfenMiZ/xQWDRf9uDj9MHUi/7tMdFsm b20aEnS3NLrEv1M12KvUubduWcia3U5H5BbjtefTfAWzDGV5dP9pQX91K6J/xDo0O4VV QpKIJPtAMd5FUSOv66II4n7Tmr9kRBD3entIHqlJi0+L3eLzTD4bj0JSM1Ny4/82FKcx Tn0A== 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=S4Aa6ET5LF2DR7kqpVMS1YX4YEI56NjcYY8y8FTHHAWuU2J7ZvOxqF5WiVAuYVImLP 62CBN613dKHKXm8/L/YVzHL3OqEP5cUdYGtEUjqh4qtvMXBP1gYM08NniP9nxOP1agqH lyz2udmB6/HJb7QUODhIl8fRQ1cxmFQdKEjdl8QmdviAjL3fXSBBl+wHYqGO/R6uVIu6 1RT8zOa/R0y3oaKb16gsbo9kVXWehzZvbEzZvjXsQ+QEaX8uFmD9ZAQVZ5CN2SE/zRKQ TB3Dkzsb9mo44h9Upqz9LyqXWqOgqBEa19zL2Jjgo9NfBkUqBKluhvQ1Gzxo63S7KERv Y4hA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=VbTmR5GE; 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 k129-20020a636f87000000b005346af99305si714056pgc.526.2023.06.02.06.32.01; Fri, 02 Jun 2023 06:32:13 -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=VbTmR5GE; 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 S236110AbjFBNMJ (ORCPT <rfc822;limurcpp@gmail.com> + 99 others); Fri, 2 Jun 2023 09:12:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236108AbjFBNLm (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 2 Jun 2023 09:11:42 -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 BF6581B7 for <linux-kernel@vger.kernel.org>; Fri, 2 Jun 2023 06:11:10 -0700 (PDT) Date: Fri, 02 Jun 2023 13:11:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1685711466; x=1685970666; 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=VbTmR5GEF39gofFS3uu66gadQF6UvyOwrWj9xebfMRmxOpeEv+PcVcncLZ6P+O3YW nTivcSGNGe5+x7HNfyRYeKz2IOx86mBsQEq3btIp1jXMYkHFFjNGYbd9bV7mooUl/m OyWZteVrsMr9D5CgwMdhZuKZNyRvjK2czFT6qW1V8X46ODedK1MIkWeD8Sw4UqAKIn 0b5mGnV7ee0b7uQIir+qQYybA0MiFdop4Ug9q56msa2eZeQabzp0qLe5ecrij2uTTT HuVroeV+fygtMa+f5b8myrdLf+S4jWBk9ODoA91ufReIEm6CJBT8vprDvIF9h62RRJ hppGSN7F4vsNQ== To: linux-kernel@vger.kernel.org From: Raymond Hackley <raymondhackley@protonmail.com> Cc: Raymond Hackley <raymondhackley@protonmail.com>, Pavel Machek <pavel@ucw.cz>, Lee Jones <lee@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Luca Weiss <luca@z3ntu.xyz>, "open list:LED SUBSYSTEM" <linux-leds@vger.kernel.org>, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" <devicetree@vger.kernel.org> Subject: [PATCH 1/2] dt-bindings: leds: sgm3140: Document richtek,rt5033 compatible Message-ID: <20230602131009.260239-1-raymondhackley@protonmail.com> In-Reply-To: <20230602130644.259933-1-raymondhackley@protonmail.com> References: <20230602130644.259933-1-raymondhackley@protonmail.com> Feedback-ID: 49437091:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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=unavailable 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767597914832974578?= X-GMAIL-MSGID: =?utf-8?q?1767597914832974578?= |
Series |
leds: sgm3140: Add richtek,rt5033-led compatible
|
|
Commit Message
Raymond Hackley
June 2, 2023, 1:11 p.m. UTC
Add devicetree binding for Richtek RT5033 Flash LED charge pump used for
camera flash LEDs.
Signed-off-by: Raymond Hackley <raymondhackley@protonmail.com>
---
Documentation/devicetree/bindings/leds/leds-sgm3140.yaml | 1 +
1 file changed, 1 insertion(+)
Comments
On Fri, 02 Jun 2023, Raymond Hackley wrote: > Add devicetree binding for Richtek RT5033 Flash LED charge pump used for > camera flash LEDs. > > Signed-off-by: Raymond Hackley <raymondhackley@protonmail.com> > --- > 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 Why is "-led" appended on to this one and not the others? > - sgmicro,sgm3140 > > > enable-gpios: > -- > > 2.30.2 >
On Wed, 21 Jun 2023, Lee Jones wrote: > On Fri, 02 Jun 2023, Raymond Hackley wrote: > > > Add devicetree binding for Richtek RT5033 Flash LED charge pump used for > > camera flash LEDs. > > > > Signed-off-by: Raymond Hackley <raymondhackley@protonmail.com> > > --- > > 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 > > Why is "-led" appended on to this one and not the others? It's unusual for me to have to dump through a bunch of hoops just to read and then subsequently reply to mail. Can you consider removing whatever encryption you have enabled please?
Raymond, On Wed, Jun 21, 2023 at 04:03:02PM +0100, Lee Jones wrote: > On Wed, 21 Jun 2023, Lee Jones wrote: > > > On Fri, 02 Jun 2023, Raymond Hackley wrote: > > > > > Add devicetree binding for Richtek RT5033 Flash LED charge pump used for > > > camera flash LEDs. > > > > > > Signed-off-by: Raymond Hackley <raymondhackley@protonmail.com> > > > --- > > > 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 > > > > Why is "-led" appended on to this one and not the others? > > It's unusual for me to have to dump through a bunch of hoops just to > read and then subsequently reply to mail. Can you consider removing > whatever encryption you have enabled please? https://www.kernel.org/doc/html/latest/process/email-clients.html#proton-mail I was under the impression that there was no way to disable this behaviour, but I saw mention somewhere that they managed to patch the open source version of the protonmail bridge to function. I cannot find this on lore, because the person's domain was not a proton one and I completely forget their name as it was several months ago. I'll reply here if I find it. Cheers, Conor.
On Wed, 21 Jun 2023, Conor Dooley wrote: > Raymond, > > On Wed, Jun 21, 2023 at 04:03:02PM +0100, Lee Jones wrote: > > On Wed, 21 Jun 2023, Lee Jones wrote: > > > > > On Fri, 02 Jun 2023, Raymond Hackley wrote: > > > > > > > Add devicetree binding for Richtek RT5033 Flash LED charge pump used for > > > > camera flash LEDs. > > > > > > > > Signed-off-by: Raymond Hackley <raymondhackley@protonmail.com> > > > > --- > > > > 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 > > > > > > Why is "-led" appended on to this one and not the others? > > > > It's unusual for me to have to dump through a bunch of hoops just to > > read and then subsequently reply to mail. Can you consider removing > > whatever encryption you have enabled please? > > https://www.kernel.org/doc/html/latest/process/email-clients.html#proton-mail Thanks for the link. This is perfect! At least I know it's not just me being unreasonable. > I was under the impression that there was no way to disable this > behaviour, but I saw mention somewhere that they managed to patch the > open source version of the protonmail bridge to function. I cannot find > this on lore, because the person's domain was not a proton one and I > completely forget their name as it was several months ago. > I'll reply here if I find it. Thanks.
Hi Lee, On Wednesday, June 21st, 2023 at 3:01 PM, Lee Jones <lee@kernel.org> wrote: > On Fri, 02 Jun 2023, Raymond Hackley wrote: > > > Add devicetree binding for Richtek RT5033 Flash LED charge pump used for > > camera flash LEDs. > > > > Signed-off-by: Raymond Hackley raymondhackley@protonmail.com > > --- > > 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 > > > Why is "-led" appended on to this one and not the others? > "richtek,rt5033" has already been taken by a MFD device, and this LED is a part of rt5033 MFD, so "-led" is appended here. > > - sgmicro,sgm3140 > > > > enable-gpios: > > -- > > > > 2.30.2 I tried to configure protonmail not to send encrypted mails. Hope that it works for you. Regards, Raymond
Hi Krzysztof, On Sunday, June 4th, 2023 at 10:43 AM, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote: > On 02/06/2023 15:38, Raymond Hackley wrote: > > > Add devicetree binding for Richtek RT5033 Flash LED charge pump used for > > camera flash LEDs. > > > What are the similarities? Same register interface? Same pins? It's not > obvious and your commit should clear explain this. It will be also > justification why you did not make devices compatible. > There is a similar way to control with 2 GPIO pins, strobe and enable, which is not described well in this patch set. Regards, Raymond
On Fri, 02 Jun 2023, Raymond Hackley wrote: > Add devicetree binding for Richtek RT5033 Flash LED charge pump used for > camera flash LEDs. > > Signed-off-by: Raymond Hackley <raymondhackley@protonmail.com> > --- > Documentation/devicetree/bindings/leds/leds-sgm3140.yaml | 1 + > 1 file changed, 1 insertion(+) Applied, thanks
On Wed, Jun 21, 2023 at 06:05:24PM +0100, Lee Jones wrote: > On Wed, 21 Jun 2023, Conor Dooley wrote: > > On Wed, Jun 21, 2023 at 04:03:02PM +0100, Lee Jones wrote: > > > On Wed, 21 Jun 2023, Lee Jones wrote: > > > > On Fri, 02 Jun 2023, Raymond Hackley wrote: > > > It's unusual for me to have to dump through a bunch of hoops just to > > > read and then subsequently reply to mail. Can you consider removing > > > whatever encryption you have enabled please? > > > > https://www.kernel.org/doc/html/latest/process/email-clients.html#proton-mail > > Thanks for the link. This is perfect! Ye, no worries chief. I got yelled at about it when I started out, so figured I should at least document it after I noticed others getting yelled at for the same reason, since it is a bit insidious. > At least I know it's not just me being unreasonable. > > > I was under the impression that there was no way to disable this > > behaviour, but I saw mention somewhere that they managed to patch the > > open source version of the protonmail bridge to function. I cannot find > > this on lore, because the person's domain was not a proton one and I > > completely forget their name as it was several months ago. > > I'll reply here if I find it. It was Marc Bornand. Add to CC. Thanks, Conor.
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: