Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3074896ybg; Mon, 28 Oct 2019 07:05:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqyIlWVBkSCkTARDSdv6VswLffzpuI+RoVs5s727eKFQh3Oyojix66Bs0aqGNRvqiBbEDlhb X-Received: by 2002:a05:6402:19ae:: with SMTP id o14mr15444243edz.108.1572271556753; Mon, 28 Oct 2019 07:05:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572271556; cv=none; d=google.com; s=arc-20160816; b=yc3nGdIW6z73RJ7BbGgAJqoiw4qPffnKbOg9cghQ6VR9jURs3Z4wsuf7RwRicPJA8V SoW8F8bGdgvpYcfTIM26nOGybSZxP1HYnyIpfIVoaPgE168AMN3nJBnkdk9BbjRjl/Ft nEZELKP2Qq2MYPrzH+ePUfabJkYDdSmkeUSqx9aAgdo/OSfJAyV1g0HV1H0vXxmSD5JW z2dRNY3i6T10AzT/xWfi93phPEQlAybXoLcX+RCQSUue3s0EuJtwPFiOxA1GGIY69ej0 yrclDNrTd7lOb72iiPksxxc6xTIb5VzwjK1T037HXl7IdMFrMj/Z+PdHqKOcuuysEE9K tqtQ== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=d0sxjQtV4zg5CHx4HV1Hckmy7Am829STCQnOx+hODVg=; b=E7Nks6sry/2QEzeECo9Hy3wOl1EdIQ62ADRo8q78oc09BzjshzO/b9LoOsT6Ut1gzZ Nc6PdJQRmLuLggi4tPnam/dXJKpl9ajBGNxO++9rZA52sDbTht4cvuNdHaYozKyDkGbF SqJoR8rKlwTJenLjAq6bNluACgNu2ljBiHwxc35A71Z4SrKGXJB1gylthlgjDUTNBUc3 yhwgzLFjEMpea8N8pxr5pdag9ee7g4OJIld6men7WiwXGi0jXv4lww68Y+7F7qjzNNmI zwpXSSk/9qRZQ1M26LyVFGGfzcG+qPZoUPg8fYfOqDQJU5B80yKjLrqhLo4RMWG2GkOx LRWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QeCp2KyO; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ec17si5994457ejb.131.2019.10.28.07.05.26; Mon, 28 Oct 2019 07:05:56 -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=@kernel.org header.s=default header.b=QeCp2KyO; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727745AbfJ1Czp (ORCPT + 99 others); Sun, 27 Oct 2019 22:55:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:44332 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726789AbfJ1Czo (ORCPT ); Sun, 27 Oct 2019 22:55:44 -0400 Received: from dragon (98.142.130.235.16clouds.com [98.142.130.235]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id AE302208C0; Mon, 28 Oct 2019 02:55:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572231344; bh=pb7IZTBRfkZVHAvZFuM2aHVe4OKL4bsoUZk1vFFsMic=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QeCp2KyO5HGNqs9LV5rCeAyHiDVHPizLKOXUYKZe9JMJNk5mejLTdbN1VT7KA+enL nhFzRcexYUTqhoWNkmTETEes2aYa30k0oqjUzSXaNlImzHcJ79rLq8+3kmv1+p2Jsk W9kfk5YiU0pAilyIEU7Qh9qOBeP9BnukZvoZ/wWg= Date: Mon, 28 Oct 2019 10:55:26 +0800 From: Shawn Guo To: Dan Murphy Cc: jacek.anaszewski@gmail.com, pavel@ucw.cz, linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Subject: Re: [PATCH v13 10/18] ARM: dts: imx6dl-yapp4: Add reg property to the lp5562 channel node Message-ID: <20191028025524.GF16985@dragon> References: <20191016155954.29044-1-dmurphy@ti.com> <20191016155954.29044-11-dmurphy@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191016155954.29044-11-dmurphy@ti.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 16, 2019 at 10:59:46AM -0500, Dan Murphy wrote: > Add the reg property to each channel node. This update is > to accomodate the multicolor framework. In addition to the > accomodation this allows the LEDs to be placed on any channel > and allow designs to skip channels as opposed to requiring > sequential order. > > Signed-off-by: Dan Murphy > CC: Shawn Guo > CC: Sascha Hauer > CC: Pengutronix Kernel Team > CC: Fabio Estevam > CC: NXP Linux Team > --- > arch/arm/boot/dts/imx6dl-yapp4-common.dtsi | 14 ++++++++++---- > 1 file changed, 10 insertions(+), 4 deletions(-) > > diff --git a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi > index e8d800fec637..efc466ed1fea 100644 > --- a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi > +++ b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi > @@ -257,29 +257,35 @@ > reg = <0x30>; > clock-mode = /bits/ 8 <1>; > status = "disabled"; > + #address-cells = <1>; > + #size-cells = <0>; > > - chan0 { > + chan@0 { Patch #18 updates bindings example to use led as node name. Maybe we should do the same here? Shawn > chan-name = "R"; > led-cur = /bits/ 8 <0x20>; > max-cur = /bits/ 8 <0x60>; > + reg = <0>; > }; > > - chan1 { > + chan@1 { > chan-name = "G"; > led-cur = /bits/ 8 <0x20>; > max-cur = /bits/ 8 <0x60>; > + reg = <1>; > }; > > - chan2 { > + chan@2 { > chan-name = "B"; > led-cur = /bits/ 8 <0x20>; > max-cur = /bits/ 8 <0x60>; > + reg = <2>; > }; > > - chan3 { > + chan@3 { > chan-name = "W"; > led-cur = /bits/ 8 <0x0>; > max-cur = /bits/ 8 <0x0>; > + reg = <3>; > }; > }; > > -- > 2.22.0.214.g8dca754b1e >