Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1222974 > unrolled thread

[PATCH 08/11] ARM: DT: STiH407: Add SD pinctrl config for mmc0 controller

Started byPeter Griffin <peter.griffin@linaro.org>
First post2015-09-11 19:10 +0200
Last post2015-09-11 20:10 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 08/11] ARM: DT: STiH407: Add SD pinctrl config for mmc0 controller Peter Griffin <peter.griffin@linaro.org> - 2015-09-11 19:10 +0200
    Re: [PATCH 08/11] ARM: DT: STiH407: Add SD pinctrl config for mmc0  controller Lee Jones <lee.jones@linaro.org> - 2015-09-11 20:10 +0200

#1222974 — [PATCH 08/11] ARM: DT: STiH407: Add SD pinctrl config for mmc0 controller

FromPeter Griffin <peter.griffin@linaro.org>
Date2015-09-11 19:10 +0200
Subject[PATCH 08/11] ARM: DT: STiH407: Add SD pinctrl config for mmc0 controller
Message-ID<q7zZL-7Wu-5@gated-at.bofh.it>
This patch adds the missing SD pinctrl config
for mmc/sd controller 0. This is required to enable the
B2144A daughter board that exposes this controller as a sd
slot.

Signed-off-by: Nebil BEN MEFTEH <nebil.ben-mefteh@st.com>
Signed-off-by: Nebil BEN MEFTEH <nebil.ben-mefteh@st.com>
Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
 arch/arm/boot/dts/stih407-pinctrl.dtsi | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
index 798d901..3cd7e2a 100644
--- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
+++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
@@ -883,6 +883,21 @@
 						emmc_d7 = <&pio41 7 ALT1 BIDIR_PU>;
 					};
 				};
+				pinctrl_sd0: sd0-0 {
+					st,pins {
+						sd_clk = <&pio40 6 ALT1 BIDIR>;
+						sd_cmd = <&pio40 7 ALT1 BIDIR_PU>;
+						sd_dat0 = <&pio41 0 ALT1 BIDIR_PU>;
+						sd_dat1 = <&pio41 1 ALT1 BIDIR_PU>;
+						sd_dat2 = <&pio41 2 ALT1 BIDIR_PU>;
+						sd_dat3 = <&pio41 3 ALT1 BIDIR_PU>;
+						sd_led = <&pio42 0 ALT2 OUT>;
+						sd_pwren = <&pio42 2 ALT2 OUT>;
+						sd_vsel = <&pio42 3 ALT2 OUT>;
+						sd_cd = <&pio42 4 ALT2 IN>;
+						sd_wp = <&pio42 5 ALT2 IN>;
+					};
+				};
 			};
 
 			fsm {
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1223016 — Re: [PATCH 08/11] ARM: DT: STiH407: Add SD pinctrl config for mmc0 controller

FromLee Jones <lee.jones@linaro.org>
Date2015-09-11 20:10 +0200
SubjectRe: [PATCH 08/11] ARM: DT: STiH407: Add SD pinctrl config for mmc0 controller
Message-ID<q7AVP-Tz-13@gated-at.bofh.it>
In reply to#1222974
On Fri, 11 Sep 2015, Peter Griffin wrote:

> This patch adds the missing SD pinctrl config
> for mmc/sd controller 0. This is required to enable the
> B2144A daughter board that exposes this controller as a sd
> slot.
> 
> Signed-off-by: Nebil BEN MEFTEH <nebil.ben-mefteh@st.com>
> Signed-off-by: Nebil BEN MEFTEH <nebil.ben-mefteh@st.com>

Duplicate. 

> Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
> Acked-by: Patrice Chotard <patrice.chotard@st.com>
> Signed-off-by: Patrice Chotard <patrice.chotard@st.com>

Same as before -- and for all the other patches.

Contrary to what I said before, the Ack is probably more correct here,
as I would _guess_ that Nebil wrote the patch, so his SoB should stay,
the Patrice added it to the internal tree.  Convert this to an Ack
now, as he's not in the upstream delivery path.

> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
> ---
>  arch/arm/boot/dts/stih407-pinctrl.dtsi | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/stih407-pinctrl.dtsi b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> index 798d901..3cd7e2a 100644
> --- a/arch/arm/boot/dts/stih407-pinctrl.dtsi
> +++ b/arch/arm/boot/dts/stih407-pinctrl.dtsi
> @@ -883,6 +883,21 @@
>  						emmc_d7 = <&pio41 7 ALT1 BIDIR_PU>;
>  					};
>  				};
> +				pinctrl_sd0: sd0-0 {
> +					st,pins {
> +						sd_clk = <&pio40 6 ALT1 BIDIR>;
> +						sd_cmd = <&pio40 7 ALT1 BIDIR_PU>;
> +						sd_dat0 = <&pio41 0 ALT1 BIDIR_PU>;
> +						sd_dat1 = <&pio41 1 ALT1 BIDIR_PU>;
> +						sd_dat2 = <&pio41 2 ALT1 BIDIR_PU>;
> +						sd_dat3 = <&pio41 3 ALT1 BIDIR_PU>;
> +						sd_led = <&pio42 0 ALT2 OUT>;
> +						sd_pwren = <&pio42 2 ALT2 OUT>;
> +						sd_vsel = <&pio42 3 ALT2 OUT>;
> +						sd_cd = <&pio42 4 ALT2 IN>;
> +						sd_wp = <&pio42 5 ALT2 IN>;
> +					};
> +				};
>  			};
>  
>  			fsm {

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web