From: Pavel Machek <pavel-+ZI9xUNit7I@public.gmane.org>
To: Sebastian Reichel <sre-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: "Tony Lindgren" <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>,
"Benoît Cousson"
<bcousson-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>,
"Aaro Koskinen" <aaro.koskinen-X3B1VOXEql0@public.gmane.org>,
"Rob Herring" <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
"Pawel Moll" <pawel.moll-5wv7dgnIgG8@public.gmane.org>,
"Mark Rutland" <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
"Ian Campbell"
<ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org>,
"Kumar Gala" <galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>,
linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 4/7] ARM: dts: Enable N950 keyboard sleep leds by default
Date: Tue, 29 Mar 2016 12:51:28 +0200 [thread overview]
Message-ID: <20160329105128.GA30184@amd> (raw)
In-Reply-To: <1457827580-16919-5-git-send-email-sre-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Hi!
For 1-3 in the series, Acked-by: Pavel Machek <pavel-+ZI9xUNit7I@public.gmane.org>
> Like the Nokia N900, the N950 has leds to show
> the state of sys_clkreq and sys_off_mode pins.
>
> A detailed description for the LEDs and
> OMAP's sleep states can be found in Tony's
> commit for the Nokia N900:
>
> c1be2032f66df9e1238bd5bc4ca666de88a62abc
I must say I've seen it on N900, and yes, it is useful, but no, I
don't think this is right.
This is not a LED. This is a interface that changes meaning of two
other LEDs. I guess it should go to debugfs somewhere.
Best regards,
Pavel
> Signed-off-by: Sebastian Reichel <sre-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
> +++ b/arch/arm/boot/dts/omap3-n950-n9.dtsi
> @@ -31,9 +31,27 @@
> startup-delay-us = <150>;
> enable-active-high;
> };
> +
> + leds {
> + compatible = "gpio-leds";
> +
> + heartbeat {
> + label = "debug::sleep";
> + gpios = <&gpio3 28 GPIO_ACTIVE_HIGH>; /* gpio92 */
> + linux,default-trigger = "default-on";
> + pinctrl-names = "default";
> + pinctrl-0 = <&debug_leds>;
> + };
> + };
> };
>
> &omap3_pmx_core {
> + debug_leds: pinmux_debug_led_pins {
> + pinctrl-single,pins = <
> + OMAP3_CORE1_IOPAD(0x2108, PIN_OUTPUT | MUX_MODE4) /* dss_data22.gpio_92 */
> + >;
> + };
> +
> mmc2_pins: pinmux_mmc2_pins {
> pinctrl-single,pins = <
> OMAP3_CORE1_IOPAD(0x2158, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_clk */
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: Pavel Machek <pavel@ucw.cz>
To: Sebastian Reichel <sre@kernel.org>
Cc: "Tony Lindgren" <tony@atomide.com>,
"Benoît Cousson" <bcousson@baylibre.com>,
"Aaro Koskinen" <aaro.koskinen@iki.fi>,
"Rob Herring" <robh+dt@kernel.org>,
"Pawel Moll" <pawel.moll@arm.com>,
"Mark Rutland" <mark.rutland@arm.com>,
"Ian Campbell" <ijc+devicetree@hellion.org.uk>,
"Kumar Gala" <galak@codeaurora.org>,
linux-omap@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 4/7] ARM: dts: Enable N950 keyboard sleep leds by default
Date: Tue, 29 Mar 2016 12:51:28 +0200 [thread overview]
Message-ID: <20160329105128.GA30184@amd> (raw)
In-Reply-To: <1457827580-16919-5-git-send-email-sre@kernel.org>
Hi!
For 1-3 in the series, Acked-by: Pavel Machek <pavel@ucw.cz>
> Like the Nokia N900, the N950 has leds to show
> the state of sys_clkreq and sys_off_mode pins.
>
> A detailed description for the LEDs and
> OMAP's sleep states can be found in Tony's
> commit for the Nokia N900:
>
> c1be2032f66df9e1238bd5bc4ca666de88a62abc
I must say I've seen it on N900, and yes, it is useful, but no, I
don't think this is right.
This is not a LED. This is a interface that changes meaning of two
other LEDs. I guess it should go to debugfs somewhere.
Best regards,
Pavel
> Signed-off-by: Sebastian Reichel <sre@kernel.org>
> +++ b/arch/arm/boot/dts/omap3-n950-n9.dtsi
> @@ -31,9 +31,27 @@
> startup-delay-us = <150>;
> enable-active-high;
> };
> +
> + leds {
> + compatible = "gpio-leds";
> +
> + heartbeat {
> + label = "debug::sleep";
> + gpios = <&gpio3 28 GPIO_ACTIVE_HIGH>; /* gpio92 */
> + linux,default-trigger = "default-on";
> + pinctrl-names = "default";
> + pinctrl-0 = <&debug_leds>;
> + };
> + };
> };
>
> &omap3_pmx_core {
> + debug_leds: pinmux_debug_led_pins {
> + pinctrl-single,pins = <
> + OMAP3_CORE1_IOPAD(0x2108, PIN_OUTPUT | MUX_MODE4) /* dss_data22.gpio_92 */
> + >;
> + };
> +
> mmc2_pins: pinmux_mmc2_pins {
> pinctrl-single,pins = <
> OMAP3_CORE1_IOPAD(0x2158, PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_clk */
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
next prev parent reply other threads:[~2016-03-29 10:51 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-13 0:06 [PATCH 0/7] Nokia N9/N950 misc. DT patches Sebastian Reichel
2016-03-13 0:06 ` [PATCH 1/7] ARM: dts: n9/n950: regulator configuration Sebastian Reichel
2016-03-13 0:06 ` [PATCH 2/7] ARM: dts: OMAP3-N950: Add Keypad Matrix Sebastian Reichel
2016-03-13 0:06 ` [PATCH 3/7] ARM: dts: OMAP3-N950: Add Vibrator Sebastian Reichel
2016-03-13 0:06 ` [PATCH 4/7] ARM: dts: Enable N950 keyboard sleep leds by default Sebastian Reichel
[not found] ` <1457827580-16919-5-git-send-email-sre-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2016-03-29 10:51 ` Pavel Machek [this message]
2016-03-29 10:51 ` Pavel Machek
2016-03-29 14:52 ` Sebastian Reichel
2016-03-29 14:52 ` Sebastian Reichel
2016-03-29 17:54 ` Pavel Machek
2016-03-29 17:54 ` Pavel Machek
2016-03-30 19:35 ` Tony Lindgren
2016-03-30 19:35 ` Tony Lindgren
2016-03-31 0:48 ` Sebastian Reichel
2016-04-01 12:45 ` Pavel Machek
2016-04-01 18:32 ` Tony Lindgren
2016-04-02 6:47 ` Pavel Machek
2016-04-12 21:02 ` Tony Lindgren
[not found] ` <1457827580-16919-1-git-send-email-sre-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2016-03-13 0:06 ` Sebastian Reichel
2016-03-13 0:06 ` [PATCH 5/7] ARM: dts: OMAP3-N950: Add Keypad Slide Switch Sebastian Reichel
2016-03-13 0:06 ` [PATCH 6/7] ARM: dts: N9/N950: Add support for 1GHz CPU clock Sebastian Reichel
2016-03-13 0:06 ` [PATCH 7/7] ARM: dts: N9/N950: Add support for accelerometer Sebastian Reichel
2016-03-29 10:53 ` Pavel Machek
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=20160329105128.GA30184@amd \
--to=pavel-+zi9xunit7i@public.gmane.org \
--cc=aaro.koskinen-X3B1VOXEql0@public.gmane.org \
--cc=bcousson-rdvid1DuHRBWk0Htik3J/w@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
--cc=ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
--cc=pawel.moll-5wv7dgnIgG8@public.gmane.org \
--cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=sre-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.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.