Ux500 device tree patches for v3.14, take 2
- Delete some unused U8540 UART platform data. - MMC/SD-fixes from Ulf Hansson so everything works with the device tree again. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJSzBk0AAoJEEEQszewGV1zNocP/ib50Xx8PgUZISdD8Waq8Yvr NGu+vYAU+YQpCUbsxNY4UtXzkvvOeRyaLtt3MwefiEaFpB4YDSRXWXdOe9HSE599 Oc6Q1FckoV6soyu/Bm9uyClxKqxlzFN4zv3hoKpm9SUxT51BHWfYMkd2nKE1yy/F uroyPb1BhX5PX+65yFzn7qwuPIfbBsk8cr34YbHHvEmeLPdJXCp7I0sx+PY3AX80 DSfVQPOIFv2Y+lGwnF9FOmtloM5gv8bcxmH2NPLPWE8xoXCODY/3iME5thSOP4vq uIb0bfkgh26y9zZzK/SX355f/PTc2mfbneFRvHUP/cuzPC83aHeg5U/aQVB5k00P 0DHhKlJuiDUVHJldhkg3IcweyEL+MCfbCfffGAZWhmdvOw/RO/ptNYT7XXdN/YXM zI9gURLzFeyknApEGAdBt3YX//hcMQh1VKVpaIV1dlNzUXNrulnX8p86ma15x5LD Ht/ShWbWD1F6efEt0wQ6KFh8E2ZagZVaAXAgHjuyjCbC69NduVzeiJHIxk+/DJ0p msWBq6agQ2GcF7Y1fQCtG1/6w1E11OaXmIQym04hI5mupeOwrbmutRNiTjsgpgfT 0spyka9G2fXwNwvcayC7jNGxUo6hQoUcp5SKZpBQOucoBBV9D3IRvnrbFErpagE0 0TFWoIrYcP75Tc7LzJO5 =vC9c -----END PGP SIGNATURE----- Merge tag 'ux500-devicetree-v3.14-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson into next/dt From Linus Walleij: Ux500 device tree patches for v3.14, take 2 - Delete some unused U8540 UART platform data. - MMC/SD-fixes from Ulf Hansson so everything works with the device tree again. * tag 'ux500-devicetree-v3.14-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson: ARM: ux500: regulators: Remove dead code for SD-card regulator ARM: ux500: Configure regulator for I/O voltage for SD-card slot ARM: ux500: Refactor common DT configs for sdi[n] devices ARM: ux500: delete U8540 UART auxdata Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
commit
9ebde306cf
|
@ -124,8 +124,6 @@
|
|||
pinctrl-0 = <&sdi0_default_mode>;
|
||||
pinctrl-1 = <&sdi0_sleep_mode>;
|
||||
|
||||
cd-gpios = <&tc3589x_gpio 3 0x4>;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
|
|
@ -60,11 +60,14 @@
|
|||
pinctrl-0 = <&ssp0_hrefprev60_mode>;
|
||||
};
|
||||
|
||||
// External Micro SD slot
|
||||
sdi0_per1@80126000 {
|
||||
cd-gpios = <&tc3589x_gpio 3 0x4>;
|
||||
};
|
||||
|
||||
vmmci: regulator-gpio {
|
||||
gpios = <&tc3589x_gpio 18 0x4>;
|
||||
enable-gpio = <&tc3589x_gpio 17 0x4>;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
|
|
|
@ -19,46 +19,12 @@
|
|||
soc {
|
||||
// External Micro SD slot
|
||||
sdi0_per1@80126000 {
|
||||
arm,primecell-periphid = <0x10480180>;
|
||||
max-frequency = <100000000>;
|
||||
bus-width = <4>;
|
||||
mmc-cap-sd-highspeed;
|
||||
mmc-cap-mmc-highspeed;
|
||||
vmmc-supply = <&ab8500_ldo_aux3_reg>;
|
||||
|
||||
cd-gpios = <&gpio2 31 0x4>; // 95
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
// WLAN SDIO channel
|
||||
sdi1_per2@80118000 {
|
||||
arm,primecell-periphid = <0x10480180>;
|
||||
max-frequency = <100000000>;
|
||||
bus-width = <4>;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
// PoP:ed eMMC
|
||||
sdi2_per3@80005000 {
|
||||
arm,primecell-periphid = <0x10480180>;
|
||||
max-frequency = <100000000>;
|
||||
bus-width = <8>;
|
||||
mmc-cap-mmc-highspeed;
|
||||
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
// On-board eMMC
|
||||
sdi4_per2@80114000 {
|
||||
arm,primecell-periphid = <0x10480180>;
|
||||
max-frequency = <100000000>;
|
||||
bus-width = <8>;
|
||||
mmc-cap-mmc-highspeed;
|
||||
vmmc-supply = <&ab8500_ldo_aux2_reg>;
|
||||
|
||||
status = "okay";
|
||||
vmmci: regulator-gpio {
|
||||
gpios = <&gpio0 5 0x4>;
|
||||
enable-gpio = <&gpio5 9 0x4>;
|
||||
};
|
||||
|
||||
pinctrl {
|
||||
|
|
|
@ -146,10 +146,8 @@
|
|||
};
|
||||
|
||||
vmmci: regulator-gpio {
|
||||
gpios = <&gpio6 25 0x4>;
|
||||
enable-gpio = <&gpio7 4 0x4>;
|
||||
|
||||
status = "okay";
|
||||
gpios = <&gpio7 4 0x4>;
|
||||
enable-gpio = <&gpio6 25 0x4>;
|
||||
};
|
||||
|
||||
// External Micro SD slot
|
||||
|
|
|
@ -30,20 +30,6 @@ struct regulator_init_data gpio_en_3v3_regulator = {
|
|||
.consumer_supplies = gpio_en_3v3_consumers,
|
||||
};
|
||||
|
||||
static struct regulator_consumer_supply sdi0_reg_consumers[] = {
|
||||
REGULATOR_SUPPLY("vqmmc", "sdi0"),
|
||||
};
|
||||
|
||||
struct regulator_init_data sdi0_reg_init_data = {
|
||||
.constraints = {
|
||||
.min_uV = 1800000,
|
||||
.max_uV = 2900000,
|
||||
.valid_ops_mask = REGULATOR_CHANGE_VOLTAGE|REGULATOR_CHANGE_STATUS,
|
||||
},
|
||||
.num_consumer_supplies = ARRAY_SIZE(sdi0_reg_consumers),
|
||||
.consumer_supplies = sdi0_reg_consumers,
|
||||
};
|
||||
|
||||
/*
|
||||
* TPS61052 regulator
|
||||
*/
|
||||
|
|
|
@ -18,7 +18,6 @@ extern struct ab8500_regulator_platform_data ab8500_regulator_plat_data;
|
|||
extern struct ab8500_regulator_platform_data ab8505_regulator_plat_data;
|
||||
extern struct regulator_init_data tps61052_regulator;
|
||||
extern struct regulator_init_data gpio_en_3v3_regulator;
|
||||
extern struct regulator_init_data sdi0_reg_init_data;
|
||||
|
||||
void mop500_regulator_init(void);
|
||||
|
||||
|
|
|
@ -174,10 +174,6 @@ static struct of_dev_auxdata u8500_auxdata_lookup[] __initdata = {
|
|||
};
|
||||
|
||||
static struct of_dev_auxdata u8540_auxdata_lookup[] __initdata = {
|
||||
/* Requires DMA bindings. */
|
||||
OF_DEV_AUXDATA("arm,pl011", 0x80120000, "uart0", NULL),
|
||||
OF_DEV_AUXDATA("arm,pl011", 0x80121000, "uart1", NULL),
|
||||
OF_DEV_AUXDATA("arm,pl011", 0x80007000, "uart2", NULL),
|
||||
OF_DEV_AUXDATA("stericsson,db8500-prcmu", 0x80157000, "db8500-prcmu",
|
||||
&db8500_prcmu_pdata),
|
||||
{},
|
||||
|
|
Loading…
Reference in New Issue