Skip to content

ARM: Kirkwood: Convert to pinctrl

Thomas Petazzoni linux-arm-kernel 1 version New

Get series with b4
b4 am 20121026204505.762fbfca@skate

Versions newest first

  1. v1 Latest0 of 9 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 9 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/9] ARM: Kirkwood: Convert to pinctrl

Dear Michael Walle,

Quoted 11 lines · Michael Walle

Am Donnerstag 25 Oktober 2012, 09:43:43 schrieb Thomas Petazzoni:

Quoted 3 lines

Regardless of those GPIOs, did you solve the hang that happened even when you removed the gpio_set_value() calls? Or is it still a problem currently?

quick update, i found out, that my board loops in the mvebu interrupt handler mvebu_gpio_irq_handler(). maybe this is also the lockup Jamie Lentin sees.

are interrupts always enabled, now? is there a way to control them? maybe there is something missing in the dts, now.

Ah, this is interesting. It is not entirely surprising, since the gpio driver is new. Even though it re-uses most of the previous gpio driver, it is by far not impossible that there will be a few regressions.

Could you add a few debug prints to see if you're looping *inside* the function (which I find pretty unlikely), or if the function gets called over and over again? Could it be that the hang occurs during the initialization of the gpio-leds or gpio-keys drivers?

Also, even though I'm pretty sure it isn't going to fix your problem, note the following mvebu-gpio fix:

http://article.gmane.org/gmane.linux.ports.arm.kernel/195018

Best regards,

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com