Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4148900ybb; Mon, 23 Mar 2020 14:36:49 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtbR3lb3VFisgxG6V+1oh1Sq8CZ3FTxAX+yghXj8czyJ7KLwdseSCvkcsfmmn7pSvY3DOwb X-Received: by 2002:aca:3110:: with SMTP id x16mr1155974oix.47.1584999409190; Mon, 23 Mar 2020 14:36:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584999409; cv=none; d=google.com; s=arc-20160816; b=I9UU4fDEb/0TZNpuPBi9+CUZleJ8Czkp4TCm9zVGxJdUDjPfdElUyBw8R4jNcCAUea lNBfQJMhtIUpNFPspvySvNe7fQrSgfGFSBqIKz+pNL8iT/e0MpB6SNZVRNBLSpPSo7ua CvDdgi6TKbGKBHAnSlJ3SUqGC+B5WRBLgHazY2N8gQJYDoZfWGGoueT9qiY2e7jwc0Wl mxA/w+ElTR99umGRJ769XHpwGIQlfEP9PGAymBjCB2fDgPXfTttb40zItWGvWL0h1Iu5 YtOyitQfPIJ//frYyeWH/mgVq4MQaV4IKYSJuFlEkZNaR8ZZKb2cdmKjd2+dRAt51B5J R0bQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=Wvw1D63rekymXu1Ggt19/vs1VYdgX6m9pJ7jrcHqaus=; b=DC8x0xCJc7tckCxUSiAgUmjPNC0mVyQHoalMZTHll5ppUzRuUEb/Ck2564XepN+p+H Ok/GmftKVBzCNQBzBZZrnprzDqA2RHslREsZssbJGAqBVY6yHngMOvQm36ZsXlsmV2A7 AsEl1DTbevxBw/g0L+3u+RqlUKhr4tHwiVvNYzX7P1tXHAEGTN3trcC5iGIla8OrANgq sD5UlqvYL53NE+HQZGUB+EYfBfJ3lWJzoSDrPqJcyCIf30GLzCvFxqsOUXAubM8mhbvb V2+FTYvRi3FTrXynO2v4iKzngbAXMtgF9Y6k4z/VENe1t49jO9/clI3q2+bcYQu/V5Ra ys7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=w617zcJ4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t23si3698917oic.174.2020.03.23.14.36.37; Mon, 23 Mar 2020 14:36:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=w617zcJ4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727099AbgCWVgP (ORCPT + 99 others); Mon, 23 Mar 2020 17:36:15 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:56804 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726203AbgCWVgO (ORCPT ); Mon, 23 Mar 2020 17:36:14 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 02NLZsXq059531; Mon, 23 Mar 2020 16:35:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1584999354; bh=Wvw1D63rekymXu1Ggt19/vs1VYdgX6m9pJ7jrcHqaus=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=w617zcJ4nZPSrbmRZGmTxrF4uXUOH/PzsObEbAJhaM1zgICAlZOydKp4JEI3FmkV0 ak+1/OrXb2SsBe21lgiTtDfpKaVTdR7K2+xUDlTheTkUPo5RcUhgieA08aSZoqnkJn O1VOFcmBBz78RK/wZd7iYAcb2U0YmVF22OLrVJ6M= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id 02NLZsXP055546; Mon, 23 Mar 2020 16:35:54 -0500 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Mon, 23 Mar 2020 16:35:54 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Mon, 23 Mar 2020 16:35:53 -0500 Received: from [10.250.52.63] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 02NLZpPI047330; Mon, 23 Mar 2020 16:35:52 -0500 Subject: Re: [PATCH 2/3] dt-bindings: leds: Add binding for sgm3140 To: Laurent Pinchart , Luca Weiss CC: , Heiko Stuebner , Icenowy Zheng , Jacek Anaszewski , Mark Rutland , Maxime Ripard , Pavel Machek , Rob Herring , Shawn Guo , , , <~postmarketos/upstreaming@lists.sr.ht> References: <20200309203558.305725-1-luca@z3ntu.xyz> <20200309203558.305725-3-luca@z3ntu.xyz> <4f848ab3-0e76-ae63-0771-758b1eaa0660@ti.com> <3051566.44csPzL39Z@g550jk> <20200315105345.GB4732@pendragon.ideasonboard.com> From: Dan Murphy Message-ID: Date: Mon, 23 Mar 2020 16:30:07 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200315105345.GB4732@pendragon.ideasonboard.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Luca On 3/15/20 5:53 AM, Laurent Pinchart wrote: > Hi Luca, > > On Sun, Mar 15, 2020 at 11:47:36AM +0100, Luca Weiss wrote: >> On Mittwoch, 11. März 2020 13:49:35 CET Dan Murphy wrote: >>> On 3/9/20 3:35 PM, Luca Weiss wrote: >>>> Add YAML devicetree binding for SGMICRO SGM3140 charge pump used for >>>> camera flash LEDs. >>>> >>>> Signed-off-by: Luca Weiss >>>> --- >>>> Changes since RFC: >>>> - new patch >>>> >>>> I'm not sure about the completeness of this binding as it doesn't >>>> mention the led subnode at all. >>>> The only existing led yaml binding is leds/leds-max77650.yaml which >>>> mentions the subnode but duplicates properties from documented in >>>> leds/common.txt. >>>> >>>> .../bindings/leds/leds-sgm3140.yaml | 53 +++++++++++++++++++ >>>> 1 file changed, 53 insertions(+) >>>> create mode 100644 >>>> Documentation/devicetree/bindings/leds/leds-sgm3140.yaml >>>> >>>> diff --git a/Documentation/devicetree/bindings/leds/leds-sgm3140.yaml >>>> b/Documentation/devicetree/bindings/leds/leds-sgm3140.yaml new file mode >>>> 100644 >>>> index 000000000000..be9384573d02 >>>> --- /dev/null >>>> +++ b/Documentation/devicetree/bindings/leds/leds-sgm3140.yaml >>>> @@ -0,0 +1,53 @@ >>>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >>>> +%YAML 1.2 >>>> +--- >>>> +$id: http://devicetree.org/schemas/leds/leds-sgm3140.yaml# >>>> +$schema: http://devicetree.org/meta-schemas/core.yaml# >>>> + >>>> +title: SGMICRO SGM3140 500mA Buck/Boost Charge Pump LED Driver >>>> + >>>> +maintainers: >>>> + - Luca Weiss >>>> + >>>> +description: | >>>> + The SGM3140 is a current-regulated charge pump which can regulate two >>>> current + levels for Flash and Torch modes. >>>> + >>>> + It is controlled with two GPIO pins. >>> Please define "It". Not sure what is controlled here. >>> >> "It" means the SGM3140. Not sure how else to write that or what the correct >> term for such a component is. > Maybe "The device" ? I think Dan's concern is that he wasn't sure if > "It" referred to "the device" or to "flash and torch modes". Laurent is correct.  Are the flash and torch modes controlled by GPIOs the device or the current levels? >