* [PATCH] ARM: dts: vf610: add SD node to cosmic dts
@ 2014-11-05 6:59 Olof Johansson
2014-11-05 7:19 ` Shawn Guo
2014-11-05 8:40 ` Stefan Agner
0 siblings, 2 replies; 4+ messages in thread
From: Olof Johansson @ 2014-11-05 6:59 UTC (permalink / raw)
To: linux-arm-kernel
Driver has been there since a while back, but the dts never seems to
have been updated with the node (nor pinctrl). Do so now.
Cc: Matt Porter <mporter@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
---
Shawn, Stefan: This probably has some small conflicts with Stefan's
patchsets that refactors some of the dts contents for 3.19. I'd like to
pick this patch up as a fix for 3.18 though, since it makes my Cosmic+
board usable for the boot farm.
If that'd be OK (i.e. to apply Stefan's patches on top of this), please
ack so I can include it with the next set of fixes. :)
Thanks,
-Olof
arch/arm/boot/dts/vf610-cosmic.dts | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/arch/arm/boot/dts/vf610-cosmic.dts b/arch/arm/boot/dts/vf610-cosmic.dts
index 3fd1b74..c1b8355 100644
--- a/arch/arm/boot/dts/vf610-cosmic.dts
+++ b/arch/arm/boot/dts/vf610-cosmic.dts
@@ -56,6 +56,19 @@
>;
};
+ pinctrl_esdhc1: esdhc1grp {
+ fsl,pins = <
+ VF610_PAD_PTA24__ESDHC1_CLK 0x31ef
+ VF610_PAD_PTA25__ESDHC1_CMD 0x31ef
+ VF610_PAD_PTA26__ESDHC1_DAT0 0x31ef
+ VF610_PAD_PTA27__ESDHC1_DAT1 0x31ef
+ VF610_PAD_PTA28__ESDHC1_DATA2 0x31ef
+ VF610_PAD_PTA29__ESDHC1_DAT3 0x31ef
+ VF610_PAD_PTB28__GPIO_98 0x219d
+ >;
+ };
+
+
pinctrl_uart1: uart1grp {
fsl,pins = <
VF610_PAD_PTB4__UART1_TX 0x21a2
@@ -70,3 +83,10 @@
pinctrl-0 = <&pinctrl_uart1>;
status = "okay";
};
+
+&esdhc1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_esdhc1>;
+ bus-width = <4>;
+ status = "okay";
+};
--
1.7.10.4
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH] ARM: dts: vf610: add SD node to cosmic dts
2014-11-05 6:59 [PATCH] ARM: dts: vf610: add SD node to cosmic dts Olof Johansson
@ 2014-11-05 7:19 ` Shawn Guo
2014-11-05 8:40 ` Stefan Agner
1 sibling, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2014-11-05 7:19 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Nov 04, 2014 at 10:59:25PM -0800, Olof Johansson wrote:
> Driver has been there since a while back, but the dts never seems to
> have been updated with the node (nor pinctrl). Do so now.
>
> Cc: Matt Porter <mporter@linaro.org>
> Signed-off-by: Olof Johansson <olof@lixom.net>
> ---
>
> Shawn, Stefan: This probably has some small conflicts with Stefan's
> patchsets that refactors some of the dts contents for 3.19. I'd like to
> pick this patch up as a fix for 3.18 though, since it makes my Cosmic+
> board usable for the boot farm.
>
> If that'd be OK (i.e. to apply Stefan's patches on top of this), please
> ack so I can include it with the next set of fixes. :)
Acked-by: Shawn Guo <shawn.guo@linaro.org>
But please move esdhc1grp before fec1grp, and &esdhc1 before &fec1, so
that they are sorted alphabetically.
Shawn
>
> Thanks,
>
> -Olof
>
> arch/arm/boot/dts/vf610-cosmic.dts | 20 ++++++++++++++++++++
> 1 file changed, 20 insertions(+)
>
> diff --git a/arch/arm/boot/dts/vf610-cosmic.dts b/arch/arm/boot/dts/vf610-cosmic.dts
> index 3fd1b74..c1b8355 100644
> --- a/arch/arm/boot/dts/vf610-cosmic.dts
> +++ b/arch/arm/boot/dts/vf610-cosmic.dts
> @@ -56,6 +56,19 @@
> >;
> };
>
> + pinctrl_esdhc1: esdhc1grp {
> + fsl,pins = <
> + VF610_PAD_PTA24__ESDHC1_CLK 0x31ef
> + VF610_PAD_PTA25__ESDHC1_CMD 0x31ef
> + VF610_PAD_PTA26__ESDHC1_DAT0 0x31ef
> + VF610_PAD_PTA27__ESDHC1_DAT1 0x31ef
> + VF610_PAD_PTA28__ESDHC1_DATA2 0x31ef
> + VF610_PAD_PTA29__ESDHC1_DAT3 0x31ef
> + VF610_PAD_PTB28__GPIO_98 0x219d
> + >;
> + };
> +
> +
> pinctrl_uart1: uart1grp {
> fsl,pins = <
> VF610_PAD_PTB4__UART1_TX 0x21a2
> @@ -70,3 +83,10 @@
> pinctrl-0 = <&pinctrl_uart1>;
> status = "okay";
> };
> +
> +&esdhc1 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_esdhc1>;
> + bus-width = <4>;
> + status = "okay";
> +};
> --
> 1.7.10.4
>
^ permalink raw reply [flat|nested] 4+ messages in thread* [PATCH] ARM: dts: vf610: add SD node to cosmic dts
2014-11-05 6:59 [PATCH] ARM: dts: vf610: add SD node to cosmic dts Olof Johansson
2014-11-05 7:19 ` Shawn Guo
@ 2014-11-05 8:40 ` Stefan Agner
2014-11-05 19:00 ` Olof Johansson
1 sibling, 1 reply; 4+ messages in thread
From: Stefan Agner @ 2014-11-05 8:40 UTC (permalink / raw)
To: linux-arm-kernel
Am 2014-11-05 07:59, schrieb Olof Johansson:
> Driver has been there since a while back, but the dts never seems to
> have been updated with the node (nor pinctrl). Do so now.
>
> Cc: Matt Porter <mporter@linaro.org>
> Signed-off-by: Olof Johansson <olof@lixom.net>
> ---
>
> Shawn, Stefan: This probably has some small conflicts with Stefan's
> patchsets that refactors some of the dts contents for 3.19. I'd like to
> pick this patch up as a fix for 3.18 though, since it makes my Cosmic+
> board usable for the boot farm.
>
> If that'd be OK (i.e. to apply Stefan's patches on top of this), please
> ack so I can include it with the next set of fixes. :)
>
> Thanks,
>
> -Olof
Same reordering complains as Shawn.
Also note that starting with 3.19, it would be possible to use card
detect GPIO. However, SD-card works also fairly well without card
detection.
Acked-by: Stefan Agner <stefan@agner.ch>
>
> arch/arm/boot/dts/vf610-cosmic.dts | 20 ++++++++++++++++++++
> 1 file changed, 20 insertions(+)
>
> diff --git a/arch/arm/boot/dts/vf610-cosmic.dts
> b/arch/arm/boot/dts/vf610-cosmic.dts
> index 3fd1b74..c1b8355 100644
> --- a/arch/arm/boot/dts/vf610-cosmic.dts
> +++ b/arch/arm/boot/dts/vf610-cosmic.dts
> @@ -56,6 +56,19 @@
> >;
> };
>
> + pinctrl_esdhc1: esdhc1grp {
> + fsl,pins = <
> + VF610_PAD_PTA24__ESDHC1_CLK 0x31ef
> + VF610_PAD_PTA25__ESDHC1_CMD 0x31ef
> + VF610_PAD_PTA26__ESDHC1_DAT0 0x31ef
> + VF610_PAD_PTA27__ESDHC1_DAT1 0x31ef
> + VF610_PAD_PTA28__ESDHC1_DATA2 0x31ef
> + VF610_PAD_PTA29__ESDHC1_DAT3 0x31ef
> + VF610_PAD_PTB28__GPIO_98 0x219d
> + >;
> + };
> +
> +
> pinctrl_uart1: uart1grp {
> fsl,pins = <
> VF610_PAD_PTB4__UART1_TX 0x21a2
> @@ -70,3 +83,10 @@
> pinctrl-0 = <&pinctrl_uart1>;
> status = "okay";
> };
> +
> +&esdhc1 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_esdhc1>;
> + bus-width = <4>;
> + status = "okay";
> +};
^ permalink raw reply [flat|nested] 4+ messages in thread* [PATCH] ARM: dts: vf610: add SD node to cosmic dts
2014-11-05 8:40 ` Stefan Agner
@ 2014-11-05 19:00 ` Olof Johansson
0 siblings, 0 replies; 4+ messages in thread
From: Olof Johansson @ 2014-11-05 19:00 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Nov 5, 2014 at 12:40 AM, Stefan Agner <stefan@agner.ch> wrote:
> Am 2014-11-05 07:59, schrieb Olof Johansson:
>> Driver has been there since a while back, but the dts never seems to
>> have been updated with the node (nor pinctrl). Do so now.
>>
>> Cc: Matt Porter <mporter@linaro.org>
>> Signed-off-by: Olof Johansson <olof@lixom.net>
>> ---
>>
>> Shawn, Stefan: This probably has some small conflicts with Stefan's
>> patchsets that refactors some of the dts contents for 3.19. I'd like to
>> pick this patch up as a fix for 3.18 though, since it makes my Cosmic+
>> board usable for the boot farm.
>>
>> If that'd be OK (i.e. to apply Stefan's patches on top of this), please
>> ack so I can include it with the next set of fixes. :)
>>
>> Thanks,
>>
>> -Olof
>
> Same reordering complains as Shawn.
>
> Also note that starting with 3.19, it would be possible to use card
> detect GPIO. However, SD-card works also fairly well without card
> detection.
>
> Acked-by: Stefan Agner <stefan@agner.ch>
Thanks, reordered entries (d'oh!) and applied to fixes with your acks.
CD gpio would be useful, in my case I always have the card attached
though. I'll try to remember revisiting for that. :-)
-Olof
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-11-05 19:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-05 6:59 [PATCH] ARM: dts: vf610: add SD node to cosmic dts Olof Johansson
2014-11-05 7:19 ` Shawn Guo
2014-11-05 8:40 ` Stefan Agner
2014-11-05 19:00 ` Olof Johansson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox