All of lore.kernel.org
 help / color / mirror / Atom feed
From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
To: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Cc: Andy Gross <andy.gross@linaro.org>,
	linux-arm-msm <linux-arm-msm@vger.kernel.org>,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, linux-soc@vger.kernel.org
Subject: Re: [PATCH 10/12] ARM: dts: dragonboard-600c: Add on board leds support
Date: Tue, 29 Mar 2016 14:30:03 +0100	[thread overview]
Message-ID: <56FA835B.3080909@linaro.org> (raw)
In-Reply-To: <CAP71WjzdDRqtS4oJu_m_Y9kuZ4QprYnqMHop=5a6Vc6yypakhA@mail.gmail.com>

Thanks Nico,

On 24/03/16 16:51, Nicolas Dechesne wrote:
> On Wed, Mar 23, 2016 at 8:48 PM, Srinivas Kandagatla
> <srinivas.kandagatla@linaro.org> 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.


>

WARNING: multiple messages have this Message-ID (diff)
From: srinivas.kandagatla@linaro.org (Srinivas Kandagatla)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 10/12] ARM: dts: dragonboard-600c: Add on board leds support
Date: Tue, 29 Mar 2016 14:30:03 +0100	[thread overview]
Message-ID: <56FA835B.3080909@linaro.org> (raw)
In-Reply-To: <CAP71WjzdDRqtS4oJu_m_Y9kuZ4QprYnqMHop=5a6Vc6yypakhA@mail.gmail.com>

Thanks Nico,

On 24/03/16 16:51, Nicolas Dechesne wrote:
> On Wed, Mar 23, 2016 at 8:48 PM, Srinivas Kandagatla
> <srinivas.kandagatla@linaro.org> wrote:
>> +                       led at 1 {
>> +                               label = "dragonboard-600c:green:user1";
>> +                               gpios = <&tlmm_pinmux 3 GPIO_ACTIVE_HIGH>;
>> +                               linux,default-trigger = "heartbeat";
>> +                               default-state = "off";
>> +                       };
>> +
>> +                       led at 2 {
>> +                               label = "dragonboard-600c:green:user2";
>> +                               gpios = <&tlmm_pinmux 7 GPIO_ACTIVE_HIGH>;
>> +                               linux,default-trigger = "mmc0";
>> +                               default-state = "off";
>> +                       };
>> +
>> +                       led at 3 {
>> +                               label = "dragonboard-600c:green:user3";
>> +                               gpios = <&tlmm_pinmux 10 GPIO_ACTIVE_HIGH>;
>> +                               linux,default-trigger = "mmc1";
>> +                               default-state = "off";
>> +                       };
>> +
>> +                       led at 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.


>

  reply	other threads:[~2016-03-29 13:30 UTC|newest]

Thread overview: 102+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-23 19:46 [PATCH 00/12] ARM: dts: Add dragonboard-600c support Srinivas Kandagatla
2016-03-23 19:46 ` Srinivas Kandagatla
2016-03-23 19:46 ` Srinivas Kandagatla
2016-03-23 19:47 ` [PATCH 01/12] ARM: dts: apq8064: fix the pinctrls for i2c and spi Srinivas Kandagatla
2016-03-23 19:47   ` Srinivas Kandagatla
     [not found]   ` <1458762421-9339-1-git-send-email-srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-03-29 14:28     ` Bjorn Andersson
2016-03-29 14:28       ` Bjorn Andersson
2016-03-29 14:28       ` Bjorn Andersson
2016-03-29 15:02       ` Srinivas Kandagatla
2016-03-29 15:02         ` Srinivas Kandagatla
2016-03-29 16:10         ` Bjorn Andersson
2016-03-29 16:10           ` Bjorn Andersson
2016-03-23 19:47 ` [PATCH 02/12] ARM: dts: apq8064: add support to gsbi1 uart Srinivas Kandagatla
2016-03-23 19:47   ` Srinivas Kandagatla
     [not found]   ` <1458762429-9397-1-git-send-email-srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-03-29 14:29     ` Bjorn Andersson
2016-03-29 14:29       ` Bjorn Andersson
2016-03-29 14:29       ` Bjorn Andersson
2016-03-23 19:47 ` [PATCH 03/12] ARM: dts: apq8064: add gsbi7 i2c support Srinivas Kandagatla
2016-03-23 19:47   ` Srinivas Kandagatla
2016-03-29 14:34   ` Bjorn Andersson
2016-03-29 14:34     ` Bjorn Andersson
     [not found] ` <1458762366-9233-1-git-send-email-srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-03-23 19:47   ` [PATCH 04/12] ARM: dts: dragonboard-600c: add board support with serial Srinivas Kandagatla
2016-03-23 19:47     ` Srinivas Kandagatla
2016-03-23 19:47     ` Srinivas Kandagatla
2016-03-23 20:07     ` Stephen Boyd
2016-03-23 20:07       ` Stephen Boyd
2016-03-23 20:30       ` Srinivas Kandagatla
2016-03-23 20:30         ` Srinivas Kandagatla
     [not found]         ` <56F2FCD0.1000708-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-03-24  1:04           ` Bjorn Andersson
2016-03-24  1:04             ` Bjorn Andersson
2016-03-24  1:04             ` Bjorn Andersson
     [not found]             ` <CAOCOHw7TyzDf4jvAMChOFFEgsL4Z1+CcESLOuckT=Q7W9hQvCw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-03-24  1:48               ` Stephen Boyd
