N900: fixing MMC at boot
Subsystems (2)
Hi!
For a long time, MMC was not working during boot... (making the box unusable without nfsroot). It seems problem is in the regulators, because with diff below, I was able to mount root on SD card for a first time ... in a long time.
Documentation/devicetree/bindings/regulator/regulator.txt +2 -1
@@ -4,7 +4,8 @@ Optional properties: - regulator-name: A string used as a descriptive name for regulator outputs - regulator-min-microvolt: smallest voltage consumers may set - regulator-max-microvolt: largest voltage consumers may set -- regulator-microvolt-offset: Offset applied to voltages to compensate for voltage drops +- regulator-microvolt-offset: Offset applied to voltages to compensate for + voltage drops - regulator-min-microamp: smallest current consumers may set - regulator-max-microamp: largest current consumers may set - regulator-always-on: boolean, regulator should never be disabled
arch/arm/boot/dts/omap3-n900.dts +7 -2
@@ -287,31 +287,35 @@ regulator-name = "V28"; regulator-min-microvolt = <2800000>; regulator-max-microvolt = <2800000>; - regulator-always-on; /* due battery cover sensor */ + regulator-always-on; /* due to battery cover sensor */ }; &vaux2 { regulator-name = "VCSI"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; + regulator-always-on; /* FIXME */ }; &vaux3 { regulator-name = "VMMC2_30"; regulator-min-microvolt = <2800000>; regulator-max-microvolt = <3000000>; + regulator-always-on; /* FIXME */ }; &vaux4 { regulator-name = "VCAM_ANA_28"; regulator-min-microvolt = <2800000>; regulator-max-microvolt = <2800000>; + regulator-always-on; /* FIXME */ }; &vmmc1 { regulator-name = "VMMC1"; regulator-min-microvolt = <1850000>; regulator-max-microvolt = <3150000>; + regulator-always-on; /* FIXME */ }; &vmmc2 {
@@ -339,13 +343,14 @@ regulator-name = "VMMC2_IO_18"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; + regulator-always-on; /* FIXME */ }; &vio { regulator-name = "VIO"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; - + regulator-always-on; /* FIXME */ }; &vintana1 {
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Quoted 7 lines · On Saturday 06 December 2014 18:35:27 Pavel Machek wrote:
Hi!
For a long time, MMC was not working during boot... (making the box unusable without nfsroot). It seems problem is in the regulators, because with diff below, I was able to mount root on SD card for a first time ... in a long time.
Hi, do you mean external SD card or internal eMMC (MyDocs)?
Signature · 9 lines
Pali Roh?r pali.rohar at gmail.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20141206/d3ed0f87/attachment.sig>
Quoted 10 lines · Pali Roh?r
Quoted 7 lines · On Saturday 06 December 2014 18:35:27 Pavel Machek wrote:
Hi!
For a long time, MMC was not working during boot... (making the box unusable without nfsroot). It seems problem is in the regulators, because with diff below, I was able to mount root on SD card for a first time ... in a long time.
Hi, do you mean external SD card or internal eMMC (MyDocs)?
I mean u-SD card. But it is strange. I reverted the patch now, and it still works. Not sure why or what I've done differently.
Pavel
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Quoted 10 lines · On Saturday 06 December 2014 19:04:29 Pavel Machek wrote:
Quoted 9 lines · Pali Roh?r
Quoted 7 lines · On Saturday 06 December 2014 18:35:27 Pavel Machek wrote:
Hi!
For a long time, MMC was not working during boot... (making the box unusable without nfsroot). It seems problem is in the regulators, because with diff below, I was able to mount root on SD card for a first time ... in a long time.
Quoted 7 lines
Quoted 1 line
Hi, do you mean external SD card or internal eMMC (MyDocs)?
I mean u-SD card. But it is strange. I reverted the patch now, and it still works. Not sure why or what I've done differently.
Pavel
Remove battery wait some time and try again. Maybe you configured something which can be cleared only after full device shutdown...
Signature · 9 lines
Pali Roh?r pali.rohar at gmail.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20141206/2653f272/attachment.sig>