diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-06-30 17:08:06 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-06-30 17:08:06 -0400 |
commit | 08af78d7a52b2b34f7e865102cfc49bfc9c8bcc9 (patch) | |
tree | 0405335138a7b0db1ba6903618a6d1757353eff3 | |
parent | 22d3e0c36e10296da91e3bb8826592bacfbf4b9c (diff) | |
parent | 4ca2f0b945fad835959fa596df47817797987cd2 (diff) |
Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC fixes from Olof Johansson:
"A smaller batch for the end of the week (let's see if I can keep the
weekly cadence going for once).
All medium-grade fixes here, nothing worrisome:
- Fixes for some fairly old bugs around SD card write-protect
detection and GPIO interrupt assignments on Davinci.
- Wifi module suspend fix for Hikey.
- Minor DT tweaks to fix inaccuracies for Amlogic platforms, one
of which solves booting with third-party u-boot"
* tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
arm64: dts: hikey960: Define wl1837 power capabilities
arm64: dts: hikey: Define wl1835 power capabilities
ARM64: dts: meson-gxl: fix Mali GPU compatible string
ARM64: dts: meson-axg: fix ethernet stability issue
ARM64: dts: meson-gx: fix ATF reserved memory region
ARM64: dts: meson-gxl-s905x-p212: Add phy-supply for usb0
ARM64: dts: meson: fix register ranges for SD/eMMC
ARM64: dts: meson: disable sd-uhs modes on the libretech-cc
ARM: dts: da850: Fix interrups property for gpio
ARM: davinci: board-da850-evm: fix WP pin polarity for MMC/SD
-rw-r--r-- | arch/arm/boot/dts/da850.dtsi | 6 | ||||
-rw-r--r-- | arch/arm/mach-davinci/board-da850-evm.c | 2 | ||||
-rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 15 | ||||
-rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 4 | ||||
-rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 12 | ||||
-rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-gxl-mali.dtsi | 2 | ||||
-rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts | 3 | ||||
-rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtsi | 7 | ||||
-rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 8 | ||||
-rw-r--r-- | arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 2 | ||||
-rw-r--r-- | arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 2 |
11 files changed, 39 insertions, 24 deletions
diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index f6f1597b03df..0f4f817a9e22 100644 --- a/arch/arm/boot/dts/da850.dtsi +++ b/arch/arm/boot/dts/da850.dtsi | |||
@@ -549,11 +549,7 @@ | |||
549 | gpio-controller; | 549 | gpio-controller; |
550 | #gpio-cells = <2>; | 550 | #gpio-cells = <2>; |
551 | reg = <0x226000 0x1000>; | 551 | reg = <0x226000 0x1000>; |
552 | interrupts = <42 IRQ_TYPE_EDGE_BOTH | 552 | interrupts = <42 43 44 45 46 47 48 49 50>; |
553 | 43 IRQ_TYPE_EDGE_BOTH 44 IRQ_TYPE_EDGE_BOTH | ||
554 | 45 IRQ_TYPE_EDGE_BOTH 46 IRQ_TYPE_EDGE_BOTH | ||
555 | 47 IRQ_TYPE_EDGE_BOTH 48 IRQ_TYPE_EDGE_BOTH | ||
556 | 49 IRQ_TYPE_EDGE_BOTH 50 IRQ_TYPE_EDGE_BOTH>; | ||
557 | ti,ngpio = <144>; | 553 | ti,ngpio = <144>; |
558 | ti,davinci-gpio-unbanked = <0>; | 554 | ti,davinci-gpio-unbanked = <0>; |
559 | status = "disabled"; | 555 | status = "disabled"; |
diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c index e22fb40e34bc..6d5beb11bd96 100644 --- a/arch/arm/mach-davinci/board-da850-evm.c +++ b/arch/arm/mach-davinci/board-da850-evm.c | |||
@@ -774,7 +774,7 @@ static struct gpiod_lookup_table mmc_gpios_table = { | |||
774 | GPIO_LOOKUP("davinci_gpio.0", DA850_MMCSD_CD_PIN, "cd", | 774 | GPIO_LOOKUP("davinci_gpio.0", DA850_MMCSD_CD_PIN, "cd", |
775 | GPIO_ACTIVE_LOW), | 775 | GPIO_ACTIVE_LOW), |
776 | GPIO_LOOKUP("davinci_gpio.0", DA850_MMCSD_WP_PIN, "wp", | 776 | GPIO_LOOKUP("davinci_gpio.0", DA850_MMCSD_WP_PIN, "wp", |
777 | GPIO_ACTIVE_LOW), | 777 | GPIO_ACTIVE_HIGH), |
778 | }, | 778 | }, |
779 | }; | 779 | }; |
780 | 780 | ||
diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts index 4b3331fbfe39..dff9b15eb3c0 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts +++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | |||
@@ -66,9 +66,22 @@ | |||
66 | 66 | ||
67 | ðmac { | 67 | ðmac { |
68 | status = "okay"; | 68 | status = "okay"; |
69 | phy-mode = "rgmii"; | ||
70 | pinctrl-0 = <ð_rgmii_y_pins>; | 69 | pinctrl-0 = <ð_rgmii_y_pins>; |
71 | pinctrl-names = "default"; | 70 | pinctrl-names = "default"; |
71 | phy-handle = <ð_phy0>; | ||
72 | phy-mode = "rgmii"; | ||
73 | |||
74 | mdio { | ||
75 | compatible = "snps,dwmac-mdio"; | ||
76 | #address-cells = <1>; | ||
77 | #size-cells = <0>; | ||
78 | |||
79 | eth_phy0: ethernet-phy@0 { | ||
80 | /* Realtek RTL8211F (0x001cc916) */ | ||
81 | reg = <0>; | ||
82 | eee-broken-1000t; | ||
83 | }; | ||
84 | }; | ||
72 | }; | 85 | }; |
73 | 86 | ||
74 | &uart_A { | 87 | &uart_A { |
diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index fee87737a201..67d7115e4eff 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi | |||
@@ -132,7 +132,7 @@ | |||
132 | 132 | ||
133 | sd_emmc_b: sd@5000 { | 133 | sd_emmc_b: sd@5000 { |
134 | compatible = "amlogic,meson-axg-mmc"; | 134 | compatible = "amlogic,meson-axg-mmc"; |
135 | reg = <0x0 0x5000 0x0 0x2000>; | 135 | reg = <0x0 0x5000 0x0 0x800>; |
136 | interrupts = <GIC_SPI 217 IRQ_TYPE_EDGE_RISING>; | 136 | interrupts = <GIC_SPI 217 IRQ_TYPE_EDGE_RISING>; |
137 | status = "disabled"; | 137 | status = "disabled"; |
138 | clocks = <&clkc CLKID_SD_EMMC_B>, | 138 | clocks = <&clkc CLKID_SD_EMMC_B>, |
@@ -144,7 +144,7 @@ | |||
144 | 144 | ||
145 | sd_emmc_c: mmc@7000 { | 145 | sd_emmc_c: mmc@7000 { |
146 | compatible = "amlogic,meson-axg-mmc"; | 146 | compatible = "amlogic,meson-axg-mmc"; |
147 | reg = <0x0 0x7000 0x0 0x2000>; | 147 | reg = <0x0 0x7000 0x0 0x800>; |
148 | interrupts = <GIC_SPI 218 IRQ_TYPE_EDGE_RISING>; | 148 | interrupts = <GIC_SPI 218 IRQ_TYPE_EDGE_RISING>; |
149 | status = "disabled"; | 149 | status = "disabled"; |
150 | clocks = <&clkc CLKID_SD_EMMC_C>, | 150 | clocks = <&clkc CLKID_SD_EMMC_C>, |
diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi index 3c31e21cbed7..b8dc4dbb391b 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi | |||
@@ -35,6 +35,12 @@ | |||
35 | no-map; | 35 | no-map; |
36 | }; | 36 | }; |
37 | 37 | ||
38 | /* Alternate 3 MiB reserved for ARM Trusted Firmware (BL31) */ | ||
39 | secmon_reserved_alt: secmon@5000000 { | ||
40 | reg = <0x0 0x05000000 0x0 0x300000>; | ||
41 | no-map; | ||
42 | }; | ||
43 | |||
38 | linux,cma { | 44 | linux,cma { |
39 | compatible = "shared-dma-pool"; | 45 | compatible = "shared-dma-pool"; |
40 | reusable; | 46 | reusable; |
@@ -457,21 +463,21 @@ | |||
457 | 463 | ||
458 | sd_emmc_a: mmc@70000 { | 464 | sd_emmc_a: mmc@70000 { |
459 | compatible = "amlogic,meson-gx-mmc", "amlogic,meson-gxbb-mmc"; | 465 | compatible = "amlogic,meson-gx-mmc", "amlogic,meson-gxbb-mmc"; |
460 | reg = <0x0 0x70000 0x0 0x2000>; | 466 | reg = <0x0 0x70000 0x0 0x800>; |
461 | interrupts = <GIC_SPI 216 IRQ_TYPE_EDGE_RISING>; | 467 | interrupts = <GIC_SPI 216 IRQ_TYPE_EDGE_RISING>; |
462 | status = "disabled"; | 468 | status = "disabled"; |
463 | }; | 469 | }; |
464 | 470 | ||
465 | sd_emmc_b: mmc@72000 { | 471 | sd_emmc_b: mmc@72000 { |
466 | compatible = "amlogic,meson-gx-mmc", "amlogic,meson-gxbb-mmc"; | 472 | compatible = "amlogic,meson-gx-mmc", "amlogic,meson-gxbb-mmc"; |
467 | reg = <0x0 0x72000 0x0 0x2000>; | 473 | reg = <0x0 0x72000 0x0 0x800>; |
468 | interrupts = <GIC_SPI 217 IRQ_TYPE_EDGE_RISING>; | 474 | interrupts = <GIC_SPI 217 IRQ_TYPE_EDGE_RISING>; |
469 | status = "disabled"; | 475 | status = "disabled"; |
470 | }; | 476 | }; |
471 | 477 | ||
472 | sd_emmc_c: mmc@74000 { | 478 | sd_emmc_c: mmc@74000 { |
473 | compatible = "amlogic,meson-gx-mmc", "amlogic,meson-gxbb-mmc"; | 479 | compatible = "amlogic,meson-gx-mmc", "amlogic,meson-gxbb-mmc"; |
474 | reg = <0x0 0x74000 0x0 0x2000>; | 480 | reg = <0x0 0x74000 0x0 0x800>; |
475 | interrupts = <GIC_SPI 218 IRQ_TYPE_EDGE_RISING>; | 481 | interrupts = <GIC_SPI 218 IRQ_TYPE_EDGE_RISING>; |
476 | status = "disabled"; | 482 | status = "disabled"; |
477 | }; | 483 | }; |
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-mali.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxl-mali.dtsi index eb327664a4d8..6aaafff674f9 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl-mali.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-mali.dtsi | |||
@@ -6,7 +6,7 @@ | |||
6 | 6 | ||
7 | &apb { | 7 | &apb { |
8 | mali: gpu@c0000 { | 8 | mali: gpu@c0000 { |
9 | compatible = "amlogic,meson-gxbb-mali", "arm,mali-450"; | 9 | compatible = "amlogic,meson-gxl-mali", "arm,mali-450"; |
10 | reg = <0x0 0xc0000 0x0 0x40000>; | 10 | reg = <0x0 0xc0000 0x0 0x40000>; |
11 | interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>, | 11 | interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>, |
12 | <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>, | 12 | <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>, |
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts index 3e3eb31748a3..f63bceb88caa 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts | |||
@@ -234,9 +234,6 @@ | |||
234 | 234 | ||
235 | bus-width = <4>; | 235 | bus-width = <4>; |
236 | cap-sd-highspeed; | 236 | cap-sd-highspeed; |
237 | sd-uhs-sdr12; | ||
238 | sd-uhs-sdr25; | ||
239 | sd-uhs-sdr50; | ||
240 | max-frequency = <100000000>; | 237 | max-frequency = <100000000>; |
241 | disable-wp; | 238 | disable-wp; |
242 | 239 | ||
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtsi index 0cfd701809de..a1b31013ab6e 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtsi | |||
@@ -189,3 +189,10 @@ | |||
189 | &usb0 { | 189 | &usb0 { |
190 | status = "okay"; | 190 | status = "okay"; |
191 | }; | 191 | }; |
192 | |||
193 | &usb2_phy0 { | ||
194 | /* | ||
195 | * HDMI_5V is also used as supply for the USB VBUS. | ||
196 | */ | ||
197 | phy-supply = <&hdmi_5v>; | ||
198 | }; | ||
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi index 27538eea547b..c87a80e9bcc6 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | |||
@@ -13,14 +13,6 @@ | |||
13 | / { | 13 | / { |
14 | compatible = "amlogic,meson-gxl"; | 14 | compatible = "amlogic,meson-gxl"; |
15 | 15 | ||
16 | reserved-memory { | ||
17 | /* Alternate 3 MiB reserved for ARM Trusted Firmware (BL31) */ | ||
18 | secmon_reserved_alt: secmon@5000000 { | ||
19 | reg = <0x0 0x05000000 0x0 0x300000>; | ||
20 | no-map; | ||
21 | }; | ||
22 | }; | ||
23 | |||
24 | soc { | 16 | soc { |
25 | usb0: usb@c9000000 { | 17 | usb0: usb@c9000000 { |
26 | status = "disabled"; | 18 | status = "disabled"; |
diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts index c6999624ed8a..68c5a6c819ae 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts +++ b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | |||
@@ -585,6 +585,8 @@ | |||
585 | vmmc-supply = <&wlan_en>; | 585 | vmmc-supply = <&wlan_en>; |
586 | ti,non-removable; | 586 | ti,non-removable; |
587 | non-removable; | 587 | non-removable; |
588 | cap-power-off-card; | ||
589 | keep-power-in-suspend; | ||
588 | #address-cells = <0x1>; | 590 | #address-cells = <0x1>; |
589 | #size-cells = <0x0>; | 591 | #size-cells = <0x0>; |
590 | status = "ok"; | 592 | status = "ok"; |
diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts index edb4ee0b8896..7f12624f6c8e 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts +++ b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | |||
@@ -322,6 +322,8 @@ | |||
322 | dwmmc_2: dwmmc2@f723f000 { | 322 | dwmmc_2: dwmmc2@f723f000 { |
323 | bus-width = <0x4>; | 323 | bus-width = <0x4>; |
324 | non-removable; | 324 | non-removable; |
325 | cap-power-off-card; | ||
326 | keep-power-in-suspend; | ||
325 | vmmc-supply = <®_vdd_3v3>; | 327 | vmmc-supply = <®_vdd_3v3>; |
326 | mmc-pwrseq = <&wl1835_pwrseq>; | 328 | mmc-pwrseq = <&wl1835_pwrseq>; |
327 | 329 | ||