Thread (8 messages) flat view 8 messages, 3 authors, 2014-02-23
STALE4587d

[PATCH v2 0/2] ARM: OMAP4: Fix gpmc_fck clock

From: tony@atomide.com (Tony Lindgren)
Date: 2014-02-21 23:23:23
Also in: linux-omap

* Tero Kristo [off-list ref] [140220 01:54]:
On 02/19/2014 09:26 PM, Florian Vaussard wrote:
quoted
On 02/19/2014 05:22 PM, Tero Kristo wrote:
quoted
On 02/19/2014 11:15 AM, Florian Vaussard wrote:
quoted
Hello,

Trying to get my SMSC9221 working on OMAP4 with DT,
I faced a misconfigured gpmc_fck (dummy clock set to 0)
resulting in serveral division-by-zero, misconfigured
timings and driver lost in the La La Land.

To solve this, patch 1 removes gpmc_fck from the dummy
clocks, and patch 2 adds the gpmc_fck DT node and
reference it from the gpmc node.

Tested on DuoVero/Parlor (OMAP4430) with SMSC9221.
I can't test GPMC myself, but other than that, this set looks good to go.
Thank you. Would you like more test coverage by other people? I would
like to see this in -rc if possible, as it is needed to boot my OMAP4
system.
Well, I just think the driver clock change should be acked by
someone who knows gpmc better than me.
Hmm do we also need to fix this for other omaps? We at least have
the following refrerences:

$ git grep dummy_ck drivers/ | grep -i gpmc
drivers/clk/ti/clk-44xx.c:      DT_CLK("50000000.gpmc", "fck", "dummy_ck"),
drivers/clk/ti/clk-54xx.c:      DT_CLK(NULL, "gpmc_ck", "dummy_ck"),
drivers/clk/ti/clk-7xx.c:       DT_CLK(NULL, "gpmc_ck", "dummy_ck"),

Regards,

Tony
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help