public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Arend van Spriel" <arend@broadcom.com>
To: "Balaji T K" <balajitk@ti.com>
Cc: "Roger Quadros" <rogerq@ti.com>,
	"Tony Lindgren" <tony@atomide.com>,
	linux-omap@vger.kernel.org,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	luca@coelho.fi
Subject: Re: using mmc2 on panda [was: Regression 3.11-rc1: omap4panda: no usb and consequently no ethernet]
Date: Wed, 2 Oct 2013 11:03:47 +0200	[thread overview]
Message-ID: <524BE173.1050407@broadcom.com> (raw)
In-Reply-To: <524ACBC6.5060208@ti.com>

On 10/01/2013 03:19 PM, Balaji T K wrote:
>>>>>> Hi Roger,
>>>>>>
>>>>>> It has been a while, but I would like to pickup this thread. We
>>>>>> have a couple of pandaboards used as test setup. These have an
>>>>>> SDIO adapter hooked up to expansion connector A using MMC2. I have
>>>>>> attached the patch file (just ignore platform_data stuff). Now on
>>>>>> one board it works, but not for the other. I suspect a board issue
>>>>>> so listing the two types that we use:
>>>>>>
>>>>>> PandaBoard rev A2 (dmesg: OMAP4430 ES2.1): works
>>>>>> PandaBoardES rev B1 (dmesg: OMAP4460 ES1.1): nope
>>>>>>
>>>>>> Any hints for me.
>>>>>
>>>>> Does your PandaboardES have the WLAN chip (U4) mounted? If yes, how
>>>>> do you isolate
>>>>> it from your external SDIO adapter?
>>>
>>> On my 4460 board in front of me U4 is not populated, but U3 is (the
>>> TiWi thing).
>>>
>>>>
>>>> OK, just realized that the expansion connector uses different pads
>>>> for MMC2. However, you still
>>>> need to make sure that the other pins (connected to on board WLAN
>>>> chip) are not muxed as MMC2.
>>>
>>> I think Luciano added DT patches for on-board WLAN and it uses MMC5
>>> if I am not mistaken(?). Attached are the dmesg logs of the two boards.
>>
>> Right. WLAN is supposed to use MMC5. But if you don't have Luca's
>> patches, can you please ensure that those pins are muxed either as
>> safe mode
>> or as MMC5? Default seems to be safe mode, but you should cross check.
>>
>> Also in your patches you have set mmc2-clk to PIN_INPUT_PULLUP
>> Shouldn't it be PIN_OUTPUT?
>>
>> Still I have no clue why it works on 4430 and not on 4460. Are you
>> using the same bootloader image on both boards?
>>
> if you are using vaux1, can you check the voltage levels,
>
>  From dmesg you attached,
> vaux1 is set to 1.8V on omap4430 and to 2.8V on OMAP4460
>
> 4430
> [    2.425750] VAUX1_6030: 1000 <--> 3000 mV at 1800 mV
>
> 4460
> [    2.244262] VAUX1_6030: 1000 <--> 3000 mV at 2800 mV

Nice catch. Not sure whether this is an issue, but worth looking into.

> Can you also check with MMC_DEBUG enabled for any clues.

building....

>> cheers,
>> -roger
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>



  reply	other threads:[~2013-10-02  9:04 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-18  8:41 Regression 3.11-rc1: omap4panda: no usb and consequently no ethernet Arend van Spriel
2013-07-18  8:59 ` Tony Lindgren
2013-07-18 10:18   ` Arend van Spriel
2013-07-19 10:36   ` Arend van Spriel
2013-07-19 10:49     ` Roger Quadros
2013-07-19 10:57       ` Arend van Spriel
2013-10-01  8:05         ` using mmc2 on panda [was: Regression 3.11-rc1: omap4panda: no usb and consequently no ethernet] Arend van Spriel
2013-10-01  9:49           ` Roger Quadros
2013-10-01  9:53             ` Roger Quadros
2013-10-01 10:53               ` Arend van Spriel
2013-10-01 11:29                 ` Luca Coelho
2013-10-02 10:20                   ` Arend van Spriel
2013-10-02 10:48                     ` Luca Coelho
2013-10-01 12:17                 ` Roger Quadros
2013-10-01 13:19                   ` Balaji T K
2013-10-02  9:03                     ` Arend van Spriel [this message]
2013-07-19 10:53     ` Regression 3.11-rc1: omap4panda: no usb and consequently no ethernet Tony Lindgren
2013-07-20  7:38   ` Luciano Coelho
2013-07-18 11:18 ` Roger Quadros
2013-07-18 11:24   ` Arend van Spriel
2013-07-18 11:30     ` Roger Quadros
2013-07-18 12:38       ` Arend van Spriel
2013-07-18 12:42         ` Roger Quadros
2013-07-25 13:06           ` Arend van Spriel
2013-07-26  2:49             ` Joel Fernandes
2013-07-26  3:00               ` Joel Fernandes
2013-07-26  7:25                 ` Arend van Spriel
2013-07-26 10:13                 ` Arend van Spriel
2013-07-26 10:15                   ` Arend van Spriel
2013-07-26 10:23                     ` Arend van Spriel
2013-07-26 10:37                       ` Roger Quadros
2013-07-26 10:40                         ` Arend van Spriel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=524BE173.1050407@broadcom.com \
    --to=arend@broadcom.com \
    --cc=balajitk@ti.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=luca@coelho.fi \
    --cc=rogerq@ti.com \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox