Skip to content

Commit 7267342

Browse files
committed
Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC fixes from Olof Johansson: "A collection of fixes for ARM platforms. Most are fixes for DTS files, mostly from DT conversion on OMAP which is still finding a few issues here and there. There's a couple of small stale code removal patches that we usually queue for the next release instead, but they seemed harmless enough to bring in now. Also, a fix for backlight on some PXA platforms, and a cache configuration fix for Tegra, etc" * tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (25 commits) MAINTAINERS: add additional ARM BCM281xx/BCM11xxx maintainer ARM: tegra: only run PL310 init on systems with one ARM: tegra: Add head numbers to display controllers ARM: imx6: build pm-imx6q.c independently of CONFIG_PM ARM: tegra: fix RTC0 alias for Cardhu ARM: dove: dt: revert PMU interrupt controller node Documentation: dt: OMAP: Update Overo/Tobi ARM: dts: Add support for both OMAP35xx and OMAP36xx Overo/Tobi ARM: dts: omap3-tobi: Use the correct vendor prefix ARM: dts: omap3-tobi: Fix boot with OMAP36xx-based Overo ARM: OMAP2+: Remove legacy macros for zoom platforms ARM: OMAP2+: Remove MACH_NOKIA_N800 ARM: dts: N900: add missing compatible property ARM: dts: N9/N950: fix boot hang with 3.14-rc1 ARM: OMAP1: nokia770: enable tahvo-usb ARM: OMAP2+: gpmc: fix: DT ONENAND child nodes not probed when MTD_ONENAND is built as module ARM: OMAP2+: gpmc: fix: DT NAND child nodes not probed when MTD_NAND is built as module ARM: dts: omap3-gta04: Fix mmc1 properties. ARM: dts: omap3-gta04: Fix 'aux' gpio key flags. ARM: OMAP2+: add missing ARCH_HAS_OPP ...
2 parents 24c8525 + a3db2bb commit 7267342

26 files changed

+108
-48
lines changed

Documentation/devicetree/bindings/arm/omap/omap.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Boards:
9191
compatible = "ti,omap3-beagle", "ti,omap3"
9292

9393
- OMAP3 Tobi with Overo : Commercial expansion board with daughter board
94-
compatible = "ti,omap3-tobi", "ti,omap3-overo", "ti,omap3"
94+
compatible = "gumstix,omap3-overo-tobi", "gumstix,omap3-overo", "ti,omap3"
9595

9696
- OMAP4 SDP : Software Development Board
9797
compatible = "ti,omap4-sdp", "ti,omap4430"

MAINTAINERS

+1
Original file line numberDiff line numberDiff line change
@@ -1860,6 +1860,7 @@ F: drivers/net/ethernet/broadcom/bnx2x/
18601860

18611861
BROADCOM BCM281XX/BCM11XXX ARM ARCHITECTURE
18621862
M: Christian Daudt <[email protected]>
1863+
M: Matt Porter <[email protected]>
18631864
18641865
T: git git://git.github.com/broadcom/bcm11351
18651866
S: Maintained

arch/arm/boot/dts/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,8 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \
209209
omap3-n900.dtb \
210210
omap3-n9.dtb \
211211
omap3-n950.dtb \
212-
omap3-tobi.dtb \
212+
omap3-overo-tobi.dtb \
213+
omap3-overo-storm-tobi.dtb \
213214
omap3-gta04.dtb \
214215
omap3-igep0020.dtb \
215216
omap3-igep0030.dtb \

arch/arm/boot/dts/am335x-evmsk.dts

+10-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
ti,model = "AM335x-EVMSK";
122122
ti,audio-codec = <&tlv320aic3106>;
123123
ti,mcasp-controller = <&mcasp1>;
124-
ti,codec-clock-rate = <24576000>;
124+
ti,codec-clock-rate = <24000000>;
125125
ti,audio-routing =
126126
"Headphone Jack", "HPLOUT",
127127
"Headphone Jack", "HPROUT";
@@ -256,6 +256,12 @@
256256
>;
257257
};
258258

