Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1957265ybn; Thu, 26 Sep 2019 04:58:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqy1+492nxXW+z1OmdlCBVz7I+rL81q8fIrg2wI5GrzxHSOLKv1fMc+lPgNwNI/mMyCT2eAL X-Received: by 2002:a50:9a05:: with SMTP id o5mr3171449edb.44.1569499107780; Thu, 26 Sep 2019 04:58:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569499107; cv=none; d=google.com; s=arc-20160816; b=nS2RfASgxOKW/ddzj8YDp5clqNjJfnW6rvB8uB4745b/T6/1PjSBckKmvioouLgwMb EP4OI+UoHdbKAK9eu85C/Zb6MNuAk2wnlYtMke5T16JhZh6MRv5D+6kuPDqN98vLZUss 6zuJhOO3/FLbwcfsJ/kLzr9fhuovXe9mC1ZGudXxgkaxjuRoHiFNcSlwnCnWE+gEKGUA mPDbEHy6y4bBhdI0Pq3u37wbdO/lSzfV8SynuJgl3X6fhuV6fJ/O1cs70LCPwGylzOpe 3glNJITMX6dYCcCFb9oXgTE4GDrwTwYhiNDLMhMFEWA1vWLebvoHJFruOG/xDXhB2Sym 0bnw== 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=NKFr6hD35gJTr3EyHv50PbXW9p7fYtL6VKuWvp+Wvv4=; b=PyCq50PTrUykaxf1Sv16j4PX6PH8jyAibzBxHbDPrx1OleMNu6tLxQLsuRvYK3GDhk ARD8Dk/dIA5Np9btrpIhbcaR90RJt95Q117pZZgcGNpLXniQcnQkbTa0arzsb8VzE4MH b9CfURPAOF2TnpfEuKqIr+n9kg9jDiNeG4VL+FgdMbLbtmulFX8uUsvv1OBLhoLFBM+g CVr+ct16sPGcEItQF2+zxSkfZgYG1lE0i4qcUvVIugejB7p3tuT+D2tBBPEPgmVXoeXg iWmuuvLRyWx1Iu2cCq+IeXSegIYFCg5OmFxHbv3l/ww1PmIt1oOtPS+uXL5V3kF/sL1s 3fSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=JHx+KGK9; 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 s42si1139810edm.292.2019.09.26.04.58.03; Thu, 26 Sep 2019 04:58:27 -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=JHx+KGK9; 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 S1726203AbfIZLzc (ORCPT + 99 others); Thu, 26 Sep 2019 07:55:32 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:54916 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725836AbfIZLzb (ORCPT ); Thu, 26 Sep 2019 07:55:31 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x8QBtIeS021284; Thu, 26 Sep 2019 06:55:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1569498918; bh=NKFr6hD35gJTr3EyHv50PbXW9p7fYtL6VKuWvp+Wvv4=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=JHx+KGK9LpH3ziO+qu9fLQhYNsFynBYsNhja7nOsldF0S9VW/RJi3qFhRscRyrm0z KW+3OXDoI6B6AUmz2kbFiuQ42p+BBL7Zg20IJLXXTnHQdQphfMKv/tSpR8UGHoPcn/ E6HDFwoq5LUuM1isYRZNGdatTVbTWjH/WHft+OMo= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id x8QBtId8040293; Thu, 26 Sep 2019 06:55:18 -0500 Received: from DFLE109.ent.ti.com (10.64.6.30) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Thu, 26 Sep 2019 06:55:10 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Thu, 26 Sep 2019 06:55:10 -0500 Received: from [10.250.65.13] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id x8QBtHBN001844; Thu, 26 Sep 2019 06:55:17 -0500 Subject: Re: [PATCH v9 09/15] dt: bindings: lp55xx: Update binding for Multicolor Framework To: Jacek Anaszewski , CC: , , Tony Lindgren , =?UTF-8?Q?Beno=c3=aet_Cousson?= , Linus Walleij , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team References: <20190925174616.3714-1-dmurphy@ti.com> <20190925174616.3714-10-dmurphy@ti.com> From: Dan Murphy Message-ID: <073d1dc0-d181-59f2-6e0f-e5461e4a2b9e@ti.com> Date: Thu, 26 Sep 2019 07:00:38 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: 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 Jacek On 9/25/19 4:34 PM, Jacek Anaszewski wrote: > Dan, > > On 9/25/19 7:46 PM, Dan Murphy wrote: >> Update the DT binding to include the properties to use the >> multicolor framework for the devices that use the LP55xx >> framework. >> >> Signed-off-by: Dan Murphy >> CC: Tony Lindgren >> CC: "Benoît Cousson" >> CC: Linus Walleij >> CC: Shawn Guo >> CC: Sascha Hauer >> CC: Pengutronix Kernel Team >> CC: Fabio Estevam >> CC: NXP Linux Team >> --- >> .../devicetree/bindings/leds/leds-lp55xx.txt | 99 +++++++++++++++++++ >> 1 file changed, 99 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/leds/leds-lp55xx.txt b/Documentation/devicetree/bindings/leds/leds-lp55xx.txt >> index bfe2805c5534..c120d2bde3bd 100644 >> --- a/Documentation/devicetree/bindings/leds/leds-lp55xx.txt >> +++ b/Documentation/devicetree/bindings/leds/leds-lp55xx.txt >> @@ -1,6 +1,8 @@ >> Binding for TI/National Semiconductor LP55xx LED Drivers >> >> Required properties: >> +- #address-cells: 1 >> +- #size-cells: 0 >> - compatible: one of >> national,lp5521 >> national,lp5523 >> @@ -14,6 +16,18 @@ Required properties: >> Each child has own specific current settings >> - led-cur: Current setting at each LED channel (mA x10, 0 if LED is not connected) >> - max-cur: Maximun current at each LED channel. >> +- reg: Output channel for the LED. This is zero based channel identifier and >> + the data sheet is a one based channel identifier. >> + reg value to output to LED output number >> + D1 = reg value is 0 >> + D2 = reg value is 1 >> + D3 = reg value is 2 >> + D4 = reg value is 3 >> + D5 = reg value is 4 >> + D6 = reg value is 5 >> + D7 = reg value is 6 >> + D8 = reg value is 7 >> + D9 = reg value is 8 >> >> Optional properties: >> - enable-gpio: GPIO attached to the chip's enable pin >> @@ -35,23 +49,28 @@ example 1) LP5521 >> on channel 0. >> >> lp5521@32 { >> + #address-cells = <1>; >> + #size-cells = <0>; >> compatible = "national,lp5521"; >> reg = <0x32>; >> label = "lp5521_pri"; >> clock-mode = /bits/ 8 <2>; >> >> chan0 { > s/chan0/chan@0/ > > The same applies to the remaining occurrences in this file and to > the other patches from the patch set as already pointed out. Ack.  I have made the same change across all the DT patches in this series Dan >> + reg = <0>; >> led-cur = /bits/ 8 <0x2f>; >> max-cur = /bits/ 8 <0x5f>; >> linux,default-trigger = "heartbeat"; >> }; >>