From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Subject: Re: [PATCH 1/2] powerpc/5200: Add Lite5200 on-board LEDs as devices Date: Mon, 11 Feb 2013 22:53:45 +0100 Message-ID: <20130211225345.08dd112b@crub> References: <1360310571-31494-1-git-send-email-grant.likely@secretlab.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1360310571-31494-1-git-send-email-grant.likely@secretlab.ca> Sender: linux-kernel-owner@vger.kernel.org To: Grant Likely Cc: linuxppc-dev@list.ozlabs.org, linux-kernel@vger.kernel.org, devicetree-discuss@lists.ozlabs.org List-Id: devicetree@vger.kernel.org On Fri, 8 Feb 2013 08:02:50 +0000 Grant Likely wrote: > The Lite5200 evaluation board has a number of debug LEDs that Linux > doesn't know about yet. This change adds a gpio-leds stanza to the > lite5200 device tree so that the correct driver can get hooked up. > > Also, make use of the dtc labels feature to reduce the number of source > lines required to add the gpio-controller property to the general > purpose timer nodes. In addition, the required #gpio-cells properties > are added to the common mpc5200b dtsi include file so that each board > doesn't need to add them explicitly. This still doesn't enable gpio > mode, 'gpio-controller' is required for that, but it means less work > needs to be done by board ports. > > Cc: Anatolij Gustschin > Signed-off-by: Grant Likely > --- > arch/powerpc/boot/dts/lite5200b.dts | 23 +++++++++++++++++++---- > arch/powerpc/boot/dts/mpc5200b.dtsi | 25 +++++++++++++++++-------- > 2 files changed, 36 insertions(+), 12 deletions(-) Applied, thanks! Anatolij