259+
mmc1_pins: pinmux_mmc1_pins {
260+
pinctrl-single,pins = <
261+
0x160 (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */
262+
>;
263+
};
264+
259265
mcasp1_pins: mcasp1_pins {
260266
pinctrl-single,pins = <
261267
0x10c (PIN_INPUT_PULLDOWN | MUX_MODE4) /* mii1_crs.mcasp1_aclkx */
@@ -456,6 +462,9 @@
456462
status = "okay";
457463
vmmc-supply = <&vmmc_reg>;
458464
bus-width = <4>;
465+
pinctrl-names = "default";
466+
pinctrl-0 = <&mmc1_pins>;
467+
cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
459468
};
460469

461470
&sham {

arch/arm/boot/dts/armada-xp-mv78260.dtsi

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
gpio0 = &gpio0;
2424
gpio1 = &gpio1;
2525
gpio2 = &gpio2;
26+
eth3 = &eth3;
2627
};
2728

2829
cpus {
@@ -291,7 +292,7 @@
291292
interrupts = <91>;
292293
};
293294

294-
ethernet@34000 {
295+
eth3: ethernet@34000 {
295296
compatible = "marvell,armada-370-neta";
296297
reg = <0x34000 0x4000>;
297298
interrupts = <14>;

arch/arm/boot/dts/dove.dtsi

-11
Original file line numberDiff line numberDiff line change
@@ -379,15 +379,6 @@
379379
#clock-cells = <1>;
380380
};
381381

382-
pmu_intc: pmu-interrupt-ctrl@d0050 {
383-
compatible = "marvell,dove-pmu-intc";
384-
interrupt-controller;
385-
#interrupt-cells = <1>;
386-
reg = <0xd0050 0x8>;
387-
interrupts = <33>;
388-
marvell,#interrupts = <7>;
389-
};
390-
391382
pinctrl: pin-ctrl@d0200 {
392383
compatible = "marvell,dove-pinctrl";
393384
reg = <0xd0200 0x10>;
@@ -610,8 +601,6 @@
610601
rtc: real-time-clock@d8500 {
611602
compatible = "marvell,orion-rtc";
612603
reg = <0xd8500 0x20>;
613-
interrupt-parent = <&pmu_intc>;
614-
interrupts = <5>;
615604
};
616605

617606
gpio2: gpio-ctrl@e8400 {

arch/arm/boot/dts/omap3-gta04.dts

+4-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
aux-button {
3333
label = "aux";
3434
linux,code = <169>;
35-
gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
35+
gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
3636
gpio-key,wakeup;
3737
};
3838
};
@@ -92,6 +92,8 @@
9292
bmp085@77 {
9393
compatible = "bosch,bmp085";
9494
reg = <0x77>;
95+
interrupt-parent = <&gpio4>;
96+
interrupts = <17 IRQ_TYPE_EDGE_RISING>;
9597
};
9698

9799
/* leds */
@@ -141,8 +143,8 @@
141143
pinctrl-names = "default";
142144
pinctrl-0 = <&mmc1_pins>;
143145
vmmc-supply = <&vmmc1>;
144-
vmmc_aux-supply = <&vsim>;
145146
bus-width = <4>;
147+
ti,non-removable;
146148
};
147149

148150
&mmc2 {

arch/arm/boot/dts/omap3-n9.dts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414

1515
/ {
1616
model = "Nokia N9";
17-
compatible = "nokia,omap3-n9", "ti,omap3";
17+
compatible = "nokia,omap3-n9", "ti,omap36xx", "ti,omap3";
1818
};

arch/arm/boot/dts/omap3-n900.dts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Copyright (C) 2013 Pavel Machek <[email protected]>
3-
* Copyright 2013 Aaro Koskinen <[email protected]>
3+
* Copyright (C) 2013-2014 Aaro Koskinen <[email protected]>
44
*
55
* This program is free software; you can redistribute it and/or modify
66
* it under the terms of the GNU General Public License version 2 (or later) as
@@ -13,7 +13,7 @@
1313

1414
/ {
1515
model = "Nokia N900";
16-
compatible = "nokia,omap3-n900", "ti,omap3";
16+
compatible = "nokia,omap3-n900", "ti,omap3430", "ti,omap3";
1717

1818
cpus {
1919
cpu@0 {

arch/arm/boot/dts/omap3-n950.dts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414

1515
/ {
1616
model = "Nokia N950";
17-
compatible = "nokia,omap3-n950", "ti,omap3";
17+
compatible = "nokia,omap3-n950", "ti,omap36xx", "ti,omap3";
1818
};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/*
2+
* Copyright (C) 2012 Florian Vaussard, EPFL Mobots group
3+
*
4+
* This program is free software; you can redistribute it and/or modify
5+
* it under the terms of the GNU General Public License version 2 as
6+
* published by the Free Software Foundation.
7+
*/
8+
9+
/*
10+
* Tobi expansion board is manufactured by Gumstix Inc.
11+
*/
12+
13+
/dts-v1/;
14+
15+
#include "omap36xx.dtsi"
16+
#include "omap3-overo-tobi-common.dtsi"
17+
18+
/ {
19+
model = "OMAP36xx/AM37xx/DM37xx Gumstix Overo on Tobi";
20+
compatible = "gumstix,omap3-overo-tobi", "gumstix,omap3-overo", "ti,omap36xx", "ti,omap3";
21+
};
22+

arch/arm/boot/dts/omap3-tobi.dts renamed to arch/arm/boot/dts/omap3-overo-tobi-common.dtsi

-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
#include "omap3-overo.dtsi"
1414

1515
/ {
16-
model = "TI OMAP3 Gumstix Overo on Tobi";
17-
compatible = "ti,omap3-tobi", "ti,omap3-overo", "ti,omap3";
18-
1916
leds {
2017
compatible = "gpio-leds";
2118
heartbeat {
+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/*
2+
* Copyright (C) 2012 Florian Vaussard, EPFL Mobots group
3+
*
4+
* This program is free software; you can redistribute it and/or modify
5+
* it under the terms of the GNU General Public License version 2 as
6+
* published by the Free Software Foundation.
7+
*/
8+
9+
/*
10+
* Tobi expansion board is manufactured by Gumstix Inc.
11+
*/
12+
13+
/dts-v1/;
14+
15+
#include "omap34xx.dtsi"
16+
#include "omap3-overo-tobi-common.dtsi"
17+
18+
/ {
19+
model = "OMAP35xx Gumstix Overo on Tobi";
20+
compatible = "gumstix,omap3-overo-tobi", "gumstix,omap3-overo", "ti,omap3430", "ti,omap3";
21+
};
22+

arch/arm/boot/dts/omap3-overo.dtsi

-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99
/*
1010
* The Gumstix Overo must be combined with an expansion board.
1111
*/
12-
/dts-v1/;
13-
14-
#include "omap34xx.dtsi"
1512

1613
/ {
1714
pwmleds {

arch/arm/boot/dts/tegra114.dtsi

+4
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@
5757
resets = <&tegra_car 27>;
5858
reset-names = "dc";
5959

60+
nvidia,head = <0>;
61+
6062
rgb {
6163
status = "disabled";
6264
};
@@ -72,6 +74,8 @@
7274
resets = <&tegra_car 26>;
7375
reset-names = "dc";
7476

77+
nvidia,head = <1>;
78+
7579
rgb {
7680
status = "disabled";
7781
};

arch/arm/boot/dts/tegra20.dtsi

+4
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@
9494
resets = <&tegra_car 27>;
9595
reset-names = "dc";
9696

97+
nvidia,head = <0>;
98+
9799
rgb {
98100
status = "disabled";
99101
};
@@ -109,6 +111,8 @@
109111
resets = <&tegra_car 26>;
110112
reset-names = "dc";
111113

114+
nvidia,head = <1>;
115+
112116
rgb {
113117
status = "disabled";
114118
};

arch/arm/boot/dts/tegra30-cardhu.dtsi

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
compatible = "nvidia,cardhu", "nvidia,tegra30";
2929

3030
aliases {
31-
rtc0 = "/i2c@7000d000/tps6586x@34";
31+
rtc0 = "/i2c@7000d000/tps65911@2d";
3232
rtc1 = "/rtc@7000e000";
3333
};
3434

arch/arm/boot/dts/tegra30.dtsi

+4
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,8 @@
170170
resets = <&tegra_car 27>;
171171
reset-names = "dc";
172172

173+
nvidia,head = <0>;
174+
173175
rgb {
174176
status = "disabled";
175177
};
@@ -185,6 +187,8 @@
185187
resets = <&tegra_car 26>;
186188
reset-names = "dc";
187189

190+
nvidia,head = <1>;
191+
188192
rgb {
189193
status = "disabled";
190194
};

arch/arm/mach-imx/Makefile

-2
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,9 @@ obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
101101
obj-$(CONFIG_SOC_IMX6Q) += clk-imx6q.o mach-imx6q.o
102102
obj-$(CONFIG_SOC_IMX6SL) += clk-imx6sl.o mach-imx6sl.o
103103

104-
ifeq ($(CONFIG_PM),y)
105104
obj-$(CONFIG_SOC_IMX6Q) += pm-imx6q.o headsmp.o
106105
# i.MX6SL reuses i.MX6Q code
107106
obj-$(CONFIG_SOC_IMX6SL) += pm-imx6q.o headsmp.o
108-
endif
109107

110108
# i.MX5 based machines
111109
obj-$(CONFIG_MACH_MX51_BABBAGE) += mach-mx51_babbage.o

arch/arm/mach-imx/common.h

+1-3
Original file line numberDiff line numberDiff line change
@@ -144,13 +144,11 @@ void imx6q_set_chicken_bit(void);
144144
void imx_cpu_die(unsigned int cpu);
145145
int imx_cpu_kill(unsigned int cpu);
146146

147-
#ifdef CONFIG_PM
148147
void imx6q_pm_init(void);
149148
void imx6q_pm_set_ccm_base(void __iomem *base);
149+
#ifdef CONFIG_PM
150150
void imx5_pm_init(void);
151151
#else
152-
static inline void imx6q_pm_init(void) {}
153-
static inline void imx6q_pm_set_ccm_base(void __iomem *base) {}
154152
static inline void imx5_pm_init(void) {}
155153
#endif
156154

arch/arm/mach-omap1/board-nokia770.c

+1
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ static struct omap_usb_config nokia770_usb_config __initdata = {
156156
.register_dev = 1,
157157
.hmc_mode = 16,
158158
.pins[0] = 6,
159+
.extcon = "tahvo-usb",
159160
};
160161

161162
#if defined(CONFIG_MMC_OMAP) || defined(CONFIG_MMC_OMAP_MODULE)

arch/arm/mach-omap2/Kconfig

+4-4
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ config SOC_OMAP5
5050
bool "TI OMAP5"
5151
depends on ARCH_MULTI_V7
5252
select ARCH_OMAP2PLUS
53+
select ARCH_HAS_OPP
5354
select ARM_CPU_SUSPEND if PM
5455
select ARM_GIC
5556
select CPU_V7
@@ -63,6 +64,7 @@ config SOC_AM33XX
6364
bool "TI AM33XX"
6465
depends on ARCH_MULTI_V7
6566
select ARCH_OMAP2PLUS
67+
select ARCH_HAS_OPP
6668
select ARM_CPU_SUSPEND if PM
6769
select CPU_V7
6870
select MULTI_IRQ_HANDLER
@@ -72,6 +74,7 @@ config SOC_AM43XX
7274
depends on ARCH_MULTI_V7
7375
select CPU_V7
7476
select ARCH_OMAP2PLUS
77+
select ARCH_HAS_OPP
7578
select MULTI_IRQ_HANDLER
7679
select ARM_GIC
7780
select MACH_OMAP_GENERIC
@@ -80,6 +83,7 @@ config SOC_DRA7XX
8083
bool "TI DRA7XX"
8184
depends on ARCH_MULTI_V7
8285
select ARCH_OMAP2PLUS
86+
select ARCH_HAS_OPP
8387
select ARM_CPU_SUSPEND if PM
8488
select ARM_GIC
8589
select CPU_V7
@@ -268,9 +272,6 @@ config MACH_OMAP_3430SDP
268272
default y
269273
select OMAP_PACKAGE_CBB
270274

271-
config MACH_NOKIA_N800
272-
bool
273-
274275
config MACH_NOKIA_N810
275276
bool
276277

@@ -281,7 +282,6 @@ config MACH_NOKIA_N8X0
281282
bool "Nokia N800/N810"
282283
depends on SOC_OMAP2420
283284
default y
284-
select MACH_NOKIA_N800
285285
select MACH_NOKIA_N810
286286
select MACH_NOKIA_N810_WIMAX
287287
select OMAP_PACKAGE_ZAC

arch/arm/mach-omap2/gpmc.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1339,7 +1339,7 @@ static void __maybe_unused gpmc_read_timings_dt(struct device_node *np,
13391339
of_property_read_bool(np, "gpmc,time-para-granularity");
13401340
}
13411341

1342-
#ifdef CONFIG_MTD_NAND
1342+
#if IS_ENABLED(CONFIG_MTD_NAND)
13431343

13441344
static const char * const nand_xfer_types[] = {
13451345
[NAND_OMAP_PREFETCH_POLLED] = "prefetch-polled",
@@ -1429,7 +1429,7 @@ static int gpmc_probe_nand_child(struct platform_device *pdev,
14291429
}
14301430
#endif
14311431

1432-
#ifdef CONFIG_MTD_ONENAND
1432+
#if IS_ENABLED(CONFIG_MTD_ONENAND)
14331433
static int gpmc_probe_onenand_child(struct platform_device *pdev,
14341434
struct device_node *child)
14351435
{

0 commit comments

Comments
 (0)