diff options
author | Arnd Bergmann <arnd@arndb.de> | 2013-06-21 08:48:58 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2013-06-21 08:48:58 -0400 |
commit | d925ef43869a2da86444e3f68ebe9ce81efaa0c6 (patch) | |
tree | ed1c2e19977008240a295c4ebb4b8b6c87e4f588 /arch/arm/mach-ux500 | |
parent | 86727c62c8a88828084e42bb2b937c417e8edafe (diff) | |
parent | b6f5f4a5930855175dff7f783c0595bcdfb08280 (diff) |
Merge branch 'ux500/cleanup' into next/drivers
Patches from Lee Jones:
This gets rid of mop500_snowball_ethernet_clock_enable() which is no
longer in use. It also straightens out a bug which ensures the SMSC911x's
regulator is turned on at start-up when using Device Tree.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-ux500')
-rw-r--r-- | arch/arm/mach-ux500/board-mop500.c | 11 | ||||
-rw-r--r-- | arch/arm/mach-ux500/board-mop500.h | 1 | ||||
-rw-r--r-- | arch/arm/mach-ux500/cpu-db8500.c | 1 |
3 files changed, 0 insertions, 13 deletions
diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c index 2d70e2b45660..df5d27a532e9 100644 --- a/arch/arm/mach-ux500/board-mop500.c +++ b/arch/arm/mach-ux500/board-mop500.c | |||
@@ -413,15 +413,6 @@ static void mop500_prox_deactivate(struct device *dev) | |||
413 | regulator_put(prox_regulator); | 413 | regulator_put(prox_regulator); |
414 | } | 414 | } |
415 | 415 | ||
416 | void mop500_snowball_ethernet_clock_enable(void) | ||
417 | { | ||
418 | struct clk *clk; | ||
419 | |||
420 | clk = clk_get_sys("fsmc", NULL); | ||
421 | if (!IS_ERR(clk)) | ||
422 | clk_prepare_enable(clk); | ||
423 | } | ||
424 | |||
425 | static struct cryp_platform_data u8500_cryp1_platform_data = { | 416 | static struct cryp_platform_data u8500_cryp1_platform_data = { |
426 | .mem_to_engine = { | 417 | .mem_to_engine = { |
427 | .dir = DMA_MEM_TO_DEV, | 418 | .dir = DMA_MEM_TO_DEV, |
@@ -635,8 +626,6 @@ static void __init snowball_init_machine(void) | |||
635 | mop500_audio_init(parent); | 626 | mop500_audio_init(parent); |
636 | mop500_uart_init(parent); | 627 | mop500_uart_init(parent); |
637 | 628 | ||
638 | mop500_snowball_ethernet_clock_enable(); | ||
639 | |||
640 | u8500_cryp1_hash1_init(parent); | 629 | u8500_cryp1_hash1_init(parent); |
641 | 630 | ||
642 | /* This board has full regulator constraints */ | 631 | /* This board has full regulator constraints */ |
diff --git a/arch/arm/mach-ux500/board-mop500.h b/arch/arm/mach-ux500/board-mop500.h index 6f0bfcb08907..d6fab166cbf1 100644 --- a/arch/arm/mach-ux500/board-mop500.h +++ b/arch/arm/mach-ux500/board-mop500.h | |||
@@ -105,7 +105,6 @@ void __init mop500_pinmaps_init(void); | |||
105 | void __init snowball_pinmaps_init(void); | 105 | void __init snowball_pinmaps_init(void); |
106 | void __init hrefv60_pinmaps_init(void); | 106 | void __init hrefv60_pinmaps_init(void); |
107 | void mop500_audio_init(struct device *parent); | 107 | void mop500_audio_init(struct device *parent); |
108 | void mop500_snowball_ethernet_clock_enable(void); | ||
109 | 108 | ||
110 | int __init mop500_uib_init(void); | 109 | int __init mop500_uib_init(void); |
111 | void mop500_uib_i2c_add(int busnum, struct i2c_board_info *info, | 110 | void mop500_uib_i2c_add(int busnum, struct i2c_board_info *info, |
diff --git a/arch/arm/mach-ux500/cpu-db8500.c b/arch/arm/mach-ux500/cpu-db8500.c index f63847dabe7d..cd4b0a08bbf2 100644 --- a/arch/arm/mach-ux500/cpu-db8500.c +++ b/arch/arm/mach-ux500/cpu-db8500.c | |||
@@ -279,7 +279,6 @@ static void __init u8500_init_machine(void) | |||
279 | mop500_pinmaps_init(); | 279 | mop500_pinmaps_init(); |
280 | else if (of_machine_is_compatible("calaosystems,snowball-a9500")) { | 280 | else if (of_machine_is_compatible("calaosystems,snowball-a9500")) { |
281 | snowball_pinmaps_init(); | 281 | snowball_pinmaps_init(); |
282 | mop500_snowball_ethernet_clock_enable(); | ||
283 | } else if (of_machine_is_compatible("st-ericsson,hrefv60+")) | 282 | } else if (of_machine_is_compatible("st-ericsson,hrefv60+")) |
284 | hrefv60_pinmaps_init(); | 283 | hrefv60_pinmaps_init(); |
285 | else if (of_machine_is_compatible("st-ericsson,ccu9540")) {} | 284 | else if (of_machine_is_compatible("st-ericsson,ccu9540")) {} |