Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756402AbcC2NaM (ORCPT ); Tue, 29 Mar 2016 09:30:12 -0400 Received: from mail-wm0-f54.google.com ([74.125.82.54]:37065 "EHLO mail-wm0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752458AbcC2NaI (ORCPT ); Tue, 29 Mar 2016 09:30:08 -0400 Subject: Re: [PATCH 10/12] ARM: dts: dragonboard-600c: Add on board leds support To: Nicolas Dechesne References: <1458762366-9233-1-git-send-email-srinivas.kandagatla@linaro.org> <1458762484-9768-1-git-send-email-srinivas.kandagatla@linaro.org> Cc: Andy Gross , linux-arm-msm , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-soc@vger.kernel.org From: Srinivas Kandagatla Message-ID: <56FA835B.3080909@linaro.org> Date: Tue, 29 Mar 2016 14:30:03 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2094 Lines: 52 Thanks Nico, On 24/03/16 16:51, Nicolas Dechesne wrote: > On Wed, Mar 23, 2016 at 8:48 PM, Srinivas Kandagatla > wrote: >> + led@1 { >> + label = "dragonboard-600c:green:user1"; >> + gpios = <&tlmm_pinmux 3 GPIO_ACTIVE_HIGH>; >> + linux,default-trigger = "heartbeat"; >> + default-state = "off"; >> + }; >> + >> + led@2 { >> + label = "dragonboard-600c:green:user2"; >> + gpios = <&tlmm_pinmux 7 GPIO_ACTIVE_HIGH>; >> + linux,default-trigger = "mmc0"; >> + default-state = "off"; >> + }; >> + >> + led@3 { >> + label = "dragonboard-600c:green:user3"; >> + gpios = <&tlmm_pinmux 10 GPIO_ACTIVE_HIGH>; >> + linux,default-trigger = "mmc1"; >> + default-state = "off"; >> + }; >> + >> + led@4 { >> + label = "apq8016-sbc:green:user4"; > > typo ^^ > Yep, Will fix this. >> + gpios = <&tlmm_pinmux 11 GPIO_ACTIVE_HIGH>; >> + linux,default-trigger = "none"; >> + default-state = "off"; >> + }; > > also, if i read the 96boards specs correctly, the LED are labeled > 3-2-1-0 , if you look at the board with the LEDs on the bottom. With > this DT config, you end up with 0-1-2-3 instead. > > also, they should be labeled 0 to 3, not 1 to 4. I agree Will fix it. The structure was copied from the 8016. Its strange that DB410c LEDS labels on the board are from 1 to 4 rather than 0 to 3, on the other hand DB600c does not have any labels as such. For Now I can change DB600c to start with 0 rather than 1. >