Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1474353ybh; Sun, 15 Mar 2020 03:54:37 -0700 (PDT) X-Google-Smtp-Source: ADFU+vt+bZkE6aISJwufzGBA2uxYPztrudG9G3sUZpUp6gvmAmmw1FSBq71oJ4uO6U4QPaOqjMDK X-Received: by 2002:a05:6830:1ac1:: with SMTP id r1mr10742681otc.264.1584269677644; Sun, 15 Mar 2020 03:54:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584269677; cv=none; d=google.com; s=arc-20160816; b=rfCqGFvk5btFlDUpPFR8beGg0T+zxA/VPWFzm0flGUHl/sqxvKrQWakMgKwx3mKDjn kCN2YXofkvSk6xapVP2qJN1NqFr4yGPhsgiOXD5rhZ8e1TyAMVow5egdMfKIqmtK2GdM wnVVnI+xpysB1zVKqGlqevmuNsWay5YkUUPvuP9M46ausQ2eJrKGKyPYfZxUOweFO5FZ d+pcey1vbJPAhMfYi12vgsdHW08iwMt52kKXXl/0d71y6kk2nNeAVs8vpdAjqEwWUKHx 0X3H/XGRYgXE9XrdUAaAKpEQmSdMFb2szFdDrewSxGAhc3t7D7oUfqMv+onS4hariDZ6 lnEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=aAsosTbvVGENdeWzbEssxU/UZsYYAC0ND+FAP0jo79s=; b=Prs2k65tOOvLXFEEJfyALcpD6ujzHqFcUHs3Aks17v0nIQ/SqtCm60EBI+KH1YEZf/ vbEAOFHREwtOcQtw4SNfoHk4DH/NSMI+P/+b19Rm9iD1F+dLew6461p7G0QC+FDECKTa JONUGxAI4pdHBT5oSWfpFps2n3b5JrppHX9F6CaGNKz3vmXmuPidBc4OOuv2qK1CwVyp 4Sz8HkC8BOjLh3MKY/haBYMBw2x8shX9g+4sJS/lZmQijWv9ol2sAIzdkPwhymCyUJ3T C9VaZ3emuT3HPq1z6/TDQLuuUhPO/ej67F9Tluz2dh3pHxhX/aTriyJtfcEkK6f1LpZx VwUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=twQyM+1l; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o2si8096705otj.312.2020.03.15.03.54.22; Sun, 15 Mar 2020 03:54:37 -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 (test mode) header.i=@ideasonboard.com header.s=mail header.b=twQyM+1l; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728312AbgCOKx7 (ORCPT + 99 others); Sun, 15 Mar 2020 06:53:59 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:45238 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728234AbgCOKx6 (ORCPT ); Sun, 15 Mar 2020 06:53:58 -0400 Received: from pendragon.ideasonboard.com (81-175-216-236.bb.dnainternet.fi [81.175.216.236]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 4D6D02D6; Sun, 15 Mar 2020 11:53:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1584269636; bh=tHZj7k528VQp787Iu7lw15HaxCaHUWTuuW+O8lIRCV0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=twQyM+1lGITMQqyxXCOzCVjNxdRkFDEN5Q+XB7scUmWhUwBhnFmAx/7FRLsXJe09t 3c+eJ6c0MTWuKvkh/Wa+144xmukaiIwjDTSe1D4n6VXiu/EFm6qlCHllgISiac3x8n W4aiRKx5AIlyOz82CjnfeLQxDBSudePE3vgLvhLA= Date: Sun, 15 Mar 2020 12:53:45 +0200 From: Laurent Pinchart To: Luca Weiss Cc: linux-leds@vger.kernel.org, Dan Murphy , Heiko Stuebner , Icenowy Zheng , Jacek Anaszewski , Mark Rutland , Maxime Ripard , Pavel Machek , Rob Herring , Shawn Guo , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: Re: [PATCH 2/3] dt-bindings: leds: Add binding for sgm3140 Message-ID: <20200315105345.GB4732@pendragon.ideasonboard.com> References: <20200309203558.305725-1-luca@z3ntu.xyz> <20200309203558.305725-3-luca@z3ntu.xyz> <4f848ab3-0e76-ae63-0771-758b1eaa0660@ti.com> <3051566.44csPzL39Z@g550jk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3051566.44csPzL39Z@g550jk> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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". -- Regards, Laurent Pinchart