devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: dts: am335x-bone-common: correct mux mode for cmd line
@ 2013-09-27 11:35 Balaji T K
       [not found] ` <1380281710-12728-1-git-send-email-balajitk-l0cyMroinI0@public.gmane.org>
  2013-10-04 13:01 ` [PATCH 1/2] ARM: dts: am335x-bone-common: correct mux mode for cmd line Benoit Cousson
  0 siblings, 2 replies; 4+ messages in thread
From: Balaji T K @ 2013-09-27 11:35 UTC (permalink / raw)
  To: bcousson, devicetree
  Cc: linux-omap, tony, linux-arm-kernel, nm, koen, Balaji T K

pinmux_emmc_pins: mux mode for cmd line should be MODE2
to detect eMMC on beagle bone black and beagle bone white + eMMC cape.

Signed-off-by: Balaji T K <balajitk@ti.com>
Tested-by: Felipe Balbi <balbi@ti.com>
---
based on git://git.kernel.org/pub/scm/linux/kernel/git/bcousson/linux-omap-dt.git for_3.13/dts

 arch/arm/boot/dts/am335x-bone-common.dtsi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi
index ff5c3ca..51f6a99 100644
--- a/arch/arm/boot/dts/am335x-bone-common.dtsi
+++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
@@ -153,7 +153,7 @@
 	emmc_pins: pinmux_emmc_pins {
 		pinctrl-single,pins = <
 			0x80 (PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn1.mmc1_clk */
-			0x84 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_csn2.mmc1_cmd */
+			0x84 (PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn2.mmc1_cmd */
 			0x00 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad0.mmc1_dat0 */
 			0x04 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad1.mmc1_dat1 */
 			0x08 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad2.mmc1_dat2 */
-- 
1.7.5.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] ARM: dts: am335x-evm, am335x-evmsdk: switch mmc1 to 4-bit mode
       [not found] ` <1380281710-12728-1-git-send-email-balajitk-l0cyMroinI0@public.gmane.org>
@ 2013-09-27 11:35   ` Balaji T K
  2013-10-04 13:02     ` Benoit Cousson
  0 siblings, 1 reply; 4+ messages in thread
From: Balaji T K @ 2013-09-27 11:35 UTC (permalink / raw)
  To: bcousson-rdvid1DuHRBWk0Htik3J/w,
	devicetree-u79uwXL29TY76Z2rM5mHXA
  Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA, tony-4v6yS6AI5VpBDgjK7y7TUQ,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, nm-l0cyMroinI0,
	koen-QLwJDigV5abLmq1fohREcCpxlwaOVQ5f, Balaji T K

set bus-width to make SD card operate in 4 bit mode.

Signed-off-by: Balaji T K <balajitk-l0cyMroinI0@public.gmane.org>
---
based on git://git.kernel.org/pub/scm/linux/kernel/git/bcousson/linux-omap-dt.git for_3.13/dts

 arch/arm/boot/dts/am335x-evm.dts   |    1 +
 arch/arm/boot/dts/am335x-evmsk.dts |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
index 23b0a3e..028ca09 100644
--- a/arch/arm/boot/dts/am335x-evm.dts
+++ b/arch/arm/boot/dts/am335x-evm.dts
@@ -521,4 +521,5 @@
 &mmc1 {
 	status = "okay";
 	vmmc-supply = <&vmmc_reg>;
+	bus-width = <4>;
 };
diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
index bc93895..563a2b1 100644
--- a/arch/arm/boot/dts/am335x-evmsk.dts
+++ b/arch/arm/boot/dts/am335x-evmsk.dts
@@ -423,4 +423,5 @@
 &mmc1 {
 	status = "okay";
 	vmmc-supply = <&vmmc_reg>;
+	bus-width = <4>;
 };
-- 
1.7.5.4

--
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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] ARM: dts: am335x-bone-common: correct mux mode for cmd line
  2013-09-27 11:35 [PATCH 1/2] ARM: dts: am335x-bone-common: correct mux mode for cmd line Balaji T K
       [not found] ` <1380281710-12728-1-git-send-email-balajitk-l0cyMroinI0@public.gmane.org>
@ 2013-10-04 13:01 ` Benoit Cousson
  1 sibling, 0 replies; 4+ messages in thread
From: Benoit Cousson @ 2013-10-04 13:01 UTC (permalink / raw)
  To: Balaji T K; +Cc: devicetree, linux-omap, tony, linux-arm-kernel, nm, koen

Hi Balaji,

On 27/09/2013 13:35, Balaji T K wrote:
> pinmux_emmc_pins: mux mode for cmd line should be MODE2
> to detect eMMC on beagle bone black and beagle bone white + eMMC cape.
>
> Signed-off-by: Balaji T K <balajitk@ti.com>
> Tested-by: Felipe Balbi <balbi@ti.com>
> ---
> based on git://git.kernel.org/pub/scm/linux/kernel/git/bcousson/linux-omap-dt.git for_3.13/dts
>
>   arch/arm/boot/dts/am335x-bone-common.dtsi |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi
> index ff5c3ca..51f6a99 100644
> --- a/arch/arm/boot/dts/am335x-bone-common.dtsi
> +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
> @@ -153,7 +153,7 @@
>   	emmc_pins: pinmux_emmc_pins {
>   		pinctrl-single,pins = <
>   			0x80 (PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn1.mmc1_clk */
> -			0x84 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_csn2.mmc1_cmd */
> +			0x84 (PIN_INPUT_PULLUP | MUX_MODE2) /* gpmc_csn2.mmc1_cmd */
>   			0x00 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad0.mmc1_dat0 */
>   			0x04 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad1.mmc1_dat1 */
>   			0x08 (PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_ad2.mmc1_dat2 */
>

Thanks, I'll apply it for 3.13.

Regards,
Benoit


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] ARM: dts: am335x-evm, am335x-evmsdk: switch mmc1 to 4-bit mode
  2013-09-27 11:35   ` [PATCH 2/2] ARM: dts: am335x-evm, am335x-evmsdk: switch mmc1 to 4-bit mode Balaji T K
@ 2013-10-04 13:02     ` Benoit Cousson
  0 siblings, 0 replies; 4+ messages in thread
From: Benoit Cousson @ 2013-10-04 13:02 UTC (permalink / raw)
  To: Balaji T K; +Cc: devicetree, linux-omap, tony, linux-arm-kernel, nm, koen

Hi Balaji,

On 27/09/2013 13:35, Balaji T K wrote:
> set bus-width to make SD card operate in 4 bit mode.
>
> Signed-off-by: Balaji T K <balajitk@ti.com>
> ---
> based on git://git.kernel.org/pub/scm/linux/kernel/git/bcousson/linux-omap-dt.git for_3.13/dts
>
>   arch/arm/boot/dts/am335x-evm.dts   |    1 +
>   arch/arm/boot/dts/am335x-evmsk.dts |    1 +
>   2 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
> index 23b0a3e..028ca09 100644
> --- a/arch/arm/boot/dts/am335x-evm.dts
> +++ b/arch/arm/boot/dts/am335x-evm.dts
> @@ -521,4 +521,5 @@
>   &mmc1 {
>   	status = "okay";
>   	vmmc-supply = <&vmmc_reg>;
> +	bus-width = <4>;
>   };
> diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
> index bc93895..563a2b1 100644
> --- a/arch/arm/boot/dts/am335x-evmsk.dts
> +++ b/arch/arm/boot/dts/am335x-evmsk.dts
> @@ -423,4 +423,5 @@
>   &mmc1 {
>   	status = "okay";
>   	vmmc-supply = <&vmmc_reg>;
> +	bus-width = <4>;
>   };
>

Thanks, I'll apply it for 3.13.

Regards,
Benoit

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-10-04 13:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-27 11:35 [PATCH 1/2] ARM: dts: am335x-bone-common: correct mux mode for cmd line Balaji T K
     [not found] ` <1380281710-12728-1-git-send-email-balajitk-l0cyMroinI0@public.gmane.org>
2013-09-27 11:35   ` [PATCH 2/2] ARM: dts: am335x-evm, am335x-evmsdk: switch mmc1 to 4-bit mode Balaji T K
2013-10-04 13:02     ` Benoit Cousson
2013-10-04 13:01 ` [PATCH 1/2] ARM: dts: am335x-bone-common: correct mux mode for cmd line Benoit Cousson

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).