From: gregory.clement@free-electrons.com (Gregory CLEMENT)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] ARM: DTS: kirkwood-openrd: fix SD slot default configuration
Date: Mon, 25 Jan 2016 14:41:10 +0100 [thread overview]
Message-ID: <87r3h5epzd.fsf@free-electrons.com> (raw)
In-Reply-To: <1452629253-21748-2-git-send-email-aaro.koskinen@iki.fi> (Aaro Koskinen's message of "Tue, 12 Jan 2016 22:07:33 +0200")
Hi Aaro,
On mar., janv. 12 2016, Aaro Koskinen <aaro.koskinen@iki.fi> wrote:
> The SD card slot was enabled by default with legacy booting.
> It does not work anymore with DT boot. Fix by providing GPIO configuration
> that matches the old default.
>
> Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Applied on mvebu/dt with Andrew Reviewed-by
Thanks,
Gregory
> ---
> arch/arm/boot/dts/kirkwood-openrd.dtsi | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm/boot/dts/kirkwood-openrd.dtsi b/arch/arm/boot/dts/kirkwood-openrd.dtsi
> index 2a3dafd..f65b727 100644
> --- a/arch/arm/boot/dts/kirkwood-openrd.dtsi
> +++ b/arch/arm/boot/dts/kirkwood-openrd.dtsi
> @@ -65,6 +65,14 @@
> status = "okay";
> cd-gpios = <&gpio0 29 9>;
> };
> + gpio at 10140 {
> + p2 {
> + gpio-hog;
> + gpios = <2 GPIO_ACTIVE_HIGH>;
> + output-high; /* Select SD by default */
> + line-name = "SelUARTorSD";
> + };
> + };
> };
> };
>
> --
> 2.4.0
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
--
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
WARNING: multiple messages have this Message-ID (diff)
From: Gregory CLEMENT <gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
To: Aaro Koskinen <aaro.koskinen-X3B1VOXEql0@public.gmane.org>
Cc: Jason Cooper <jason-NLaQJdtUoK4Be96aLqz0jA@public.gmane.org>,
Andrew Lunn <andrew-g2DYL2Zd6BY@public.gmane.org>,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 2/2] ARM: DTS: kirkwood-openrd: fix SD slot default configuration
Date: Mon, 25 Jan 2016 14:41:10 +0100 [thread overview]
Message-ID: <87r3h5epzd.fsf@free-electrons.com> (raw)
In-Reply-To: <1452629253-21748-2-git-send-email-aaro.koskinen-X3B1VOXEql0@public.gmane.org> (Aaro Koskinen's message of "Tue, 12 Jan 2016 22:07:33 +0200")
Hi Aaro,
On mar., janv. 12 2016, Aaro Koskinen <aaro.koskinen-X3B1VOXEql0@public.gmane.org> wrote:
> The SD card slot was enabled by default with legacy booting.
> It does not work anymore with DT boot. Fix by providing GPIO configuration
> that matches the old default.
>
> Signed-off-by: Aaro Koskinen <aaro.koskinen-X3B1VOXEql0@public.gmane.org>
Applied on mvebu/dt with Andrew Reviewed-by
Thanks,
Gregory
> ---
> arch/arm/boot/dts/kirkwood-openrd.dtsi | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm/boot/dts/kirkwood-openrd.dtsi b/arch/arm/boot/dts/kirkwood-openrd.dtsi
> index 2a3dafd..f65b727 100644
> --- a/arch/arm/boot/dts/kirkwood-openrd.dtsi
> +++ b/arch/arm/boot/dts/kirkwood-openrd.dtsi
> @@ -65,6 +65,14 @@
> status = "okay";
> cd-gpios = <&gpio0 29 9>;
> };
> + gpio@10140 {
> + p2 {
> + gpio-hog;
> + gpios = <2 GPIO_ACTIVE_HIGH>;
> + output-high; /* Select SD by default */
> + line-name = "SelUARTorSD";
> + };
> + };
> };
> };
>
> --
> 2.4.0
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
--
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
--
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
next prev parent reply other threads:[~2016-01-25 13:41 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-12 20:07 [PATCH 1/2] ARM: DTS: kirkwood-openrd: fix pin names for UART/SD selection Aaro Koskinen
2016-01-12 20:07 ` Aaro Koskinen
2016-01-12 20:07 ` [PATCH 2/2] ARM: DTS: kirkwood-openrd: fix SD slot default configuration Aaro Koskinen
2016-01-12 20:07 ` Aaro Koskinen
2016-01-17 22:43 ` Martin Michlmayr
2016-01-17 22:43 ` Martin Michlmayr
2016-01-25 13:41 ` Gregory CLEMENT [this message]
2016-01-25 13:41 ` Gregory CLEMENT
2016-01-17 23:03 ` [PATCH 1/2] ARM: DTS: kirkwood-openrd: fix pin names for UART/SD selection Martin Michlmayr
2016-01-17 23:03 ` Martin Michlmayr
2016-01-24 17:30 ` Andrew Lunn
2016-01-24 17:30 ` Andrew Lunn
2016-01-25 13:39 ` Gregory CLEMENT
2016-01-25 13:39 ` Gregory CLEMENT
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=87r3h5epzd.fsf@free-electrons.com \
--to=gregory.clement@free-electrons.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 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.