Re: All OMAP platforms: MMC is broken

2015-10-07 Thread Kishon Vijay Abraham I
Hi, On Thursday 08 October 2015 01:10 AM, Ulf Hansson wrote: > On 7 October 2015 at 17:52, Tony Lindgren wrote: >> * Ulf Hansson [151007 06:46]: >>> On 7 October 2015 at 15:26, Tony Lindgren wrote: >> Good idea, how about

Re: [PATCH 2/2] memory: omap-gpmc: expand the description of the debug facility

2015-10-07 Thread Uwe Kleine-König
Hello Roger, On Wed, Oct 07, 2015 at 10:45:50AM +0300, Roger Quadros wrote: > On 06/10/15 23:07, Uwe Kleine-König wrote: > > Most register values for the chip select setup depend on the frequency > > of the fck clock. > > So add a hint that the values setup by the bootloader might differ from > >

Re: [PATCH 1/2] memory: omap-gpmc: dump "before" state before first modification

2015-10-07 Thread Roger Quadros
On 06/10/15 23:07, Uwe Kleine-König wrote: > When gpmc_cs_show_timings is called in gpmc_cs_set_timings() > gpmc_cs_program_settings() was already run which modifies the CONFIG1 > register. So to be more useful do the "before" dump earlier. > > Signed-off-by: Uwe Kleine-König

Re: [PATCH 2/2] memory: omap-gpmc: expand the description of the debug facility

2015-10-07 Thread Roger Quadros
On 06/10/15 23:07, Uwe Kleine-König wrote: > Most register values for the chip select setup depend on the frequency > of the fck clock. > So add a hint that the values setup by the bootloader might differ from > the right setup for Linux if the bootloader uses a different frequency. > >

Re: All OMAP platforms: MMC is broken

2015-10-07 Thread Kishon Vijay Abraham I
Hi, On Wednesday 07 October 2015 01:27 AM, Russell King - ARM Linux wrote: > On Wed, Oct 07, 2015 at 12:59:29AM +0530, Kishon Vijay Abraham I wrote: >> Hi, >> >> On Tuesday 06 October 2015 08:37 PM, Russell King - ARM Linux wrote: >>> On Tue, Oct 06, 2015 at 04:06:09PM +0530, Kishon Vijay Abraham

Re: [PATCH] genirq: export handle_bad_irq

2015-10-07 Thread Grygorii Strashko
Hi Arnd, On 10/06/2015 03:24 PM, Arnd Bergmann wrote: A cleanup of the omap gpio driver introduced a use of the handle_bad_irq() function in a device driver that can be a loadable module. This broke the ARM allmodconfig build: ERROR: "handle_bad_irq" [drivers/gpio/gpio-omap.ko] undefined!

Re: All OMAP platforms: MMC is broken

2015-10-07 Thread Ulf Hansson
On 7 October 2015 at 17:52, Tony Lindgren wrote: > * Ulf Hansson [151007 06:46]: >> On 7 October 2015 at 15:26, Tony Lindgren wrote: >> >> > Good idea, how about something like the following? AFAIK that's the >> >> > only .config

Re: [PATCH 2/2] memory: omap-gpmc: expand the description of the debug facility

2015-10-07 Thread Tony Lindgren
* Uwe Kleine-König [151007 00:57]: > On Wed, Oct 07, 2015 at 10:45:50AM +0300, Roger Quadros wrote: > > > > How about this instead? > > > > NOTE: Apart from matching the register setup with the bootloader you also > > need to > > match the GPMC FCLK frequency

Re: [PATCH 2/2] memory: omap-gpmc: expand the description of the debug facility

2015-10-07 Thread Uwe Kleine-König
Hello Tony, On Wed, Oct 07, 2015 at 03:41:19AM -0700, Tony Lindgren wrote: > * Uwe Kleine-König [151007 00:57]: > > On Wed, Oct 07, 2015 at 10:45:50AM +0300, Roger Quadros wrote: > > > > > > How about this instead? > > > > > > NOTE: Apart from matching the

