Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5351416imu; Sun, 20 Jan 2019 09:00:24 -0800 (PST) X-Google-Smtp-Source: ALg8bN4fGT6U1sZTru13tYLgkgpCnXs5Adp6diNcdUFwfy++D65rcyjBgh5SNzdrBM+yZyX5Fhtg X-Received: by 2002:a62:9f1b:: with SMTP id g27mr26074123pfe.87.1548003624506; Sun, 20 Jan 2019 09:00:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548003624; cv=none; d=google.com; s=arc-20160816; b=jkJBd21HfC0CwVcLHtDU4Wl5PRjUO6p8wA0NyQOS0sSArCqWvfYX18u4kimsVhYrKQ 801oC4BgUkqSjr13fjcE3k59FnkxWuc/+8HhRMcPZwHE9YBuoJ2wJHo2yagnX3PkZrxG AI1ajHR7wqf8gBUSnY8x/03PShcE/TzO/BVlhsE/+5aEMfOawHpFasuEbKAdFNcR6og7 E300KAGtgssUFToABgk+TL/Oxb3V8b1fIbbzzI/C8cGU23uokvc3z56//TaoO34Qacj5 8+Xdbf8swl1qDlxSIhjGOYGL0L/B50jA2L57OFb2Zrc6wIJYj+XtfjG6npvpR6TpzexY 7Y/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=2zeLJaZ4n1WQI+SD7IrLf8g19G1ClUe9M8YddGgYayE=; b=n+HSnvWjTll3f2LaSTpJNWLC9N9OECUnIdQsZ985NN8kkMzjBuc4nknuaGV+CE1PiQ SwXz2cLt8pHpe30LYvKgCUsXFSghrUhUg0J9ot+3YJqs+zXuFwlVSLFY9VIWXffwe9ox jgO4r+voPgwCCEoyUwPVfBMOrBHcdRluryDlFvpKz2GKR6+190FwRQf8KSiF7xOCzdmA tXb1kaZ+8MOmXuIM3Ng/i0HxhjlJwcEd0lDhpfmwr8bl8TJnO9BurfF/uWIi8bLqX/f2 /+/Hm/T/eU8Xxct1bnL8RuBVm6Yl2J4CqhAm3EyRQvz4jS1PbdhSk6Yta9Ag1ZndPxUt MySg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=k+CF+9Kh; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z4si10236183pgl.16.2019.01.20.09.00.08; Sun, 20 Jan 2019 09:00:24 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=k+CF+9Kh; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727178AbfATQ2W (ORCPT + 99 others); Sun, 20 Jan 2019 11:28:22 -0500 Received: from mail-lf1-f66.google.com ([209.85.167.66]:45771 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725912AbfATQ2W (ORCPT ); Sun, 20 Jan 2019 11:28:22 -0500 Received: by mail-lf1-f66.google.com with SMTP id b20so13772554lfa.12; Sun, 20 Jan 2019 08:28:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=2zeLJaZ4n1WQI+SD7IrLf8g19G1ClUe9M8YddGgYayE=; b=k+CF+9KhVTO05PRScpyt9Wp1xQkKGY2wIGdbEqVCoG3wSeZXeLt0YFWG5aB8CzFO+H oPwT9jtZSLfA+vL28dOGRU5XdRqw3IJmXrHXX8sWtacOViFMhRo/qLmxh66WEtF4wgIt TZOTXENA5U1qU/qzgpC+IwK5aaHPywtjuoD6d/84iZB1Aq9zedPLxKxVD1yq9yEY+Vsa SF+yGQPSGfB1J/gWmlAotOhEbiwD6prAdIBQH6YVJpmrgc45ZCr7RWp/0fXqpk/X4GfY qLJXrtVlGWIR+HdBkjwWbs4rJus/UnyMVjc8OEkq0IRT9KP5H3Y/wI8TC//dOclt8SDo IiKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=2zeLJaZ4n1WQI+SD7IrLf8g19G1ClUe9M8YddGgYayE=; b=qLordlKPPo5Nm1deaSuOsbWLtn8pPIIIQULVp1HwGBOWnn6c8LtqeVYdIRd16yUzC8 eE23aRtHDMnyGR6Wioq1aBOSYvrbgUm0mqvsiRCJzyG6lmOa0D0FXNnZbg+gqTUtqZKU p39t3nJ5w3+FFWvxFGZsJcu6EnERUvZKZtHTo2xCnQeqYbQopjZiyADlO+pDyNErDMdd IOifnXwNXZPDbyAclExn1sDBhEYShYUJZrpYM01OYp3EfjrnZMSxSPSGV4jWYTvRiIks yuzxkAlCuJ3hVpevPKs4u1LdAy/RdZqAV+UvKqXOZqzKaqIyb9AdTjyBXWF9kWl6belN Txmw== X-Gm-Message-State: AJcUukecCNYxcALPCnQa7+Oe16+2mwmf5vkDHqFlZwLzhb3J/mTBN8Ei zKkPzn/f3Ps7mJHCDF70o2cwbLCh X-Received: by 2002:a19:df41:: with SMTP id q1mr17222481lfj.25.1548001698849; Sun, 20 Jan 2019 08:28:18 -0800 (PST) Received: from [192.168.1.18] (bdu110.neoplus.adsl.tpnet.pl. [83.28.6.110]) by smtp.gmail.com with ESMTPSA id 12-v6sm1763896ljf.96.2019.01.20.08.28.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 20 Jan 2019 08:28:18 -0800 (PST) Subject: Re: [PATCH 05/13] dt-bindings: leds: add DT bindings for max77650 To: Bartosz Golaszewski , Rob Herring , Mark Rutland , Linus Walleij , Dmitry Torokhov , Pavel Machek , Lee Jones , Sebastian Reichel , Liam Girdwood , Mark Brown , Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-input@vger.kernel.org, linux-leds@vger.kernel.org, linux-pm@vger.kernel.org, Bartosz Golaszewski References: <20190118134244.22253-1-brgl@bgdev.pl> <20190118134244.22253-6-brgl@bgdev.pl> From: Jacek Anaszewski Message-ID: <86aebe51-1279-0bb6-05ca-8d7c27790681@gmail.com> Date: Sun, 20 Jan 2019 17:28:14 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20190118134244.22253-6-brgl@bgdev.pl> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Bartosz, Thank you for the patch. On 1/18/19 2:42 PM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Add the DT binding document for the LEDs module of max77650. > > Signed-off-by: Bartosz Golaszewski > --- > .../bindings/leds/leds-max77650.txt | 57 +++++++++++++++++++ > 1 file changed, 57 insertions(+) > create mode 100644 Documentation/devicetree/bindings/leds/leds-max77650.txt > > diff --git a/Documentation/devicetree/bindings/leds/leds-max77650.txt b/Documentation/devicetree/bindings/leds/leds-max77650.txt > new file mode 100644 > index 000000000000..822b8893bc20 > --- /dev/null > +++ b/Documentation/devicetree/bindings/leds/leds-max77650.txt > @@ -0,0 +1,57 @@ > +LED driver for MAX77650 PMIC from Maxim Integrated. > + > +This module is part of the MAX77650 MFD device. For more details > +see Documentation/devicetree/bindings/mfd/max77650.txt. > + > +The LED controller is represented as a sub-node of the PMIC node on > +the device tree. > + > +This device has three current sinks. > + > +Required properties: > +-------------------- > +- compatible: Must be "maxim,max77650-leds" > +- #address-cells: Must be <1>. > +- #size-cells: Must be <0>. > + > +Each LED is represented as a sub-node of the LED-controller node. Up to > +three sub-nodes can be defined. > + > +Required properties of the sub-node: > +------------------------------------ > + > +- reg: Must be <0>, <1> or <2>. > + > +Optional properties of the sub-node: > +------------------------------------ > + > +- label: See Documentation/devicetree/bindings/leds/common.txt > +- linux,default-trigger: See Documentation/devicetree/bindings/leds/common.txt > + > +For more details, please refer to the generic GPIO DT binding document > +. > + > +Example: > +-------- > + > + leds { > + compatible = "maxim,max77650-leds"; > + #address-cells = <1>; > + #size-cells = <0>; > + > + led0 { s/led0/led@0/ > + reg = <0>; > + label = "max77650:blue:usr0"; > + }; > + > + led1 { s/led1/led@1/ > + reg = <1>; > + label = "max77650:red:usr1"; > + linux,default-trigger = "heartbeat"; > + }; > + > + led2 { s/led2/led@2/ > + reg = <2>; > + label = "max77650:green:usr2"; > + }; Please remove "max77650:" from labels and add it in the driver. > + }; > -- Best regards, Jacek Anaszewski