Skip to contentSkip to conversation

ARM: dts: imx23-olinuxino: Set the sdcard as non-removable

PATCH In review Alexandre Pereira da Silva 3 participants 6 messages Apr 5, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: imx23-olinuxino: Set the sdcard as non-removable

The imx23-olinuxino sdcard doesn't support card detect.

---
 arch/arm/boot/dts/imx23-olinuxino.dts |    1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/imx23-olinuxino.dts +1 -0
index e7484e4..03f55c2 100644
@@ -29,6 +29,7 @@
 				pinctrl-names = "default";
 				pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_pins_fixup>;
 				bus-width = <4>;
+				non-removable;
 				status = "okay";
 			};
 
Signature · 1 line
1.7.10
#1 lore raw

Dear Alexandre Pereira da Silva,

Quoted 12 lines

The imx23-olinuxino sdcard doesn't support card detect.

---
 arch/arm/boot/dts/imx23-olinuxino.dts |    1 +
 1 file changed, 1 insertion(+)
(quoted diff) +0 -0

b/arch/arm/boot/dts/imx23-olinuxino.dts index e7484e4..03f55c2 100644

arch/arm/boot/dts/imx23-olinuxino.dts line 30

Quoted 2 lines
arch/arm/boot/dts/imx23-olinuxino.dts +0 -0
@@ -29,6 +29,7 @@
 				pinctrl-names = "default";
 				pinctrl-0 = <&mmc0_4bit_pins_a 

&mmc0_pins_fixup>;

arch/arm/boot/dts/imx23-olinuxino.dts line 34

Quoted 4 lines
arch/arm/boot/dts/imx23-olinuxino.dts +1 -0
 				bus-width = <4>;
+				non-removable;
 				status = "okay";
 			};

The card on mx23 olinuxino seems perfectly removable to me ... on all possible models and even prototypes and hybrids too ;-)

Best regards,
Marek Vasut

#2 lore raw
In reply to Alexandre Pereira da Silva
Quoted 2 lines · Alexandre Pereira da Silva

The imx23-olinuxino sdcard doesn't support card detect.

So it sounds more like a "broken-cd" rather than "non-removable"?

Shawn

Quoted 20 lines
---
 arch/arm/boot/dts/imx23-olinuxino.dts |    1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/imx23-olinuxino.dts +1 -0
index e7484e4..03f55c2 100644
@@ -29,6 +29,7 @@
 				pinctrl-names = "default";
 				pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_pins_fixup>;
 				bus-width = <4>;
+				non-removable;
 				status = "okay";
 			};
 
Signature · 1 line
1.7.10
#3 lore raw

Dear Shawn Guo,

Quoted 4 lines · Alexandre Pereira da Silva
Quoted 1 line

The imx23-olinuxino sdcard doesn't support card detect.

So it sounds more like a "broken-cd" rather than "non-removable"?

The CD line is working perfectly well on this board, so I don't get it.

Best regards,
Marek Vasut

#4 lore raw
Quoted 1 line · Marek Vasut

The CD line is working perfectly well on this board, so I don't get it.

In the schematics of this board, the SSP1_DETECT pin is connected to the green led. As I see, there is no way, the hardware can detect card removal. Am I missing something here?

#5 lore raw

Dear Alexandre Pereira da Silva,

Quoted 6 lines · Marek Vasut
Quoted 1 line

The CD line is working perfectly well on this board, so I don't get it.

In the schematics of this board, the SSP1_DETECT pin is connected to the green led. As I see, there is no way, the hardware can detect card removal. Am I missing something here?

You're right. Then the design is indeed defective. Sorry.

Best regards,
Marek Vasut