diff options
Diffstat (limited to 'arch/arm')
26 files changed, 309 insertions, 160 deletions
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 5b7be8d975b5..e401a766c0bd 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug | |||
@@ -510,6 +510,16 @@ choice | |||
510 | Say Y here if you want the debug print routines to direct | 510 | Say Y here if you want the debug print routines to direct |
511 | their output to the uart1 port on SiRFmarco devices. | 511 | their output to the uart1 port on SiRFmarco devices. |
512 | 512 | ||
513 | config DEBUG_STI_UART | ||
514 | depends on ARCH_STI | ||
515 | bool "Use StiH415/416 ASC for low-level debug" | ||
516 | help | ||
517 | Say Y here if you want kernel low-level debugging support | ||
518 | on StiH415/416 based platforms like B2000, B2020. | ||
519 | It support UART2 and SBC_UART1. | ||
520 | |||
521 | If unsure, say N. | ||
522 | |||
513 | config DEBUG_U300_UART | 523 | config DEBUG_U300_UART |
514 | bool "Kernel low-level debugging messages via U300 UART0" | 524 | bool "Kernel low-level debugging messages via U300 UART0" |
515 | depends on ARCH_U300 | 525 | depends on ARCH_U300 |
@@ -564,16 +574,6 @@ choice | |||
564 | This option selects UART0 on VIA/Wondermedia System-on-a-chip | 574 | This option selects UART0 on VIA/Wondermedia System-on-a-chip |
565 | devices, including VT8500, WM8505, WM8650 and WM8850. | 575 | devices, including VT8500, WM8505, WM8650 and WM8850. |
566 | 576 | ||
567 | config DEBUG_STI_UART | ||
568 | depends on ARCH_STI | ||
569 | bool "Use StiH415/416 ASC for low-level debug" | ||
570 | help | ||
571 | Say Y here if you want kernel low-level debugging support | ||
572 | on StiH415/416 based platforms like B2000, B2020. | ||
573 | It support UART2 and SBC_UART1. | ||
574 | |||
575 | If unsure, say N. | ||
576 | |||
577 | config DEBUG_LL_UART_NONE | 577 | config DEBUG_LL_UART_NONE |
578 | bool "No low-level debugging UART" | 578 | bool "No low-level debugging UART" |
579 | depends on !ARCH_MULTIPLATFORM | 579 | depends on !ARCH_MULTIPLATFORM |
diff --git a/arch/arm/boot/dts/tegra20-seaboard.dts b/arch/arm/boot/dts/tegra20-seaboard.dts index ab177b406b78..365760b33a26 100644 --- a/arch/arm/boot/dts/tegra20-seaboard.dts +++ b/arch/arm/boot/dts/tegra20-seaboard.dts | |||
@@ -828,6 +828,7 @@ | |||
828 | regulator-name = "vdd_vbus_wup1"; | 828 | regulator-name = "vdd_vbus_wup1"; |
829 | regulator-min-microvolt = <5000000>; | 829 | regulator-min-microvolt = <5000000>; |
830 | regulator-max-microvolt = <5000000>; | 830 | regulator-max-microvolt = <5000000>; |
831 | enable-active-high; | ||
831 | gpio = <&gpio 24 0>; /* PD0 */ | 832 | gpio = <&gpio 24 0>; /* PD0 */ |
832 | }; | 833 | }; |
833 | }; | 834 | }; |
diff --git a/arch/arm/boot/dts/tegra20-trimslice.dts b/arch/arm/boot/dts/tegra20-trimslice.dts index 170159910455..ed4b901b0227 100644 --- a/arch/arm/boot/dts/tegra20-trimslice.dts +++ b/arch/arm/boot/dts/tegra20-trimslice.dts | |||
@@ -410,6 +410,7 @@ | |||
410 | regulator-name = "usb1_vbus"; | 410 | regulator-name = "usb1_vbus"; |
411 | regulator-min-microvolt = <5000000>; | 411 | regulator-min-microvolt = <5000000>; |
412 | regulator-max-microvolt = <5000000>; | 412 | regulator-max-microvolt = <5000000>; |
413 | enable-active-high; | ||
413 | gpio = <&gpio 170 0>; /* PV2 */ | 414 | gpio = <&gpio 170 0>; /* PV2 */ |
414 | }; | 415 | }; |
415 | }; | 416 | }; |
diff --git a/arch/arm/boot/dts/tegra20-whistler.dts b/arch/arm/boot/dts/tegra20-whistler.dts index ea078ab8edeb..ab67c94db280 100644 --- a/arch/arm/boot/dts/tegra20-whistler.dts +++ b/arch/arm/boot/dts/tegra20-whistler.dts | |||
@@ -586,6 +586,7 @@ | |||
586 | regulator-name = "vbus1"; | 586 | regulator-name = "vbus1"; |
587 | regulator-min-microvolt = <5000000>; | 587 | regulator-min-microvolt = <5000000>; |
588 | regulator-max-microvolt = <5000000>; | 588 | regulator-max-microvolt = <5000000>; |
589 | enable-active-high; | ||
589 | gpio = <&tca6416 0 0>; /* GPIO_PMU0 */ | 590 | gpio = <&tca6416 0 0>; /* GPIO_PMU0 */ |
590 | }; | 591 | }; |
591 | 592 | ||
@@ -595,6 +596,7 @@ | |||
595 | regulator-name = "vbus3"; | 596 | regulator-name = "vbus3"; |
596 | regulator-min-microvolt = <5000000>; | 597 | regulator-min-microvolt = <5000000>; |
597 | regulator-max-microvolt = <5000000>; | 598 | regulator-max-microvolt = <5000000>; |
599 | enable-active-high; | ||
598 | gpio = <&tca6416 1 0>; /* GPIO_PMU1 */ | 600 | gpio = <&tca6416 1 0>; /* GPIO_PMU1 */ |
599 | }; | 601 | }; |
600 | }; | 602 | }; |
diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 340d550c12b0..fe0bdc361d2c 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig | |||
@@ -1,88 +1,167 @@ | |||
1 | CONFIG_EXPERIMENTAL=y | 1 | CONFIG_IRQ_DOMAIN_DEBUG=y |
2 | CONFIG_NO_HZ=y | 2 | CONFIG_NO_HZ=y |
3 | CONFIG_HIGH_RES_TIMERS=y | 3 | CONFIG_HIGH_RES_TIMERS=y |
4 | CONFIG_BLK_DEV_INITRD=y | 4 | CONFIG_BLK_DEV_INITRD=y |
5 | CONFIG_ARCH_MVEBU=y | 5 | CONFIG_ARCH_MVEBU=y |
6 | CONFIG_MACH_ARMADA_370=y | 6 | CONFIG_MACH_ARMADA_370=y |
7 | CONFIG_ARCH_SIRF=y | ||
8 | CONFIG_MACH_ARMADA_XP=y | 7 | CONFIG_MACH_ARMADA_XP=y |
8 | CONFIG_ARCH_BCM=y | ||
9 | CONFIG_GPIO_PCA953X=y | ||
9 | CONFIG_ARCH_HIGHBANK=y | 10 | CONFIG_ARCH_HIGHBANK=y |
11 | CONFIG_ARCH_KEYSTONE=y | ||
12 | CONFIG_ARCH_MXC=y | ||
13 | CONFIG_MACH_IMX51_DT=y | ||
14 | CONFIG_SOC_IMX53=y | ||
15 | CONFIG_SOC_IMX6Q=y | ||
16 | CONFIG_SOC_IMX6SL=y | ||
17 | CONFIG_SOC_VF610=y | ||
18 | CONFIG_ARCH_OMAP3=y | ||
19 | CONFIG_ARCH_OMAP4=y | ||
20 | CONFIG_SOC_OMAP5=y | ||
21 | CONFIG_SOC_AM33XX=y | ||
22 | CONFIG_SOC_AM43XX=y | ||
23 | CONFIG_ARCH_ROCKCHIP=y | ||
10 | CONFIG_ARCH_SOCFPGA=y | 24 | CONFIG_ARCH_SOCFPGA=y |
11 | CONFIG_ARCH_SUNXI=y | ||
12 | CONFIG_ARCH_WM8850=y | ||
13 | # CONFIG_ARCH_VEXPRESS_CORTEX_A5_A9_ERRATA is not set | ||
14 | CONFIG_ARCH_ZYNQ=y | ||
15 | CONFIG_ARM_ERRATA_754322=y | ||
16 | CONFIG_PLAT_SPEAR=y | 25 | CONFIG_PLAT_SPEAR=y |
17 | CONFIG_ARCH_SPEAR13XX=y | 26 | CONFIG_ARCH_SPEAR13XX=y |
18 | CONFIG_MACH_SPEAR1310=y | 27 | CONFIG_MACH_SPEAR1310=y |
19 | CONFIG_MACH_SPEAR1340=y | 28 | CONFIG_MACH_SPEAR1340=y |
29 | CONFIG_ARCH_STI=y | ||
30 | CONFIG_ARCH_SUNXI=y | ||
31 | CONFIG_ARCH_SIRF=y | ||
32 | CONFIG_ARCH_TEGRA=y | ||
33 | CONFIG_ARCH_TEGRA_2x_SOC=y | ||
34 | CONFIG_ARCH_TEGRA_3x_SOC=y | ||
35 | CONFIG_ARCH_TEGRA_114_SOC=y | ||
36 | CONFIG_TEGRA_PCI=y | ||
37 | CONFIG_TEGRA_EMC_SCALING_ENABLE=y | ||
38 | CONFIG_ARCH_U8500=y | ||
39 | CONFIG_MACH_SNOWBALL=y | ||
40 | CONFIG_MACH_UX500_DT=y | ||
41 | CONFIG_ARCH_VEXPRESS=y | ||
42 | CONFIG_ARCH_VEXPRESS_CA9X4=y | ||
43 | CONFIG_ARCH_VIRT=y | ||
44 | CONFIG_ARCH_WM8850=y | ||
45 | CONFIG_ARCH_ZYNQ=y | ||
20 | CONFIG_SMP=y | 46 | CONFIG_SMP=y |
21 | CONFIG_ARM_ARCH_TIMER=y | ||
22 | CONFIG_AEABI=y | ||
23 | CONFIG_HIGHMEM=y | ||
24 | CONFIG_HIGHPTE=y | 47 | CONFIG_HIGHPTE=y |
25 | CONFIG_ARM_APPENDED_DTB=y | 48 | CONFIG_ARM_APPENDED_DTB=y |
26 | CONFIG_VFP=y | ||
27 | CONFIG_NEON=y | ||
28 | CONFIG_NET=y | 49 | CONFIG_NET=y |
50 | CONFIG_UNIX=y | ||
51 | CONFIG_INET=y | ||
52 | CONFIG_IP_PNP=y | ||
53 | CONFIG_IP_PNP_DHCP=y | ||
54 | CONFIG_DEVTMPFS=y | ||
55 | CONFIG_DEVTMPFS_MOUNT=y | ||
29 | CONFIG_BLK_DEV_SD=y | 56 | CONFIG_BLK_DEV_SD=y |
30 | CONFIG_ATA=y | 57 | CONFIG_ATA=y |
58 | CONFIG_SATA_AHCI_PLATFORM=y | ||
31 | CONFIG_SATA_HIGHBANK=y | 59 | CONFIG_SATA_HIGHBANK=y |
32 | CONFIG_SATA_MV=y | 60 | CONFIG_SATA_MV=y |
33 | CONFIG_SATA_AHCI_PLATFORM=y | ||
34 | CONFIG_NETDEVICES=y | 61 | CONFIG_NETDEVICES=y |
35 | CONFIG_SUN4I_EMAC=y | 62 | CONFIG_SUN4I_EMAC=y |
36 | CONFIG_NET_CALXEDA_XGMAC=y | 63 | CONFIG_NET_CALXEDA_XGMAC=y |
37 | CONFIG_SMSC911X=y | 64 | CONFIG_SMSC911X=y |
38 | CONFIG_STMMAC_ETH=y | 65 | CONFIG_STMMAC_ETH=y |
39 | CONFIG_SERIO_AMBAKMI=y | ||
40 | CONFIG_MDIO_SUN4I=y | 66 | CONFIG_MDIO_SUN4I=y |
67 | CONFIG_KEYBOARD_SPEAR=y | ||
68 | CONFIG_SERIO_AMBAKMI=y | ||
41 | CONFIG_SERIAL_8250=y | 69 | CONFIG_SERIAL_8250=y |
42 | CONFIG_SERIAL_8250_CONSOLE=y | 70 | CONFIG_SERIAL_8250_CONSOLE=y |
43 | CONFIG_SERIAL_8250_DW=y | 71 | CONFIG_SERIAL_8250_DW=y |
44 | CONFIG_KEYBOARD_SPEAR=y | ||
45 | CONFIG_SERIAL_AMBA_PL011=y | 72 | CONFIG_SERIAL_AMBA_PL011=y |
46 | CONFIG_SERIAL_AMBA_PL011_CONSOLE=y | 73 | CONFIG_SERIAL_AMBA_PL011_CONSOLE=y |
47 | CONFIG_SERIAL_OF_PLATFORM=y | ||
48 | CONFIG_SERIAL_SIRFSOC=y | 74 | CONFIG_SERIAL_SIRFSOC=y |
49 | CONFIG_SERIAL_SIRFSOC_CONSOLE=y | 75 | CONFIG_SERIAL_SIRFSOC_CONSOLE=y |
76 | CONFIG_SERIAL_TEGRA=y | ||
77 | CONFIG_SERIAL_IMX=y | ||
78 | CONFIG_SERIAL_IMX_CONSOLE=y | ||
50 | CONFIG_SERIAL_VT8500=y | 79 | CONFIG_SERIAL_VT8500=y |
51 | CONFIG_SERIAL_VT8500_CONSOLE=y | 80 | CONFIG_SERIAL_VT8500_CONSOLE=y |
81 | CONFIG_SERIAL_OF_PLATFORM=y | ||
82 | CONFIG_SERIAL_OMAP=y | ||
83 | CONFIG_SERIAL_OMAP_CONSOLE=y | ||
52 | CONFIG_SERIAL_XILINX_PS_UART=y | 84 | CONFIG_SERIAL_XILINX_PS_UART=y |
53 | CONFIG_SERIAL_XILINX_PS_UART_CONSOLE=y | 85 | CONFIG_SERIAL_XILINX_PS_UART_CONSOLE=y |
54 | CONFIG_IPMI_HANDLER=y | 86 | CONFIG_SERIAL_FSL_LPUART=y |
55 | CONFIG_IPMI_SI=y | 87 | CONFIG_SERIAL_FSL_LPUART_CONSOLE=y |
56 | CONFIG_I2C=y | ||
57 | CONFIG_I2C_DESIGNWARE_PLATFORM=y | 88 | CONFIG_I2C_DESIGNWARE_PLATFORM=y |
58 | CONFIG_I2C_SIRF=y | 89 | CONFIG_I2C_SIRF=y |
90 | CONFIG_I2C_TEGRA=y | ||
59 | CONFIG_SPI=y | 91 | CONFIG_SPI=y |
60 | CONFIG_SPI_PL022=y | 92 | CONFIG_SPI_PL022=y |
61 | CONFIG_SPI_SIRF=y | 93 | CONFIG_SPI_SIRF=y |
62 | CONFIG_GPIO_PL061=y | 94 | CONFIG_SPI_TEGRA114=y |
63 | CONFIG_FB=y | 95 | CONFIG_SPI_TEGRA20_SLINK=y |
96 | CONFIG_PINCTRL_SINGLE=y | ||
97 | CONFIG_GPIO_GENERIC_PLATFORM=y | ||
98 | CONFIG_GPIO_TWL4030=y | ||
99 | CONFIG_REGULATOR_GPIO=y | ||
100 | CONFIG_REGULATOR_AB8500=y | ||
101 | CONFIG_REGULATOR_TPS51632=y | ||
102 | CONFIG_REGULATOR_TPS62360=y | ||
103 | CONFIG_REGULATOR_TWL4030=y | ||
104 | CONFIG_REGULATOR_VEXPRESS=y | ||
105 | CONFIG_DRM=y | ||
106 | CONFIG_TEGRA_HOST1X=y | ||
107 | CONFIG_DRM_TEGRA=y | ||
64 | CONFIG_FB_ARMCLCD=y | 108 | CONFIG_FB_ARMCLCD=y |
65 | CONFIG_FB_WM8505=y | 109 | CONFIG_FB_WM8505=y |
66 | CONFIG_FRAMEBUFFER_CONSOLE=y | 110 | CONFIG_FB_SIMPLE=y |
67 | CONFIG_USB=y | 111 | CONFIG_USB=y |
112 | CONFIG_USB_XHCI_HCD=y | ||
113 | CONFIG_USB_EHCI_HCD=y | ||
114 | CONFIG_USB_EHCI_MXC=y | ||
115 | CONFIG_USB_EHCI_TEGRA=y | ||
116 | CONFIG_USB_EHCI_HCD_PLATFORM=y | ||
68 | CONFIG_USB_ISP1760_HCD=y | 117 | CONFIG_USB_ISP1760_HCD=y |
69 | CONFIG_USB_STORAGE=y | 118 | CONFIG_USB_STORAGE=y |
119 | CONFIG_AB8500_USB=y | ||
120 | CONFIG_NOP_USB_XCEIV=y | ||
121 | CONFIG_OMAP_USB2=y | ||
122 | CONFIG_OMAP_USB3=y | ||
123 | CONFIG_SAMSUNG_USB2PHY=y | ||
124 | CONFIG_SAMSUNG_USB3PHY=y | ||
125 | CONFIG_USB_GPIO_VBUS=y | ||
126 | CONFIG_USB_ISP1301=y | ||
127 | CONFIG_USB_MXS_PHY=y | ||
70 | CONFIG_MMC=y | 128 | CONFIG_MMC=y |
71 | CONFIG_MMC_ARMMMCI=y | 129 | CONFIG_MMC_ARMMMCI=y |
72 | CONFIG_MMC_SDHCI=y | 130 | CONFIG_MMC_SDHCI=y |
73 | CONFIG_MMC_SDHCI_PLTFM=y | 131 | CONFIG_MMC_SDHCI_PLTFM=y |
132 | CONFIG_MMC_SDHCI_TEGRA=y | ||
74 | CONFIG_MMC_SDHCI_SPEAR=y | 133 | CONFIG_MMC_SDHCI_SPEAR=y |
75 | CONFIG_MMC_WMT=y | 134 | CONFIG_MMC_OMAP=y |
135 | CONFIG_MMC_OMAP_HS=y | ||
76 | CONFIG_EDAC=y | 136 | CONFIG_EDAC=y |
77 | CONFIG_EDAC_MM_EDAC=y | 137 | CONFIG_EDAC_MM_EDAC=y |
78 | CONFIG_EDAC_HIGHBANK_MC=y | 138 | CONFIG_EDAC_HIGHBANK_MC=y |
79 | CONFIG_EDAC_HIGHBANK_L2=y | 139 | CONFIG_EDAC_HIGHBANK_L2=y |
80 | CONFIG_RTC_CLASS=y | 140 | CONFIG_RTC_CLASS=y |
141 | CONFIG_RTC_DRV_TWL4030=y | ||
81 | CONFIG_RTC_DRV_PL031=y | 142 | CONFIG_RTC_DRV_PL031=y |
82 | CONFIG_RTC_DRV_VT8500=y | 143 | CONFIG_RTC_DRV_VT8500=y |
83 | CONFIG_PWM=y | 144 | CONFIG_RTC_DRV_TEGRA=y |
84 | CONFIG_PWM_VT8500=y | ||
85 | CONFIG_DMADEVICES=y | 145 | CONFIG_DMADEVICES=y |
86 | CONFIG_PL330_DMA=y | ||
87 | CONFIG_SIRF_DMA=y | ||
88 | CONFIG_DW_DMAC=y | 146 | CONFIG_DW_DMAC=y |
147 | CONFIG_TEGRA20_APB_DMA=y | ||
148 | CONFIG_STE_DMA40=y | ||
149 | CONFIG_SIRF_DMA=y | ||
150 | CONFIG_TI_EDMA=y | ||
151 | CONFIG_PL330_DMA=y | ||
152 | CONFIG_IMX_SDMA=y | ||
153 | CONFIG_IMX_DMA=y | ||
154 | CONFIG_MXS_DMA=y | ||
155 | CONFIG_DMA_OMAP=y | ||
156 | CONFIG_PWM=y | ||
157 | CONFIG_PWM_VT8500=y | ||
158 | CONFIG_EXT4_FS=y | ||
159 | CONFIG_TMPFS=y | ||
160 | CONFIG_NFS_FS=y | ||
161 | CONFIG_NFS_V3_ACL=y | ||
162 | CONFIG_NFS_V4=y | ||
163 | CONFIG_ROOT_NFS=y | ||
164 | CONFIG_PRINTK_TIME=y | ||
165 | CONFIG_DEBUG_FS=y | ||
166 | CONFIG_DEBUG_KERNEL=y | ||
167 | CONFIG_LOCKUP_DETECTOR=y | ||
diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig index a24c02443920..5339e6a4d639 100644 --- a/arch/arm/configs/omap2plus_defconfig +++ b/arch/arm/configs/omap2plus_defconfig | |||
@@ -22,6 +22,10 @@ CONFIG_MODULE_SRCVERSION_ALL=y | |||
22 | # CONFIG_BLK_DEV_BSG is not set | 22 | # CONFIG_BLK_DEV_BSG is not set |
23 | CONFIG_ARCH_MULTI_V6=y | 23 | CONFIG_ARCH_MULTI_V6=y |
24 | CONFIG_ARCH_OMAP2PLUS=y | 24 | CONFIG_ARCH_OMAP2PLUS=y |
25 | CONFIG_ARCH_OMAP2=y | ||
26 | CONFIG_ARCH_OMAP3=y | ||
27 | CONFIG_ARCH_OMAP4=y | ||
28 | CONFIG_SOC_AM33XX=y | ||
25 | CONFIG_OMAP_RESET_CLOCKS=y | 29 | CONFIG_OMAP_RESET_CLOCKS=y |
26 | CONFIG_OMAP_MUX_DEBUG=y | 30 | CONFIG_OMAP_MUX_DEBUG=y |
27 | CONFIG_ARCH_VEXPRESS_CA9X4=y | 31 | CONFIG_ARCH_VEXPRESS_CA9X4=y |
@@ -34,6 +38,8 @@ CONFIG_NR_CPUS=2 | |||
34 | CONFIG_LEDS=y | 38 | CONFIG_LEDS=y |
35 | CONFIG_ZBOOT_ROM_TEXT=0x0 | 39 | CONFIG_ZBOOT_ROM_TEXT=0x0 |
36 | CONFIG_ZBOOT_ROM_BSS=0x0 | 40 | CONFIG_ZBOOT_ROM_BSS=0x0 |
41 | CONFIG_ARM_APPENDED_DTB=y | ||
42 | CONFIG_ARM_ATAG_DTB_COMPAT=y | ||
37 | CONFIG_CMDLINE="root=/dev/mmcblk0p2 rootwait console=ttyO2,115200" | 43 | CONFIG_CMDLINE="root=/dev/mmcblk0p2 rootwait console=ttyO2,115200" |
38 | CONFIG_KEXEC=y | 44 | CONFIG_KEXEC=y |
39 | CONFIG_FPE_NWFPE=y | 45 | CONFIG_FPE_NWFPE=y |
@@ -152,6 +158,13 @@ CONFIG_W1=y | |||
152 | CONFIG_POWER_SUPPLY=y | 158 | CONFIG_POWER_SUPPLY=y |
153 | CONFIG_SENSORS_LM75=m | 159 | CONFIG_SENSORS_LM75=m |
154 | CONFIG_WATCHDOG=y | 160 | CONFIG_WATCHDOG=y |
161 | CONFIG_THERMAL=y | ||
162 | CONFIG_THERMAL_HWMON=y | ||
163 | CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y | ||
164 | CONFIG_THERMAL_GOV_FAIR_SHARE=y | ||
165 | CONFIG_THERMAL_GOV_STEP_WISE=y | ||
166 | CONFIG_THERMAL_GOV_USER_SPACE=y | ||
167 | CONFIG_CPU_THERMAL=y | ||
155 | CONFIG_OMAP_WATCHDOG=y | 168 | CONFIG_OMAP_WATCHDOG=y |
156 | CONFIG_TWL4030_WATCHDOG=y | 169 | CONFIG_TWL4030_WATCHDOG=y |
157 | CONFIG_MFD_TPS65217=y | 170 | CONFIG_MFD_TPS65217=y |
@@ -238,7 +251,13 @@ CONFIG_RTC_DRV_TWL92330=y | |||
238 | CONFIG_RTC_DRV_TWL4030=y | 251 | CONFIG_RTC_DRV_TWL4030=y |
239 | CONFIG_RTC_DRV_OMAP=y | 252 | CONFIG_RTC_DRV_OMAP=y |
240 | CONFIG_DMADEVICES=y | 253 | CONFIG_DMADEVICES=y |
254 | CONFIG_TI_EDMA=y | ||
241 | CONFIG_DMA_OMAP=y | 255 | CONFIG_DMA_OMAP=y |
256 | CONFIG_TI_SOC_THERMAL=y | ||
257 | CONFIG_TI_THERMAL=y | ||
258 | CONFIG_OMAP4_THERMAL=y | ||
259 | CONFIG_OMAP5_THERMAL=y | ||
260 | CONFIG_DRA752_THERMAL=y | ||
242 | CONFIG_EXT2_FS=y | 261 | CONFIG_EXT2_FS=y |
243 | CONFIG_EXT3_FS=y | 262 | CONFIG_EXT3_FS=y |
244 | # CONFIG_EXT3_FS_XATTR is not set | 263 | # CONFIG_EXT3_FS_XATTR is not set |
diff --git a/arch/arm/configs/u8500_defconfig b/arch/arm/configs/u8500_defconfig index c037aa1065b7..a0025dc13021 100644 --- a/arch/arm/configs/u8500_defconfig +++ b/arch/arm/configs/u8500_defconfig | |||
@@ -1,6 +1,8 @@ | |||
1 | CONFIG_EXPERIMENTAL=y | 1 | CONFIG_HIGHMEM=y |
2 | # CONFIG_SWAP is not set | 2 | # CONFIG_SWAP is not set |
3 | CONFIG_SYSVIPC=y | 3 | CONFIG_SYSVIPC=y |
4 | CONFIG_NO_HZ=y | ||
5 | CONFIG_HIGH_RES_TIMERS=y | ||
4 | CONFIG_BLK_DEV_INITRD=y | 6 | CONFIG_BLK_DEV_INITRD=y |
5 | CONFIG_KALLSYMS_ALL=y | 7 | CONFIG_KALLSYMS_ALL=y |
6 | CONFIG_MODULES=y | 8 | CONFIG_MODULES=y |
@@ -9,10 +11,7 @@ CONFIG_MODULE_UNLOAD=y | |||
9 | CONFIG_ARCH_U8500=y | 11 | CONFIG_ARCH_U8500=y |
10 | CONFIG_MACH_HREFV60=y | 12 | CONFIG_MACH_HREFV60=y |
11 | CONFIG_MACH_SNOWBALL=y | 13 | CONFIG_MACH_SNOWBALL=y |
12 | CONFIG_MACH_U5500=y | ||
13 | CONFIG_MACH_UX500_DT=y | 14 | CONFIG_MACH_UX500_DT=y |
14 | CONFIG_NO_HZ=y | ||
15 | CONFIG_HIGH_RES_TIMERS=y | ||
16 | CONFIG_SMP=y | 15 | CONFIG_SMP=y |
17 | CONFIG_NR_CPUS=2 | 16 | CONFIG_NR_CPUS=2 |
18 | CONFIG_PREEMPT=y | 17 | CONFIG_PREEMPT=y |
@@ -20,6 +19,7 @@ CONFIG_AEABI=y | |||
20 | CONFIG_CMDLINE="root=/dev/ram0 console=ttyAMA2,115200n8" | 19 | CONFIG_CMDLINE="root=/dev/ram0 console=ttyAMA2,115200n8" |
21 | CONFIG_CPU_FREQ=y | 20 | CONFIG_CPU_FREQ=y |
22 | CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y | 21 | CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y |
22 | CONFIG_CPU_IDLE=y | ||
23 | CONFIG_VFP=y | 23 | CONFIG_VFP=y |
24 | CONFIG_NEON=y | 24 | CONFIG_NEON=y |
25 | CONFIG_PM_RUNTIME=y | 25 | CONFIG_PM_RUNTIME=y |
@@ -36,7 +36,6 @@ CONFIG_CAIF=y | |||
36 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 36 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
37 | CONFIG_BLK_DEV_RAM=y | 37 | CONFIG_BLK_DEV_RAM=y |
38 | CONFIG_BLK_DEV_RAM_SIZE=65536 | 38 | CONFIG_BLK_DEV_RAM_SIZE=65536 |
39 | CONFIG_AB8500_PWM=y | ||
40 | CONFIG_SENSORS_BH1780=y | 39 | CONFIG_SENSORS_BH1780=y |
41 | CONFIG_NETDEVICES=y | 40 | CONFIG_NETDEVICES=y |
42 | CONFIG_SMSC911X=y | 41 | CONFIG_SMSC911X=y |
@@ -60,35 +59,39 @@ CONFIG_VT_HW_CONSOLE_BINDING=y | |||
60 | CONFIG_SERIAL_AMBA_PL011=y | 59 | CONFIG_SERIAL_AMBA_PL011=y |
61 | CONFIG_SERIAL_AMBA_PL011_CONSOLE=y | 60 | CONFIG_SERIAL_AMBA_PL011_CONSOLE=y |
62 | CONFIG_HW_RANDOM=y | 61 | CONFIG_HW_RANDOM=y |
63 | CONFIG_HW_RANDOM_NOMADIK=y | ||
64 | CONFIG_SPI=y | 62 | CONFIG_SPI=y |
65 | CONFIG_SPI_PL022=y | 63 | CONFIG_SPI_PL022=y |
66 | CONFIG_GPIO_STMPE=y | 64 | CONFIG_GPIO_STMPE=y |
67 | CONFIG_GPIO_TC3589X=y | 65 | CONFIG_GPIO_TC3589X=y |
68 | # CONFIG_POWER_SUPPLY is not set | ||
69 | # CONFIG_AB8500_BM is not set | ||
70 | # CONFIG_AB8500_BATTERY_THERM_ON_BATCTRL is not set | ||
71 | CONFIG_THERMAL=y | 66 | CONFIG_THERMAL=y |
72 | CONFIG_CPU_THERMAL=y | 67 | CONFIG_CPU_THERMAL=y |
68 | CONFIG_WATCHDOG=y | ||
73 | CONFIG_MFD_STMPE=y | 69 | CONFIG_MFD_STMPE=y |
74 | CONFIG_MFD_TC3589X=y | 70 | CONFIG_MFD_TC3589X=y |
75 | CONFIG_AB5500_CORE=y | ||
76 | CONFIG_AB8500_CORE=y | ||
77 | CONFIG_REGULATOR=y | ||
78 | CONFIG_REGULATOR_AB8500=y | ||
79 | CONFIG_REGULATOR_FIXED_VOLTAGE=y | ||
80 | CONFIG_REGULATOR_GPIO=y | 71 | CONFIG_REGULATOR_GPIO=y |
81 | # CONFIG_HID_SUPPORT is not set | 72 | CONFIG_REGULATOR_AB8500=y |
82 | CONFIG_USB_GADGET=y | 73 | CONFIG_SOUND=y |
74 | CONFIG_SND=y | ||
75 | CONFIG_SND_SOC=y | ||
76 | CONFIG_SND_SOC_UX500=y | ||
77 | CONFIG_SND_SOC_UX500_MACH_MOP500=y | ||
78 | CONFIG_USB=y | ||
79 | CONFIG_USB_MUSB_HDRC=y | ||
80 | CONFIG_USB_MUSB_UX500=y | ||
81 | CONFIG_USB_PHY=y | ||
83 | CONFIG_AB8500_USB=y | 82 | CONFIG_AB8500_USB=y |
83 | CONFIG_USB_GADGET=y | ||
84 | CONFIG_USB_GADGET_MUSB_HDRC=y | ||
85 | CONFIG_USB_ETH=m | ||
84 | CONFIG_MMC=y | 86 | CONFIG_MMC=y |
85 | CONFIG_MMC_CLKGATE=y | 87 | CONFIG_MMC_UNSAFE_RESUME=y |
88 | # CONFIG_MMC_BLOCK_BOUNCE is not set | ||
86 | CONFIG_MMC_ARMMMCI=y | 89 | CONFIG_MMC_ARMMMCI=y |
87 | CONFIG_NEW_LEDS=y | 90 | CONFIG_NEW_LEDS=y |
88 | CONFIG_LEDS_CLASS=y | 91 | CONFIG_LEDS_CLASS=y |
89 | CONFIG_LEDS_LM3530=y | 92 | CONFIG_LEDS_LM3530=y |
90 | CONFIG_LEDS_LP5521=y | ||
91 | CONFIG_LEDS_GPIO=y | 93 | CONFIG_LEDS_GPIO=y |
94 | CONFIG_LEDS_LP5521=y | ||
92 | CONFIG_LEDS_TRIGGERS=y | 95 | CONFIG_LEDS_TRIGGERS=y |
93 | CONFIG_LEDS_TRIGGER_HEARTBEAT=y | 96 | CONFIG_LEDS_TRIGGER_HEARTBEAT=y |
94 | CONFIG_RTC_CLASS=y | 97 | CONFIG_RTC_CLASS=y |
@@ -108,7 +111,6 @@ CONFIG_EXT4_FS=y | |||
108 | CONFIG_VFAT_FS=y | 111 | CONFIG_VFAT_FS=y |
109 | CONFIG_TMPFS=y | 112 | CONFIG_TMPFS=y |
110 | CONFIG_TMPFS_POSIX_ACL=y | 113 | CONFIG_TMPFS_POSIX_ACL=y |
111 | CONFIG_CONFIGFS_FS=m | ||
112 | # CONFIG_MISC_FILESYSTEMS is not set | 114 | # CONFIG_MISC_FILESYSTEMS is not set |
113 | CONFIG_NFS_FS=y | 115 | CONFIG_NFS_FS=y |
114 | CONFIG_ROOT_NFS=y | 116 | CONFIG_ROOT_NFS=y |
@@ -122,3 +124,7 @@ CONFIG_DEBUG_KERNEL=y | |||
122 | CONFIG_DEBUG_INFO=y | 124 | CONFIG_DEBUG_INFO=y |
123 | # CONFIG_FTRACE is not set | 125 | # CONFIG_FTRACE is not set |
124 | CONFIG_DEBUG_USER=y | 126 | CONFIG_DEBUG_USER=y |
127 | CONFIG_CRYPTO_DEV_UX500=y | ||
128 | CONFIG_CRYPTO_DEV_UX500_CRYP=y | ||
129 | CONFIG_CRYPTO_DEV_UX500_HASH=y | ||
130 | CONFIG_CRYPTO_DEV_UX500_DEBUG=y | ||
diff --git a/arch/arm/include/asm/smp_scu.h b/arch/arm/include/asm/smp_scu.h index 18d169373612..0393fbab8dd5 100644 --- a/arch/arm/include/asm/smp_scu.h +++ b/arch/arm/include/asm/smp_scu.h | |||
@@ -23,10 +23,21 @@ static inline unsigned long scu_a9_get_base(void) | |||
23 | return pa; | 23 | return pa; |
24 | } | 24 | } |
25 | 25 | ||
26 | #ifdef CONFIG_HAVE_ARM_SCU | ||
26 | unsigned int scu_get_core_count(void __iomem *); | 27 | unsigned int scu_get_core_count(void __iomem *); |
27 | int scu_power_mode(void __iomem *, unsigned int); | 28 | int scu_power_mode(void __iomem *, unsigned int); |
29 | #else | ||
30 | static inline unsigned int scu_get_core_count(void __iomem *scu_base) | ||
31 | { | ||
32 | return 0; | ||
33 | } | ||
34 | static inline int scu_power_mode(void __iomem *scu_base, unsigned int mode) | ||
35 | { | ||
36 | return -EINVAL; | ||
37 | } | ||
38 | #endif | ||
28 | 39 | ||
29 | #ifdef CONFIG_SMP | 40 | #if defined(CONFIG_SMP) && defined(CONFIG_HAVE_ARM_SCU) |
30 | void scu_enable(void __iomem *scu_base); | 41 | void scu_enable(void __iomem *scu_base); |
31 | #else | 42 | #else |
32 | static inline void scu_enable(void __iomem *scu_base) {} | 43 | static inline void scu_enable(void __iomem *scu_base) {} |
diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index f5f65b58181e..855d4a7b462d 100644 --- a/arch/arm/mach-exynos/Kconfig +++ b/arch/arm/mach-exynos/Kconfig | |||
@@ -38,7 +38,7 @@ config CPU_EXYNOS4210 | |||
38 | depends on ARCH_EXYNOS4 | 38 | depends on ARCH_EXYNOS4 |
39 | select ARM_CPU_SUSPEND if PM | 39 | select ARM_CPU_SUSPEND if PM |
40 | select PINCTRL_EXYNOS | 40 | select PINCTRL_EXYNOS |
41 | select PM_GENERIC_DOMAINS | 41 | select PM_GENERIC_DOMAINS if PM |
42 | select S5P_PM if PM | 42 | select S5P_PM if PM |
43 | select S5P_SLEEP if PM | 43 | select S5P_SLEEP if PM |
44 | select SAMSUNG_DMADEV | 44 | select SAMSUNG_DMADEV |
diff --git a/arch/arm/mach-ixp4xx/dsmg600-setup.c b/arch/arm/mach-ixp4xx/dsmg600-setup.c index 686ef34c69f5..63de1b3fd06b 100644 --- a/arch/arm/mach-ixp4xx/dsmg600-setup.c +++ b/arch/arm/mach-ixp4xx/dsmg600-setup.c | |||
@@ -28,6 +28,7 @@ | |||
28 | #include <linux/i2c-gpio.h> | 28 | #include <linux/i2c-gpio.h> |
29 | 29 | ||
30 | #include <mach/hardware.h> | 30 | #include <mach/hardware.h> |
31 | |||
31 | #include <asm/mach-types.h> | 32 | #include <asm/mach-types.h> |
32 | #include <asm/mach/arch.h> | 33 | #include <asm/mach/arch.h> |
33 | #include <asm/mach/flash.h> | 34 | #include <asm/mach/flash.h> |
diff --git a/arch/arm/mach-ixp4xx/include/mach/timex.h b/arch/arm/mach-ixp4xx/include/mach/timex.h index c9e930f29339..0396d89f947c 100644 --- a/arch/arm/mach-ixp4xx/include/mach/timex.h +++ b/arch/arm/mach-ixp4xx/include/mach/timex.h | |||
@@ -3,7 +3,7 @@ | |||
3 | * | 3 | * |
4 | */ | 4 | */ |
5 | 5 | ||
6 | #include <mach/hardware.h> | 6 | #include <mach/ixp4xx-regs.h> |
7 | 7 | ||
8 | /* | 8 | /* |
9 | * We use IXP425 General purpose timer for our timer needs, it runs at | 9 | * We use IXP425 General purpose timer for our timer needs, it runs at |
diff --git a/arch/arm/mach-ixp4xx/omixp-setup.c b/arch/arm/mach-ixp4xx/omixp-setup.c index 46a89f5e8269..75ef03dc9964 100644 --- a/arch/arm/mach-ixp4xx/omixp-setup.c +++ b/arch/arm/mach-ixp4xx/omixp-setup.c | |||
@@ -27,6 +27,8 @@ | |||
27 | #include <asm/mach/arch.h> | 27 | #include <asm/mach/arch.h> |
28 | #include <asm/mach/flash.h> | 28 | #include <asm/mach/flash.h> |
29 | 29 | ||
30 | #include <mach/hardware.h> | ||
31 | |||
30 | static struct resource omixp_flash_resources[] = { | 32 | static struct resource omixp_flash_resources[] = { |
31 | { | 33 | { |
32 | .flags = IORESOURCE_MEM, | 34 | .flags = IORESOURCE_MEM, |
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index c7b32a966f67..627fa7e41fba 100644 --- a/arch/arm/mach-omap2/Kconfig +++ b/arch/arm/mach-omap2/Kconfig | |||
@@ -1,63 +1,10 @@ | |||
1 | config ARCH_OMAP | 1 | config ARCH_OMAP |
2 | bool | 2 | bool |
3 | 3 | ||
4 | config ARCH_OMAP2PLUS | ||
5 | bool "TI OMAP2/3/4/5 SoCs with device tree support" if (ARCH_MULTI_V6 || ARCH_MULTI_V7) | ||
6 | select ARCH_HAS_CPUFREQ | ||
7 | select ARCH_HAS_BANDGAP | ||
8 | select ARCH_HAS_HOLES_MEMORYMODEL | ||
9 | select ARCH_OMAP | ||
10 | select ARCH_REQUIRE_GPIOLIB | ||
11 | select CLKDEV_LOOKUP | ||
12 | select CLKSRC_MMIO | ||
13 | select GENERIC_CLOCKEVENTS | ||
14 | select GENERIC_IRQ_CHIP | ||
15 | select HAVE_CLK | ||
16 | select OMAP_DM_TIMER | ||
17 | select PINCTRL | ||
18 | select PROC_DEVICETREE if PROC_FS | ||
19 | select SOC_BUS | ||
20 | select SPARSE_IRQ | ||
21 | select TI_PRIV_EDMA | ||
22 | select USE_OF | ||
23 | help | ||
24 | Systems based on OMAP2, OMAP3, OMAP4 or OMAP5 | ||
25 | |||
26 | |||
27 | if ARCH_OMAP2PLUS | ||
28 | |||
29 | menu "TI OMAP2/3/4 Specific Features" | ||
30 | |||
31 | config ARCH_OMAP2PLUS_TYPICAL | ||
32 | bool "Typical OMAP configuration" | ||
33 | default y | ||
34 | select AEABI | ||
35 | select HIGHMEM | ||
36 | select I2C | ||
37 | select I2C_OMAP | ||
38 | select MENELAUS if ARCH_OMAP2 | ||
39 | select NEON if ARCH_OMAP3 || ARCH_OMAP4 || SOC_OMAP5 | ||
40 | select PM_RUNTIME | ||
41 | select REGULATOR | ||
42 | select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4 | ||
43 | select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4 | ||
44 | select VFP | ||
45 | help | ||
46 | Compile a kernel suitable for booting most boards | ||
47 | |||
48 | config SOC_HAS_OMAP2_SDRC | ||
49 | bool "OMAP2 SDRAM Controller support" | ||
50 | |||
51 | config SOC_HAS_REALTIME_COUNTER | ||
52 | bool "Real time free running counter" | ||
53 | depends on SOC_OMAP5 | ||
54 | default y | ||
55 | |||
56 | config ARCH_OMAP2 | 4 | config ARCH_OMAP2 |
57 | bool "TI OMAP2" | 5 | bool "TI OMAP2" |
58 | depends on ARCH_OMAP2PLUS | ||
59 | depends on ARCH_MULTI_V6 | 6 | depends on ARCH_MULTI_V6 |
60 | default y | 7 | select ARCH_OMAP2PLUS |
61 | select CPU_V6 | 8 | select CPU_V6 |
62 | select MULTI_IRQ_HANDLER | 9 | select MULTI_IRQ_HANDLER |
63 | select SOC_HAS_OMAP2_SDRC | 10 | select SOC_HAS_OMAP2_SDRC |
@@ -65,9 +12,8 @@ config ARCH_OMAP2 | |||
65 | 12 | ||
66 | config ARCH_OMAP3 | 13 | config ARCH_OMAP3 |
67 | bool "TI OMAP3" | 14 | bool "TI OMAP3" |
68 | depends on ARCH_OMAP2PLUS | ||
69 | depends on ARCH_MULTI_V7 | 15 | depends on ARCH_MULTI_V7 |
70 | default y | 16 | select ARCH_OMAP2PLUS |
71 | select ARCH_HAS_OPP | 17 | select ARCH_HAS_OPP |
72 | select ARM_CPU_SUSPEND if PM | 18 | select ARM_CPU_SUSPEND if PM |
73 | select CPU_V7 | 19 | select CPU_V7 |
@@ -81,9 +27,8 @@ config ARCH_OMAP3 | |||
81 | 27 | ||
82 | config ARCH_OMAP4 | 28 | config ARCH_OMAP4 |
83 | bool "TI OMAP4" | 29 | bool "TI OMAP4" |
84 | default y | ||
85 | depends on ARCH_OMAP2PLUS | ||
86 | depends on ARCH_MULTI_V7 | 30 | depends on ARCH_MULTI_V7 |
31 | select ARCH_OMAP2PLUS | ||
87 | select ARCH_HAS_OPP | 32 | select ARCH_HAS_OPP |
88 | select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP | 33 | select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP |
89 | select ARM_CPU_SUSPEND if PM | 34 | select ARM_CPU_SUSPEND if PM |
@@ -108,12 +53,87 @@ config ARCH_OMAP4 | |||
108 | config SOC_OMAP5 | 53 | config SOC_OMAP5 |
109 | bool "TI OMAP5" | 54 | bool "TI OMAP5" |
110 | depends on ARCH_MULTI_V7 | 55 | depends on ARCH_MULTI_V7 |
56 | select ARCH_OMAP2PLUS | ||
111 | select ARM_CPU_SUSPEND if PM | 57 | select ARM_CPU_SUSPEND if PM |
112 | select ARM_GIC | 58 | select ARM_GIC |
113 | select CPU_V7 | 59 | select CPU_V7 |
60 | select HAVE_ARM_SCU if SMP | ||
61 | select HAVE_ARM_TWD if LOCAL_TIMERS | ||
114 | select HAVE_SMP | 62 | select HAVE_SMP |
115 | select COMMON_CLK | 63 | select COMMON_CLK |
116 | select HAVE_ARM_ARCH_TIMER | 64 | select HAVE_ARM_ARCH_TIMER |
65 | select ARM_ERRATA_798181 | ||
66 | |||
67 | config SOC_AM33XX | ||
68 | bool "AM33XX support" | ||
69 | depends on ARCH_MULTI_V7 | ||
70 | select ARCH_OMAP2PLUS | ||
71 | select ARM_CPU_SUSPEND if PM | ||
72 | select CPU_V7 | ||
73 | select MULTI_IRQ_HANDLER | ||
74 | select COMMON_CLK | ||
75 | |||
76 | config SOC_AM43XX | ||
77 | bool "TI AM43x" | ||
78 | depends on ARCH_MULTI_V7 | ||
79 | select CPU_V7 | ||
80 | select ARCH_OMAP2PLUS | ||
81 | select MULTI_IRQ_HANDLER | ||
82 | select ARM_GIC | ||
83 | select COMMON_CLK | ||
84 | select MACH_OMAP_GENERIC | ||
85 | |||
86 | config ARCH_OMAP2PLUS | ||
87 | bool | ||
88 | select ARCH_HAS_BANDGAP | ||
89 | select ARCH_HAS_CPUFREQ | ||
90 | select ARCH_HAS_HOLES_MEMORYMODEL | ||
91 | select ARCH_OMAP | ||
92 | select ARCH_REQUIRE_GPIOLIB | ||
93 | select CLKDEV_LOOKUP | ||
94 | select CLKSRC_MMIO | ||
95 | select GENERIC_CLOCKEVENTS | ||
96 | select GENERIC_IRQ_CHIP | ||
97 | select HAVE_CLK | ||
98 | select OMAP_DM_TIMER | ||
99 | select PINCTRL | ||
100 | select PROC_DEVICETREE if PROC_FS | ||
101 | select SOC_BUS | ||
102 | select SPARSE_IRQ | ||
103 | select TI_PRIV_EDMA | ||
104 | select USE_OF | ||
105 | help | ||
106 | Systems based on OMAP2, OMAP3, OMAP4 or OMAP5 | ||
107 | |||
108 | |||
109 | if ARCH_OMAP2PLUS | ||
110 | |||
111 | menu "TI OMAP2/3/4 Specific Features" | ||
112 | |||
113 | config ARCH_OMAP2PLUS_TYPICAL | ||
114 | bool "Typical OMAP configuration" | ||
115 | default y | ||
116 | select AEABI | ||
117 | select HIGHMEM | ||
118 | select I2C | ||
119 | select I2C_OMAP | ||
120 | select MENELAUS if ARCH_OMAP2 | ||
121 | select NEON if ARCH_OMAP3 || ARCH_OMAP4 || SOC_OMAP5 | ||
122 | select PM_RUNTIME | ||
123 | select REGULATOR | ||
124 | select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4 | ||
125 | select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4 | ||
126 | select VFP | ||
127 | help | ||
128 | Compile a kernel suitable for booting most boards | ||
129 | |||
130 | config SOC_HAS_OMAP2_SDRC | ||
131 | bool "OMAP2 SDRAM Controller support" | ||
132 | |||
133 | config SOC_HAS_REALTIME_COUNTER | ||
134 | bool "Real time free running counter" | ||
135 | depends on SOC_OMAP5 | ||
136 | default y | ||
117 | 137 | ||
118 | comment "OMAP Core Type" | 138 | comment "OMAP Core Type" |
119 | depends on ARCH_OMAP2 | 139 | depends on ARCH_OMAP2 |
@@ -142,23 +162,6 @@ config SOC_TI81XX | |||
142 | depends on ARCH_OMAP3 | 162 | depends on ARCH_OMAP3 |
143 | default y | 163 | default y |
144 | 164 | ||
145 | config SOC_AM33XX | ||
146 | bool "AM33XX support" | ||
147 | depends on ARCH_MULTI_V7 | ||
148 | default y | ||
149 | select ARM_CPU_SUSPEND if PM | ||
150 | select CPU_V7 | ||
151 | select MULTI_IRQ_HANDLER | ||
152 | select COMMON_CLK | ||
153 | |||
154 | config SOC_AM43XX | ||
155 | bool "TI AM43x" | ||
156 | select CPU_V7 | ||
157 | select MULTI_IRQ_HANDLER | ||
158 | select ARM_GIC | ||
159 | select COMMON_CLK | ||
160 | select MACH_OMAP_GENERIC | ||
161 | |||
162 | config OMAP_PACKAGE_ZAF | 165 | config OMAP_PACKAGE_ZAF |
163 | bool | 166 | bool |
164 | 167 | ||
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile index ea5a27ff9941..d4f671547c37 100644 --- a/arch/arm/mach-omap2/Makefile +++ b/arch/arm/mach-omap2/Makefile | |||
@@ -95,10 +95,6 @@ obj-$(CONFIG_POWER_AVS_OMAP_CLASS3) += smartreflex-class3.o | |||
95 | AFLAGS_sleep24xx.o :=-Wa,-march=armv6 | 95 | AFLAGS_sleep24xx.o :=-Wa,-march=armv6 |
96 | AFLAGS_sleep34xx.o :=-Wa,-march=armv7-a$(plus_sec) | 96 | AFLAGS_sleep34xx.o :=-Wa,-march=armv7-a$(plus_sec) |
97 | 97 | ||
98 | ifeq ($(CONFIG_PM_VERBOSE),y) | ||
99 | CFLAGS_pm_bus.o += -DDEBUG | ||
100 | endif | ||
101 | |||
102 | endif | 98 | endif |
103 | 99 | ||
104 | ifeq ($(CONFIG_CPU_IDLE),y) | 100 | ifeq ($(CONFIG_CPU_IDLE),y) |
diff --git a/arch/arm/mach-omap2/board-igep0020.c b/arch/arm/mach-omap2/board-igep0020.c index b54562d1235e..87e65dde8e13 100644 --- a/arch/arm/mach-omap2/board-igep0020.c +++ b/arch/arm/mach-omap2/board-igep0020.c | |||
@@ -553,6 +553,37 @@ static struct usbhs_omap_platform_data igep3_usbhs_bdata __initdata = { | |||
553 | 553 | ||
554 | #ifdef CONFIG_OMAP_MUX | 554 | #ifdef CONFIG_OMAP_MUX |
555 | static struct omap_board_mux board_mux[] __initdata = { | 555 | static struct omap_board_mux board_mux[] __initdata = { |
556 | /* Display Sub System */ | ||
557 | OMAP3_MUX(DSS_PCLK, OMAP_MUX_MODE0 | OMAP_PIN_OUTPUT), | ||
558 | OMAP3_MUX(DSS_HSYNC, OMAP_MUX_MODE0 | OMAP_PIN_OUTPUT), | ||
559 | OMAP3_MUX(DSS_VSYNC, OMAP_MUX_MODE0 | OMAP_PIN_OUTPUT), | ||
560 | OMAP3_MUX(DSS_ACBIAS, OMAP_MUX_MODE0 | OMAP_PIN_OUTPUT), | ||
561 | OMAP3_MUX(DSS_DATA0, OMAP_MUX_MODE0 | OMAP_PIN_OUTPUT), | ||
562 | OMAP3_MUX(DSS_DATA1, OMAP_MUX_MODE0 | OMAP_PIN_OUTPUT), | ||
563 | OMAP3_MUX(DSS_DATA2, OMAP_MUX_MODE0 | OMAP_PIN_OUTPUT), | ||
564 | OMAP3_MUX(DSS_DATA3, OMAP_MUX_MODE0 | OMAP_PIN_OUTPUT), | ||
565 | OMAP3_MUX(DSS_DATA4, OMAP_MUX_MODE0 | OMAP_PIN_OUTPUT), | ||
566 | OMAP3_MUX(DSS_DATA5, OMAP_MUX_MODE0 | OMAP_PIN_OUTPUT), | ||
567 | OMAP3_MUX(DSS_DATA6, OMAP_MUX_MODE0 | OMAP_PIN_OUTPUT), | ||
568 | OMAP3_MUX(DSS_DATA7, OMAP_MUX_MODE0 | OMAP_PIN_OUTPUT), | ||
569 | OMAP3_MUX(DSS_DATA8, OMAP_MUX_MODE0 | OMAP_PIN_OUTPUT), | ||
570 | OMAP3_MUX(DSS_DATA9, OMAP_MUX_MODE0 | OMAP_PIN_OUTPUT), | ||
571 | OMAP3_MUX(DSS_DATA10, OMAP_MUX_MODE0 | OMAP_PIN_OUTPUT), | ||
572 | OMAP3_MUX(DSS_DATA11, OMAP_MUX_MODE0 | OMAP_PIN_OUTPUT), | ||
573 | OMAP3_MUX(DSS_DATA12, OMAP_MUX_MODE0 | OMAP_PIN_OUTPUT), | ||
574 | OMAP3_MUX(DSS_DATA13, OMAP_MUX_MODE0 | OMAP_PIN_OUTPUT), | ||
575 | OMAP3_MUX(DSS_DATA14, OMAP_MUX_MODE0 | OMAP_PIN_OUTPUT), | ||
576 | OMAP3_MUX(DSS_DATA15, OMAP_MUX_MODE0 | OMAP_PIN_OUTPUT), | ||
577 | OMAP3_MUX(DSS_DATA16, OMAP_MUX_MODE0 | OMAP_PIN_OUTPUT), | ||
578 | OMAP3_MUX(DSS_DATA17, OMAP_MUX_MODE0 | OMAP_PIN_OUTPUT), | ||
579 | OMAP3_MUX(DSS_DATA18, OMAP_MUX_MODE0 | OMAP_PIN_OUTPUT), | ||
580 | OMAP3_MUX(DSS_DATA19, OMAP_MUX_MODE0 | OMAP_PIN_OUTPUT), | ||
581 | OMAP3_MUX(DSS_DATA20, OMAP_MUX_MODE0 | OMAP_PIN_OUTPUT), | ||
582 | OMAP3_MUX(DSS_DATA21, OMAP_MUX_MODE0 | OMAP_PIN_OUTPUT), | ||
583 | OMAP3_MUX(DSS_DATA22, OMAP_MUX_MODE0 | OMAP_PIN_OUTPUT), | ||
584 | OMAP3_MUX(DSS_DATA23, OMAP_MUX_MODE0 | OMAP_PIN_OUTPUT), | ||
585 | /* TFP410 PanelBus DVI Transmitte (GPIO_170) */ | ||
586 | OMAP3_MUX(HDQ_SIO, OMAP_MUX_MODE4 | OMAP_PIN_OUTPUT), | ||
556 | /* SMSC9221 LAN Controller ETH IRQ (GPIO_176) */ | 587 | /* SMSC9221 LAN Controller ETH IRQ (GPIO_176) */ |
557 | OMAP3_MUX(MCSPI1_CS2, OMAP_MUX_MODE4 | OMAP_PIN_INPUT), | 588 | OMAP3_MUX(MCSPI1_CS2, OMAP_MUX_MODE4 | OMAP_PIN_INPUT), |
558 | { .reg_offset = OMAP_MUX_TERMINATOR }, | 589 | { .reg_offset = OMAP_MUX_TERMINATOR }, |
diff --git a/arch/arm/mach-omap2/board-rx51-video.c b/arch/arm/mach-omap2/board-rx51-video.c index bd74f9f6063b..bdd1e3a179e1 100644 --- a/arch/arm/mach-omap2/board-rx51-video.c +++ b/arch/arm/mach-omap2/board-rx51-video.c | |||
@@ -61,7 +61,7 @@ static struct omap_dss_board_info rx51_dss_board_info = { | |||
61 | 61 | ||
62 | static int __init rx51_video_init(void) | 62 | static int __init rx51_video_init(void) |
63 | { | 63 | { |
64 | if (!machine_is_nokia_rx51()) | 64 | if (!machine_is_nokia_rx51() && !of_machine_is_compatible("nokia,omap3-n900")) |
65 | return 0; | 65 | return 0; |
66 | 66 | ||
67 | if (omap_mux_init_gpio(RX51_LCD_RESET_GPIO, OMAP_PIN_OUTPUT)) { | 67 | if (omap_mux_init_gpio(RX51_LCD_RESET_GPIO, OMAP_PIN_OUTPUT)) { |
diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c index aef96e45cb20..3c1279f27d1f 100644 --- a/arch/arm/mach-omap2/devices.c +++ b/arch/arm/mach-omap2/devices.c | |||
@@ -15,7 +15,6 @@ | |||
15 | #include <linux/io.h> | 15 | #include <linux/io.h> |
16 | #include <linux/clk.h> | 16 | #include <linux/clk.h> |
17 | #include <linux/err.h> | 17 | #include <linux/err.h> |
18 | #include <linux/gpio.h> | ||
19 | #include <linux/slab.h> | 18 | #include <linux/slab.h> |
20 | #include <linux/of.h> | 19 | #include <linux/of.h> |
21 | #include <linux/pinctrl/machine.h> | 20 | #include <linux/pinctrl/machine.h> |
@@ -66,7 +65,7 @@ static int __init omap3_l3_init(void) | |||
66 | 65 | ||
67 | WARN(IS_ERR(pdev), "could not build omap_device for %s\n", oh_name); | 66 | WARN(IS_ERR(pdev), "could not build omap_device for %s\n", oh_name); |
68 | 67 | ||
69 | return IS_ERR(pdev) ? PTR_ERR(pdev) : 0; | 68 | return PTR_RET(pdev); |
70 | } | 69 | } |
71 | omap_postcore_initcall(omap3_l3_init); | 70 | omap_postcore_initcall(omap3_l3_init); |
72 | 71 | ||
@@ -100,7 +99,7 @@ static int __init omap4_l3_init(void) | |||
100 | 99 | ||
101 | WARN(IS_ERR(pdev), "could not build omap_device for %s\n", oh_name); | 100 | WARN(IS_ERR(pdev), "could not build omap_device for %s\n", oh_name); |
102 | 101 | ||
103 | return IS_ERR(pdev) ? PTR_ERR(pdev) : 0; | 102 | return PTR_RET(pdev); |
104 | } | 103 | } |
105 | omap_postcore_initcall(omap4_l3_init); | 104 | omap_postcore_initcall(omap4_l3_init); |
106 | 105 | ||
diff --git a/arch/arm/mach-omap2/fb.c b/arch/arm/mach-omap2/fb.c index 190ae493c6ef..2ca33cc0c484 100644 --- a/arch/arm/mach-omap2/fb.c +++ b/arch/arm/mach-omap2/fb.c | |||
@@ -83,10 +83,7 @@ static int __init omap_init_vrfb(void) | |||
83 | pdev = platform_device_register_resndata(NULL, "omapvrfb", -1, | 83 | pdev = platform_device_register_resndata(NULL, "omapvrfb", -1, |
84 | res, num_res, NULL, 0); | 84 | res, num_res, NULL, 0); |
85 | 85 | ||
86 | if (IS_ERR(pdev)) | 86 | return PTR_RET(pdev); |
87 | return PTR_ERR(pdev); | ||
88 | else | ||
89 | return 0; | ||
90 | } | 87 | } |
91 | 88 | ||
92 | omap_arch_initcall(omap_init_vrfb); | 89 | omap_arch_initcall(omap_init_vrfb); |
diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c index 1c7969e965d7..f3fdd6afa213 100644 --- a/arch/arm/mach-omap2/gpmc.c +++ b/arch/arm/mach-omap2/gpmc.c | |||
@@ -1734,7 +1734,7 @@ static int __init omap_gpmc_init(void) | |||
1734 | pdev = omap_device_build(DEVICE_NAME, -1, oh, NULL, 0); | 1734 | pdev = omap_device_build(DEVICE_NAME, -1, oh, NULL, 0); |
1735 | WARN(IS_ERR(pdev), "could not build omap_device for %s\n", oh_name); | 1735 | WARN(IS_ERR(pdev), "could not build omap_device for %s\n", oh_name); |
1736 | 1736 | ||
1737 | return IS_ERR(pdev) ? PTR_ERR(pdev) : 0; | 1737 | return PTR_RET(pdev); |
1738 | } | 1738 | } |
1739 | omap_postcore_initcall(omap_gpmc_init); | 1739 | omap_postcore_initcall(omap_gpmc_init); |
1740 | 1740 | ||
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index fe3253a100e7..4a3f06f02859 100644 --- a/arch/arm/mach-omap2/io.c +++ b/arch/arm/mach-omap2/io.c | |||
@@ -394,7 +394,7 @@ static void __init omap_hwmod_init_postsetup(void) | |||
394 | omap_pm_if_early_init(); | 394 | omap_pm_if_early_init(); |
395 | } | 395 | } |
396 | 396 | ||
397 | static void __init omap_common_late_init(void) | 397 | static void __init __maybe_unused omap_common_late_init(void) |
398 | { | 398 | { |
399 | omap_mux_late_init(); | 399 | omap_mux_late_init(); |
400 | omap2_common_pm_late_init(); | 400 | omap2_common_pm_late_init(); |
diff --git a/arch/arm/mach-omap2/pmu.c b/arch/arm/mach-omap2/pmu.c index 9ace8eae7ee8..33c8846b4193 100644 --- a/arch/arm/mach-omap2/pmu.c +++ b/arch/arm/mach-omap2/pmu.c | |||
@@ -54,10 +54,7 @@ static int __init omap2_init_pmu(unsigned oh_num, char *oh_names[]) | |||
54 | WARN(IS_ERR(omap_pmu_dev), "Can't build omap_device for %s.\n", | 54 | WARN(IS_ERR(omap_pmu_dev), "Can't build omap_device for %s.\n", |
55 | dev_name); | 55 | dev_name); |
56 | 56 | ||
57 | if (IS_ERR(omap_pmu_dev)) | 57 | return PTR_RET(omap_pmu_dev); |
58 | return PTR_ERR(omap_pmu_dev); | ||
59 | |||
60 | return 0; | ||
61 | } | 58 | } |
62 | 59 | ||
63 | static int __init omap_init_pmu(void) | 60 | static int __init omap_init_pmu(void) |
diff --git a/arch/arm/mach-omap2/sleep44xx.S b/arch/arm/mach-omap2/sleep44xx.S index 88ff83a0942e..9086ce03ae12 100644 --- a/arch/arm/mach-omap2/sleep44xx.S +++ b/arch/arm/mach-omap2/sleep44xx.S | |||
@@ -34,6 +34,8 @@ ppa_zero_params: | |||
34 | ppa_por_params: | 34 | ppa_por_params: |
35 | .word 1, 0 | 35 | .word 1, 0 |
36 | 36 | ||
37 | #ifdef CONFIG_ARCH_OMAP4 | ||
38 | |||
37 | /* | 39 | /* |
38 | * ============================= | 40 | * ============================= |
39 | * == CPU suspend finisher == | 41 | * == CPU suspend finisher == |
@@ -326,7 +328,9 @@ skip_l2en: | |||
326 | 328 | ||
327 | b cpu_resume @ Jump to generic resume | 329 | b cpu_resume @ Jump to generic resume |
328 | ENDPROC(omap4_cpu_resume) | 330 | ENDPROC(omap4_cpu_resume) |
329 | #endif | 331 | #endif /* CONFIG_ARCH_OMAP4 */ |
332 | |||
333 | #endif /* defined(CONFIG_SMP) && defined(CONFIG_PM) */ | ||
330 | 334 | ||
331 | #ifndef CONFIG_OMAP4_ERRATA_I688 | 335 | #ifndef CONFIG_OMAP4_ERRATA_I688 |
332 | ENTRY(omap_bus_sync) | 336 | ENTRY(omap_bus_sync) |
diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c index 29ac667b7a8b..b37e1fcbad56 100644 --- a/arch/arm/mach-omap2/timer.c +++ b/arch/arm/mach-omap2/timer.c | |||
@@ -220,7 +220,7 @@ static int __init omap_dm_timer_init_one(struct omap_dm_timer *timer, | |||
220 | int posted) | 220 | int posted) |
221 | { | 221 | { |
222 | char name[10]; /* 10 = sizeof("gptXX_Xck0") */ | 222 | char name[10]; /* 10 = sizeof("gptXX_Xck0") */ |
223 | const char *oh_name; | 223 | const char *oh_name = NULL; |
224 | struct device_node *np; | 224 | struct device_node *np; |
225 | struct omap_hwmod *oh; | 225 | struct omap_hwmod *oh; |
226 | struct resource irq, mem; | 226 | struct resource irq, mem; |
diff --git a/arch/arm/mach-shmobile/setup-emev2.c b/arch/arm/mach-shmobile/setup-emev2.c index 899a86c31ec9..1ccddd228112 100644 --- a/arch/arm/mach-shmobile/setup-emev2.c +++ b/arch/arm/mach-shmobile/setup-emev2.c | |||
@@ -287,14 +287,14 @@ static struct gpio_em_config gio3_config = { | |||
287 | static struct resource gio3_resources[] = { | 287 | static struct resource gio3_resources[] = { |
288 | [0] = { | 288 | [0] = { |
289 | .name = "GIO_096", | 289 | .name = "GIO_096", |
290 | .start = 0xe0050100, | 290 | .start = 0xe0050180, |
291 | .end = 0xe005012b, | 291 | .end = 0xe00501ab, |
292 | .flags = IORESOURCE_MEM, | 292 | .flags = IORESOURCE_MEM, |
293 | }, | 293 | }, |
294 | [1] = { | 294 | [1] = { |
295 | .name = "GIO_096", | 295 | .name = "GIO_096", |
296 | .start = 0xe0050140, | 296 | .start = 0xe00501c0, |
297 | .end = 0xe005015f, | 297 | .end = 0xe00501df, |
298 | .flags = IORESOURCE_MEM, | 298 | .flags = IORESOURCE_MEM, |
299 | }, | 299 | }, |
300 | [2] = { | 300 | [2] = { |
diff --git a/arch/arm/mach-shmobile/setup-r8a73a4.c b/arch/arm/mach-shmobile/setup-r8a73a4.c index c5a75a7a508f..7f45c2edbca9 100644 --- a/arch/arm/mach-shmobile/setup-r8a73a4.c +++ b/arch/arm/mach-shmobile/setup-r8a73a4.c | |||
@@ -62,7 +62,7 @@ enum { SCIFA0, SCIFA1, SCIFB0, SCIFB1, SCIFB2, SCIFB3 }; | |||
62 | static const struct plat_sci_port scif[] = { | 62 | static const struct plat_sci_port scif[] = { |
63 | SCIFA_DATA(SCIFA0, 0xe6c40000, gic_spi(144)), /* SCIFA0 */ | 63 | SCIFA_DATA(SCIFA0, 0xe6c40000, gic_spi(144)), /* SCIFA0 */ |
64 | SCIFA_DATA(SCIFA1, 0xe6c50000, gic_spi(145)), /* SCIFA1 */ | 64 | SCIFA_DATA(SCIFA1, 0xe6c50000, gic_spi(145)), /* SCIFA1 */ |
65 | SCIFB_DATA(SCIFB0, 0xe6c50000, gic_spi(145)), /* SCIFB0 */ | 65 | SCIFB_DATA(SCIFB0, 0xe6c20000, gic_spi(148)), /* SCIFB0 */ |
66 | SCIFB_DATA(SCIFB1, 0xe6c30000, gic_spi(149)), /* SCIFB1 */ | 66 | SCIFB_DATA(SCIFB1, 0xe6c30000, gic_spi(149)), /* SCIFB1 */ |
67 | SCIFB_DATA(SCIFB2, 0xe6ce0000, gic_spi(150)), /* SCIFB2 */ | 67 | SCIFB_DATA(SCIFB2, 0xe6ce0000, gic_spi(150)), /* SCIFB2 */ |
68 | SCIFB_DATA(SCIFB3, 0xe6cf0000, gic_spi(151)), /* SCIFB3 */ | 68 | SCIFB_DATA(SCIFB3, 0xe6cf0000, gic_spi(151)), /* SCIFB3 */ |
diff --git a/arch/arm/mach-zynq/common.c b/arch/arm/mach-zynq/common.c index 4130e65a0e3f..5b799c29886e 100644 --- a/arch/arm/mach-zynq/common.c +++ b/arch/arm/mach-zynq/common.c | |||
@@ -101,7 +101,7 @@ static const char * const zynq_dt_match[] = { | |||
101 | NULL | 101 | NULL |
102 | }; | 102 | }; |
103 | 103 | ||
104 | MACHINE_START(XILINX_EP107, "Xilinx Zynq Platform") | 104 | DT_MACHINE_START(XILINX_EP107, "Xilinx Zynq Platform") |
105 | .smp = smp_ops(zynq_smp_ops), | 105 | .smp = smp_ops(zynq_smp_ops), |
106 | .map_io = zynq_map_io, | 106 | .map_io = zynq_map_io, |
107 | .init_machine = zynq_init_machine, | 107 | .init_machine = zynq_init_machine, |