Re: [PATCH v4 00/25] dmaengine/ARM: Merge the edma drivers into one

2015-10-07 Thread Sekhar Nori
On Thursday 24 September 2015 03:31 PM, Peter Ujfalusi wrote: > with this series the edma two driver setup will be changed to have only one > driver to support eDMA3. The legacy edma interface will be removed and eDMA > can > only be used via dmaengine API from this point on. > In order to do

Re: [PATCH 2/2] memory: omap-gpmc: expand the description of the debug facility

2015-10-07 Thread Roger Quadros
On 07/10/15 14:02, Uwe Kleine-König wrote: > Hello Tony, > > On Wed, Oct 07, 2015 at 03:41:19AM -0700, Tony Lindgren wrote: >> * Uwe Kleine-König [151007 00:57]: >>> On Wed, Oct 07, 2015 at 10:45:50AM +0300, Roger Quadros wrote: How about this instead?

[RFC] AM35xx glue code for M-USB driver

2015-10-07 Thread Rolf Peukert
Hi, we're running a 4.x kernel on a board with an AM3505 CPU and would like to use device trees. The AM35xx glue code for the M-USB controller didn't support configuration from a DT yet. I now got it working somehow, but I'm not sure if I'm doing it the correct way. So this post is not meant as a

Re: All OMAP platforms: MMC is broken

2015-10-07 Thread Russell King - ARM Linux
On Tue, Oct 06, 2015 at 08:37:11AM -0700, Tony Lindgren wrote: > * Russell King - ARM Linux [151006 08:04]: > > On Tue, Oct 06, 2015 at 02:44:25AM -0700, Tony Lindgren wrote: > > > > > > Hmm DT-based boot finds the MMC card for LDP, dmesg below from DT boot > > > [1]. >

Re: [RFC] AM35xx glue code for M-USB driver

2015-10-07 Thread Felipe Balbi
Hi, (please sure you also Cc linux-...@vger.kernel.org for MUSB patches) Rolf Peukert writes: > Hi, > > we're running a 4.x kernel on a board with an AM3505 CPU and would like > to use device trees. The AM35xx glue code for the M-USB controller > didn't support

[PATCH 2/2] mmc: host: omap_hsmmc: Fix MMC for omap3 legacy booting

2015-10-07 Thread Tony Lindgren
Starting with commit 7d607f917008 ("mmc: host: omap_hsmmc: use devm_regulator_get_optional() for vmmc") MMC on omap3 stopped working for legacy booting. This is because legacy booting sets up some of the resource in the platform init code, and for optional regulators always seem to return

[PATCH 1/2] Revert "mmc: host: omap_hsmmc: use regulator_is_enabled to find pbias status"

2015-10-07 Thread Tony Lindgren
This reverts commit c55d7a0553643a7e8f120688b82b594471084d3c. Without reverting this commit we get "unbalanced disables for pbias_mmc_omap4" errors on omap4430. It seems that 4430 and 4460 behave in a different way for the PBIAS regulator registers and until that has been debugged further we

Re: All OMAP platforms: MMC is broken

2015-10-07 Thread Ulf Hansson
On 7 October 2015 at 15:26, Tony Lindgren wrote: > * Russell King - ARM Linux [151007 05:50]: >> On Tue, Oct 06, 2015 at 08:37:11AM -0700, Tony Lindgren wrote: >> > * Russell King - ARM Linux [151006 08:04]: >> > > On Tue, Oct

Re: [PATCH 1/2] Revert "mmc: host: omap_hsmmc: use regulator_is_enabled to find pbias status"

2015-10-07 Thread Ulf Hansson
On 7 October 2015 at 15:22, Tony Lindgren wrote: > This reverts commit c55d7a0553643a7e8f120688b82b594471084d3c. > > Without reverting this commit we get "unbalanced disables for pbias_mmc_omap4" > errors on omap4430. It seems that 4430 and 4460 behave in a different way for >

