* Nokia N900: u-SD card in v4.2+ @ 2016-01-06 20:46 ` Pavel Machek 0 siblings, 0 replies; 16+ messages in thread From: Pavel Machek @ 2016-01-06 20:46 UTC (permalink / raw) To: pali.rohar, sre, sre, kernel list, linux-arm-kernel, linux-omap, tony, khilman, aaro.koskinen, ivo.g.dimitrov.75, patrikbachan Hi! In v4.1, both internal MMC and u-SD cards work ok. In v4.2, only the internal MMC is detected. In v4.3, not even internal MMC works. In v4.4, only the internal MMC is detected. Does it work for you? Any patches? (I do have hack in the dts to disable back cover detection...) Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html ^ permalink raw reply [flat|nested] 16+ messages in thread
* Nokia N900: u-SD card in v4.2+ @ 2016-01-06 20:46 ` Pavel Machek 0 siblings, 0 replies; 16+ messages in thread From: Pavel Machek @ 2016-01-06 20:46 UTC (permalink / raw) To: linux-arm-kernel Hi! In v4.1, both internal MMC and u-SD cards work ok. In v4.2, only the internal MMC is detected. In v4.3, not even internal MMC works. In v4.4, only the internal MMC is detected. Does it work for you? Any patches? (I do have hack in the dts to disable back cover detection...) Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Nokia N900: u-SD card in v4.2+ 2016-01-06 20:46 ` Pavel Machek (?) @ 2016-01-07 5:40 ` Kishon Vijay Abraham I -1 siblings, 0 replies; 16+ messages in thread From: Kishon Vijay Abraham I @ 2016-01-07 5:40 UTC (permalink / raw) To: Pavel Machek, pali.rohar, sre, sre, kernel list, linux-arm-kernel, linux-omap, tony, khilman, aaro.koskinen, ivo.g.dimitrov.75, patrikbachan Hi, On Thursday 07 January 2016 02:16 AM, Pavel Machek wrote: > Hi! > > In v4.1, both internal MMC and u-SD cards work ok. > > In v4.2, only the internal MMC is detected. In v4.3, not even internal > MMC works. In v4.4, only the internal MMC is detected. > > Does it work for you? Any patches? I don't have Nokia N900 to check this, but can you share your config and kernel logs? Check if CONFIG_REGULATOR_PBIAS is present in your config. CONFIG_REGULATOR_PBIAS is now mandatory for all omap3+ SoCs to work. Thanks Kishon > > (I do have hack in the dts to disable back cover detection...) > > Pavel > ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Nokia N900: u-SD card in v4.2+ @ 2016-01-07 5:40 ` Kishon Vijay Abraham I 0 siblings, 0 replies; 16+ messages in thread From: Kishon Vijay Abraham I @ 2016-01-07 5:40 UTC (permalink / raw) To: Pavel Machek, pali.rohar, sre, sre, kernel list, linux-arm-kernel, linux-omap, tony, khilman, aaro.koskinen, ivo.g.dimitrov.75, patrikbachan Hi, On Thursday 07 January 2016 02:16 AM, Pavel Machek wrote: > Hi! > > In v4.1, both internal MMC and u-SD cards work ok. > > In v4.2, only the internal MMC is detected. In v4.3, not even internal > MMC works. In v4.4, only the internal MMC is detected. > > Does it work for you? Any patches? I don't have Nokia N900 to check this, but can you share your config and kernel logs? Check if CONFIG_REGULATOR_PBIAS is present in your config. CONFIG_REGULATOR_PBIAS is now mandatory for all omap3+ SoCs to work. Thanks Kishon > > (I do have hack in the dts to disable back cover detection...) > > Pavel > ^ permalink raw reply [flat|nested] 16+ messages in thread
* Nokia N900: u-SD card in v4.2+ @ 2016-01-07 5:40 ` Kishon Vijay Abraham I 0 siblings, 0 replies; 16+ messages in thread From: Kishon Vijay Abraham I @ 2016-01-07 5:40 UTC (permalink / raw) To: linux-arm-kernel Hi, On Thursday 07 January 2016 02:16 AM, Pavel Machek wrote: > Hi! > > In v4.1, both internal MMC and u-SD cards work ok. > > In v4.2, only the internal MMC is detected. In v4.3, not even internal > MMC works. In v4.4, only the internal MMC is detected. > > Does it work for you? Any patches? I don't have Nokia N900 to check this, but can you share your config and kernel logs? Check if CONFIG_REGULATOR_PBIAS is present in your config. CONFIG_REGULATOR_PBIAS is now mandatory for all omap3+ SoCs to work. Thanks Kishon > > (I do have hack in the dts to disable back cover detection...) > > Pavel > ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Nokia N900: u-SD card in v4.2+ 2016-01-07 5:40 ` Kishon Vijay Abraham I @ 2016-01-07 11:34 ` Pavel Machek -1 siblings, 0 replies; 16+ messages in thread From: Pavel Machek @ 2016-01-07 11:34 UTC (permalink / raw) To: Kishon Vijay Abraham I Cc: pali.rohar, sre, sre, kernel list, linux-arm-kernel, linux-omap, tony, khilman, aaro.koskinen, ivo.g.dimitrov.75, patrikbachan Hi! > On Thursday 07 January 2016 02:16 AM, Pavel Machek wrote: > > Hi! > > > > In v4.1, both internal MMC and u-SD cards work ok. > > > > In v4.2, only the internal MMC is detected. In v4.3, not even internal > > MMC works. In v4.4, only the internal MMC is detected. > > > > Does it work for you? Any patches? > > I don't have Nokia N900 to check this, but can you share your config and kernel > logs? Check if CONFIG_REGULATOR_PBIAS is present in your config. > CONFIG_REGULATOR_PBIAS is now mandatory for all omap3+ SoCs to work. I enabled CONFIG_REGULATOR_PBIAS and both MMCs now work. I wonder if we should add some selects, so that users updating from old kernels don't break their system? Thanks, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html ^ permalink raw reply [flat|nested] 16+ messages in thread
* Nokia N900: u-SD card in v4.2+ @ 2016-01-07 11:34 ` Pavel Machek 0 siblings, 0 replies; 16+ messages in thread From: Pavel Machek @ 2016-01-07 11:34 UTC (permalink / raw) To: linux-arm-kernel Hi! > On Thursday 07 January 2016 02:16 AM, Pavel Machek wrote: > > Hi! > > > > In v4.1, both internal MMC and u-SD cards work ok. > > > > In v4.2, only the internal MMC is detected. In v4.3, not even internal > > MMC works. In v4.4, only the internal MMC is detected. > > > > Does it work for you? Any patches? > > I don't have Nokia N900 to check this, but can you share your config and kernel > logs? Check if CONFIG_REGULATOR_PBIAS is present in your config. > CONFIG_REGULATOR_PBIAS is now mandatory for all omap3+ SoCs to work. I enabled CONFIG_REGULATOR_PBIAS and both MMCs now work. I wonder if we should add some selects, so that users updating from old kernels don't break their system? Thanks, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Nokia N900: u-SD card in v4.2+ 2016-01-07 11:34 ` Pavel Machek @ 2016-01-09 22:44 ` Pali Rohár -1 siblings, 0 replies; 16+ messages in thread From: Pali Rohár @ 2016-01-09 22:44 UTC (permalink / raw) To: Pavel Machek Cc: Kishon Vijay Abraham I, sre, sre, kernel list, linux-arm-kernel, linux-omap, tony, khilman, aaro.koskinen, ivo.g.dimitrov.75, patrikbachan [-- Attachment #1: Type: Text/Plain, Size: 1003 bytes --] On Thursday 07 January 2016 12:34:09 Pavel Machek wrote: > Hi! > > > On Thursday 07 January 2016 02:16 AM, Pavel Machek wrote: > > > Hi! > > > > > > In v4.1, both internal MMC and u-SD cards work ok. > > > > > > In v4.2, only the internal MMC is detected. In v4.3, not even > > > internal MMC works. In v4.4, only the internal MMC is detected. > > > > > > Does it work for you? Any patches? > > > > I don't have Nokia N900 to check this, but can you share your > > config and kernel logs? Check if CONFIG_REGULATOR_PBIAS is present > > in your config. CONFIG_REGULATOR_PBIAS is now mandatory for all > > omap3+ SoCs to work. > > I enabled CONFIG_REGULATOR_PBIAS and both MMCs now work. > > I wonder if we should add some selects, so that users updating from > old kernels don't break their system? Please add these selects. I had CONFIG_REGULATOR_PBIAS disabled too, because I just updated defconfig from older kernel version. -- Pali Rohár pali.rohar@gmail.com [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 16+ messages in thread
* Nokia N900: u-SD card in v4.2+ @ 2016-01-09 22:44 ` Pali Rohár 0 siblings, 0 replies; 16+ messages in thread From: Pali Rohár @ 2016-01-09 22:44 UTC (permalink / raw) To: linux-arm-kernel On Thursday 07 January 2016 12:34:09 Pavel Machek wrote: > Hi! > > > On Thursday 07 January 2016 02:16 AM, Pavel Machek wrote: > > > Hi! > > > > > > In v4.1, both internal MMC and u-SD cards work ok. > > > > > > In v4.2, only the internal MMC is detected. In v4.3, not even > > > internal MMC works. In v4.4, only the internal MMC is detected. > > > > > > Does it work for you? Any patches? > > > > I don't have Nokia N900 to check this, but can you share your > > config and kernel logs? Check if CONFIG_REGULATOR_PBIAS is present > > in your config. CONFIG_REGULATOR_PBIAS is now mandatory for all > > omap3+ SoCs to work. > > I enabled CONFIG_REGULATOR_PBIAS and both MMCs now work. > > I wonder if we should add some selects, so that users updating from > old kernels don't break their system? Please add these selects. I had CONFIG_REGULATOR_PBIAS disabled too, because I just updated defconfig from older kernel version. -- 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/20160109/20371783/attachment-0001.sig> ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Nokia N900: u-SD card in v4.2+ 2016-01-09 22:44 ` Pali Rohár (?) @ 2016-01-11 8:40 ` Kishon Vijay Abraham I -1 siblings, 0 replies; 16+ messages in thread From: Kishon Vijay Abraham I @ 2016-01-11 8:40 UTC (permalink / raw) To: Pali Rohár, Pavel Machek, tony Cc: sre, sre, kernel list, linux-arm-kernel, linux-omap, khilman, aaro.koskinen, ivo.g.dimitrov.75, patrikbachan Hi, On Sunday 10 January 2016 04:14 AM, Pali Rohár wrote: > On Thursday 07 January 2016 12:34:09 Pavel Machek wrote: >> Hi! >> >>> On Thursday 07 January 2016 02:16 AM, Pavel Machek wrote: >>>> Hi! >>>> >>>> In v4.1, both internal MMC and u-SD cards work ok. >>>> >>>> In v4.2, only the internal MMC is detected. In v4.3, not even >>>> internal MMC works. In v4.4, only the internal MMC is detected. >>>> >>>> Does it work for you? Any patches? >>> >>> I don't have Nokia N900 to check this, but can you share your >>> config and kernel logs? Check if CONFIG_REGULATOR_PBIAS is present >>> in your config. CONFIG_REGULATOR_PBIAS is now mandatory for all >>> omap3+ SoCs to work. >> >> I enabled CONFIG_REGULATOR_PBIAS and both MMCs now work. >> >> I wonder if we should add some selects, so that users updating from >> old kernels don't break their system? > > Please add these selects. I had CONFIG_REGULATOR_PBIAS disabled too, > because I just updated defconfig from older kernel version. 'select' is generally not recommended since it selects a config without caring for the dependency. With adding 'depends on', MMC won't be enabled and will end up in the same problem. Tony has already added a Documentation noting that CONFIG_REGULATOR_PBIAS should be enabled for MMCs to work. commit d8e1f5ed11a39a68da00f05000466c4f6db4456e Author: Tony Lindgren <tony@atomide.com> Date: Mon Oct 12 16:19:54 2015 -0700 Documentation: ARM: List new omap MMC requirements Maybe we should also make the error message a little more verbose to tell the user that CONFIG_REGULATOR_PBIAS be selected? Thanks Kishon ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Nokia N900: u-SD card in v4.2+ @ 2016-01-11 8:40 ` Kishon Vijay Abraham I 0 siblings, 0 replies; 16+ messages in thread From: Kishon Vijay Abraham I @ 2016-01-11 8:40 UTC (permalink / raw) To: Pali Rohár, Pavel Machek, tony Cc: sre, sre, kernel list, linux-arm-kernel, linux-omap, khilman, aaro.koskinen, ivo.g.dimitrov.75, patrikbachan Hi, On Sunday 10 January 2016 04:14 AM, Pali Rohár wrote: > On Thursday 07 January 2016 12:34:09 Pavel Machek wrote: >> Hi! >> >>> On Thursday 07 January 2016 02:16 AM, Pavel Machek wrote: >>>> Hi! >>>> >>>> In v4.1, both internal MMC and u-SD cards work ok. >>>> >>>> In v4.2, only the internal MMC is detected. In v4.3, not even >>>> internal MMC works. In v4.4, only the internal MMC is detected. >>>> >>>> Does it work for you? Any patches? >>> >>> I don't have Nokia N900 to check this, but can you share your >>> config and kernel logs? Check if CONFIG_REGULATOR_PBIAS is present >>> in your config. CONFIG_REGULATOR_PBIAS is now mandatory for all >>> omap3+ SoCs to work. >> >> I enabled CONFIG_REGULATOR_PBIAS and both MMCs now work. >> >> I wonder if we should add some selects, so that users updating from >> old kernels don't break their system? > > Please add these selects. I had CONFIG_REGULATOR_PBIAS disabled too, > because I just updated defconfig from older kernel version. 'select' is generally not recommended since it selects a config without caring for the dependency. With adding 'depends on', MMC won't be enabled and will end up in the same problem. Tony has already added a Documentation noting that CONFIG_REGULATOR_PBIAS should be enabled for MMCs to work. commit d8e1f5ed11a39a68da00f05000466c4f6db4456e Author: Tony Lindgren <tony@atomide.com> Date: Mon Oct 12 16:19:54 2015 -0700 Documentation: ARM: List new omap MMC requirements Maybe we should also make the error message a little more verbose to tell the user that CONFIG_REGULATOR_PBIAS be selected? Thanks Kishon ^ permalink raw reply [flat|nested] 16+ messages in thread
* Nokia N900: u-SD card in v4.2+ @ 2016-01-11 8:40 ` Kishon Vijay Abraham I 0 siblings, 0 replies; 16+ messages in thread From: Kishon Vijay Abraham I @ 2016-01-11 8:40 UTC (permalink / raw) To: linux-arm-kernel Hi, On Sunday 10 January 2016 04:14 AM, Pali Roh?r wrote: > On Thursday 07 January 2016 12:34:09 Pavel Machek wrote: >> Hi! >> >>> On Thursday 07 January 2016 02:16 AM, Pavel Machek wrote: >>>> Hi! >>>> >>>> In v4.1, both internal MMC and u-SD cards work ok. >>>> >>>> In v4.2, only the internal MMC is detected. In v4.3, not even >>>> internal MMC works. In v4.4, only the internal MMC is detected. >>>> >>>> Does it work for you? Any patches? >>> >>> I don't have Nokia N900 to check this, but can you share your >>> config and kernel logs? Check if CONFIG_REGULATOR_PBIAS is present >>> in your config. CONFIG_REGULATOR_PBIAS is now mandatory for all >>> omap3+ SoCs to work. >> >> I enabled CONFIG_REGULATOR_PBIAS and both MMCs now work. >> >> I wonder if we should add some selects, so that users updating from >> old kernels don't break their system? > > Please add these selects. I had CONFIG_REGULATOR_PBIAS disabled too, > because I just updated defconfig from older kernel version. 'select' is generally not recommended since it selects a config without caring for the dependency. With adding 'depends on', MMC won't be enabled and will end up in the same problem. Tony has already added a Documentation noting that CONFIG_REGULATOR_PBIAS should be enabled for MMCs to work. commit d8e1f5ed11a39a68da00f05000466c4f6db4456e Author: Tony Lindgren <tony@atomide.com> Date: Mon Oct 12 16:19:54 2015 -0700 Documentation: ARM: List new omap MMC requirements Maybe we should also make the error message a little more verbose to tell the user that CONFIG_REGULATOR_PBIAS be selected? Thanks Kishon ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Nokia N900: u-SD card in v4.2+ 2016-01-11 8:40 ` Kishon Vijay Abraham I @ 2016-01-13 19:12 ` Pavel Machek -1 siblings, 0 replies; 16+ messages in thread From: Pavel Machek @ 2016-01-13 19:12 UTC (permalink / raw) To: Kishon Vijay Abraham I Cc: Pali Rohár, tony, sre, sre, kernel list, linux-arm-kernel, linux-omap, khilman, aaro.koskinen, ivo.g.dimitrov.75, patrikbachan On Mon 2016-01-11 14:10:23, Kishon Vijay Abraham I wrote: > Hi, > > On Sunday 10 January 2016 04:14 AM, Pali Rohár wrote: > > On Thursday 07 January 2016 12:34:09 Pavel Machek wrote: > >> Hi! > >> > >>> On Thursday 07 January 2016 02:16 AM, Pavel Machek wrote: > >>>> Hi! > >>>> > >>>> In v4.1, both internal MMC and u-SD cards work ok. > >>>> > >>>> In v4.2, only the internal MMC is detected. In v4.3, not even > >>>> internal MMC works. In v4.4, only the internal MMC is detected. > >>>> > >>>> Does it work for you? Any patches? > >>> > >>> I don't have Nokia N900 to check this, but can you share your > >>> config and kernel logs? Check if CONFIG_REGULATOR_PBIAS is present > >>> in your config. CONFIG_REGULATOR_PBIAS is now mandatory for all > >>> omap3+ SoCs to work. > >> > >> I enabled CONFIG_REGULATOR_PBIAS and both MMCs now work. > >> > >> I wonder if we should add some selects, so that users updating from > >> old kernels don't break their system? > > > > Please add these selects. I had CONFIG_REGULATOR_PBIAS disabled too, > > because I just updated defconfig from older kernel version. > > 'select' is generally not recommended since it selects a config without > caring for the dependency. With adding 'depends on', MMC won't be enabled and > will end up in the same problem. Well... it really should "depend on". Not ideal, but you'll likely realize what went on. Silently compiling known-bad kernel is ... well.. bad. > Tony has already added a Documentation noting that CONFIG_REGULATOR_PBIAS > should be enabled for MMCs to work. > commit d8e1f5ed11a39a68da00f05000466c4f6db4456e > Author: Tony Lindgren <tony@atomide.com> > Date: Mon Oct 12 16:19:54 2015 -0700 > > Documentation: ARM: List new omap MMC requirements > > Maybe we should also make the error message a little more verbose to tell the > user that CONFIG_REGULATOR_PBIAS be selected? That would help. As would #error if we recognize broken config. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html ^ permalink raw reply [flat|nested] 16+ messages in thread
* Nokia N900: u-SD card in v4.2+ @ 2016-01-13 19:12 ` Pavel Machek 0 siblings, 0 replies; 16+ messages in thread From: Pavel Machek @ 2016-01-13 19:12 UTC (permalink / raw) To: linux-arm-kernel On Mon 2016-01-11 14:10:23, Kishon Vijay Abraham I wrote: > Hi, > > On Sunday 10 January 2016 04:14 AM, Pali Roh?r wrote: > > On Thursday 07 January 2016 12:34:09 Pavel Machek wrote: > >> Hi! > >> > >>> On Thursday 07 January 2016 02:16 AM, Pavel Machek wrote: > >>>> Hi! > >>>> > >>>> In v4.1, both internal MMC and u-SD cards work ok. > >>>> > >>>> In v4.2, only the internal MMC is detected. In v4.3, not even > >>>> internal MMC works. In v4.4, only the internal MMC is detected. > >>>> > >>>> Does it work for you? Any patches? > >>> > >>> I don't have Nokia N900 to check this, but can you share your > >>> config and kernel logs? Check if CONFIG_REGULATOR_PBIAS is present > >>> in your config. CONFIG_REGULATOR_PBIAS is now mandatory for all > >>> omap3+ SoCs to work. > >> > >> I enabled CONFIG_REGULATOR_PBIAS and both MMCs now work. > >> > >> I wonder if we should add some selects, so that users updating from > >> old kernels don't break their system? > > > > Please add these selects. I had CONFIG_REGULATOR_PBIAS disabled too, > > because I just updated defconfig from older kernel version. > > 'select' is generally not recommended since it selects a config without > caring for the dependency. With adding 'depends on', MMC won't be enabled and > will end up in the same problem. Well... it really should "depend on". Not ideal, but you'll likely realize what went on. Silently compiling known-bad kernel is ... well.. bad. > Tony has already added a Documentation noting that CONFIG_REGULATOR_PBIAS > should be enabled for MMCs to work. > commit d8e1f5ed11a39a68da00f05000466c4f6db4456e > Author: Tony Lindgren <tony@atomide.com> > Date: Mon Oct 12 16:19:54 2015 -0700 > > Documentation: ARM: List new omap MMC requirements > > Maybe we should also make the error message a little more verbose to tell the > user that CONFIG_REGULATOR_PBIAS be selected? That would help. As would #error if we recognize broken config. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Nokia N900: u-SD card in v4.2+ 2016-01-13 19:12 ` Pavel Machek @ 2016-01-13 19:20 ` Tony Lindgren -1 siblings, 0 replies; 16+ messages in thread From: Tony Lindgren @ 2016-01-13 19:20 UTC (permalink / raw) To: Pavel Machek Cc: Kishon Vijay Abraham I, Pali Rohár, sre, sre, kernel list, linux-arm-kernel, linux-omap, khilman, aaro.koskinen, ivo.g.dimitrov.75, patrikbachan * Pavel Machek <pavel@ucw.cz> [160113 11:13]: > On Mon 2016-01-11 14:10:23, Kishon Vijay Abraham I wrote: > > > > 'select' is generally not recommended since it selects a config without > > caring for the dependency. With adding 'depends on', MMC won't be enabled and > > will end up in the same problem. > > Well... it really should "depend on". Not ideal, but you'll likely > realize what went on. > > Silently compiling known-bad kernel is ... well.. bad. Force selects will lead into build errors sooner or later. > > Tony has already added a Documentation noting that CONFIG_REGULATOR_PBIAS > > should be enabled for MMCs to work. > > commit d8e1f5ed11a39a68da00f05000466c4f6db4456e > > Author: Tony Lindgren <tony@atomide.com> > > Date: Mon Oct 12 16:19:54 2015 -0700 > > > > Documentation: ARM: List new omap MMC requirements > > > > Maybe we should also make the error message a little more verbose to tell the > > user that CONFIG_REGULATOR_PBIAS be selected? > > That would help. > > As would #error if we recognize broken config. Can't we just add a check to the omap_hsmmc.c? In cases where MMC1 has the PBIAS regulator configured but not available, print an error about missing CONFIG_REGULATOR_PBIAS error and return -EPROBE_DEFER? Regards, Tony ^ permalink raw reply [flat|nested] 16+ messages in thread
* Nokia N900: u-SD card in v4.2+ @ 2016-01-13 19:20 ` Tony Lindgren 0 siblings, 0 replies; 16+ messages in thread From: Tony Lindgren @ 2016-01-13 19:20 UTC (permalink / raw) To: linux-arm-kernel * Pavel Machek <pavel@ucw.cz> [160113 11:13]: > On Mon 2016-01-11 14:10:23, Kishon Vijay Abraham I wrote: > > > > 'select' is generally not recommended since it selects a config without > > caring for the dependency. With adding 'depends on', MMC won't be enabled and > > will end up in the same problem. > > Well... it really should "depend on". Not ideal, but you'll likely > realize what went on. > > Silently compiling known-bad kernel is ... well.. bad. Force selects will lead into build errors sooner or later. > > Tony has already added a Documentation noting that CONFIG_REGULATOR_PBIAS > > should be enabled for MMCs to work. > > commit d8e1f5ed11a39a68da00f05000466c4f6db4456e > > Author: Tony Lindgren <tony@atomide.com> > > Date: Mon Oct 12 16:19:54 2015 -0700 > > > > Documentation: ARM: List new omap MMC requirements > > > > Maybe we should also make the error message a little more verbose to tell the > > user that CONFIG_REGULATOR_PBIAS be selected? > > That would help. > > As would #error if we recognize broken config. Can't we just add a check to the omap_hsmmc.c? In cases where MMC1 has the PBIAS regulator configured but not available, print an error about missing CONFIG_REGULATOR_PBIAS error and return -EPROBE_DEFER? Regards, Tony ^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2016-01-13 19:20 UTC | newest] Thread overview: 16+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2016-01-06 20:46 Nokia N900: u-SD card in v4.2+ Pavel Machek 2016-01-06 20:46 ` Pavel Machek 2016-01-07 5:40 ` Kishon Vijay Abraham I 2016-01-07 5:40 ` Kishon Vijay Abraham I 2016-01-07 5:40 ` Kishon Vijay Abraham I 2016-01-07 11:34 ` Pavel Machek 2016-01-07 11:34 ` Pavel Machek 2016-01-09 22:44 ` Pali Rohár 2016-01-09 22:44 ` Pali Rohár 2016-01-11 8:40 ` Kishon Vijay Abraham I 2016-01-11 8:40 ` Kishon Vijay Abraham I 2016-01-11 8:40 ` Kishon Vijay Abraham I 2016-01-13 19:12 ` Pavel Machek 2016-01-13 19:12 ` Pavel Machek 2016-01-13 19:20 ` Tony Lindgren 2016-01-13 19:20 ` Tony Lindgren
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.