pxa: match camera clock by struct device
Subsystems (3)
PATCH 1/1 pxa: match camera clock by struct device
--- arch/arm/mach-pxa/pxa3xx.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/mach-pxa/pxa3xx.c +1 -1
@@ -257,7 +257,7 @@ static struct clk_lookup pxa3xx_clkregs[] = {/* Power I2C clock is always on */ INIT_CLKREG (&clk_dummy,"pxa3xx-pwri2c.1" ,NULL ),INIT_CLKREG (&clk_pxa3xx_lcd,"pxa2xx-fb" ,NULL ), -INIT_CLKREG (&clk_pxa3xx_camera,NULL ,"CAMCLK" ), +INIT_CLKREG (&clk_pxa3xx_camera,"pxa27x-camera.0" ,NULL ),INIT_CLKREG (&clk_pxa3xx_ac97,NULL ,"AC97CLK" ),INIT_CLKREG (&clk_pxa3xx_ffuart,"pxa2xx-uart.0" ,NULL ), INIT_CLKREG(&clk_pxa3xx_btuart, "pxa2xx-uart.1", NULL),
Signature · 1 line
1.6.4.4
PATCH 1/1 pxa: match camera clock by struct device
Quoted 10 lines · Mike Rapoport
Signed-off-by Mike Rapoport <[email protected]>---
?arch/arm/mach-pxa/pxa3xx.c | ? ?2 +-
?1 files changed, 1 insertions(+), 1 deletions(-)arch/arm/mach-pxa/pxa3xx.c +0
-0@@ -257,7 +257,7 @@ static struct clk_lookup pxa3xx_clkregs[] = {
Quoted 5 lines
? ? ? ?/* Power I2C clock is always on */
? ? ? ?INIT_CLKREG(&clk_dummy, "pxa3xx-pwri2c.1", NULL), ? ? ? ?INIT_CLKREG(&clk_pxa3xx_lcd, "pxa2xx-fb", NULL),
- ? ? ?INIT_CLKREG(&clk_pxa3xx_camera, NULL, "CAMCLK"),
+ ? ? ?INIT_CLKREG(&clk_pxa3xx_camera, "pxa27x-camera.0", NULL),
Interesting, but not keeping an eye on pxa27x camera driver for a while, does that support pxa3xx as well? I seem to remember the DMA logic is a bit different, making it quite difficult to support both in a single driver.
And the hardware in pxa320 differs from the one in pxa310 as well.
Quoted 7 lines
? ? ? ?INIT_CLKREG(&clk_pxa3xx_ac97, NULL, "AC97CLK"), ? ? ? ?INIT_CLKREG(&clk_pxa3xx_ffuart, "pxa2xx-uart.0", NULL), ? ? ? ?INIT_CLKREG(&clk_pxa3xx_btuart, "pxa2xx-uart.1", NULL), --
1.6.4.4