diff options
35 files changed, 260 insertions, 143 deletions
diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi index 6cc25ed912ee..2c6248d9a9ef 100644 --- a/arch/arm/boot/dts/am335x-bone-common.dtsi +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi | |||
| @@ -195,6 +195,7 @@ | |||
| 195 | 195 | ||
| 196 | &usb0 { | 196 | &usb0 { |
| 197 | status = "okay"; | 197 | status = "okay"; |
| 198 | dr_mode = "peripheral"; | ||
| 198 | }; | 199 | }; |
| 199 | 200 | ||
| 200 | &usb1 { | 201 | &usb1 { |
diff --git a/arch/arm/boot/dts/am437x-idk-evm.dts b/arch/arm/boot/dts/am437x-idk-evm.dts index f9a17e2ca8cb..0198f5a62b96 100644 --- a/arch/arm/boot/dts/am437x-idk-evm.dts +++ b/arch/arm/boot/dts/am437x-idk-evm.dts | |||
| @@ -133,20 +133,6 @@ | |||
| 133 | >; | 133 | >; |
| 134 | }; | 134 | }; |
| 135 | 135 | ||
| 136 | i2c1_pins_default: i2c1_pins_default { | ||
| 137 | pinctrl-single,pins = < | ||
| 138 | 0x15c (PIN_INPUT | SLEWCTRL_FAST | MUX_MODE2) /* spi0_cs0.i2c1_scl */ | ||
| 139 | 0x158 (PIN_INPUT | SLEWCTRL_FAST | MUX_MODE2) /* spi0_d1.i2c1_sda */ | ||
| 140 | >; | ||
| 141 | }; | ||
| 142 | |||
| 143 | i2c1_pins_sleep: i2c1_pins_sleep { | ||
| 144 | pinctrl-single,pins = < | ||
| 145 | 0x15c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* spi0_cs0.i2c1_scl */ | ||
| 146 | 0x158 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* spi0_d1.i2c1_sda */ | ||
| 147 | >; | ||
| 148 | }; | ||
| 149 | |||
| 150 | mmc1_pins_default: pinmux_mmc1_pins_default { | 136 | mmc1_pins_default: pinmux_mmc1_pins_default { |
| 151 | pinctrl-single,pins = < | 137 | pinctrl-single,pins = < |
| 152 | 0x100 (PIN_INPUT | MUX_MODE0) /* mmc0_clk.mmc0_clk */ | 138 | 0x100 (PIN_INPUT | MUX_MODE0) /* mmc0_clk.mmc0_clk */ |
| @@ -254,7 +240,7 @@ | |||
| 254 | status = "okay"; | 240 | status = "okay"; |
| 255 | pinctrl-names = "default", "sleep"; | 241 | pinctrl-names = "default", "sleep"; |
| 256 | pinctrl-0 = <&i2c0_pins_default>; | 242 | pinctrl-0 = <&i2c0_pins_default>; |
| 257 | pinctrl-1 = <&i2c0_pins_default>; | 243 | pinctrl-1 = <&i2c0_pins_sleep>; |
| 258 | clock-frequency = <400000>; | 244 | clock-frequency = <400000>; |
| 259 | 245 | ||
| 260 | at24@50 { | 246 | at24@50 { |
| @@ -262,17 +248,10 @@ | |||
| 262 | pagesize = <64>; | 248 | pagesize = <64>; |
| 263 | reg = <0x50>; | 249 | reg = <0x50>; |
| 264 | }; | 250 | }; |
| 265 | }; | ||
| 266 | |||
| 267 | &i2c1 { | ||
| 268 | status = "okay"; | ||
| 269 | pinctrl-names = "default", "sleep"; | ||
| 270 | pinctrl-0 = <&i2c1_pins_default>; | ||
| 271 | pinctrl-1 = <&i2c1_pins_default>; | ||
| 272 | clock-frequency = <400000>; | ||
| 273 | 251 | ||
| 274 | tps: tps62362@60 { | 252 | tps: tps62362@60 { |
| 275 | compatible = "ti,tps62362"; | 253 | compatible = "ti,tps62362"; |
| 254 | reg = <0x60>; | ||
| 276 | regulator-name = "VDD_MPU"; | 255 | regulator-name = "VDD_MPU"; |
| 277 | regulator-min-microvolt = <950000>; | 256 | regulator-min-microvolt = <950000>; |
| 278 | regulator-max-microvolt = <1330000>; | 257 | regulator-max-microvolt = <1330000>; |
diff --git a/arch/arm/boot/dts/am57xx-beagle-x15.dts b/arch/arm/boot/dts/am57xx-beagle-x15.dts index 03750af3b49a..6463f9ef2b54 100644 --- a/arch/arm/boot/dts/am57xx-beagle-x15.dts +++ b/arch/arm/boot/dts/am57xx-beagle-x15.dts | |||
| @@ -549,14 +549,6 @@ | |||
| 549 | pinctrl-0 = <&usb1_pins>; | 549 | pinctrl-0 = <&usb1_pins>; |
| 550 | }; | 550 | }; |
| 551 | 551 | ||
| 552 | &omap_dwc3_1 { | ||
| 553 | extcon = <&extcon_usb1>; | ||
| 554 | }; | ||
| 555 | |||
| 556 | &omap_dwc3_2 { | ||
| 557 | extcon = <&extcon_usb2>; | ||
| 558 | }; | ||
| 559 | |||
| 560 | &usb2 { | 552 | &usb2 { |
| 561 | dr_mode = "peripheral"; | 553 | dr_mode = "peripheral"; |
| 562 | }; | 554 | }; |
diff --git a/arch/arm/boot/dts/dm8168-evm.dts b/arch/arm/boot/dts/dm8168-evm.dts index 857d0289ad4d..d3a29c1b8417 100644 --- a/arch/arm/boot/dts/dm8168-evm.dts +++ b/arch/arm/boot/dts/dm8168-evm.dts | |||
| @@ -35,6 +35,18 @@ | |||
| 35 | DM816X_IOPAD(0x0aac, PIN_INPUT | MUX_MODE0) /* SPI_D1 */ | 35 | DM816X_IOPAD(0x0aac, PIN_INPUT | MUX_MODE0) /* SPI_D1 */ |
| 36 | >; | 36 | >; |
| 37 | }; | 37 | }; |
| 38 | |||
| 39 | usb0_pins: pinmux_usb0_pins { | ||
| 40 | pinctrl-single,pins = < | ||
| 41 | DM816X_IOPAD(0x0d00, MUX_MODE0) /* USB0_DRVVBUS */ | ||
| 42 | >; | ||
| 43 | }; | ||
| 44 | |||
| 45 | usb1_pins: pinmux_usb0_pins { | ||
| 46 | pinctrl-single,pins = < | ||
| 47 | DM816X_IOPAD(0x0d04, MUX_MODE0) /* USB1_DRVVBUS */ | ||
| 48 | >; | ||
| 49 | }; | ||
| 38 | }; | 50 | }; |
| 39 | 51 | ||
| 40 | &i2c1 { | 52 | &i2c1 { |
| @@ -127,3 +139,16 @@ | |||
| 127 | &mmc1 { | 139 | &mmc1 { |
| 128 | vmmc-supply = <&vmmcsd_fixed>; | 140 | vmmc-supply = <&vmmcsd_fixed>; |
| 129 | }; | 141 | }; |
| 142 | |||
| 143 | /* At least dm8168-evm rev c won't support multipoint, later may */ | ||
| 144 | &usb0 { | ||
| 145 | pinctrl-names = "default"; | ||
| 146 | pinctrl-0 = <&usb0_pins>; | ||
| 147 | mentor,multipoint = <0>; | ||
| 148 | }; | ||
| 149 | |||
| 150 | &usb1 { | ||
| 151 | pinctrl-names = "default"; | ||
| 152 | pinctrl-0 = <&usb1_pins>; | ||
| 153 | mentor,multipoint = <0>; | ||
| 154 | }; | ||
diff --git a/arch/arm/boot/dts/dm816x.dtsi b/arch/arm/boot/dts/dm816x.dtsi index d98d0f7de380..3c97b5f2addc 100644 --- a/arch/arm/boot/dts/dm816x.dtsi +++ b/arch/arm/boot/dts/dm816x.dtsi | |||
| @@ -97,10 +97,31 @@ | |||
| 97 | 97 | ||
| 98 | /* Device Configuration Registers */ | 98 | /* Device Configuration Registers */ |
| 99 | scm_conf: syscon@600 { | 99 | scm_conf: syscon@600 { |
| 100 | compatible = "syscon"; | 100 | compatible = "syscon", "simple-bus"; |
| 101 | reg = <0x600 0x110>; | 101 | reg = <0x600 0x110>; |
| 102 | #address-cells = <1>; | 102 | #address-cells = <1>; |
| 103 | #size-cells = <1>; | 103 | #size-cells = <1>; |
| 104 | ranges = <0 0x600 0x110>; | ||
| 105 | |||
| 106 | usb_phy0: usb-phy@20 { | ||
| 107 | compatible = "ti,dm8168-usb-phy"; | ||
| 108 | reg = <0x20 0x8>; | ||
| 109 | reg-names = "phy"; | ||
| 110 | clocks = <&main_fapll 6>; | ||
| 111 | clock-names = "refclk"; | ||
| 112 | #phy-cells = <0>; | ||
| 113 | syscon = <&scm_conf>; | ||
| 114 | }; | ||
| 115 | |||
| 116 | usb_phy1: usb-phy@28 { | ||
| 117 | compatible = "ti,dm8168-usb-phy"; | ||
| 118 | reg = <0x28 0x8>; | ||
| 119 | reg-names = "phy"; | ||
| 120 | clocks = <&main_fapll 6>; | ||
| 121 | clock-names = "refclk"; | ||
| 122 | #phy-cells = <0>; | ||
| 123 | syscon = <&scm_conf>; | ||
| 124 | }; | ||
| 104 | }; | 125 | }; |
| 105 | 126 | ||
| 106 | scrm_clocks: clocks { | 127 | scrm_clocks: clocks { |
| @@ -357,7 +378,10 @@ | |||
| 357 | reg-names = "mc", "control"; | 378 | reg-names = "mc", "control"; |
| 358 | interrupts = <18>; | 379 | interrupts = <18>; |
| 359 | interrupt-names = "mc"; | 380 | interrupt-names = "mc"; |
| 360 | dr_mode = "otg"; | 381 | dr_mode = "host"; |
| 382 | interface-type = <0>; | ||
| 383 | phys = <&usb_phy0>; | ||
| 384 | phy-names = "usb2-phy"; | ||
| 361 | mentor,multipoint = <1>; | 385 | mentor,multipoint = <1>; |
| 362 | mentor,num-eps = <16>; | 386 | mentor,num-eps = <16>; |
| 363 | mentor,ram-bits = <12>; | 387 | mentor,ram-bits = <12>; |
| @@ -366,13 +390,15 @@ | |||
| 366 | 390 | ||
| 367 | usb1: usb@47401800 { | 391 | usb1: usb@47401800 { |
| 368 | compatible = "ti,musb-am33xx"; | 392 | compatible = "ti,musb-am33xx"; |
| 369 | status = "disabled"; | ||
| 370 | reg = <0x47401c00 0x400 | 393 | reg = <0x47401c00 0x400 |
| 371 | 0x47401800 0x200>; | 394 | 0x47401800 0x200>; |
| 372 | reg-names = "mc", "control"; | 395 | reg-names = "mc", "control"; |
| 373 | interrupts = <19>; | 396 | interrupts = <19>; |
| 374 | interrupt-names = "mc"; | 397 | interrupt-names = "mc"; |
| 375 | dr_mode = "otg"; | 398 | dr_mode = "host"; |
| 399 | interface-type = <0>; | ||
| 400 | phys = <&usb_phy1>; | ||
| 401 | phy-names = "usb2-phy"; | ||
| 376 | mentor,multipoint = <1>; | 402 | mentor,multipoint = <1>; |
| 377 | mentor,num-eps = <16>; | 403 | mentor,num-eps = <16>; |
| 378 | mentor,ram-bits = <12>; | 404 | mentor,ram-bits = <12>; |
diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index 746cddb1b8f5..3290a96ba586 100644 --- a/arch/arm/boot/dts/dra7-evm.dts +++ b/arch/arm/boot/dts/dra7-evm.dts | |||
| @@ -543,14 +543,6 @@ | |||
| 543 | }; | 543 | }; |
| 544 | }; | 544 | }; |
| 545 | 545 | ||
| 546 | &omap_dwc3_1 { | ||
| 547 | extcon = <&extcon_usb1>; | ||
| 548 | }; | ||
| 549 | |||
| 550 | &omap_dwc3_2 { | ||
| 551 | extcon = <&extcon_usb2>; | ||
| 552 | }; | ||
| 553 | |||
| 554 | &usb1 { | 546 | &usb1 { |
| 555 | dr_mode = "peripheral"; | 547 | dr_mode = "peripheral"; |
| 556 | pinctrl-names = "default"; | 548 | pinctrl-names = "default"; |
diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index 5827fedafd43..127608d79033 100644 --- a/arch/arm/boot/dts/dra7.dtsi +++ b/arch/arm/boot/dts/dra7.dtsi | |||
| @@ -249,8 +249,8 @@ | |||
| 249 | <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>, | 249 | <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>, |
| 250 | <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; | 250 | <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; |
| 251 | #dma-cells = <1>; | 251 | #dma-cells = <1>; |
| 252 | #dma-channels = <32>; | 252 | dma-channels = <32>; |
| 253 | #dma-requests = <127>; | 253 | dma-requests = <127>; |
| 254 | }; | 254 | }; |
| 255 | 255 | ||
| 256 | gpio1: gpio@4ae10000 { | 256 | gpio1: gpio@4ae10000 { |
| @@ -1090,8 +1090,8 @@ | |||
| 1090 | <0x4A096800 0x40>; /* pll_ctrl */ | 1090 | <0x4A096800 0x40>; /* pll_ctrl */ |
| 1091 | reg-names = "phy_rx", "phy_tx", "pll_ctrl"; | 1091 | reg-names = "phy_rx", "phy_tx", "pll_ctrl"; |
| 1092 | ctrl-module = <&omap_control_sata>; | 1092 | ctrl-module = <&omap_control_sata>; |
| 1093 | clocks = <&sys_clkin1>; | 1093 | clocks = <&sys_clkin1>, <&sata_ref_clk>; |
| 1094 | clock-names = "sysclk"; | 1094 | clock-names = "sysclk", "refclk"; |
| 1095 | #phy-cells = <0>; | 1095 | #phy-cells = <0>; |
| 1096 | }; | 1096 | }; |
| 1097 | 1097 | ||
diff --git a/arch/arm/boot/dts/dra72-evm.dts b/arch/arm/boot/dts/dra72-evm.dts index 4d8711713610..e0264d0bf7b9 100644 --- a/arch/arm/boot/dts/dra72-evm.dts +++ b/arch/arm/boot/dts/dra72-evm.dts | |||
| @@ -380,14 +380,6 @@ | |||
| 380 | phy-supply = <&ldo4_reg>; | 380 | phy-supply = <&ldo4_reg>; |
| 381 | }; | 381 | }; |
| 382 | 382 | ||
| 383 | &omap_dwc3_1 { | ||
| 384 | extcon = <&extcon_usb1>; | ||
| 385 | }; | ||
| 386 | |||
| 387 | &omap_dwc3_2 { | ||
| 388 | extcon = <&extcon_usb2>; | ||
| 389 | }; | ||
| 390 | |||
| 391 | &usb1 { | 383 | &usb1 { |
| 392 | dr_mode = "peripheral"; | 384 | dr_mode = "peripheral"; |
| 393 | pinctrl-names = "default"; | 385 | pinctrl-names = "default"; |
diff --git a/arch/arm/boot/dts/omap2.dtsi b/arch/arm/boot/dts/omap2.dtsi index 59d1c297bb30..578fa2a54dce 100644 --- a/arch/arm/boot/dts/omap2.dtsi +++ b/arch/arm/boot/dts/omap2.dtsi | |||
| @@ -87,8 +87,8 @@ | |||
| 87 | <14>, | 87 | <14>, |
| 88 | <15>; | 88 | <15>; |
| 89 | #dma-cells = <1>; | 89 | #dma-cells = <1>; |
| 90 | #dma-channels = <32>; | 90 | dma-channels = <32>; |
| 91 | #dma-requests = <64>; | 91 | dma-requests = <64>; |
| 92 | }; | 92 | }; |
| 93 | 93 | ||
| 94 | i2c1: i2c@48070000 { | 94 | i2c1: i2c@48070000 { |
diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts index 60403273f83e..db80f9d376fa 100644 --- a/arch/arm/boot/dts/omap3-n900.dts +++ b/arch/arm/boot/dts/omap3-n900.dts | |||
| @@ -16,6 +16,13 @@ | |||
| 16 | model = "Nokia N900"; | 16 | model = "Nokia N900"; |
| 17 | compatible = "nokia,omap3-n900", "ti,omap3430", "ti,omap3"; | 17 | compatible = "nokia,omap3-n900", "ti,omap3430", "ti,omap3"; |
| 18 | 18 | ||
| 19 | aliases { | ||
| 20 | i2c0; | ||
| 21 | i2c1 = &i2c1; | ||
| 22 | i2c2 = &i2c2; | ||
| 23 | i2c3 = &i2c3; | ||
| 24 | }; | ||
| 25 | |||
| 19 | cpus { | 26 | cpus { |
| 20 | cpu@0 { | 27 | cpu@0 { |
| 21 | cpu0-supply = <&vcc>; | 28 | cpu0-supply = <&vcc>; |
| @@ -704,7 +711,7 @@ | |||
| 704 | compatible = "smsc,lan91c94"; | 711 | compatible = "smsc,lan91c94"; |
| 705 | interrupt-parent = <&gpio2>; | 712 | interrupt-parent = <&gpio2>; |
| 706 | interrupts = <22 IRQ_TYPE_LEVEL_HIGH>; /* gpio54 */ | 713 | interrupts = <22 IRQ_TYPE_LEVEL_HIGH>; /* gpio54 */ |
| 707 | reg = <1 0x300 0xf>; /* 16 byte IO range at offset 0x300 */ | 714 | reg = <1 0 0xf>; /* 16 byte IO range */ |
| 708 | bank-width = <2>; | 715 | bank-width = <2>; |
| 709 | pinctrl-names = "default"; | 716 | pinctrl-names = "default"; |
| 710 | pinctrl-0 = <ðernet_pins>; | 717 | pinctrl-0 = <ðernet_pins>; |
diff --git a/arch/arm/boot/dts/omap3.dtsi b/arch/arm/boot/dts/omap3.dtsi index 01b71111bd55..f4f78c40b564 100644 --- a/arch/arm/boot/dts/omap3.dtsi +++ b/arch/arm/boot/dts/omap3.dtsi | |||
| @@ -155,8 +155,8 @@ | |||
| 155 | <14>, | 155 | <14>, |
| 156 | <15>; | 156 | <15>; |
| 157 | #dma-cells = <1>; | 157 | #dma-cells = <1>; |
| 158 | #dma-channels = <32>; | 158 | dma-channels = <32>; |
| 159 | #dma-requests = <96>; | 159 | dma-requests = <96>; |
| 160 | }; | 160 | }; |
| 161 | 161 | ||
| 162 | omap3_pmx_core: pinmux@48002030 { | 162 | omap3_pmx_core: pinmux@48002030 { |
diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi index 074147cebae4..87401d9f4d8b 100644 --- a/arch/arm/boot/dts/omap4.dtsi +++ b/arch/arm/boot/dts/omap4.dtsi | |||
| @@ -223,8 +223,8 @@ | |||
| 223 | <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>, | 223 | <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>, |
| 224 | <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; | 224 | <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; |
| 225 | #dma-cells = <1>; | 225 | #dma-cells = <1>; |
| 226 | #dma-channels = <32>; | 226 | dma-channels = <32>; |
| 227 | #dma-requests = <127>; | 227 | dma-requests = <127>; |
| 228 | }; | 228 | }; |
| 229 | 229 | ||
| 230 | gpio1: gpio@4a310000 { | 230 | gpio1: gpio@4a310000 { |
diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi index b321fdf42c9f..ddff674bd05e 100644 --- a/arch/arm/boot/dts/omap5.dtsi +++ b/arch/arm/boot/dts/omap5.dtsi | |||
| @@ -238,8 +238,8 @@ | |||
| 238 | <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>, | 238 | <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>, |
| 239 | <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; | 239 | <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; |
| 240 | #dma-cells = <1>; | 240 | #dma-cells = <1>; |
| 241 | #dma-channels = <32>; | 241 | dma-channels = <32>; |
| 242 | #dma-requests = <127>; | 242 | dma-requests = <127>; |
| 243 | }; | 243 | }; |
| 244 | 244 | ||
| 245 | gpio1: gpio@4ae10000 { | 245 | gpio1: gpio@4ae10000 { |
| @@ -929,8 +929,8 @@ | |||
| 929 | <0x4A096800 0x40>; /* pll_ctrl */ | 929 | <0x4A096800 0x40>; /* pll_ctrl */ |
| 930 | reg-names = "phy_rx", "phy_tx", "pll_ctrl"; | 930 | reg-names = "phy_rx", "phy_tx", "pll_ctrl"; |
| 931 | ctrl-module = <&omap_control_sata>; | 931 | ctrl-module = <&omap_control_sata>; |
| 932 | clocks = <&sys_clkin>; | 932 | clocks = <&sys_clkin>, <&sata_ref_clk>; |
| 933 | clock-names = "sysclk"; | 933 | clock-names = "sysclk", "refclk"; |
| 934 | #phy-cells = <0>; | 934 | #phy-cells = <0>; |
| 935 | }; | 935 | }; |
| 936 | }; | 936 | }; |
diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index e8a4c955241b..b7e6b6fba5e0 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig | |||
| @@ -62,6 +62,17 @@ CONFIG_MACH_SPEAR1340=y | |||
| 62 | CONFIG_ARCH_STI=y | 62 | CONFIG_ARCH_STI=y |
| 63 | CONFIG_ARCH_EXYNOS=y | 63 | CONFIG_ARCH_EXYNOS=y |
| 64 | CONFIG_EXYNOS5420_MCPM=y | 64 | CONFIG_EXYNOS5420_MCPM=y |
| 65 | CONFIG_ARCH_SHMOBILE_MULTI=y | ||
| 66 | CONFIG_ARCH_EMEV2=y | ||
| 67 | CONFIG_ARCH_R7S72100=y | ||
| 68 | CONFIG_ARCH_R8A73A4=y | ||
| 69 | CONFIG_ARCH_R8A7740=y | ||
| 70 | CONFIG_ARCH_R8A7779=y | ||
| 71 | CONFIG_ARCH_R8A7790=y | ||
| 72 | CONFIG_ARCH_R8A7791=y | ||
| 73 | CONFIG_ARCH_R8A7794=y | ||
| 74 | CONFIG_ARCH_SH73A0=y | ||
| 75 | CONFIG_MACH_MARZEN=y | ||
| 65 | CONFIG_ARCH_SUNXI=y | 76 | CONFIG_ARCH_SUNXI=y |
| 66 | CONFIG_ARCH_SIRF=y | 77 | CONFIG_ARCH_SIRF=y |
| 67 | CONFIG_ARCH_TEGRA=y | 78 | CONFIG_ARCH_TEGRA=y |
| @@ -84,6 +95,8 @@ CONFIG_PCI_KEYSTONE=y | |||
| 84 | CONFIG_PCI_MSI=y | 95 | CONFIG_PCI_MSI=y |
| 85 | CONFIG_PCI_MVEBU=y | 96 | CONFIG_PCI_MVEBU=y |
| 86 | CONFIG_PCI_TEGRA=y | 97 | CONFIG_PCI_TEGRA=y |
| 98 | CONFIG_PCI_RCAR_GEN2=y | ||
| 99 | CONFIG_PCI_RCAR_GEN2_PCIE=y | ||
| 87 | CONFIG_PCIEPORTBUS=y | 100 | CONFIG_PCIEPORTBUS=y |
| 88 | CONFIG_SMP=y | 101 | CONFIG_SMP=y |
| 89 | CONFIG_NR_CPUS=8 | 102 | CONFIG_NR_CPUS=8 |
| @@ -130,6 +143,7 @@ CONFIG_DEVTMPFS_MOUNT=y | |||
| 130 | CONFIG_DMA_CMA=y | 143 | CONFIG_DMA_CMA=y |
| 131 | CONFIG_CMA_SIZE_MBYTES=64 | 144 | CONFIG_CMA_SIZE_MBYTES=64 |
| 132 | CONFIG_OMAP_OCP2SCP=y | 145 | CONFIG_OMAP_OCP2SCP=y |
| 146 | CONFIG_SIMPLE_PM_BUS=y | ||
| 133 | CONFIG_MTD=y | 147 | CONFIG_MTD=y |
| 134 | CONFIG_MTD_CMDLINE_PARTS=y | 148 | CONFIG_MTD_CMDLINE_PARTS=y |
| 135 | CONFIG_MTD_BLOCK=y | 149 | CONFIG_MTD_BLOCK=y |
| @@ -157,6 +171,7 @@ CONFIG_AHCI_SUNXI=y | |||
| 157 | CONFIG_AHCI_TEGRA=y | 171 | CONFIG_AHCI_TEGRA=y |
| 158 | CONFIG_SATA_HIGHBANK=y | 172 | CONFIG_SATA_HIGHBANK=y |
| 159 | CONFIG_SATA_MV=y | 173 | CONFIG_SATA_MV=y |
| 174 | CONFIG_SATA_RCAR=y | ||
| 160 | CONFIG_NETDEVICES=y | 175 | CONFIG_NETDEVICES=y |
| 161 | CONFIG_HIX5HD2_GMAC=y | 176 | CONFIG_HIX5HD2_GMAC=y |
| 162 | CONFIG_SUN4I_EMAC=y | 177 | CONFIG_SUN4I_EMAC=y |
| @@ -167,14 +182,17 @@ CONFIG_MV643XX_ETH=y | |||
| 167 | CONFIG_MVNETA=y | 182 | CONFIG_MVNETA=y |
| 168 | CONFIG_KS8851=y | 183 | CONFIG_KS8851=y |
| 169 | CONFIG_R8169=y | 184 | CONFIG_R8169=y |
| 185 | CONFIG_SH_ETH=y | ||
| 170 | CONFIG_SMSC911X=y | 186 | CONFIG_SMSC911X=y |
| 171 | CONFIG_STMMAC_ETH=y | 187 | CONFIG_STMMAC_ETH=y |
| 172 | CONFIG_TI_CPSW=y | 188 | CONFIG_TI_CPSW=y |
| 173 | CONFIG_XILINX_EMACLITE=y | 189 | CONFIG_XILINX_EMACLITE=y |
| 174 | CONFIG_AT803X_PHY=y | 190 | CONFIG_AT803X_PHY=y |
| 175 | CONFIG_MARVELL_PHY=y | 191 | CONFIG_MARVELL_PHY=y |
| 192 | CONFIG_SMSC_PHY=y | ||
| 176 | CONFIG_BROADCOM_PHY=y | 193 | CONFIG_BROADCOM_PHY=y |
| 177 | CONFIG_ICPLUS_PHY=y | 194 | CONFIG_ICPLUS_PHY=y |
| 195 | CONFIG_MICREL_PHY=y | ||
| 178 | CONFIG_USB_PEGASUS=y | 196 | CONFIG_USB_PEGASUS=y |
| 179 | CONFIG_USB_USBNET=y | 197 | CONFIG_USB_USBNET=y |
| 180 | CONFIG_USB_NET_SMSC75XX=y | 198 | CONFIG_USB_NET_SMSC75XX=y |
| @@ -192,15 +210,18 @@ CONFIG_KEYBOARD_CROS_EC=y | |||
| 192 | CONFIG_MOUSE_PS2_ELANTECH=y | 210 | CONFIG_MOUSE_PS2_ELANTECH=y |
| 193 | CONFIG_INPUT_TOUCHSCREEN=y | 211 | CONFIG_INPUT_TOUCHSCREEN=y |
| 194 | CONFIG_TOUCHSCREEN_ATMEL_MXT=y | 212 | CONFIG_TOUCHSCREEN_ATMEL_MXT=y |
| 213 | CONFIG_TOUCHSCREEN_ST1232=m | ||
| 195 | CONFIG_TOUCHSCREEN_STMPE=y | 214 | CONFIG_TOUCHSCREEN_STMPE=y |
| 196 | CONFIG_TOUCHSCREEN_SUN4I=y | 215 | CONFIG_TOUCHSCREEN_SUN4I=y |
| 197 | CONFIG_INPUT_MISC=y | 216 | CONFIG_INPUT_MISC=y |
| 198 | CONFIG_INPUT_MPU3050=y | 217 | CONFIG_INPUT_MPU3050=y |
| 199 | CONFIG_INPUT_AXP20X_PEK=y | 218 | CONFIG_INPUT_AXP20X_PEK=y |
| 219 | CONFIG_INPUT_ADXL34X=m | ||
| 200 | CONFIG_SERIO_AMBAKMI=y | 220 | CONFIG_SERIO_AMBAKMI=y |
| 201 | CONFIG_SERIAL_8250=y | 221 | CONFIG_SERIAL_8250=y |
| 202 | CONFIG_SERIAL_8250_CONSOLE=y | 222 | CONFIG_SERIAL_8250_CONSOLE=y |
| 203 | CONFIG_SERIAL_8250_DW=y | 223 | CONFIG_SERIAL_8250_DW=y |
| 224 | CONFIG_SERIAL_8250_EM=y | ||
| 204 | CONFIG_SERIAL_8250_MT6577=y | 225 | CONFIG_SERIAL_8250_MT6577=y |
| 205 | CONFIG_SERIAL_AMBA_PL011=y | 226 | CONFIG_SERIAL_AMBA_PL011=y |
| 206 | CONFIG_SERIAL_AMBA_PL011_CONSOLE=y | 227 | CONFIG_SERIAL_AMBA_PL011_CONSOLE=y |
| @@ -213,6 +234,9 @@ CONFIG_SERIAL_SIRFSOC_CONSOLE=y | |||
| 213 | CONFIG_SERIAL_TEGRA=y | 234 | CONFIG_SERIAL_TEGRA=y |
| 214 | CONFIG_SERIAL_IMX=y | 235 | CONFIG_SERIAL_IMX=y |
| 215 | CONFIG_SERIAL_IMX_CONSOLE=y | 236 | CONFIG_SERIAL_IMX_CONSOLE=y |
| 237 | CONFIG_SERIAL_SH_SCI=y | ||
| 238 | CONFIG_SERIAL_SH_SCI_NR_UARTS=20 | ||
| 239 | CONFIG_SERIAL_SH_SCI_CONSOLE=y | ||
| 216 | CONFIG_SERIAL_MSM=y | 240 | CONFIG_SERIAL_MSM=y |
| 217 | CONFIG_SERIAL_MSM_CONSOLE=y | 241 | CONFIG_SERIAL_MSM_CONSOLE=y |
| 218 | CONFIG_SERIAL_VT8500=y | 242 | CONFIG_SERIAL_VT8500=y |
| @@ -233,19 +257,26 @@ CONFIG_I2C_MUX_PCA954x=y | |||
| 233 | CONFIG_I2C_MUX_PINCTRL=y | 257 | CONFIG_I2C_MUX_PINCTRL=y |
| 234 | CONFIG_I2C_CADENCE=y | 258 | CONFIG_I2C_CADENCE=y |
| 235 | CONFIG_I2C_DESIGNWARE_PLATFORM=y | 259 | CONFIG_I2C_DESIGNWARE_PLATFORM=y |
| 260 | CONFIG_I2C_GPIO=m | ||
| 236 | CONFIG_I2C_EXYNOS5=y | 261 | CONFIG_I2C_EXYNOS5=y |
| 237 | CONFIG_I2C_MV64XXX=y | 262 | CONFIG_I2C_MV64XXX=y |
| 263 | CONFIG_I2C_RIIC=y | ||
| 238 | CONFIG_I2C_S3C2410=y | 264 | CONFIG_I2C_S3C2410=y |
| 265 | CONFIG_I2C_SH_MOBILE=y | ||
| 239 | CONFIG_I2C_SIRF=y | 266 | CONFIG_I2C_SIRF=y |
| 240 | CONFIG_I2C_TEGRA=y | ||
| 241 | CONFIG_I2C_ST=y | 267 | CONFIG_I2C_ST=y |
| 242 | CONFIG_SPI=y | 268 | CONFIG_I2C_TEGRA=y |
| 243 | CONFIG_I2C_XILINX=y | 269 | CONFIG_I2C_XILINX=y |
| 244 | CONFIG_SPI_DAVINCI=y | 270 | CONFIG_I2C_RCAR=y |
| 271 | CONFIG_SPI=y | ||
| 245 | CONFIG_SPI_CADENCE=y | 272 | CONFIG_SPI_CADENCE=y |
| 273 | CONFIG_SPI_DAVINCI=y | ||
| 246 | CONFIG_SPI_OMAP24XX=y | 274 | CONFIG_SPI_OMAP24XX=y |
| 247 | CONFIG_SPI_ORION=y | 275 | CONFIG_SPI_ORION=y |
| 248 | CONFIG_SPI_PL022=y | 276 | CONFIG_SPI_PL022=y |
| 277 | CONFIG_SPI_RSPI=y | ||
| 278 | CONFIG_SPI_SH_MSIOF=m | ||
| 279 | CONFIG_SPI_SH_HSPI=y | ||
| 249 | CONFIG_SPI_SIRF=y | 280 | CONFIG_SPI_SIRF=y |
| 250 | CONFIG_SPI_SUN4I=y | 281 | CONFIG_SPI_SUN4I=y |
| 251 | CONFIG_SPI_SUN6I=y | 282 | CONFIG_SPI_SUN6I=y |
| @@ -259,12 +290,15 @@ CONFIG_PINCTRL_PALMAS=y | |||
| 259 | CONFIG_PINCTRL_APQ8084=y | 290 | CONFIG_PINCTRL_APQ8084=y |
| 260 | CONFIG_GPIO_SYSFS=y | 291 | CONFIG_GPIO_SYSFS=y |
| 261 | CONFIG_GPIO_GENERIC_PLATFORM=y | 292 | CONFIG_GPIO_GENERIC_PLATFORM=y |
| 262 | CONFIG_GPIO_DWAPB=y | ||
| 263 | CONFIG_GPIO_DAVINCI=y | 293 | CONFIG_GPIO_DAVINCI=y |
| 294 | CONFIG_GPIO_DWAPB=y | ||
| 295 | CONFIG_GPIO_EM=y | ||
| 296 | CONFIG_GPIO_RCAR=y | ||
| 264 | CONFIG_GPIO_XILINX=y | 297 | CONFIG_GPIO_XILINX=y |
| 265 | CONFIG_GPIO_ZYNQ=y | 298 | CONFIG_GPIO_ZYNQ=y |
| 266 | CONFIG_GPIO_PCA953X=y | 299 | CONFIG_GPIO_PCA953X=y |
| 267 | CONFIG_GPIO_PCA953X_IRQ=y | 300 | CONFIG_GPIO_PCA953X_IRQ=y |
| 301 | CONFIG_GPIO_PCF857X=y | ||
| 268 | CONFIG_GPIO_TWL4030=y | 302 | CONFIG_GPIO_TWL4030=y |
| 269 | CONFIG_GPIO_PALMAS=y | 303 | CONFIG_GPIO_PALMAS=y |
| 270 | CONFIG_GPIO_SYSCON=y | 304 | CONFIG_GPIO_SYSCON=y |
| @@ -276,10 +310,12 @@ CONFIG_POWER_RESET_AS3722=y | |||
| 276 | CONFIG_POWER_RESET_GPIO=y | 310 | CONFIG_POWER_RESET_GPIO=y |
| 277 | CONFIG_POWER_RESET_KEYSTONE=y | 311 | CONFIG_POWER_RESET_KEYSTONE=y |
| 278 | CONFIG_POWER_RESET_SUN6I=y | 312 | CONFIG_POWER_RESET_SUN6I=y |
| 313 | CONFIG_POWER_RESET_RMOBILE=y | ||
| 279 | CONFIG_SENSORS_LM90=y | 314 | CONFIG_SENSORS_LM90=y |
| 280 | CONFIG_SENSORS_LM95245=y | 315 | CONFIG_SENSORS_LM95245=y |
| 281 | CONFIG_THERMAL=y | 316 | CONFIG_THERMAL=y |
| 282 | CONFIG_CPU_THERMAL=y | 317 | CONFIG_CPU_THERMAL=y |
| 318 | CONFIG_RCAR_THERMAL=y | ||
| 283 | CONFIG_ARMADA_THERMAL=y | 319 | CONFIG_ARMADA_THERMAL=y |
| 284 | CONFIG_DAVINCI_WATCHDOG | 320 | CONFIG_DAVINCI_WATCHDOG |
| 285 | CONFIG_ST_THERMAL_SYSCFG=y | 321 | CONFIG_ST_THERMAL_SYSCFG=y |
| @@ -290,6 +326,7 @@ CONFIG_ARM_SP805_WATCHDOG=y | |||
| 290 | CONFIG_ORION_WATCHDOG=y | 326 | CONFIG_ORION_WATCHDOG=y |
| 291 | CONFIG_SUNXI_WATCHDOG=y | 327 | CONFIG_SUNXI_WATCHDOG=y |
| 292 | CONFIG_MESON_WATCHDOG=y | 328 | CONFIG_MESON_WATCHDOG=y |
| 329 | CONFIG_MFD_AS3711=y | ||
| 293 | CONFIG_MFD_AS3722=y | 330 | CONFIG_MFD_AS3722=y |
| 294 | CONFIG_MFD_BCM590XX=y | 331 | CONFIG_MFD_BCM590XX=y |
| 295 | CONFIG_MFD_AXP20X=y | 332 | CONFIG_MFD_AXP20X=y |
| @@ -304,13 +341,16 @@ CONFIG_MFD_TPS65090=y | |||
| 304 | CONFIG_MFD_TPS6586X=y | 341 | CONFIG_MFD_TPS6586X=y |
| 305 | CONFIG_MFD_TPS65910=y | 342 | CONFIG_MFD_TPS65910=y |
| 306 | CONFIG_REGULATOR_AB8500=y | 343 | CONFIG_REGULATOR_AB8500=y |
| 344 | CONFIG_REGULATOR_AS3711=y | ||
| 307 | CONFIG_REGULATOR_AS3722=y | 345 | CONFIG_REGULATOR_AS3722=y |
| 308 | CONFIG_REGULATOR_AXP20X=y | 346 | CONFIG_REGULATOR_AXP20X=y |
| 309 | CONFIG_REGULATOR_BCM590XX=y | 347 | CONFIG_REGULATOR_BCM590XX=y |
| 348 | CONFIG_REGULATOR_DA9210=y | ||
| 310 | CONFIG_REGULATOR_GPIO=y | 349 | CONFIG_REGULATOR_GPIO=y |
| 311 | CONFIG_MFD_SYSCON=y | 350 | CONFIG_MFD_SYSCON=y |
| 312 | CONFIG_POWER_RESET_SYSCON=y | 351 | CONFIG_POWER_RESET_SYSCON=y |
| 313 | CONFIG_REGULATOR_MAX8907=y | 352 | CONFIG_REGULATOR_MAX8907=y |
| 353 | CONFIG_REGULATOR_MAX8973=y | ||
| 314 | CONFIG_REGULATOR_MAX77686=y | 354 | CONFIG_REGULATOR_MAX77686=y |
| 315 | CONFIG_REGULATOR_PALMAS=y | 355 | CONFIG_REGULATOR_PALMAS=y |
| 316 | CONFIG_REGULATOR_S2MPS11=y | 356 | CONFIG_REGULATOR_S2MPS11=y |
| @@ -324,18 +364,32 @@ CONFIG_REGULATOR_TWL4030=y | |||
| 324 | CONFIG_REGULATOR_VEXPRESS=y | 364 | CONFIG_REGULATOR_VEXPRESS=y |
| 325 | CONFIG_MEDIA_SUPPORT=y | 365 | CONFIG_MEDIA_SUPPORT=y |
| 326 | CONFIG_MEDIA_CAMERA_SUPPORT=y | 366 | CONFIG_MEDIA_CAMERA_SUPPORT=y |
| 367 | CONFIG_MEDIA_CONTROLLER=y | ||
| 368 | CONFIG_VIDEO_V4L2_SUBDEV_API=y | ||
| 327 | CONFIG_MEDIA_USB_SUPPORT=y | 369 | CONFIG_MEDIA_USB_SUPPORT=y |
| 328 | CONFIG_USB_VIDEO_CLASS=y | 370 | CONFIG_USB_VIDEO_CLASS=y |
| 329 | CONFIG_USB_GSPCA=y | 371 | CONFIG_USB_GSPCA=y |
| 372 | CONFIG_V4L_PLATFORM_DRIVERS=y | ||
| 373 | CONFIG_SOC_CAMERA=m | ||
| 374 | CONFIG_SOC_CAMERA_PLATFORM=m | ||
| 375 | CONFIG_VIDEO_RCAR_VIN=m | ||
| 376 | CONFIG_V4L_MEM2MEM_DRIVERS=y | ||
| 377 | CONFIG_VIDEO_RENESAS_VSP1=m | ||
| 378 | # CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set | ||
| 379 | CONFIG_VIDEO_ADV7180=m | ||
| 330 | CONFIG_DRM=y | 380 | CONFIG_DRM=y |
| 381 | CONFIG_DRM_RCAR_DU=m | ||
| 331 | CONFIG_DRM_TEGRA=y | 382 | CONFIG_DRM_TEGRA=y |
| 332 | CONFIG_DRM_PANEL_SIMPLE=y | 383 | CONFIG_DRM_PANEL_SIMPLE=y |
| 333 | CONFIG_FB_ARMCLCD=y | 384 | CONFIG_FB_ARMCLCD=y |
| 334 | CONFIG_FB_WM8505=y | 385 | CONFIG_FB_WM8505=y |
| 386 | CONFIG_FB_SH_MOBILE_LCDC=y | ||
| 335 | CONFIG_FB_SIMPLE=y | 387 | CONFIG_FB_SIMPLE=y |
| 388 | CONFIG_FB_SH_MOBILE_MERAM=y | ||
| 336 | CONFIG_BACKLIGHT_LCD_SUPPORT=y | 389 | CONFIG_BACKLIGHT_LCD_SUPPORT=y |
| 337 | CONFIG_BACKLIGHT_CLASS_DEVICE=y | 390 | CONFIG_BACKLIGHT_CLASS_DEVICE=y |
| 338 | CONFIG_BACKLIGHT_PWM=y | 391 | CONFIG_BACKLIGHT_PWM=y |
| 392 | CONFIG_BACKLIGHT_AS3711=y | ||
| 339 | CONFIG_FRAMEBUFFER_CONSOLE=y | 393 | CONFIG_FRAMEBUFFER_CONSOLE=y |
| 340 | CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y | 394 | CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y |
| 341 | CONFIG_SOUND=y | 395 | CONFIG_SOUND=y |
| @@ -343,6 +397,8 @@ CONFIG_SND=y | |||
| 343 | CONFIG_SND_DYNAMIC_MINORS=y | 397 | CONFIG_SND_DYNAMIC_MINORS=y |
| 344 | CONFIG_SND_USB_AUDIO=y | 398 | CONFIG_SND_USB_AUDIO=y |
| 345 | CONFIG_SND_SOC=y | 399 | CONFIG_SND_SOC=y |
| 400 | CONFIG_SND_SOC_SH4_FSI=m | ||
| 401 | CONFIG_SND_SOC_RCAR=m | ||
| 346 | CONFIG_SND_SOC_TEGRA=y | 402 | CONFIG_SND_SOC_TEGRA=y |
| 347 | CONFIG_SND_SOC_TEGRA_RT5640=y | 403 | CONFIG_SND_SOC_TEGRA_RT5640=y |
| 348 | CONFIG_SND_SOC_TEGRA_WM8753=y | 404 | CONFIG_SND_SOC_TEGRA_WM8753=y |
| @@ -350,6 +406,8 @@ CONFIG_SND_SOC_TEGRA_WM8903=y | |||
| 350 | CONFIG_SND_SOC_TEGRA_TRIMSLICE=y | 406 | CONFIG_SND_SOC_TEGRA_TRIMSLICE=y |
| 351 | CONFIG_SND_SOC_TEGRA_ALC5632=y | 407 | CONFIG_SND_SOC_TEGRA_ALC5632=y |
| 352 | CONFIG_SND_SOC_TEGRA_MAX98090=y | 408 | CONFIG_SND_SOC_TEGRA_MAX98090=y |
| 409 | CONFIG_SND_SOC_AK4642=m | ||
| 410 | CONFIG_SND_SOC_WM8978=m | ||
| 353 | CONFIG_USB=y | 411 | CONFIG_USB=y |
| 354 | CONFIG_USB_XHCI_HCD=y | 412 | CONFIG_USB_XHCI_HCD=y |
| 355 | CONFIG_USB_XHCI_MVEBU=y | 413 | CONFIG_USB_XHCI_MVEBU=y |
| @@ -362,6 +420,8 @@ CONFIG_USB_ISP1760_HCD=y | |||
| 362 | CONFIG_USB_OHCI_HCD=y | 420 | CONFIG_USB_OHCI_HCD=y |
| 363 | CONFIG_USB_OHCI_HCD_STI=y | 421 | CONFIG_USB_OHCI_HCD_STI=y |
| 364 | CONFIG_USB_OHCI_HCD_PLATFORM=y | 422 | CONFIG_USB_OHCI_HCD_PLATFORM=y |
| 423 | CONFIG_USB_R8A66597_HCD=m | ||
| 424 | CONFIG_USB_RENESAS_USBHS=m | ||
| 365 | CONFIG_USB_STORAGE=y | 425 | CONFIG_USB_STORAGE=y |
| 366 | CONFIG_USB_DWC3=y | 426 | CONFIG_USB_DWC3=y |
| 367 | CONFIG_USB_CHIPIDEA=y | 427 | CONFIG_USB_CHIPIDEA=y |
| @@ -374,6 +434,10 @@ CONFIG_SAMSUNG_USB3PHY=y | |||
| 374 | CONFIG_USB_GPIO_VBUS=y | 434 | CONFIG_USB_GPIO_VBUS=y |
| 375 | CONFIG_USB_ISP1301=y | 435 | CONFIG_USB_ISP1301=y |
| 376 | CONFIG_USB_MXS_PHY=y | 436 | CONFIG_USB_MXS_PHY=y |
| 437 | CONFIG_USB_RCAR_PHY=m | ||
| 438 | CONFIG_USB_RCAR_GEN2_PHY=m | ||
| 439 | CONFIG_USB_GADGET=y | ||
| 440 | CONFIG_USB_RENESAS_USBHS_UDC=m | ||
| 377 | CONFIG_MMC=y | 441 | CONFIG_MMC=y |
| 378 | CONFIG_MMC_BLOCK_MINORS=16 | 442 | CONFIG_MMC_BLOCK_MINORS=16 |
| 379 | CONFIG_MMC_ARMMMCI=y | 443 | CONFIG_MMC_ARMMMCI=y |
| @@ -392,12 +456,14 @@ CONFIG_MMC_SDHCI_ST=y | |||
| 392 | CONFIG_MMC_OMAP=y | 456 | CONFIG_MMC_OMAP=y |
| 393 | CONFIG_MMC_OMAP_HS=y | 457 | CONFIG_MMC_OMAP_HS=y |
| 394 | CONFIG_MMC_MVSDIO=y | 458 | CONFIG_MMC_MVSDIO=y |
| 395 | CONFIG_MMC_SUNXI=y | 459 | CONFIG_MMC_SDHI=y |
| 396 | CONFIG_MMC_DW=y | 460 | CONFIG_MMC_DW=y |
| 397 | CONFIG_MMC_DW_IDMAC=y | 461 | CONFIG_MMC_DW_IDMAC=y |
| 398 | CONFIG_MMC_DW_PLTFM=y | 462 | CONFIG_MMC_DW_PLTFM=y |
| 399 | CONFIG_MMC_DW_EXYNOS=y | 463 | CONFIG_MMC_DW_EXYNOS=y |
| 400 | CONFIG_MMC_DW_ROCKCHIP=y | 464 | CONFIG_MMC_DW_ROCKCHIP=y |
| 465 | CONFIG_MMC_SH_MMCIF=y | ||
| 466 | CONFIG_MMC_SUNXI=y | ||
| 401 | CONFIG_NEW_LEDS=y | 467 | CONFIG_NEW_LEDS=y |
| 402 | CONFIG_LEDS_CLASS=y | 468 | CONFIG_LEDS_CLASS=y |
| 403 | CONFIG_LEDS_GPIO=y | 469 | CONFIG_LEDS_GPIO=y |
| @@ -421,10 +487,12 @@ CONFIG_RTC_DRV_AS3722=y | |||
| 421 | CONFIG_RTC_DRV_DS1307=y | 487 | CONFIG_RTC_DRV_DS1307=y |
| 422 | CONFIG_RTC_DRV_MAX8907=y | 488 | CONFIG_RTC_DRV_MAX8907=y |
| 423 | CONFIG_RTC_DRV_MAX77686=y | 489 | CONFIG_RTC_DRV_MAX77686=y |
| 490 | CONFIG_RTC_DRV_RS5C372=m | ||
| 424 | CONFIG_RTC_DRV_PALMAS=y | 491 | CONFIG_RTC_DRV_PALMAS=y |
| 425 | CONFIG_RTC_DRV_TWL4030=y | 492 | CONFIG_RTC_DRV_TWL4030=y |
| 426 | CONFIG_RTC_DRV_TPS6586X=y | 493 | CONFIG_RTC_DRV_TPS6586X=y |
| 427 | CONFIG_RTC_DRV_TPS65910=y | 494 | CONFIG_RTC_DRV_TPS65910=y |
| 495 | CONFIG_RTC_DRV_S35390A=m | ||
| 428 | CONFIG_RTC_DRV_EM3027=y | 496 | CONFIG_RTC_DRV_EM3027=y |
| 429 | CONFIG_RTC_DRV_PL031=y | 497 | CONFIG_RTC_DRV_PL031=y |
| 430 | CONFIG_RTC_DRV_VT8500=y | 498 | CONFIG_RTC_DRV_VT8500=y |
| @@ -436,6 +504,9 @@ CONFIG_DMADEVICES=y | |||
| 436 | CONFIG_DW_DMAC=y | 504 | CONFIG_DW_DMAC=y |
| 437 | CONFIG_MV_XOR=y | 505 | CONFIG_MV_XOR=y |
| 438 | CONFIG_TEGRA20_APB_DMA=y | 506 | CONFIG_TEGRA20_APB_DMA=y |
| 507 | CONFIG_SH_DMAE=y | ||
| 508 | CONFIG_RCAR_AUDMAC_PP=m | ||
| 509 | CONFIG_RCAR_DMAC=y | ||
| 439 | CONFIG_STE_DMA40=y | 510 | CONFIG_STE_DMA40=y |
| 440 | CONFIG_SIRF_DMA=y | 511 | CONFIG_SIRF_DMA=y |
| 441 | CONFIG_TI_EDMA=y | 512 | CONFIG_TI_EDMA=y |
| @@ -468,6 +539,7 @@ CONFIG_IIO=y | |||
| 468 | CONFIG_XILINX_XADC=y | 539 | CONFIG_XILINX_XADC=y |
| 469 | CONFIG_AK8975=y | 540 | CONFIG_AK8975=y |
| 470 | CONFIG_PWM=y | 541 | CONFIG_PWM=y |
| 542 | CONFIG_PWM_RENESAS_TPU=y | ||
| 471 | CONFIG_PWM_TEGRA=y | 543 | CONFIG_PWM_TEGRA=y |
| 472 | CONFIG_PWM_VT8500=y | 544 | CONFIG_PWM_VT8500=y |
| 473 | CONFIG_PHY_HIX5HD2_SATA=y | 545 | CONFIG_PHY_HIX5HD2_SATA=y |
diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig index b7386524c356..a097cffa1231 100644 --- a/arch/arm/configs/omap2plus_defconfig +++ b/arch/arm/configs/omap2plus_defconfig | |||
| @@ -114,6 +114,7 @@ CONFIG_MTD_PHYSMAP_OF=y | |||
| 114 | CONFIG_MTD_NAND=y | 114 | CONFIG_MTD_NAND=y |
| 115 | CONFIG_MTD_NAND_ECC_BCH=y | 115 | CONFIG_MTD_NAND_ECC_BCH=y |
| 116 | CONFIG_MTD_NAND_OMAP2=y | 116 | CONFIG_MTD_NAND_OMAP2=y |
| 117 | CONFIG_MTD_NAND_OMAP_BCH=y | ||
| 117 | CONFIG_MTD_ONENAND=y | 118 | CONFIG_MTD_ONENAND=y |
| 118 | CONFIG_MTD_ONENAND_VERIFY_WRITE=y | 119 | CONFIG_MTD_ONENAND_VERIFY_WRITE=y |
| 119 | CONFIG_MTD_ONENAND_OMAP2=y | 120 | CONFIG_MTD_ONENAND_OMAP2=y |
| @@ -248,6 +249,7 @@ CONFIG_TWL6040_CORE=y | |||
| 248 | CONFIG_REGULATOR_PALMAS=y | 249 | CONFIG_REGULATOR_PALMAS=y |
| 249 | CONFIG_REGULATOR_PBIAS=y | 250 | CONFIG_REGULATOR_PBIAS=y |
| 250 | CONFIG_REGULATOR_TI_ABB=y | 251 | CONFIG_REGULATOR_TI_ABB=y |
| 252 | CONFIG_REGULATOR_TPS62360=m | ||
| 251 | CONFIG_REGULATOR_TPS65023=y | 253 | CONFIG_REGULATOR_TPS65023=y |
| 252 | CONFIG_REGULATOR_TPS6507X=y | 254 | CONFIG_REGULATOR_TPS6507X=y |
| 253 | CONFIG_REGULATOR_TPS65217=y | 255 | CONFIG_REGULATOR_TPS65217=y |
| @@ -374,7 +376,7 @@ CONFIG_PWM_TIEHRPWM=m | |||
| 374 | CONFIG_PWM_TWL=m | 376 | CONFIG_PWM_TWL=m |
| 375 | CONFIG_PWM_TWL_LED=m | 377 | CONFIG_PWM_TWL_LED=m |
| 376 | CONFIG_OMAP_USB2=m | 378 | CONFIG_OMAP_USB2=m |
| 377 | CONFIG_TI_PIPE3=m | 379 | CONFIG_TI_PIPE3=y |
| 378 | CONFIG_EXT2_FS=y | 380 | CONFIG_EXT2_FS=y |
| 379 | CONFIG_EXT3_FS=y | 381 | CONFIG_EXT3_FS=y |
| 380 | # CONFIG_EXT3_FS_XATTR is not set | 382 | # CONFIG_EXT3_FS_XATTR is not set |
diff --git a/arch/arm64/boot/dts/arm/foundation-v8.dts b/arch/arm64/boot/dts/arm/foundation-v8.dts index 27f32962e55c..4eac8dcea423 100644 --- a/arch/arm64/boot/dts/arm/foundation-v8.dts +++ b/arch/arm64/boot/dts/arm/foundation-v8.dts | |||
| @@ -34,6 +34,7 @@ | |||
| 34 | reg = <0x0 0x0>; | 34 | reg = <0x0 0x0>; |
| 35 | enable-method = "spin-table"; | 35 | enable-method = "spin-table"; |
| 36 | cpu-release-addr = <0x0 0x8000fff8>; | 36 | cpu-release-addr = <0x0 0x8000fff8>; |
| 37 | next-level-cache = <&L2_0>; | ||
| 37 | }; | 38 | }; |
| 38 | cpu@1 { | 39 | cpu@1 { |
| 39 | device_type = "cpu"; | 40 | device_type = "cpu"; |
| @@ -41,6 +42,7 @@ | |||
| 41 | reg = <0x0 0x1>; | 42 | reg = <0x0 0x1>; |
| 42 | enable-method = "spin-table"; | 43 | enable-method = "spin-table"; |
| 43 | cpu-release-addr = <0x0 0x8000fff8>; | 44 | cpu-release-addr = <0x0 0x8000fff8>; |
| 45 | next-level-cache = <&L2_0>; | ||
| 44 | }; | 46 | }; |
| 45 | cpu@2 { | 47 | cpu@2 { |
| 46 | device_type = "cpu"; | 48 | device_type = "cpu"; |
| @@ -48,6 +50,7 @@ | |||
| 48 | reg = <0x0 0x2>; | 50 | reg = <0x0 0x2>; |
| 49 | enable-method = "spin-table"; | 51 | enable-method = "spin-table"; |
| 50 | cpu-release-addr = <0x0 0x8000fff8>; | 52 | cpu-release-addr = <0x0 0x8000fff8>; |
| 53 | next-level-cache = <&L2_0>; | ||
| 51 | }; | 54 | }; |
| 52 | cpu@3 { | 55 | cpu@3 { |
| 53 | device_type = "cpu"; | 56 | device_type = "cpu"; |
| @@ -55,6 +58,11 @@ | |||
| 55 | reg = <0x0 0x3>; | 58 | reg = <0x0 0x3>; |
| 56 | enable-method = "spin-table"; | 59 | enable-method = "spin-table"; |
| 57 | cpu-release-addr = <0x0 0x8000fff8>; | 60 | cpu-release-addr = <0x0 0x8000fff8>; |
| 61 | next-level-cache = <&L2_0>; | ||
| 62 | }; | ||
| 63 | |||
| 64 | L2_0: l2-cache0 { | ||
| 65 | compatible = "cache"; | ||
| 58 | }; | 66 | }; |
| 59 | }; | 67 | }; |
| 60 | 68 | ||
diff --git a/arch/arm64/boot/dts/arm/juno.dts b/arch/arm64/boot/dts/arm/juno.dts index d429129ecb3d..133ee59de2d7 100644 --- a/arch/arm64/boot/dts/arm/juno.dts +++ b/arch/arm64/boot/dts/arm/juno.dts | |||
| @@ -39,6 +39,7 @@ | |||
| 39 | reg = <0x0 0x0>; | 39 | reg = <0x0 0x0>; |
| 40 | device_type = "cpu"; | 40 | device_type = "cpu"; |
| 41 | enable-method = "psci"; | 41 | enable-method = "psci"; |
| 42 | next-level-cache = <&A57_L2>; | ||
| 42 | }; | 43 | }; |
| 43 | 44 | ||
| 44 | A57_1: cpu@1 { | 45 | A57_1: cpu@1 { |
| @@ -46,6 +47,7 @@ | |||
| 46 | reg = <0x0 0x1>; | 47 | reg = <0x0 0x1>; |
| 47 | device_type = "cpu"; | 48 | device_type = "cpu"; |
| 48 | enable-method = "psci"; | 49 | enable-method = "psci"; |
| 50 | next-level-cache = <&A57_L2>; | ||
| 49 | }; | 51 | }; |
| 50 | 52 | ||
| 51 | A53_0: cpu@100 { | 53 | A53_0: cpu@100 { |
| @@ -53,6 +55,7 @@ | |||
| 53 | reg = <0x0 0x100>; | 55 | reg = <0x0 0x100>; |
| 54 | device_type = "cpu"; | 56 | device_type = "cpu"; |
| 55 | enable-method = "psci"; | 57 | enable-method = "psci"; |
| 58 | next-level-cache = <&A53_L2>; | ||
| 56 | }; | 59 | }; |
| 57 | 60 | ||
| 58 | A53_1: cpu@101 { | 61 | A53_1: cpu@101 { |
| @@ -60,6 +63,7 @@ | |||
| 60 | reg = <0x0 0x101>; | 63 | reg = <0x0 0x101>; |
| 61 | device_type = "cpu"; | 64 | device_type = "cpu"; |
| 62 | enable-method = "psci"; | 65 | enable-method = "psci"; |
| 66 | next-level-cache = <&A53_L2>; | ||
| 63 | }; | 67 | }; |
| 64 | 68 | ||
| 65 | A53_2: cpu@102 { | 69 | A53_2: cpu@102 { |
| @@ -67,6 +71,7 @@ | |||
| 67 | reg = <0x0 0x102>; | 71 | reg = <0x0 0x102>; |
| 68 | device_type = "cpu"; | 72 | device_type = "cpu"; |
| 69 | enable-method = "psci"; | 73 | enable-method = "psci"; |
| 74 | next-level-cache = <&A53_L2>; | ||
| 70 | }; | 75 | }; |
| 71 | 76 | ||
| 72 | A53_3: cpu@103 { | 77 | A53_3: cpu@103 { |
| @@ -74,6 +79,15 @@ | |||
| 74 | reg = <0x0 0x103>; | 79 | reg = <0x0 0x103>; |
| 75 | device_type = "cpu"; | 80 | device_type = "cpu"; |
| 76 | enable-method = "psci"; | 81 | enable-method = "psci"; |
| 82 | next-level-cache = <&A53_L2>; | ||
| 83 | }; | ||
| 84 | |||
| 85 | A57_L2: l2-cache0 { | ||
| 86 | compatible = "cache"; | ||
| 87 | }; | ||
| 88 | |||
| 89 | A53_L2: l2-cache1 { | ||
| 90 | compatible = "cache"; | ||
| 77 | }; | 91 | }; |
| 78 | }; | 92 | }; |
| 79 | 93 | ||
diff --git a/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts b/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts index efc59b3baf63..20addabbd127 100644 --- a/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts +++ b/arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dts | |||
| @@ -37,6 +37,7 @@ | |||
| 37 | reg = <0x0 0x0>; | 37 | reg = <0x0 0x0>; |
| 38 | enable-method = "spin-table"; | 38 | enable-method = "spin-table"; |
| 39 | cpu-release-addr = <0x0 0x8000fff8>; | 39 | cpu-release-addr = <0x0 0x8000fff8>; |
| 40 | next-level-cache = <&L2_0>; | ||
| 40 | }; | 41 | }; |
| 41 | cpu@1 { | 42 | cpu@1 { |
| 42 | device_type = "cpu"; | 43 | device_type = "cpu"; |
| @@ -44,6 +45,7 @@ | |||
| 44 | reg = <0x0 0x1>; | 45 | reg = <0x0 0x1>; |
| 45 | enable-method = "spin-table"; | 46 | enable-method = "spin-table"; |
| 46 | cpu-release-addr = <0x0 0x8000fff8>; | 47 | cpu-release-addr = <0x0 0x8000fff8>; |
| 48 | next-level-cache = <&L2_0>; | ||
| 47 | }; | 49 | }; |
| 48 | cpu@2 { | 50 | cpu@2 { |
| 49 | device_type = "cpu"; | 51 | device_type = "cpu"; |
| @@ -51,6 +53,7 @@ | |||
| 51 | reg = <0x0 0x2>; | 53 | reg = <0x0 0x2>; |
| 52 | enable-method = "spin-table"; | 54 | enable-method = "spin-table"; |
| 53 | cpu-release-addr = <0x0 0x8000fff8>; | 55 | cpu-release-addr = <0x0 0x8000fff8>; |
| 56 | next-level-cache = <&L2_0>; | ||
| 54 | }; | 57 | }; |
| 55 | cpu@3 { | 58 | cpu@3 { |
| 56 | device_type = "cpu"; | 59 | device_type = "cpu"; |
| @@ -58,6 +61,11 @@ | |||
| 58 | reg = <0x0 0x3>; | 61 | reg = <0x0 0x3>; |
| 59 | enable-method = "spin-table"; | 62 | enable-method = "spin-table"; |
| 60 | cpu-release-addr = <0x0 0x8000fff8>; | 63 | cpu-release-addr = <0x0 0x8000fff8>; |
| 64 | next-level-cache = <&L2_0>; | ||
| 65 | }; | ||
| 66 | |||
| 67 | L2_0: l2-cache0 { | ||
| 68 | compatible = "cache"; | ||
| 61 | }; | 69 | }; |
| 62 | }; | 70 | }; |
| 63 | 71 | ||
diff --git a/arch/arm64/crypto/Makefile b/arch/arm64/crypto/Makefile index 5720608c50b1..abb79b3cfcfe 100644 --- a/arch/arm64/crypto/Makefile +++ b/arch/arm64/crypto/Makefile | |||
| @@ -29,7 +29,7 @@ aes-ce-blk-y := aes-glue-ce.o aes-ce.o | |||
| 29 | obj-$(CONFIG_CRYPTO_AES_ARM64_NEON_BLK) += aes-neon-blk.o | 29 | obj-$(CONFIG_CRYPTO_AES_ARM64_NEON_BLK) += aes-neon-blk.o |
| 30 | aes-neon-blk-y := aes-glue-neon.o aes-neon.o | 30 | aes-neon-blk-y := aes-glue-neon.o aes-neon.o |
| 31 | 31 | ||
| 32 | AFLAGS_aes-ce.o := -DINTERLEAVE=2 -DINTERLEAVE_INLINE | 32 | AFLAGS_aes-ce.o := -DINTERLEAVE=4 |
| 33 | AFLAGS_aes-neon.o := -DINTERLEAVE=4 | 33 | AFLAGS_aes-neon.o := -DINTERLEAVE=4 |
| 34 | 34 | ||
| 35 | CFLAGS_aes-glue-ce.o := -DUSE_V8_CRYPTO_EXTENSIONS | 35 | CFLAGS_aes-glue-ce.o := -DUSE_V8_CRYPTO_EXTENSIONS |
diff --git a/arch/arm64/include/asm/assembler.h b/arch/arm64/include/asm/assembler.h index 5901480bfdca..750bac4e637e 100644 --- a/arch/arm64/include/asm/assembler.h +++ b/arch/arm64/include/asm/assembler.h | |||
| @@ -20,6 +20,9 @@ | |||
| 20 | #error "Only include this from assembly code" | 20 | #error "Only include this from assembly code" |
| 21 | #endif | 21 | #endif |
| 22 | 22 | ||
| 23 | #ifndef __ASM_ASSEMBLER_H | ||
| 24 | #define __ASM_ASSEMBLER_H | ||
| 25 | |||
| 23 | #include <asm/ptrace.h> | 26 | #include <asm/ptrace.h> |
| 24 | #include <asm/thread_info.h> | 27 | #include <asm/thread_info.h> |
| 25 | 28 | ||
| @@ -155,3 +158,5 @@ lr .req x30 // link register | |||
| 155 | #endif | 158 | #endif |
| 156 | orr \rd, \lbits, \hbits, lsl #32 | 159 | orr \rd, \lbits, \hbits, lsl #32 |
| 157 | .endm | 160 | .endm |
| 161 | |||
| 162 | #endif /* __ASM_ASSEMBLER_H */ | ||
diff --git a/arch/arm64/include/asm/cpuidle.h b/arch/arm64/include/asm/cpuidle.h index 0710654631e7..c60643f14cda 100644 --- a/arch/arm64/include/asm/cpuidle.h +++ b/arch/arm64/include/asm/cpuidle.h | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | #ifndef __ASM_CPUIDLE_H | 1 | #ifndef __ASM_CPUIDLE_H |
| 2 | #define __ASM_CPUIDLE_H | 2 | #define __ASM_CPUIDLE_H |
| 3 | 3 | ||
| 4 | #include <asm/proc-fns.h> | ||
| 5 | |||
| 4 | #ifdef CONFIG_CPU_IDLE | 6 | #ifdef CONFIG_CPU_IDLE |
| 5 | extern int cpu_init_idle(unsigned int cpu); | 7 | extern int cpu_init_idle(unsigned int cpu); |
| 6 | extern int cpu_suspend(unsigned long arg); | 8 | extern int cpu_suspend(unsigned long arg); |
diff --git a/arch/arm64/include/asm/insn.h b/arch/arm64/include/asm/insn.h index e2ff32a93b5c..d2f49423c5dc 100644 --- a/arch/arm64/include/asm/insn.h +++ b/arch/arm64/include/asm/insn.h | |||
| @@ -264,8 +264,10 @@ __AARCH64_INSN_FUNCS(ands, 0x7F200000, 0x6A000000) | |||
| 264 | __AARCH64_INSN_FUNCS(bics, 0x7F200000, 0x6A200000) | 264 | __AARCH64_INSN_FUNCS(bics, 0x7F200000, 0x6A200000) |
| 265 | __AARCH64_INSN_FUNCS(b, 0xFC000000, 0x14000000) | 265 | __AARCH64_INSN_FUNCS(b, 0xFC000000, 0x14000000) |
| 266 | __AARCH64_INSN_FUNCS(bl, 0xFC000000, 0x94000000) | 266 | __AARCH64_INSN_FUNCS(bl, 0xFC000000, 0x94000000) |
| 267 | __AARCH64_INSN_FUNCS(cbz, 0xFE000000, 0x34000000) | 267 | __AARCH64_INSN_FUNCS(cbz, 0x7F000000, 0x34000000) |
| 268 | __AARCH64_INSN_FUNCS(cbnz, 0xFE000000, 0x35000000) | 268 | __AARCH64_INSN_FUNCS(cbnz, 0x7F000000, 0x35000000) |
| 269 | __AARCH64_INSN_FUNCS(tbz, 0x7F000000, 0x36000000) | ||
| 270 | __AARCH64_INSN_FUNCS(tbnz, 0x7F000000, 0x37000000) | ||
| 269 | __AARCH64_INSN_FUNCS(bcond, 0xFF000010, 0x54000000) | 271 | __AARCH64_INSN_FUNCS(bcond, 0xFF000010, 0x54000000) |
| 270 | __AARCH64_INSN_FUNCS(svc, 0xFFE0001F, 0xD4000001) | 272 | __AARCH64_INSN_FUNCS(svc, 0xFFE0001F, 0xD4000001) |
| 271 | __AARCH64_INSN_FUNCS(hvc, 0xFFE0001F, 0xD4000002) | 273 | __AARCH64_INSN_FUNCS(hvc, 0xFFE0001F, 0xD4000002) |
diff --git a/arch/arm64/include/asm/pgtable.h b/arch/arm64/include/asm/pgtable.h index 16449c535e50..800ec0e87ed9 100644 --- a/arch/arm64/include/asm/pgtable.h +++ b/arch/arm64/include/asm/pgtable.h | |||
| @@ -460,7 +460,7 @@ static inline pud_t *pud_offset(pgd_t *pgd, unsigned long addr) | |||
| 460 | static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) | 460 | static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) |
| 461 | { | 461 | { |
| 462 | const pteval_t mask = PTE_USER | PTE_PXN | PTE_UXN | PTE_RDONLY | | 462 | const pteval_t mask = PTE_USER | PTE_PXN | PTE_UXN | PTE_RDONLY | |
| 463 | PTE_PROT_NONE | PTE_VALID | PTE_WRITE; | 463 | PTE_PROT_NONE | PTE_WRITE | PTE_TYPE_MASK; |
| 464 | pte_val(pte) = (pte_val(pte) & ~mask) | (pgprot_val(newprot) & mask); | 464 | pte_val(pte) = (pte_val(pte) & ~mask) | (pgprot_val(newprot) & mask); |
| 465 | return pte; | 465 | return pte; |
| 466 | } | 466 | } |
diff --git a/arch/arm64/include/asm/processor.h b/arch/arm64/include/asm/processor.h index f9be30ea1cbd..20e9591a60cf 100644 --- a/arch/arm64/include/asm/processor.h +++ b/arch/arm64/include/asm/processor.h | |||
| @@ -45,7 +45,8 @@ | |||
| 45 | #define STACK_TOP STACK_TOP_MAX | 45 | #define STACK_TOP STACK_TOP_MAX |
| 46 | #endif /* CONFIG_COMPAT */ | 46 | #endif /* CONFIG_COMPAT */ |
| 47 | 47 | ||
| 48 | #define ARCH_LOW_ADDRESS_LIMIT PHYS_MASK | 48 | extern phys_addr_t arm64_dma_phys_limit; |
| 49 | #define ARCH_LOW_ADDRESS_LIMIT (arm64_dma_phys_limit - 1) | ||
| 49 | #endif /* __KERNEL__ */ | 50 | #endif /* __KERNEL__ */ |
| 50 | 51 | ||
| 51 | struct debug_info { | 52 | struct debug_info { |
diff --git a/arch/arm64/include/asm/tlbflush.h b/arch/arm64/include/asm/tlbflush.h index 73f0ce570fb3..4abe9b945f77 100644 --- a/arch/arm64/include/asm/tlbflush.h +++ b/arch/arm64/include/asm/tlbflush.h | |||
| @@ -24,11 +24,6 @@ | |||
| 24 | #include <linux/sched.h> | 24 | #include <linux/sched.h> |
| 25 | #include <asm/cputype.h> | 25 | #include <asm/cputype.h> |
| 26 | 26 | ||
| 27 | extern void __cpu_flush_user_tlb_range(unsigned long, unsigned long, struct vm_area_struct *); | ||
| 28 | extern void __cpu_flush_kern_tlb_range(unsigned long, unsigned long); | ||
| 29 | |||
| 30 | extern struct cpu_tlb_fns cpu_tlb; | ||
| 31 | |||
| 32 | /* | 27 | /* |
| 33 | * TLB Management | 28 | * TLB Management |
| 34 | * ============== | 29 | * ============== |
diff --git a/arch/arm64/kernel/Makefile b/arch/arm64/kernel/Makefile index bef04afd6031..5ee07eee80c2 100644 --- a/arch/arm64/kernel/Makefile +++ b/arch/arm64/kernel/Makefile | |||
| @@ -15,8 +15,9 @@ CFLAGS_REMOVE_return_address.o = -pg | |||
| 15 | arm64-obj-y := cputable.o debug-monitors.o entry.o irq.o fpsimd.o \ | 15 | arm64-obj-y := cputable.o debug-monitors.o entry.o irq.o fpsimd.o \ |
| 16 | entry-fpsimd.o process.o ptrace.o setup.o signal.o \ | 16 | entry-fpsimd.o process.o ptrace.o setup.o signal.o \ |
| 17 | sys.o stacktrace.o time.o traps.o io.o vdso.o \ | 17 | sys.o stacktrace.o time.o traps.o io.o vdso.o \ |
| 18 | hyp-stub.o psci.o cpu_ops.o insn.o return_address.o \ | 18 | hyp-stub.o psci.o psci-call.o cpu_ops.o insn.o \ |
| 19 | cpuinfo.o cpu_errata.o alternative.o cacheinfo.o | 19 | return_address.o cpuinfo.o cpu_errata.o \ |
| 20 | alternative.o cacheinfo.o | ||
| 20 | 21 | ||
| 21 | arm64-obj-$(CONFIG_COMPAT) += sys32.o kuser32.o signal32.o \ | 22 | arm64-obj-$(CONFIG_COMPAT) += sys32.o kuser32.o signal32.o \ |
| 22 | sys_compat.o entry32.o \ | 23 | sys_compat.o entry32.o \ |
diff --git a/arch/arm64/kernel/ftrace.c b/arch/arm64/kernel/ftrace.c index cf8556ae09d0..c851be795080 100644 --- a/arch/arm64/kernel/ftrace.c +++ b/arch/arm64/kernel/ftrace.c | |||
| @@ -156,7 +156,7 @@ static int ftrace_modify_graph_caller(bool enable) | |||
| 156 | 156 | ||
| 157 | branch = aarch64_insn_gen_branch_imm(pc, | 157 | branch = aarch64_insn_gen_branch_imm(pc, |
| 158 | (unsigned long)ftrace_graph_caller, | 158 | (unsigned long)ftrace_graph_caller, |
| 159 | AARCH64_INSN_BRANCH_LINK); | 159 | AARCH64_INSN_BRANCH_NOLINK); |
| 160 | nop = aarch64_insn_gen_nop(); | 160 | nop = aarch64_insn_gen_nop(); |
| 161 | 161 | ||
| 162 | if (enable) | 162 | if (enable) |
diff --git a/arch/arm64/kernel/insn.c b/arch/arm64/kernel/insn.c index 27d4864577e5..c8eca88f12e6 100644 --- a/arch/arm64/kernel/insn.c +++ b/arch/arm64/kernel/insn.c | |||
| @@ -87,8 +87,10 @@ static void __kprobes *patch_map(void *addr, int fixmap) | |||
| 87 | 87 | ||
| 88 | if (module && IS_ENABLED(CONFIG_DEBUG_SET_MODULE_RONX)) | 88 | if (module && IS_ENABLED(CONFIG_DEBUG_SET_MODULE_RONX)) |
| 89 | page = vmalloc_to_page(addr); | 89 | page = vmalloc_to_page(addr); |
| 90 | else | 90 | else if (!module && IS_ENABLED(CONFIG_DEBUG_RODATA)) |
| 91 | page = virt_to_page(addr); | 91 | page = virt_to_page(addr); |
| 92 | else | ||
| 93 | return addr; | ||
| 92 | 94 | ||
| 93 | BUG_ON(!page); | 95 | BUG_ON(!page); |
| 94 | set_fixmap(fixmap, page_to_phys(page)); | 96 | set_fixmap(fixmap, page_to_phys(page)); |
diff --git a/arch/arm64/kernel/psci-call.S b/arch/arm64/kernel/psci-call.S new file mode 100644 index 000000000000..cf83e61cd3b5 --- /dev/null +++ b/arch/arm64/kernel/psci-call.S | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | /* | ||
| 2 | * This program is free software; you can redistribute it and/or modify | ||
| 3 | * it under the terms of the GNU General Public License version 2 as | ||
| 4 | * published by the Free Software Foundation. | ||
| 5 | * | ||
| 6 | * This program is distributed in the hope that it will be useful, | ||
| 7 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 8 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 9 | * GNU General Public License for more details. | ||
| 10 | * | ||
| 11 | * Copyright (C) 2015 ARM Limited | ||
| 12 | * | ||
| 13 | * Author: Will Deacon <will.deacon@arm.com> | ||
| 14 | */ | ||
| 15 | |||
| 16 | #include <linux/linkage.h> | ||
| 17 | |||
| 18 | /* int __invoke_psci_fn_hvc(u64 function_id, u64 arg0, u64 arg1, u64 arg2) */ | ||
| 19 | ENTRY(__invoke_psci_fn_hvc) | ||
| 20 | hvc #0 | ||
| 21 | ret | ||
| 22 | ENDPROC(__invoke_psci_fn_hvc) | ||
| 23 | |||
| 24 | /* int __invoke_psci_fn_smc(u64 function_id, u64 arg0, u64 arg1, u64 arg2) */ | ||
| 25 | ENTRY(__invoke_psci_fn_smc) | ||
| 26 | smc #0 | ||
| 27 | ret | ||
| 28 | ENDPROC(__invoke_psci_fn_smc) | ||
diff --git a/arch/arm64/kernel/psci.c b/arch/arm64/kernel/psci.c index 3425f311c49e..9b8a70ae64a1 100644 --- a/arch/arm64/kernel/psci.c +++ b/arch/arm64/kernel/psci.c | |||
| @@ -57,6 +57,9 @@ static struct psci_operations psci_ops; | |||
| 57 | static int (*invoke_psci_fn)(u64, u64, u64, u64); | 57 | static int (*invoke_psci_fn)(u64, u64, u64, u64); |
| 58 | typedef int (*psci_initcall_t)(const struct device_node *); | 58 | typedef int (*psci_initcall_t)(const struct device_node *); |
| 59 | 59 | ||
| 60 | asmlinkage int __invoke_psci_fn_hvc(u64, u64, u64, u64); | ||
| 61 | asmlinkage int __invoke_psci_fn_smc(u64, u64, u64, u64); | ||
| 62 | |||
| 60 | enum psci_function { | 63 | enum psci_function { |
| 61 | PSCI_FN_CPU_SUSPEND, | 64 | PSCI_FN_CPU_SUSPEND, |
| 62 | PSCI_FN_CPU_ON, | 65 | PSCI_FN_CPU_ON, |
| @@ -109,40 +112,6 @@ static void psci_power_state_unpack(u32 power_state, | |||
| 109 | PSCI_0_2_POWER_STATE_AFFL_SHIFT; | 112 | PSCI_0_2_POWER_STATE_AFFL_SHIFT; |
| 110 | } | 113 | } |
| 111 | 114 | ||
| 112 | /* | ||
| 113 | * The following two functions are invoked via the invoke_psci_fn pointer | ||
| 114 | * and will not be inlined, allowing us to piggyback on the AAPCS. | ||
| 115 | */ | ||
| 116 | static noinline int __invoke_psci_fn_hvc(u64 function_id, u64 arg0, u64 arg1, | ||
| 117 | u64 arg2) | ||
| 118 | { | ||
| 119 | asm volatile( | ||
| 120 | __asmeq("%0", "x0") | ||
| 121 | __asmeq("%1", "x1") | ||
| 122 | __asmeq("%2", "x2") | ||
| 123 | __asmeq("%3", "x3") | ||
| 124 | "hvc #0\n" | ||
| 125 | : "+r" (function_id) | ||
| 126 | : "r" (arg0), "r" (arg1), "r" (arg2)); | ||
| 127 | |||
| 128 | return function_id; | ||
| 129 | } | ||
| 130 | |||
| 131 | static noinline int __invoke_psci_fn_smc(u64 function_id, u64 arg0, u64 arg1, | ||
| 132 | u64 arg2) | ||
| 133 | { | ||
| 134 | asm volatile( | ||
| 135 | __asmeq("%0", "x0") | ||
| 136 | __asmeq("%1", "x1") | ||
| 137 | __asmeq("%2", "x2") | ||
| 138 | __asmeq("%3", "x3") | ||
| 139 | "smc #0\n" | ||
| 140 | : "+r" (function_id) | ||
| 141 | : "r" (arg0), "r" (arg1), "r" (arg2)); | ||
| 142 | |||
| 143 | return function_id; | ||
| 144 | } | ||
| 145 | |||
| 146 | static int psci_get_version(void) | 115 | static int psci_get_version(void) |
| 147 | { | 116 | { |
| 148 | int err; | 117 | int err; |
diff --git a/arch/arm64/kernel/signal32.c b/arch/arm64/kernel/signal32.c index c20a300e2213..d26fcd4cd6e6 100644 --- a/arch/arm64/kernel/signal32.c +++ b/arch/arm64/kernel/signal32.c | |||
| @@ -154,8 +154,7 @@ int copy_siginfo_to_user32(compat_siginfo_t __user *to, const siginfo_t *from) | |||
| 154 | case __SI_TIMER: | 154 | case __SI_TIMER: |
| 155 | err |= __put_user(from->si_tid, &to->si_tid); | 155 | err |= __put_user(from->si_tid, &to->si_tid); |
| 156 | err |= __put_user(from->si_overrun, &to->si_overrun); | 156 | err |= __put_user(from->si_overrun, &to->si_overrun); |
| 157 | err |= __put_user((compat_uptr_t)(unsigned long)from->si_ptr, | 157 | err |= __put_user(from->si_int, &to->si_int); |
| 158 | &to->si_ptr); | ||
| 159 | break; | 158 | break; |
| 160 | case __SI_POLL: | 159 | case __SI_POLL: |
| 161 | err |= __put_user(from->si_band, &to->si_band); | 160 | err |= __put_user(from->si_band, &to->si_band); |
| @@ -184,7 +183,7 @@ int copy_siginfo_to_user32(compat_siginfo_t __user *to, const siginfo_t *from) | |||
| 184 | case __SI_MESGQ: /* But this is */ | 183 | case __SI_MESGQ: /* But this is */ |
| 185 | err |= __put_user(from->si_pid, &to->si_pid); | 184 | err |= __put_user(from->si_pid, &to->si_pid); |
| 186 | err |= __put_user(from->si_uid, &to->si_uid); | 185 | err |= __put_user(from->si_uid, &to->si_uid); |
| 187 | err |= __put_user((compat_uptr_t)(unsigned long)from->si_ptr, &to->si_ptr); | 186 | err |= __put_user(from->si_int, &to->si_int); |
| 188 | break; | 187 | break; |
| 189 | case __SI_SYS: | 188 | case __SI_SYS: |
| 190 | err |= __put_user((compat_uptr_t)(unsigned long) | 189 | err |= __put_user((compat_uptr_t)(unsigned long) |
diff --git a/arch/arm64/kernel/vdso/gettimeofday.S b/arch/arm64/kernel/vdso/gettimeofday.S index fe652ffd34c2..efa79e8d4196 100644 --- a/arch/arm64/kernel/vdso/gettimeofday.S +++ b/arch/arm64/kernel/vdso/gettimeofday.S | |||
| @@ -174,8 +174,6 @@ ENDPROC(__kernel_clock_gettime) | |||
| 174 | /* int __kernel_clock_getres(clockid_t clock_id, struct timespec *res); */ | 174 | /* int __kernel_clock_getres(clockid_t clock_id, struct timespec *res); */ |
| 175 | ENTRY(__kernel_clock_getres) | 175 | ENTRY(__kernel_clock_getres) |
| 176 | .cfi_startproc | 176 | .cfi_startproc |
| 177 | cbz w1, 3f | ||
| 178 | |||
| 179 | cmp w0, #CLOCK_REALTIME | 177 | cmp w0, #CLOCK_REALTIME |
| 180 | ccmp w0, #CLOCK_MONOTONIC, #0x4, ne | 178 | ccmp w0, #CLOCK_MONOTONIC, #0x4, ne |
| 181 | b.ne 1f | 179 | b.ne 1f |
| @@ -188,6 +186,7 @@ ENTRY(__kernel_clock_getres) | |||
| 188 | b.ne 4f | 186 | b.ne 4f |
| 189 | ldr x2, 6f | 187 | ldr x2, 6f |
| 190 | 2: | 188 | 2: |
| 189 | cbz w1, 3f | ||
| 191 | stp xzr, x2, [x1] | 190 | stp xzr, x2, [x1] |
| 192 | 191 | ||
| 193 | 3: /* res == NULL. */ | 192 | 3: /* res == NULL. */ |
diff --git a/arch/arm64/mm/dma-mapping.c b/arch/arm64/mm/dma-mapping.c index 0a24b9b8c698..58e0c2bdde04 100644 --- a/arch/arm64/mm/dma-mapping.c +++ b/arch/arm64/mm/dma-mapping.c | |||
| @@ -348,8 +348,6 @@ static struct dma_map_ops swiotlb_dma_ops = { | |||
| 348 | .mapping_error = swiotlb_dma_mapping_error, | 348 | .mapping_error = swiotlb_dma_mapping_error, |
| 349 | }; | 349 | }; |
| 350 | 350 | ||
| 351 | extern int swiotlb_late_init_with_default_size(size_t default_size); | ||
| 352 | |||
| 353 | static int __init atomic_pool_init(void) | 351 | static int __init atomic_pool_init(void) |
| 354 | { | 352 | { |
| 355 | pgprot_t prot = __pgprot(PROT_NORMAL_NC); | 353 | pgprot_t prot = __pgprot(PROT_NORMAL_NC); |
| @@ -411,21 +409,13 @@ out: | |||
| 411 | return -ENOMEM; | 409 | return -ENOMEM; |
| 412 | } | 410 | } |
| 413 | 411 | ||
| 414 | static int __init swiotlb_late_init(void) | 412 | static int __init arm64_dma_init(void) |
| 415 | { | 413 | { |
| 416 | size_t swiotlb_size = min(SZ_64M, MAX_ORDER_NR_PAGES << PAGE_SHIFT); | 414 | int ret; |
| 417 | 415 | ||
| 418 | dma_ops = &swiotlb_dma_ops; | 416 | dma_ops = &swiotlb_dma_ops; |
| 419 | 417 | ||
| 420 | return swiotlb_late_init_with_default_size(swiotlb_size); | 418 | ret = atomic_pool_init(); |
| 421 | } | ||
| 422 | |||
| 423 | static int __init arm64_dma_init(void) | ||
| 424 | { | ||
| 425 | int ret = 0; | ||
| 426 | |||
| 427 | ret |= swiotlb_late_init(); | ||
| 428 | ret |= atomic_pool_init(); | ||
| 429 | 419 | ||
| 430 | return ret; | 420 | return ret; |
| 431 | } | 421 | } |
diff --git a/arch/arm64/mm/init.c b/arch/arm64/mm/init.c index 71145f952070..ae85da6307bb 100644 --- a/arch/arm64/mm/init.c +++ b/arch/arm64/mm/init.c | |||
| @@ -33,6 +33,7 @@ | |||
| 33 | #include <linux/dma-mapping.h> | 33 | #include <linux/dma-mapping.h> |
| 34 | #include <linux/dma-contiguous.h> | 34 | #include <linux/dma-contiguous.h> |
| 35 | #include <linux/efi.h> | 35 | #include <linux/efi.h> |
| 36 | #include <linux/swiotlb.h> | ||
| 36 | 37 | ||
| 37 | #include <asm/fixmap.h> | 38 | #include <asm/fixmap.h> |
| 38 | #include <asm/memory.h> | 39 | #include <asm/memory.h> |
| @@ -45,6 +46,7 @@ | |||
| 45 | #include "mm.h" | 46 | #include "mm.h" |
| 46 | 47 | ||
| 47 | phys_addr_t memstart_addr __read_mostly = 0; | 48 | phys_addr_t memstart_addr __read_mostly = 0; |
| 49 | phys_addr_t arm64_dma_phys_limit __read_mostly; | ||
| 48 | 50 | ||
| 49 | #ifdef CONFIG_BLK_DEV_INITRD | 51 | #ifdef CONFIG_BLK_DEV_INITRD |
| 50 | static int __init early_initrd(char *p) | 52 | static int __init early_initrd(char *p) |
| @@ -85,7 +87,7 @@ static void __init zone_sizes_init(unsigned long min, unsigned long max) | |||
| 85 | 87 | ||
| 86 | /* 4GB maximum for 32-bit only capable devices */ | 88 | /* 4GB maximum for 32-bit only capable devices */ |
| 87 | if (IS_ENABLED(CONFIG_ZONE_DMA)) { | 89 | if (IS_ENABLED(CONFIG_ZONE_DMA)) { |
| 88 | max_dma = PFN_DOWN(max_zone_dma_phys()); | 90 | max_dma = PFN_DOWN(arm64_dma_phys_limit); |
| 89 | zone_size[ZONE_DMA] = max_dma - min; | 91 | zone_size[ZONE_DMA] = max_dma - min; |
| 90 | } | 92 | } |
| 91 | zone_size[ZONE_NORMAL] = max - max_dma; | 93 | zone_size[ZONE_NORMAL] = max - max_dma; |
| @@ -156,8 +158,6 @@ early_param("mem", early_mem); | |||
| 156 | 158 | ||
| 157 | void __init arm64_memblock_init(void) | 159 | void __init arm64_memblock_init(void) |
| 158 | { | 160 | { |
| 159 | phys_addr_t dma_phys_limit = 0; | ||
| 160 | |||
| 161 | memblock_enforce_memory_limit(memory_limit); | 161 | memblock_enforce_memory_limit(memory_limit); |
| 162 | 162 | ||
| 163 | /* | 163 | /* |
| @@ -174,8 +174,10 @@ void __init arm64_memblock_init(void) | |||
| 174 | 174 | ||
| 175 | /* 4GB maximum for 32-bit only capable devices */ | 175 | /* 4GB maximum for 32-bit only capable devices */ |
| 176 | if (IS_ENABLED(CONFIG_ZONE_DMA)) | 176 | if (IS_ENABLED(CONFIG_ZONE_DMA)) |
| 177 | dma_phys_limit = max_zone_dma_phys(); | 177 | arm64_dma_phys_limit = max_zone_dma_phys(); |
| 178 | dma_contiguous_reserve(dma_phys_limit); | 178 | else |
| 179 | arm64_dma_phys_limit = PHYS_MASK + 1; | ||
| 180 | dma_contiguous_reserve(arm64_dma_phys_limit); | ||
| 179 | 181 | ||
| 180 | memblock_allow_resize(); | 182 | memblock_allow_resize(); |
| 181 | memblock_dump_all(); | 183 | memblock_dump_all(); |
| @@ -276,6 +278,8 @@ static void __init free_unused_memmap(void) | |||
| 276 | */ | 278 | */ |
| 277 | void __init mem_init(void) | 279 | void __init mem_init(void) |
| 278 | { | 280 | { |
| 281 | swiotlb_init(1); | ||
| 282 | |||
| 279 | set_max_mapnr(pfn_to_page(max_pfn) - mem_map); | 283 | set_max_mapnr(pfn_to_page(max_pfn) - mem_map); |
| 280 | 284 | ||
| 281 | #ifndef CONFIG_SPARSEMEM_VMEMMAP | 285 | #ifndef CONFIG_SPARSEMEM_VMEMMAP |
diff --git a/drivers/sh/pm_runtime.c b/drivers/sh/pm_runtime.c index f3ee439d6f0e..cd4c293f0dd0 100644 --- a/drivers/sh/pm_runtime.c +++ b/drivers/sh/pm_runtime.c | |||
| @@ -81,7 +81,9 @@ static int __init sh_pm_runtime_init(void) | |||
| 81 | if (!of_machine_is_compatible("renesas,emev2") && | 81 | if (!of_machine_is_compatible("renesas,emev2") && |
| 82 | !of_machine_is_compatible("renesas,r7s72100") && | 82 | !of_machine_is_compatible("renesas,r7s72100") && |
| 83 | !of_machine_is_compatible("renesas,r8a73a4") && | 83 | !of_machine_is_compatible("renesas,r8a73a4") && |
| 84 | #ifndef CONFIG_PM_GENERIC_DOMAINS_OF | ||
| 84 | !of_machine_is_compatible("renesas,r8a7740") && | 85 | !of_machine_is_compatible("renesas,r8a7740") && |
| 86 | #endif | ||
| 85 | !of_machine_is_compatible("renesas,r8a7778") && | 87 | !of_machine_is_compatible("renesas,r8a7778") && |
| 86 | !of_machine_is_compatible("renesas,r8a7779") && | 88 | !of_machine_is_compatible("renesas,r8a7779") && |
| 87 | !of_machine_is_compatible("renesas,r8a7790") && | 89 | !of_machine_is_compatible("renesas,r8a7790") && |
