omap clock.h question
I'm trying to get the MMC driver working on OMAP730 -- currently it fails in probe because it can't obtain "mmc1_ck". clocks.h has a definition for this, but only for 1510/16xx/310. OMAP730 appears to use a different config register (PERSEUS_PCC_CONF) to enable this clock.
What's the correct way to support this? Define another clock struct with the same name, but setup for 730?
Thanks,
Brian
Quoted 8 lines · Brian Swetland
I'm trying to get the MMC driver working on OMAP730 -- currently it fails in probe because it can't obtain "
mmc1_ck".clocks.hhas a definition for this, but only for 1510/16xx/310. OMAP730 appears to use a different config register (PERSEUS_PCC_CONF) to enable this clock.What's the correct way to support this? Define another clock struct with the same name, but setup for 730?
Yes, just add another clock for 730. BTW, the mmc driver is about to change where you just request mmc_ick and mmc_fck on all omaps.
Tony
[Tony Lindgren <[email protected]>]
Quoted 7 lines · Brian Swetland
Quoted 6 lines
I'm trying to get the MMC driver working on OMAP730 -- currently it fails in probe because it can't obtain "
mmc1_ck".clocks.hhas a definition for this, but only for 1510/16xx/310. OMAP730 appears to use a different config register (PERSEUS_PCC_CONF) to enable this clock.
Quoted 5 lines
Quoted 2 lines
What's the correct way to support this? Define another clock struct with the same name, but setup for 730?
Yes, just add another clock for 730. BTW, the mmc driver is about to change where you just request
mmc_ickandmmc_fckon all omaps.
The mach-omap1/clock.h has no reference to _ick or _fck clocks right now. This will be coming as part of the change?
Brian
Quoted 8 lines · Brian Swetland
[Tony Lindgren <[email protected]>]
Quoted 7 lines · Brian Swetland
Quoted 6 lines
I'm trying to get the MMC driver working on OMAP730 -- currently it fails in probe because it can't obtain "
mmc1_ck".clocks.hhas a definition for this, but only for 1510/16xx/310. OMAP730 appears to use a different config register (PERSEUS_PCC_CONF) to enable this clock.
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
What's the correct way to support this? Define another clock struct with the same name, but setup for 730?
Yes, just add another clock for 730. BTW, the mmc driver is about to change where you just request
mmc_ickandmmc_fckon all omaps.The
mach-omap1/clock.hhas no reference to_ickor_fckclocks right now. This will be coming as part of the change?
Oh yeah, just call it mmc_ck. It will change to figure out the mmc 1 or 2 clock based on the dev entry.
Tony