From: hdegoede@redhat.com (Hans de Goede)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/3] ARM: dts: sun6i: The blue led on the Mele A1000G quad is a power led
Date: Sun, 5 Jun 2016 14:23:12 +0200 [thread overview]
Message-ID: <1465129393-22379-2-git-send-email-hdegoede@redhat.com> (raw)
In-Reply-To: <1465129393-22379-1-git-send-email-hdegoede@redhat.com>
The blue led on the Mele A1000 is wired to light up as soon as the board
has powered (it will be on while the gpio is still in input / floating
mode), also its location on the top-set box clearly signals "power led".
Until now we've been treating this as a generic usr function led, which
means that when you plug power into the top-set box, the power-led lights
and then turns off as soon as the kernel loads, which looks wrong.
This renames the led from m9:blue:usr to a1000g:blue:pwr (fixing a copy
and paste error in the prefix while at it) and marks it as default on,
fixing this.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
arch/arm/boot/dts/sun6i-a31-mele-a1000g-quad.dts | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/sun6i-a31-mele-a1000g-quad.dts b/arch/arm/boot/dts/sun6i-a31-mele-a1000g-quad.dts
index 4dd70cc..e063dab 100644
--- a/arch/arm/boot/dts/sun6i-a31-mele-a1000g-quad.dts
+++ b/arch/arm/boot/dts/sun6i-a31-mele-a1000g-quad.dts
@@ -65,8 +65,9 @@
pinctrl-0 = <&led_pins_m9>;
blue {
- label = "m9:blue:usr";
+ label = "a1000g:blue:pwr";
gpios = <&pio 7 13 GPIO_ACTIVE_HIGH>;
+ default-state = "on";
};
};
};
--
2.7.4
next prev parent reply other threads:[~2016-06-05 12:23 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-05 12:23 [PATCH 1/3] ARM: dts: sun4i: The blue led on the Mele A1000 is a power led Hans de Goede
2016-06-05 12:23 ` Hans de Goede [this message]
2016-06-06 7:01 ` [PATCH 2/3] ARM: dts: sun6i: The blue led on the Mele A1000G quad " Chen-Yu Tsai
2016-06-05 12:23 ` [PATCH 3/3] ARM: dts: sun6i: The blue led on the Mele M9 " Hans de Goede
2016-06-06 7:02 ` Chen-Yu Tsai
2016-06-06 7:01 ` [PATCH 1/3] ARM: dts: sun4i: The blue led on the Mele A1000 " Chen-Yu Tsai
2016-06-06 7:05 ` Chen-Yu Tsai
2016-06-06 7:24 ` Hans de Goede
2016-06-07 21:24 ` Maxime Ripard
2016-06-08 13:23 ` Hans de Goede
2016-06-11 15:45 ` Maxime Ripard
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=1465129393-22379-2-git-send-email-hdegoede@redhat.com \
--to=hdegoede@redhat.com \
--cc=linux-arm-kernel@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).