Re: [PATCH 2/2] mmc: host: omap_hsmmc: Fix MMC for omap3 legacy booting

2015-10-07 Thread Ulf Hansson
On 7 October 2015 at 15:22, Tony Lindgren wrote: > Starting with commit 7d607f917008 ("mmc: host: omap_hsmmc: use > devm_regulator_get_optional() for vmmc") MMC on omap3 stopped working > for legacy booting. > > This is because legacy booting sets up some of the resource in the

Re: [RFC] AM35xx glue code for M-USB driver

2015-10-07 Thread kbuild test robot
Hi Rolf, [auto build test ERROR on v4.3-rc4 -- if it's inappropriate base, please ignore] config: arm-omap2plus_defconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x

Re: All OMAP platforms: MMC is broken

2015-10-07 Thread Tony Lindgren
* Russell King - ARM Linux [151007 05:50]: > On Tue, Oct 06, 2015 at 08:37:11AM -0700, Tony Lindgren wrote: > > * Russell King - ARM Linux [151006 08:04]: > > > On Tue, Oct 06, 2015 at 02:44:25AM -0700, Tony Lindgren wrote: > > > > > > > > Hmm

Re: [PATCH 2/2] memory: omap-gpmc: expand the description of the debug facility

2015-10-07 Thread Tony Lindgren
* Roger Quadros [151007 04:12]: > On 07/10/15 14:02, Uwe Kleine-König wrote: > > Hello Tony, > > > > On Wed, Oct 07, 2015 at 03:41:19AM -0700, Tony Lindgren wrote: > >> * Uwe Kleine-König [151007 00:57]: > >>> On Wed, Oct 07, 2015 at 10:45:50AM

Re: [PATCH 2/2] memory: omap-gpmc: expand the description of the debug facility

2015-10-07 Thread Roger Quadros
On 07/10/15 16:40, Tony Lindgren wrote: > * Roger Quadros [151007 04:12]: >> On 07/10/15 14:02, Uwe Kleine-König wrote: >>> Hello Tony, >>> >>> On Wed, Oct 07, 2015 at 03:41:19AM -0700, Tony Lindgren wrote: * Uwe Kleine-König [151007 00:57]:

Re: All OMAP platforms: MMC is broken

2015-10-07 Thread Russell King - ARM Linux
On Wed, Oct 07, 2015 at 03:41:46PM +0200, Ulf Hansson wrote: > > http://marc.info/?l=linux-omap=144422416621373=2 > > http://marc.info/?l=linux-omap=144422416921375=2 > > Russell, may I add your tested by tag for these? You may - Tested-by: Russell King Thanks.

Re: [RFC] AM35xx glue code for M-USB driver

2015-10-07 Thread Rolf Peukert
Hi Felipe, thank you for your reply. On 07.10.2015 15:59, Felipe Balbi wrote: > > Hi, > > (please sure you also Cc linux-...@vger.kernel.org for MUSB patches) > > Rolf Peukert writes: [...] >> b) The M-USB port on our board is wired as host only. If a device is >>

Re: [RFC] AM35xx glue code for M-USB driver

2015-10-07 Thread Rolf Peukert
On 07.10.2015 14:15, kbuild test robot wrote: > Hi Rolf, > > [auto build test ERROR on v4.3-rc4 -- if it's inappropriate base, please > ignore] > > config: arm-omap2plus_defconfig (attached as .config) > reproduce: > wget >

Re: All OMAP platforms: MMC is broken

2015-10-07 Thread Tony Lindgren
* Ulf Hansson [151007 06:46]: > On 7 October 2015 at 15:26, Tony Lindgren wrote: > >> > Good idea, how about something like the following? AFAIK that's the > >> > only .config option needed as MFD_SYSCON is selected by Kconfig > >> > already. > >