Re: Overo broken after recent mainline merge

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Mar 15, 2009 at 12:56 PM, Steve Sakoman <sakoman@xxxxxxxxx> wrote:
> On Sat, Mar 14, 2009 at 7:00 PM, David Brownell <david-b@xxxxxxxxxxx> wrote:
>
>> Works for me, and I think you've got all the patches that
>> should matter.   This is against today's GIT, yes?
>> Does taking #3 away help?
>
> I'm not sure why it is working for you!  Perhaps you have some patches
> that aren't included in the current tree?
>
> I believe the root issue is in your recent Overo patch
> (http://marc.info/?l=linux-omap&m=123679791627030&w=2)
>
> In particular, these lines:
>
> +       /* gpio + 0 is "mmc0_cd" (input/IRQ) */
> +       mmc[0].gpio_cd = gpio + 0;
>
> Overo, having a microSD slot, doesn't have a card detect switch. The
> other part of your patch sets gpio_cd properly:
>
> +static struct twl4030_hsmmc_info mmc[] = {
> +       {
> +               .mmc            = 1,
> +               .wires          = 4,
> +               .gpio_cd        = -EINVAL,
> +               .gpio_wp        = -EINVAL,
> +       },
> +       {
> +               .mmc            = 2,
> +               .wires          = 4,
> +               .gpio_cd        = -EINVAL,
> +               .gpio_wp        = -EINVAL,
> +               .transceiver    = true,
> +               .ocr_mask       = 0x00100000,   /* 3.3V */
> +       },
> +       {}      /* Terminator */
> +};
>
> So all I had to do was remove the above 2 lines to get a successful boot.

I spoke a little too soon :-)

The above fix does get me past the mmc issue, and everything looks
fine from the serial console.  But I just noticed that DVI is broken
-- I suspect that some regulator magic may be required in the video
driver too :-(

Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux