Skip to content

Commit deca1d1

Browse files
committed
Merge tag 'omap-for-v5.6/fixes-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into arm/fixes
Fixes for omaps for v5.6-rc cycle Few device tree fixes for various devices: - A regression fix for non-existing can device on am534x-idk - Fix missing dma-ranges for dra7 pcie - Fix flakey wlan on droid4 where some devices would not connect at all because of internal pull being used with an external pull - Fix occasional missed wake-up events on droid4 modem uart * tag 'omap-for-v5.6/fixes-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: ARM: dts: omap4-droid4: Fix occasional lost wakeirq for uart1 ARM: dts: omap4-droid4: Fix flakey wlan by disabling internal pull for gpio ARM: dts: dra7: Fix bus_dma_limit for PCIe ARM: dts: am574x-idk: Disable m_can node Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnd Bergmann <[email protected]>
2 parents 3b3e88e + 738b150 commit deca1d1

File tree

3 files changed

+46
-5
lines changed

3 files changed

+46
-5
lines changed

arch/arm/boot/dts/am574x-idk.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,7 @@
4040
status = "okay";
4141
dual_emac;
4242
};
43+
44+
&m_can0 {
45+
status = "disabled";
46+
};

arch/arm/boot/dts/dra7.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@
172172
#address-cells = <1>;
173173
ranges = <0x51000000 0x51000000 0x3000
174174
0x0 0x20000000 0x10000000>;
175+
dma-ranges;
175176
/**
176177
* To enable PCI endpoint mode, disable the pcie1_rc
177178
* node and enable pcie1_ep mode.
@@ -185,7 +186,6 @@
185186
device_type = "pci";
186187
ranges = <0x81000000 0 0 0x03000 0 0x00010000
187188
0x82000000 0 0x20013000 0x13000 0 0xffed000>;
188-
dma-ranges = <0x02000000 0x0 0x00000000 0x00000000 0x1 0x00000000>;
189189
bus-range = <0x00 0xff>;
190190
#interrupt-cells = <1>;
191191
num-lanes = <1>;
@@ -230,6 +230,7 @@
230230
#address-cells = <1>;
231231
ranges = <0x51800000 0x51800000 0x3000
232232
0x0 0x30000000 0x10000000>;
233+
dma-ranges;
233234
status = "disabled";
234235
pcie2_rc: pcie@51800000 {
235236
reg = <0x51800000 0x2000>, <0x51802000 0x14c>, <0x1000 0x2000>;
@@ -240,7 +241,6 @@
240241
device_type = "pci";
241242
ranges = <0x81000000 0 0 0x03000 0 0x00010000
242243
0x82000000 0 0x30013000 0x13000 0 0xffed000>;
243-
dma-ranges = <0x02000000 0x0 0x00000000 0x00000000 0x1 0x00000000>;
244244
bus-range = <0x00 0xff>;
245245
#interrupt-cells = <1>;
246246
num-lanes = <1>;

arch/arm/boot/dts/motorola-mapphone-common.dtsi

Lines changed: 40 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,8 @@
367367
};
368368

369369
&mmc3 {
370+
pinctrl-names = "default";
371+
pinctrl-0 = <&mmc3_pins>;
370372
vmmc-supply = <&wl12xx_vmmc>;
371373
/* uart2_tx.sdmmc3_dat1 pad as wakeirq */
372374
interrupts-extended = <&wakeupgen GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH
@@ -472,6 +474,37 @@
472474
>;
473475
};
474476

477+
/*
478+
* Android uses PIN_OFF_INPUT_PULLDOWN | PIN_INPUT_PULLUP | MUX_MODE3
479+
* for gpio_100, but the internal pull makes wlan flakey on some
480+
* devices. Off mode value should be tested if we have off mode working
481+
* later on.
482+
*/
483+
mmc3_pins: pinmux_mmc3_pins {
484+
pinctrl-single,pins = <
485+
/* 0x4a10008e gpmc_wait2.gpio_100 d23 */
486+
OMAP4_IOPAD(0x08e, PIN_INPUT | MUX_MODE3)
487+
488+
/* 0x4a100102 abe_mcbsp1_dx.sdmmc3_dat2 ab25 */
489+
OMAP4_IOPAD(0x102, PIN_INPUT_PULLUP | MUX_MODE1)
490+
491+
/* 0x4a100104 abe_mcbsp1_fsx.sdmmc3_dat3 ac27 */
492+
OMAP4_IOPAD(0x104, PIN_INPUT_PULLUP | MUX_MODE1)
493+
494+
/* 0x4a100118 uart2_cts.sdmmc3_clk ab26 */
495+
OMAP4_IOPAD(0x118, PIN_INPUT | MUX_MODE1)
496+
497+
/* 0x4a10011a uart2_rts.sdmmc3_cmd ab27 */
498+
OMAP4_IOPAD(0x11a, PIN_INPUT_PULLUP | MUX_MODE1)
499+
500+
/* 0x4a10011c uart2_rx.sdmmc3_dat0 aa25 */
501+
OMAP4_IOPAD(0x11c, PIN_INPUT_PULLUP | MUX_MODE1)
502+
503+
/* 0x4a10011e uart2_tx.sdmmc3_dat1 aa26 */
504+
OMAP4_IOPAD(0x11e, PIN_INPUT_PULLUP | MUX_MODE1)
505+
>;
506+
};
507+
475508
/* gpmc_ncs0.gpio_50 */
476509
poweroff_gpio: pinmux_poweroff_pins {
477510
pinctrl-single,pins = <
@@ -690,14 +723,18 @@
690723
};
691724

692725
/*
693-
* As uart1 is wired to mdm6600 with rts and cts, we can use the cts pin for
694-
* uart1 wakeirq.
726+
* The uart1 port is wired to mdm6600 with rts and cts. The modem uses gpio_149
727+
* for wake-up events for both the USB PHY and the UART. We can use gpio_149
728+
* pad as the shared wakeirq for the UART rather than the RX or CTS pad as we
729+
* have gpio_149 trigger before the UART transfer starts.
695730
*/
696731
&uart1 {
697732
pinctrl-names = "default";
698733
pinctrl-0 = <&uart1_pins>;
699734
interrupts-extended = <&wakeupgen GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH
700-
&omap4_pmx_core 0xfc>;
735+
&omap4_pmx_core 0x110>;
736+
uart-has-rtscts;
737+
current-speed = <115200>;
701738
};
702739

703740
&uart3 {

0 commit comments

Comments
 (0)