Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+12 -19
+5
arch/arm/boot/dts/dbx5x0.dtsi
··· 326 326 interrupt-controller; 327 327 #interrupt-cells = <2>; 328 328 329 + ab8500_gpio: ab8500-gpio { 330 + gpio-controller; 331 + #gpio-cells = <2>; 332 + }; 333 + 329 334 ab8500-rtc { 330 335 compatible = "stericsson,ab8500-rtc"; 331 336 interrupts = <17 0x4
+7 -6
arch/arm/boot/dts/snowball.dts
··· 22 22 23 23 en_3v3_reg: en_3v3 { 24 24 compatible = "regulator-fixed"; 25 - regulator-name = "en-3v3-fixed-supply"; 26 - regulator-min-microvolt = <3300000>; 27 - regulator-max-microvolt = <3300000>; 28 - gpios = <&gpio0 26 0x4>; // 26 29 - startup-delay-us = <5000>; 30 - enable-active-high; 25 + regulator-name = "en-3v3-fixed-supply"; 26 + regulator-min-microvolt = <3300000>; 27 + regulator-max-microvolt = <3300000>; 28 + /* AB8500 GPIOs start from 1 - offset 25 is GPIO26. */ 29 + gpio = <&ab8500_gpio 25 0x4>; 30 + startup-delay-us = <5000>; 31 + enable-active-high; 31 32 }; 32 33 33 34 gpio_keys {
-11
arch/arm/mach-ux500/board-mop500.c
··· 413 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 416 static struct cryp_platform_data u8500_cryp1_platform_data = { 426 417 .mem_to_engine = { 427 418 .dir = DMA_MEM_TO_DEV, ··· 625 634 mop500_spi_init(parent); 626 635 mop500_audio_init(parent); 627 636 mop500_uart_init(parent); 628 - 629 - mop500_snowball_ethernet_clock_enable(); 630 637 631 638 u8500_cryp1_hash1_init(parent); 632 639
-1
arch/arm/mach-ux500/board-mop500.h
··· 105 105 void __init snowball_pinmaps_init(void); 106 106 void __init hrefv60_pinmaps_init(void); 107 107 void mop500_audio_init(struct device *parent); 108 - void mop500_snowball_ethernet_clock_enable(void); 109 108 110 109 int __init mop500_uib_init(void); 111 110 void mop500_uib_i2c_add(int busnum, struct i2c_board_info *info,
-1
arch/arm/mach-ux500/cpu-db8500.c
··· 279 279 mop500_pinmaps_init(); 280 280 else if (of_machine_is_compatible("calaosystems,snowball-a9500")) { 281 281 snowball_pinmaps_init(); 282 - mop500_snowball_ethernet_clock_enable(); 283 282 } else if (of_machine_is_compatible("st-ericsson,hrefv60+")) 284 283 hrefv60_pinmaps_init(); 285 284 else if (of_machine_is_compatible("st-ericsson,ccu9540")) {}