Skip to content

Commit

Permalink
ARM: OMAP2+: clock data: Add dev-id for the omap-gpmc dummy fck
Browse files Browse the repository at this point in the history
The GPMC code has been converted to a driver by the following commit:

 commit da49687
 Author: Afzal Mohammed <[email protected]>
 Date:   Sun Sep 23 17:28:25 2012 -0600

   ARM: OMAP2+: gpmc: minimal driver support

It now requests a clock with con-id "fck" otherwise the probe will fails.

[    0.342010] omap-gpmc omap-gpmc: error: clk_get
[    0.346771] omap-gpmc: probe of omap-gpmc failed with error -2

Add the "omap-gmpc" dev-id and fck con-id to the already existing
gmpc-fck dummy clock.

Reported-by: Russell King <[email protected]>
Signed-off-by: Benoit Cousson <[email protected]>
Cc: Afzal Mohammed <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
  • Loading branch information
Benoit Cousson authored and tmlind committed Oct 16, 2012
1 parent 3fca4eb commit a2e5b90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/clock44xx_data.c
Original file line number Diff line number Diff line change
Expand Up @@ -3294,7 +3294,7 @@ static struct omap_clk omap44xx_clks[] = {
CLK(NULL, "auxclk5_src_ck", &auxclk5_src_ck, CK_443X),
CLK(NULL, "auxclk5_ck", &auxclk5_ck, CK_443X),
CLK(NULL, "auxclkreq5_ck", &auxclkreq5_ck, CK_443X),
CLK(NULL, "gpmc_ck", &dummy_ck, CK_443X),
CLK("omap-gpmc", "fck", &dummy_ck, CK_443X),
CLK("omap_i2c.1", "ick", &dummy_ck, CK_443X),
CLK("omap_i2c.2", "ick", &dummy_ck, CK_443X),
CLK("omap_i2c.3", "ick", &dummy_ck, CK_443X),
Expand Down

0 comments on commit a2e5b90

Please sign in to comment.