Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1304141ybl; Mon, 2 Dec 2019 01:11:19 -0800 (PST) X-Google-Smtp-Source: APXvYqzBIRoWkNgMAQoB2W9LHpRedPPeHCGSsi7Sl3XUpK62PVjxpG/Mxs+Yrn+qQMNwpafRBNx8 X-Received: by 2002:a17:906:2344:: with SMTP id m4mr62371394eja.110.1575277879526; Mon, 02 Dec 2019 01:11:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575277879; cv=none; d=google.com; s=arc-20160816; b=pk6gL7EMaBu+OeSjlEZku2JauYLVYyMmwfwr2+MjOu4iIVvzwXrKSE6r7/0XvUF+xl rBV08AExTqoIEH0exx+mUI29ZpunGkfsekryI3MkUVCyDmf5Afc04pqMNiw222dVM5uJ /bpwlT3ApEbVcKKxk/GFWa9uS+9ppQh7RkGkMSczWc/7unmG6emIMAGOP6hbkrN9blOj YQFlZGoebt40GAvlDCMKkGvAzYXoSeoxaC3S+I4KXurCG15gq9MjIn84DthOZr7AZ23R Jy/AQNKwwZaK9yyjEf0Jro0DrvhYcsA/ZDFokBtr2/8y0ZaRfYRoQEul9U7ZweJCXygX z/XQ== 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=surWjChm/vRTNLhQlt8XXHD3LtjjzJrEYn4Jjp4Bfss=; b=xQjgU+0W6LQK7Uy0YE3H6TnQ+L8HPtgcSN1g9rfismr1FIsY4w9x6vnBFqwOHDFQLX /SMIdWVdid9+UcEe8GqFPcVfMq4TmpunznPfsCWD+5Zd/Fx/2oVHAIgbHe23rC81bVhE KG9zhJY4/JIX9a3zLXmrHnh4y3dWky1Gzj/+/C394REx0CokKhzhR45PFckh1HWUmDNp UzbaL9jMAcP/86KUH1bM3GrWxy6Ou0XkX1rTOfwDDDy+n5sLqrYYE17iBM4Osh+eeWhT xZctmG7bodc6YoA6c+qoyhqthaWK02ZiR9SWaWruJmgWlctY+oN6wyKodJTMpycePqmi 9fRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=a3niqJ6L; 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 gh6si8768323ejb.228.2019.12.02.01.10.55; Mon, 02 Dec 2019 01:11:19 -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=@kernel.org header.s=default header.b=a3niqJ6L; 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 S1726386AbfLBJHD (ORCPT + 99 others); Mon, 2 Dec 2019 04:07:03 -0500 Received: from mail.kernel.org ([198.145.29.99]:45066 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726106AbfLBJHC (ORCPT ); Mon, 2 Dec 2019 04:07:02 -0500 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 BD3BB215E5; Mon, 2 Dec 2019 09:06:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1575277622; bh=4FwCVeTFST03BvCT/H0DDIcWMagOt/dsTOUkJbFiFQ4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=a3niqJ6LgVjMjZJgBXuJuJvs4aU8Yf+rWtnMVpeB0LCnzL3bhq7E3yaEaS2R4o3Z1 c60QB3Bk0k8Di1ubbriqyxwgEDRu5Z82QZzCqRZAonWEQr3fFfaC35qygcBCvOT5l+ hJVpQcl+j7QiLOglT5l+fuORciTH99zV7DKNApbU= Date: Mon, 2 Dec 2019 17:06:45 +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 v17 10/19] ARM: dts: imx6dl-yapp4: Add reg property to the lp5562 channel node Message-ID: <20191202090645.GI9767@dragon> References: <20191114133023.32185-1-dmurphy@ti.com> <20191114133023.32185-11-dmurphy@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191114133023.32185-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 Thu, Nov 14, 2019 at 07:30:14AM -0600, 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 { Again, why do not we rename it to led@0 as you update the bindings in the last patch in the series? 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 >