2016-03-24  1:48                 ` Stephen Boyd
2016-03-24  1:48                 ` Stephen Boyd
2016-03-24 12:49                 ` Arnd Bergmann
2016-03-24 12:49                   ` Arnd Bergmann
2016-03-24 20:50                 ` Nicolas Dechesne
2016-03-24 20:50                   ` Nicolas Dechesne
2016-03-29 19:00                   ` Stephen Boyd
2016-03-29 19:00                     ` Stephen Boyd
2016-03-29 14:21                 ` Bjorn Andersson
2016-03-29 14:21                   ` Bjorn Andersson
2016-03-29 14:54   ` [PATCH 00/12] ARM: dts: Add dragonboard-600c support Bjorn Andersson
2016-03-29 14:54     ` Bjorn Andersson
2016-03-29 14:54     ` Bjorn Andersson
2016-03-29 15:02     ` Srinivas Kandagatla
2016-03-29 15:02       ` Srinivas Kandagatla
2016-03-23 19:47 ` [PATCH 05/12] ARM: dts: dragonboard-600c: add pmic regulator supplies Srinivas Kandagatla
2016-03-23 19:47   ` Srinivas Kandagatla
2016-03-29 14:37   ` Bjorn Andersson
2016-03-29 14:37     ` Bjorn Andersson
2016-03-29 15:02     ` Srinivas Kandagatla
2016-03-29 15:02       ` Srinivas Kandagatla
2016-03-23 19:47 ` [PATCH 06/12] ARM: dts: dragonboard-600c: Add eMMC and SD card support Srinivas Kandagatla
2016-03-23 19:47   ` Srinivas Kandagatla
2016-03-29 14:38   ` Bjorn Andersson
2016-03-29 14:38     ` Bjorn Andersson
2016-03-29 15:02     ` Srinivas Kandagatla
2016-03-29 15:02       ` Srinivas Kandagatla
2016-03-23 19:47 ` [PATCH 07/12] ARM: dts: dragonboard-600c: add usb support Srinivas Kandagatla
2016-03-23 19:47   ` Srinivas Kandagatla
2016-03-29 14:39   ` Bjorn Andersson
2016-03-29 14:39     ` Bjorn Andersson
2016-03-23 19:47 ` [PATCH 08/12] ARM: dts: dragonboard-600c: add pcie support Srinivas Kandagatla
2016-03-23 19:47   ` Srinivas Kandagatla
2016-03-29 14:39   ` Bjorn Andersson
2016-03-29 14:39     ` Bjorn Andersson
2016-03-23 19:47 ` [PATCH 09/12] ARM: dts: dragonboard-600c: add on board sata support Srinivas Kandagatla
2016-03-23 19:47   ` Srinivas Kandagatla
2016-03-29 14:40   ` Bjorn Andersson
2016-03-29 14:40     ` Bjorn Andersson
2016-03-23 19:48 ` [PATCH 10/12] ARM: dts: dragonboard-600c: Add on board leds support Srinivas Kandagatla
2016-03-23 19:48   ` Srinivas Kandagatla
2016-03-24 16:51   ` Nicolas Dechesne
2016-03-24 16:51     ` Nicolas Dechesne
2016-03-29 13:30     ` Srinivas Kandagatla [this message]
2016-03-29 13:30       ` Srinivas Kandagatla
2016-03-27  5:50   ` Bjorn Andersson
2016-03-27  5:50     ` Bjorn Andersson
2016-03-29 14:20     ` Srinivas Kandagatla
2016-03-29 14:20       ` Srinivas Kandagatla
2016-03-29 14:51       ` Bjorn Andersson
2016-03-29 14:51         ` Bjorn Andersson
2016-03-29 14:51         ` Bjorn Andersson
2016-03-29 18:32         ` Nicolas Dechesne
2016-03-29 18:32           ` Nicolas Dechesne
     [not found]           ` <CAP71WjwPQn8OuCy+8iuQpDrUW2baQ0qzaviLEDixVzTmUP_BTw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-03-29 21:10             ` Bjorn Andersson
2016-03-29 21:10               ` Bjorn Andersson
2016-03-29 21:10               ` Bjorn Andersson
2016-03-30 12:54     ` Rob Herring
2016-03-30 12:54       ` Rob Herring
2016-03-30 12:54       ` Rob Herring
2016-03-23 19:48 ` [PATCH 11/12] ARM: dts: dragonboard-600c: add i2c support Srinivas Kandagatla
2016-03-23 19:48   ` Srinivas Kandagatla
2016-03-29 14:44   ` Bjorn Andersson
2016-03-29 14:44     ` Bjorn Andersson
2016-03-29 14:44     ` Bjorn Andersson
2016-03-29 15:02     ` Srinivas Kandagatla
2016-03-29 15:02       ` Srinivas Kandagatla
2016-03-29 15:02       ` Srinivas Kandagatla
2016-03-23 19:48 ` [PATCH 12/12] ARM: dts: dragonboard-600c: add spi support Srinivas Kandagatla
2016-03-23 19:48   ` Srinivas Kandagatla

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56FA835B.3080909@linaro.org \
    --to=srinivas.kandagatla@linaro.org \
    --cc=andy.gross@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-soc@vger.kernel.org \
    --cc=nicolas.dechesne@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.