diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-04-07 19:46:17 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-04-07 19:46:17 -0400 |
| commit | d8491223bc243b960ee1c4a8aa5219eca0d69acf (patch) | |
| tree | 400b3aec1b3f776e600fa534c2bff58bb4ed920c | |
| parent | 429fba106e82e2792010a825b9dbeadd00bf9e9c (diff) | |
| parent | 9a8f32038a74cb800e9649afbf4b3dba2b7d6539 (diff) | |
Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
Pull ARM SoC fixes from Olof Johansson:
"A collection of fixes from the last few weeks. Most of them are
smaller tweaks and fixes to DT and hardware descriptions for boards.
Some of the more significant ones are:
- eMMC and RGMII stability tweaks for rk3288
- DDC fixes for Rock PI 4
- Audio fixes for two TI am335x eval boards
- D_CAN clock fix for am335x
- Compilation fixes for clang
- !HOTPLUG_CPU compilation fix for one of the new platforms this
release (milbeaut)
- A revert of a gpio fix for nomadik that instead was fixed in the
gpio subsystem
- Whitespace fix for the DT JSON schema (no tabs allowed)"
* tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (25 commits)
ARM: milbeaut: fix build with !CONFIG_HOTPLUG_CPU
ARM: iop: don't use using 64-bit DMA masks
ARM: orion: don't use using 64-bit DMA masks
Revert "ARM: dts: nomadik: Fix polarity of SPI CS"
dt-bindings: cpu: Fix JSON schema
arm/mach-at91/pm : fix possible object reference leak
ARM: dts: at91: Fix typo in ISC_D0 on PC9
ARM: dts: Fix dcan clkctrl clock for am3
reset: meson-audio-arb: Fix missing .owner setting of reset_controller_dev
dt-bindings: reset: meson-g12a: Add missing USB2 PHY resets
ARM: dts: rockchip: Remove #address/#size-cells from rk3288-veyron gpio-keys
ARM: dts: rockchip: Remove #address/#size-cells from rk3288 mipi_dsi
ARM: dts: rockchip: Fix gpu opp node names for rk3288
ARM: dts: am335x-evmsk: Correct the regulators for the audio codec
ARM: dts: am335x-evm: Correct the regulators for the audio codec
ARM: OMAP2+: add missing of_node_put after of_device_is_available
ARM: OMAP1: ams-delta: Fix broken GPIO ID allocation
arm64: dts: stratix10: add the sysmgr-syscon property from the gmac's
arm64: dts: rockchip: fix rk3328 sdmmc0 write errors
arm64: dts: rockchip: fix rk3328 rgmii high tx error rate
...
24 files changed, 131 insertions, 82 deletions
diff --git a/Documentation/devicetree/bindings/arm/cpus.yaml b/Documentation/devicetree/bindings/arm/cpus.yaml index 365dcf384d73..82dd7582e945 100644 --- a/Documentation/devicetree/bindings/arm/cpus.yaml +++ b/Documentation/devicetree/bindings/arm/cpus.yaml | |||
| @@ -228,7 +228,7 @@ patternProperties: | |||
| 228 | - renesas,r9a06g032-smp | 228 | - renesas,r9a06g032-smp |
| 229 | - rockchip,rk3036-smp | 229 | - rockchip,rk3036-smp |
| 230 | - rockchip,rk3066-smp | 230 | - rockchip,rk3066-smp |
| 231 | - socionext,milbeaut-m10v-smp | 231 | - socionext,milbeaut-m10v-smp |
| 232 | - ste,dbx500-smp | 232 | - ste,dbx500-smp |
| 233 | 233 | ||
| 234 | cpu-release-addr: | 234 | cpu-release-addr: |
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts index dce5be5df97b..edcff79879e7 100644 --- a/arch/arm/boot/dts/am335x-evm.dts +++ b/arch/arm/boot/dts/am335x-evm.dts | |||
| @@ -57,6 +57,24 @@ | |||
| 57 | enable-active-high; | 57 | enable-active-high; |
| 58 | }; | 58 | }; |
| 59 | 59 | ||
| 60 | /* TPS79501 */ | ||
| 61 | v1_8d_reg: fixedregulator-v1_8d { | ||
| 62 | compatible = "regulator-fixed"; | ||
| 63 | regulator-name = "v1_8d"; | ||
| 64 | vin-supply = <&vbat>; | ||
| 65 | regulator-min-microvolt = <1800000>; | ||
| 66 | regulator-max-microvolt = <1800000>; | ||
| 67 | }; | ||
| 68 | |||
| 69 | /* TPS79501 */ | ||
| 70 | v3_3d_reg: fixedregulator-v3_3d { | ||
| 71 | compatible = "regulator-fixed"; | ||
| 72 | regulator-name = "v3_3d"; | ||
| 73 | vin-supply = <&vbat>; | ||
| 74 | regulator-min-microvolt = <3300000>; | ||
| 75 | regulator-max-microvolt = <3300000>; | ||
| 76 | }; | ||
| 77 | |||
| 60 | matrix_keypad: matrix_keypad0 { | 78 | matrix_keypad: matrix_keypad0 { |
| 61 | compatible = "gpio-matrix-keypad"; | 79 | compatible = "gpio-matrix-keypad"; |
| 62 | debounce-delay-ms = <5>; | 80 | debounce-delay-ms = <5>; |
| @@ -499,10 +517,10 @@ | |||
| 499 | status = "okay"; | 517 | status = "okay"; |
| 500 | 518 | ||
| 501 | /* Regulators */ | 519 | /* Regulators */ |
| 502 | AVDD-supply = <&vaux2_reg>; | 520 | AVDD-supply = <&v3_3d_reg>; |
| 503 | IOVDD-supply = <&vaux2_reg>; | 521 | IOVDD-supply = <&v3_3d_reg>; |
| 504 | DRVDD-supply = <&vaux2_reg>; | 522 | DRVDD-supply = <&v3_3d_reg>; |
| 505 | DVDD-supply = <&vbat>; | 523 | DVDD-supply = <&v1_8d_reg>; |
| 506 | }; | 524 | }; |
| 507 | }; | 525 | }; |
| 508 | 526 | ||
diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts index b128998097ce..2c2d8b5b8cf5 100644 --- a/arch/arm/boot/dts/am335x-evmsk.dts +++ b/arch/arm/boot/dts/am335x-evmsk.dts | |||
| @@ -73,6 +73,24 @@ | |||
| 73 | enable-active-high; | 73 | enable-active-high; |
| 74 | }; | 74 | }; |
| 75 | 75 | ||
| 76 | /* TPS79518 */ | ||
| 77 | v1_8d_reg: fixedregulator-v1_8d { | ||
| 78 | compatible = "regulator-fixed"; | ||
| 79 | regulator-name = "v1_8d"; | ||
| 80 | vin-supply = <&vbat>; | ||
| 81 | regulator-min-microvolt = <1800000>; | ||
| 82 | regulator-max-microvolt = <1800000>; | ||
| 83 | }; | ||
| 84 | |||
| 85 | /* TPS78633 */ | ||
| 86 | v3_3d_reg: fixedregulator-v3_3d { | ||
| 87 | compatible = "regulator-fixed"; | ||
| 88 | regulator-name = "v3_3d"; | ||
| 89 | vin-supply = <&vbat>; | ||
| 90 | regulator-min-microvolt = <3300000>; | ||
| 91 | regulator-max-microvolt = <3300000>; | ||
| 92 | }; | ||
| 93 | |||
| 76 | leds { | 94 | leds { |
| 77 | pinctrl-names = "default"; | 95 | pinctrl-names = "default"; |
| 78 | pinctrl-0 = <&user_leds_s0>; | 96 | pinctrl-0 = <&user_leds_s0>; |
| @@ -501,10 +519,10 @@ | |||
| 501 | status = "okay"; | 519 | status = "okay"; |
| 502 | 520 | ||
| 503 | /* Regulators */ | 521 | /* Regulators */ |
| 504 | AVDD-supply = <&vaux2_reg>; | 522 | AVDD-supply = <&v3_3d_reg>; |
| 505 | IOVDD-supply = <&vaux2_reg>; | 523 | IOVDD-supply = <&v3_3d_reg>; |
| 506 | DRVDD-supply = <&vaux2_reg>; | 524 | DRVDD-supply = <&v3_3d_reg>; |
| 507 | DVDD-supply = <&vbat>; | 525 | DVDD-supply = <&v1_8d_reg>; |
| 508 | }; | 526 | }; |
| 509 | }; | 527 | }; |
| 510 | 528 | ||
diff --git a/arch/arm/boot/dts/am33xx-l4.dtsi b/arch/arm/boot/dts/am33xx-l4.dtsi index f459ec316a22..ca6d9f02a800 100644 --- a/arch/arm/boot/dts/am33xx-l4.dtsi +++ b/arch/arm/boot/dts/am33xx-l4.dtsi | |||
| @@ -1762,7 +1762,7 @@ | |||
| 1762 | reg = <0xcc000 0x4>; | 1762 | reg = <0xcc000 0x4>; |
| 1763 | reg-names = "rev"; | 1763 | reg-names = "rev"; |
| 1764 | /* Domains (P, C): per_pwrdm, l4ls_clkdm */ | 1764 | /* Domains (P, C): per_pwrdm, l4ls_clkdm */ |
| 1765 | clocks = <&l4ls_clkctrl AM3_D_CAN0_CLKCTRL 0>; | 1765 | clocks = <&l4ls_clkctrl AM3_L4LS_D_CAN0_CLKCTRL 0>; |
| 1766 | clock-names = "fck"; | 1766 | clock-names = "fck"; |
| 1767 | #address-cells = <1>; | 1767 | #address-cells = <1>; |
| 1768 | #size-cells = <1>; | 1768 | #size-cells = <1>; |
| @@ -1785,7 +1785,7 @@ | |||
| 1785 | reg = <0xd0000 0x4>; | 1785 | reg = <0xd0000 0x4>; |
| 1786 | reg-names = "rev"; | 1786 | reg-names = "rev"; |
| 1787 | /* Domains (P, C): per_pwrdm, l4ls_clkdm */ | 1787 | /* Domains (P, C): per_pwrdm, l4ls_clkdm */ |
| 1788 | clocks = <&l4ls_clkctrl AM3_D_CAN1_CLKCTRL 0>; | 1788 | clocks = <&l4ls_clkctrl AM3_L4LS_D_CAN1_CLKCTRL 0>; |
| 1789 | clock-names = "fck"; | 1789 | clock-names = "fck"; |
| 1790 | #address-cells = <1>; | 1790 | #address-cells = <1>; |
| 1791 | #size-cells = <1>; | 1791 | #size-cells = <1>; |
diff --git a/arch/arm/boot/dts/rk3288-tinker.dtsi b/arch/arm/boot/dts/rk3288-tinker.dtsi index aa107ee41b8b..ef653c3209bc 100644 --- a/arch/arm/boot/dts/rk3288-tinker.dtsi +++ b/arch/arm/boot/dts/rk3288-tinker.dtsi | |||
| @@ -254,6 +254,7 @@ | |||
| 254 | }; | 254 | }; |
| 255 | 255 | ||
| 256 | vccio_sd: LDO_REG5 { | 256 | vccio_sd: LDO_REG5 { |
| 257 | regulator-boot-on; | ||
| 257 | regulator-min-microvolt = <1800000>; | 258 | regulator-min-microvolt = <1800000>; |
| 258 | regulator-max-microvolt = <3300000>; | 259 | regulator-max-microvolt = <3300000>; |
| 259 | regulator-name = "vccio_sd"; | 260 | regulator-name = "vccio_sd"; |
| @@ -430,7 +431,7 @@ | |||
| 430 | bus-width = <4>; | 431 | bus-width = <4>; |
| 431 | cap-mmc-highspeed; | 432 | cap-mmc-highspeed; |
| 432 | cap-sd-highspeed; | 433 | cap-sd-highspeed; |
| 433 | card-detect-delay = <200>; | 434 | broken-cd; |
| 434 | disable-wp; /* wp not hooked up */ | 435 | disable-wp; /* wp not hooked up */ |
| 435 | pinctrl-names = "default"; | 436 | pinctrl-names = "default"; |
| 436 | pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>; | 437 | pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>; |
diff --git a/arch/arm/boot/dts/rk3288-veyron.dtsi b/arch/arm/boot/dts/rk3288-veyron.dtsi index 0bc2409f6903..192dbc089ade 100644 --- a/arch/arm/boot/dts/rk3288-veyron.dtsi +++ b/arch/arm/boot/dts/rk3288-veyron.dtsi | |||
| @@ -25,8 +25,6 @@ | |||
| 25 | 25 | ||
| 26 | gpio_keys: gpio-keys { | 26 | gpio_keys: gpio-keys { |
| 27 | compatible = "gpio-keys"; | 27 | compatible = "gpio-keys"; |
| 28 | #address-cells = <1>; | ||
| 29 | #size-cells = <0>; | ||
| 30 | 28 | ||
| 31 | pinctrl-names = "default"; | 29 | pinctrl-names = "default"; |
| 32 | pinctrl-0 = <&pwr_key_l>; | 30 | pinctrl-0 = <&pwr_key_l>; |
diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index ca7d52daa8fb..a024d1e7e74c 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi | |||
| @@ -70,7 +70,7 @@ | |||
| 70 | compatible = "arm,cortex-a12"; | 70 | compatible = "arm,cortex-a12"; |
| 71 | reg = <0x501>; | 71 | reg = <0x501>; |
| 72 | resets = <&cru SRST_CORE1>; | 72 | resets = <&cru SRST_CORE1>; |
| 73 | operating-points = <&cpu_opp_table>; | 73 | operating-points-v2 = <&cpu_opp_table>; |
| 74 | #cooling-cells = <2>; /* min followed by max */ | 74 | #cooling-cells = <2>; /* min followed by max */ |
| 75 | clock-latency = <40000>; | 75 | clock-latency = <40000>; |
| 76 | clocks = <&cru ARMCLK>; | 76 | clocks = <&cru ARMCLK>; |
| @@ -80,7 +80,7 @@ | |||
| 80 | compatible = "arm,cortex-a12"; | 80 | compatible = "arm,cortex-a12"; |
| 81 | reg = <0x502>; | 81 | reg = <0x502>; |
| 82 | resets = <&cru SRST_CORE2>; | 82 | resets = <&cru SRST_CORE2>; |
| 83 | operating-points = <&cpu_opp_table>; | 83 | operating-points-v2 = <&cpu_opp_table>; |
| 84 | #cooling-cells = <2>; /* min followed by max */ | 84 | #cooling-cells = <2>; /* min followed by max */ |
| 85 | clock-latency = <40000>; | 85 | clock-latency = <40000>; |
| 86 | clocks = <&cru ARMCLK>; | 86 | clocks = <&cru ARMCLK>; |
| @@ -90,7 +90,7 @@ | |||
| 90 | compatible = "arm,cortex-a12"; | 90 | compatible = "arm,cortex-a12"; |
| 91 | reg = <0x503>; | 91 | reg = <0x503>; |
| 92 | resets = <&cru SRST_CORE3>; | 92 | resets = <&cru SRST_CORE3>; |
| 93 | operating-points = <&cpu_opp_table>; | 93 | operating-points-v2 = <&cpu_opp_table>; |
| 94 | #cooling-cells = <2>; /* min followed by max */ | 94 | #cooling-cells = <2>; /* min followed by max */ |
| 95 | clock-latency = <40000>; | 95 | clock-latency = <40000>; |
| 96 | clocks = <&cru ARMCLK>; | 96 | clocks = <&cru ARMCLK>; |
| @@ -1119,8 +1119,6 @@ | |||
| 1119 | clock-names = "ref", "pclk"; | 1119 | clock-names = "ref", "pclk"; |
| 1120 | power-domains = <&power RK3288_PD_VIO>; | 1120 | power-domains = <&power RK3288_PD_VIO>; |
| 1121 | rockchip,grf = <&grf>; | 1121 | rockchip,grf = <&grf>; |
| 1122 | #address-cells = <1>; | ||
| 1123 | #size-cells = <0>; | ||
| 1124 | status = "disabled"; | 1122 | status = "disabled"; |
| 1125 | 1123 | ||
| 1126 | ports { | 1124 | ports { |
| @@ -1282,27 +1280,27 @@ | |||
| 1282 | gpu_opp_table: gpu-opp-table { | 1280 | gpu_opp_table: gpu-opp-table { |
| 1283 | compatible = "operating-points-v2"; | 1281 | compatible = "operating-points-v2"; |
| 1284 | 1282 | ||
| 1285 | opp@100000000 { | 1283 | opp-100000000 { |
| 1286 | opp-hz = /bits/ 64 <100000000>; | 1284 | opp-hz = /bits/ 64 <100000000>; |
| 1287 | opp-microvolt = <950000>; | 1285 | opp-microvolt = <950000>; |
| 1288 | }; | 1286 | }; |
| 1289 | opp@200000000 { | 1287 | opp-200000000 { |
| 1290 | opp-hz = /bits/ 64 <200000000>; | 1288 | opp-hz = /bits/ 64 <200000000>; |
| 1291 | opp-microvolt = <950000>; | 1289 | opp-microvolt = <950000>; |
| 1292 | }; | 1290 | }; |
| 1293 | opp@300000000 { | 1291 | opp-300000000 { |
| 1294 | opp-hz = /bits/ 64 <300000000>; | 1292 | opp-hz = /bits/ 64 <300000000>; |
| 1295 | opp-microvolt = <1000000>; | 1293 | opp-microvolt = <1000000>; |
| 1296 | }; | 1294 | }; |
| 1297 | opp@400000000 { | 1295 | opp-400000000 { |
| 1298 | opp-hz = /bits/ 64 <400000000>; | 1296 | opp-hz = /bits/ 64 <400000000>; |
| 1299 | opp-microvolt = <1100000>; | 1297 | opp-microvolt = <1100000>; |
| 1300 | }; | 1298 | }; |
| 1301 | opp@500000000 { | 1299 | opp-500000000 { |
| 1302 | opp-hz = /bits/ 64 <500000000>; | 1300 | opp-hz = /bits/ 64 <500000000>; |
| 1303 | opp-microvolt = <1200000>; | 1301 | opp-microvolt = <1200000>; |
| 1304 | }; | 1302 | }; |
| 1305 | opp@600000000 { | 1303 | opp-600000000 { |
| 1306 | opp-hz = /bits/ 64 <600000000>; | 1304 | opp-hz = /bits/ 64 <600000000>; |
| 1307 | opp-microvolt = <1250000>; | 1305 | opp-microvolt = <1250000>; |
| 1308 | }; | 1306 | }; |
diff --git a/arch/arm/boot/dts/sama5d2-pinfunc.h b/arch/arm/boot/dts/sama5d2-pinfunc.h index 1c01a6f843d8..28a2e45752fe 100644 --- a/arch/arm/boot/dts/sama5d2-pinfunc.h +++ b/arch/arm/boot/dts/sama5d2-pinfunc.h | |||
| @@ -518,7 +518,7 @@ | |||
| 518 | #define PIN_PC9__GPIO PINMUX_PIN(PIN_PC9, 0, 0) | 518 | #define PIN_PC9__GPIO PINMUX_PIN(PIN_PC9, 0, 0) |
| 519 | #define PIN_PC9__FIQ PINMUX_PIN(PIN_PC9, 1, 3) | 519 | #define PIN_PC9__FIQ PINMUX_PIN(PIN_PC9, 1, 3) |
| 520 | #define PIN_PC9__GTSUCOMP PINMUX_PIN(PIN_PC9, 2, 1) | 520 | #define PIN_PC9__GTSUCOMP PINMUX_PIN(PIN_PC9, 2, 1) |
| 521 | #define PIN_PC9__ISC_D0 PINMUX_PIN(PIN_PC9, 2, 1) | 521 | #define PIN_PC9__ISC_D0 PINMUX_PIN(PIN_PC9, 3, 1) |
| 522 | #define PIN_PC9__TIOA4 PINMUX_PIN(PIN_PC9, 4, 2) | 522 | #define PIN_PC9__TIOA4 PINMUX_PIN(PIN_PC9, 4, 2) |
| 523 | #define PIN_PC10 74 | 523 | #define PIN_PC10 74 |
| 524 | #define PIN_PC10__GPIO PINMUX_PIN(PIN_PC10, 0, 0) | 524 | #define PIN_PC10__GPIO PINMUX_PIN(PIN_PC10, 0, 0) |
diff --git a/arch/arm/boot/dts/ste-nomadik-nhk15.dts b/arch/arm/boot/dts/ste-nomadik-nhk15.dts index f2f6558a00f1..04066f9cb8a3 100644 --- a/arch/arm/boot/dts/ste-nomadik-nhk15.dts +++ b/arch/arm/boot/dts/ste-nomadik-nhk15.dts | |||
| @@ -213,13 +213,12 @@ | |||
| 213 | gpio-sck = <&gpio0 5 GPIO_ACTIVE_HIGH>; | 213 | gpio-sck = <&gpio0 5 GPIO_ACTIVE_HIGH>; |
| 214 | gpio-mosi = <&gpio0 4 GPIO_ACTIVE_HIGH>; | 214 | gpio-mosi = <&gpio0 4 GPIO_ACTIVE_HIGH>; |
| 215 | /* | 215 | /* |
| 216 | * This chipselect is active high. Just setting the flags | 216 | * It's not actually active high, but the frameworks assume |
| 217 | * to GPIO_ACTIVE_HIGH is not enough for the SPI DT bindings, | 217 | * the polarity of the passed-in GPIO is "normal" (active |
| 218 | * it will be ignored, only the special "spi-cs-high" flag | 218 | * high) then actively drives the line low to select the |
| 219 | * really counts. | 219 | * chip. |
| 220 | */ | 220 | */ |
| 221 | cs-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>; | 221 | cs-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>; |
| 222 | spi-cs-high; | ||
| 223 | num-chipselects = <1>; | 222 | num-chipselects = <1>; |
| 224 | 223 | ||
| 225 | /* | 224 | /* |
diff --git a/arch/arm/mach-at91/pm.c b/arch/arm/mach-at91/pm.c index 51e808adb00c..2a757dcaa1a5 100644 --- a/arch/arm/mach-at91/pm.c +++ b/arch/arm/mach-at91/pm.c | |||
| @@ -591,13 +591,13 @@ static int __init at91_pm_backup_init(void) | |||
| 591 | 591 | ||
| 592 | np = of_find_compatible_node(NULL, NULL, "atmel,sama5d2-securam"); | 592 | np = of_find_compatible_node(NULL, NULL, "atmel,sama5d2-securam"); |
| 593 | if (!np) | 593 | if (!np) |
| 594 | goto securam_fail; | 594 | goto securam_fail_no_ref_dev; |
| 595 | 595 | ||
| 596 | pdev = of_find_device_by_node(np); | 596 | pdev = of_find_device_by_node(np); |
| 597 | of_node_put(np); | 597 | of_node_put(np); |
| 598 | if (!pdev) { | 598 | if (!pdev) { |
| 599 | pr_warn("%s: failed to find securam device!\n", __func__); | 599 | pr_warn("%s: failed to find securam device!\n", __func__); |
| 600 | goto securam_fail; | 600 | goto securam_fail_no_ref_dev; |
| 601 | } | 601 | } |
| 602 | 602 | ||
| 603 | sram_pool = gen_pool_get(&pdev->dev, NULL); | 603 | sram_pool = gen_pool_get(&pdev->dev, NULL); |
| @@ -620,6 +620,8 @@ static int __init at91_pm_backup_init(void) | |||
| 620 | return 0; | 620 | return 0; |
| 621 | 621 | ||
| 622 | securam_fail: | 622 | securam_fail: |
| 623 | put_device(&pdev->dev); | ||
| 624 | securam_fail_no_ref_dev: | ||
| 623 | iounmap(pm_data.sfrbu); | 625 | iounmap(pm_data.sfrbu); |
| 624 | pm_data.sfrbu = NULL; | 626 | pm_data.sfrbu = NULL; |
| 625 | return ret; | 627 | return ret; |
diff --git a/arch/arm/mach-iop13xx/setup.c b/arch/arm/mach-iop13xx/setup.c index 53c316f7301e..fe4932fda01d 100644 --- a/arch/arm/mach-iop13xx/setup.c +++ b/arch/arm/mach-iop13xx/setup.c | |||
| @@ -300,7 +300,7 @@ static struct resource iop13xx_adma_2_resources[] = { | |||
| 300 | } | 300 | } |
| 301 | }; | 301 | }; |
| 302 | 302 | ||
| 303 | static u64 iop13xx_adma_dmamask = DMA_BIT_MASK(64); | 303 | static u64 iop13xx_adma_dmamask = DMA_BIT_MASK(32); |
| 304 | static struct iop_adma_platform_data iop13xx_adma_0_data = { | 304 | static struct iop_adma_platform_data iop13xx_adma_0_data = { |
| 305 | .hw_id = 0, | 305 | .hw_id = 0, |
| 306 | .pool_size = PAGE_SIZE, | 306 | .pool_size = PAGE_SIZE, |
| @@ -324,7 +324,7 @@ static struct platform_device iop13xx_adma_0_channel = { | |||
| 324 | .resource = iop13xx_adma_0_resources, | 324 | .resource = iop13xx_adma_0_resources, |
| 325 | .dev = { | 325 | .dev = { |
| 326 | .dma_mask = &iop13xx_adma_dmamask, | 326 | .dma_mask = &iop13xx_adma_dmamask, |
| 327 | .coherent_dma_mask = DMA_BIT_MASK(64), | 327 | .coherent_dma_mask = DMA_BIT_MASK(32), |
| 328 | .platform_data = (void *) &iop13xx_adma_0_data, | 328 | .platform_data = (void *) &iop13xx_adma_0_data, |
| 329 | }, | 329 | }, |
| 330 | }; | 330 | }; |
| @@ -336,7 +336,7 @@ static struct platform_device iop13xx_adma_1_channel = { | |||
| 336 | .resource = iop13xx_adma_1_resources, | 336 | .resource = iop13xx_adma_1_resources, |
| 337 | .dev = { | 337 | .dev = { |
| 338 | .dma_mask = &iop13xx_adma_dmamask, | 338 | .dma_mask = &iop13xx_adma_dmamask, |
| 339 | .coherent_dma_mask = DMA_BIT_MASK(64), | 339 | .coherent_dma_mask = DMA_BIT_MASK(32), |
| 340 | .platform_data = (void *) &iop13xx_adma_1_data, | 340 | .platform_data = (void *) &iop13xx_adma_1_data, |
| 341 | }, | 341 | }, |
| 342 | }; | 342 | }; |
| @@ -348,7 +348,7 @@ static struct platform_device iop13xx_adma_2_channel = { | |||
| 348 | .resource = iop13xx_adma_2_resources, | 348 | .resource = iop13xx_adma_2_resources, |
| 349 | .dev = { | 349 | .dev = { |
| 350 | .dma_mask = &iop13xx_adma_dmamask, | 350 | .dma_mask = &iop13xx_adma_dmamask, |
| 351 | .coherent_dma_mask = DMA_BIT_MASK(64), | 351 | .coherent_dma_mask = DMA_BIT_MASK(32), |
| 352 | .platform_data = (void *) &iop13xx_adma_2_data, | 352 | .platform_data = (void *) &iop13xx_adma_2_data, |
| 353 | }, | 353 | }, |
| 354 | }; | 354 | }; |
diff --git a/arch/arm/mach-iop13xx/tpmi.c b/arch/arm/mach-iop13xx/tpmi.c index db511ec2b1df..116feb6b261e 100644 --- a/arch/arm/mach-iop13xx/tpmi.c +++ b/arch/arm/mach-iop13xx/tpmi.c | |||
| @@ -152,7 +152,7 @@ static struct resource iop13xx_tpmi_3_resources[] = { | |||
| 152 | } | 152 | } |
| 153 | }; | 153 | }; |
| 154 | 154 | ||
| 155 | u64 iop13xx_tpmi_mask = DMA_BIT_MASK(64); | 155 | u64 iop13xx_tpmi_mask = DMA_BIT_MASK(32); |
| 156 | static struct platform_device iop13xx_tpmi_0_device = { | 156 | static struct platform_device iop13xx_tpmi_0_device = { |
| 157 | .name = "iop-tpmi", | 157 | .name = "iop-tpmi", |
| 158 | .id = 0, | 158 | .id = 0, |
| @@ -160,7 +160,7 @@ static struct platform_device iop13xx_tpmi_0_device = { | |||
| 160 | .resource = iop13xx_tpmi_0_resources, | 160 | .resource = iop13xx_tpmi_0_resources, |
| 161 | .dev = { | 161 | .dev = { |
| 162 | .dma_mask = &iop13xx_tpmi_mask, | 162 | .dma_mask = &iop13xx_tpmi_mask, |
| 163 | .coherent_dma_mask = DMA_BIT_MASK(64), | 163 | .coherent_dma_mask = DMA_BIT_MASK(32), |
| 164 | }, | 164 | }, |
| 165 | }; | 165 | }; |
| 166 | 166 | ||
| @@ -171,7 +171,7 @@ static struct platform_device iop13xx_tpmi_1_device = { | |||
| 171 | .resource = iop13xx_tpmi_1_resources, | 171 | .resource = iop13xx_tpmi_1_resources, |
| 172 | .dev = { | 172 | .dev = { |
| 173 | .dma_mask = &iop13xx_tpmi_mask, | 173 | .dma_mask = &iop13xx_tpmi_mask, |
| 174 | .coherent_dma_mask = DMA_BIT_MASK(64), | 174 | .coherent_dma_mask = DMA_BIT_MASK(32), |
| 175 | }, | 175 | }, |
| 176 | }; | 176 | }; |
| 177 | 177 | ||
| @@ -182,7 +182,7 @@ static struct platform_device iop13xx_tpmi_2_device = { | |||
| 182 | .resource = iop13xx_tpmi_2_resources, | 182 | .resource = iop13xx_tpmi_2_resources, |
| 183 | .dev = { | 183 | .dev = { |
| 184 | .dma_mask = &iop13xx_tpmi_mask, | 184 | .dma_mask = &iop13xx_tpmi_mask, |
| 185 | .coherent_dma_mask = DMA_BIT_MASK(64), | 185 | .coherent_dma_mask = DMA_BIT_MASK(32), |
| 186 | }, | 186 | }, |
| 187 | }; | 187 | }; |
| 188 | 188 | ||
| @@ -193,7 +193,7 @@ static struct platform_device iop13xx_tpmi_3_device = { | |||
| 193 | .resource = iop13xx_tpmi_3_resources, | 193 | .resource = iop13xx_tpmi_3_resources, |
| 194 | .dev = { | 194 | .dev = { |
| 195 | .dma_mask = &iop13xx_tpmi_mask, | 195 | .dma_mask = &iop13xx_tpmi_mask, |
| 196 | .coherent_dma_mask = DMA_BIT_MASK(64), | 196 | .coherent_dma_mask = DMA_BIT_MASK(32), |
| 197 | }, | 197 | }, |
| 198 | }; | 198 | }; |
| 199 | 199 | ||
diff --git a/arch/arm/mach-milbeaut/platsmp.c b/arch/arm/mach-milbeaut/platsmp.c index 591543c81399..3ea880f5fcb7 100644 --- a/arch/arm/mach-milbeaut/platsmp.c +++ b/arch/arm/mach-milbeaut/platsmp.c | |||
| @@ -65,6 +65,7 @@ static void m10v_smp_init(unsigned int max_cpus) | |||
| 65 | writel(KERNEL_UNBOOT_FLAG, m10v_smp_base + cpu * 4); | 65 | writel(KERNEL_UNBOOT_FLAG, m10v_smp_base + cpu * 4); |
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | #ifdef CONFIG_HOTPLUG_CPU | ||
| 68 | static void m10v_cpu_die(unsigned int l_cpu) | 69 | static void m10v_cpu_die(unsigned int l_cpu) |
| 69 | { | 70 | { |
| 70 | gic_cpu_if_down(0); | 71 | gic_cpu_if_down(0); |
| @@ -83,12 +84,15 @@ static int m10v_cpu_kill(unsigned int l_cpu) | |||
| 83 | 84 | ||
| 84 | return 1; | 85 | return 1; |
| 85 | } | 86 | } |
| 87 | #endif | ||
| 86 | 88 | ||
| 87 | static struct smp_operations m10v_smp_ops __initdata = { | 89 | static struct smp_operations m10v_smp_ops __initdata = { |
| 88 | .smp_prepare_cpus = m10v_smp_init, | 90 | .smp_prepare_cpus = m10v_smp_init, |
| 89 | .smp_boot_secondary = m10v_boot_secondary, | 91 | .smp_boot_secondary = m10v_boot_secondary, |
| 92 | #ifdef CONFIG_HOTPLUG_CPU | ||
| 90 | .cpu_die = m10v_cpu_die, | 93 | .cpu_die = m10v_cpu_die, |
| 91 | .cpu_kill = m10v_cpu_kill, | 94 | .cpu_kill = m10v_cpu_kill, |
| 95 | #endif | ||
| 92 | }; | 96 | }; |
| 93 | CPU_METHOD_OF_DECLARE(m10v_smp, "socionext,milbeaut-m10v-smp", &m10v_smp_ops); | 97 | CPU_METHOD_OF_DECLARE(m10v_smp, "socionext,milbeaut-m10v-smp", &m10v_smp_ops); |
| 94 | 98 | ||
diff --git a/arch/arm/mach-omap1/board-ams-delta.c b/arch/arm/mach-omap1/board-ams-delta.c index be30c3c061b4..1b15d593837e 100644 --- a/arch/arm/mach-omap1/board-ams-delta.c +++ b/arch/arm/mach-omap1/board-ams-delta.c | |||
| @@ -182,6 +182,7 @@ static struct resource latch1_resources[] = { | |||
| 182 | 182 | ||
| 183 | static struct bgpio_pdata latch1_pdata = { | 183 | static struct bgpio_pdata latch1_pdata = { |
| 184 | .label = LATCH1_LABEL, | 184 | .label = LATCH1_LABEL, |
| 185 | .base = -1, | ||
| 185 | .ngpio = LATCH1_NGPIO, | 186 | .ngpio = LATCH1_NGPIO, |
| 186 | }; | 187 | }; |
| 187 | 188 | ||
| @@ -219,6 +220,7 @@ static struct resource latch2_resources[] = { | |||
| 219 | 220 | ||
| 220 | static struct bgpio_pdata latch2_pdata = { | 221 | static struct bgpio_pdata latch2_pdata = { |
| 221 | .label = LATCH2_LABEL, | 222 | .label = LATCH2_LABEL, |
| 223 | .base = -1, | ||
| 222 | .ngpio = LATCH2_NGPIO, | 224 | .ngpio = LATCH2_NGPIO, |
| 223 | }; | 225 | }; |
| 224 | 226 | ||
diff --git a/arch/arm/mach-omap2/display.c b/arch/arm/mach-omap2/display.c index 1444b4b4bd9f..439e143cad7b 100644 --- a/arch/arm/mach-omap2/display.c +++ b/arch/arm/mach-omap2/display.c | |||
| @@ -250,8 +250,10 @@ static int __init omapdss_init_of(void) | |||
| 250 | if (!node) | 250 | if (!node) |
| 251 | return 0; | 251 | return 0; |
| 252 | 252 | ||
| 253 | if (!of_device_is_available(node)) | 253 | if (!of_device_is_available(node)) { |
| 254 | of_node_put(node); | ||
| 254 | return 0; | 255 | return 0; |
| 256 | } | ||
| 255 | 257 | ||
| 256 | pdev = of_find_device_by_node(node); | 258 | pdev = of_find_device_by_node(node); |
| 257 | 259 | ||
diff --git a/arch/arm/plat-iop/adma.c b/arch/arm/plat-iop/adma.c index a4d1f8de3b5b..d9612221e484 100644 --- a/arch/arm/plat-iop/adma.c +++ b/arch/arm/plat-iop/adma.c | |||
| @@ -143,7 +143,7 @@ struct platform_device iop3xx_dma_0_channel = { | |||
| 143 | .resource = iop3xx_dma_0_resources, | 143 | .resource = iop3xx_dma_0_resources, |
| 144 | .dev = { | 144 | .dev = { |
| 145 | .dma_mask = &iop3xx_adma_dmamask, | 145 | .dma_mask = &iop3xx_adma_dmamask, |
| 146 | .coherent_dma_mask = DMA_BIT_MASK(64), | 146 | .coherent_dma_mask = DMA_BIT_MASK(32), |
| 147 | .platform_data = (void *) &iop3xx_dma_0_data, | 147 | .platform_data = (void *) &iop3xx_dma_0_data, |
| 148 | }, | 148 | }, |
| 149 | }; | 149 | }; |
| @@ -155,7 +155,7 @@ struct platform_device iop3xx_dma_1_channel = { | |||
| 155 | .resource = iop3xx_dma_1_resources, | 155 | .resource = iop3xx_dma_1_resources, |
| 156 | .dev = { | 156 | .dev = { |
| 157 | .dma_mask = &iop3xx_adma_dmamask, | 157 | .dma_mask = &iop3xx_adma_dmamask, |
| 158 | .coherent_dma_mask = DMA_BIT_MASK(64), | 158 | .coherent_dma_mask = DMA_BIT_MASK(32), |
| 159 | .platform_data = (void *) &iop3xx_dma_1_data, | 159 | .platform_data = (void *) &iop3xx_dma_1_data, |
| 160 | }, | 160 | }, |
| 161 | }; | 161 | }; |
| @@ -167,7 +167,7 @@ struct platform_device iop3xx_aau_channel = { | |||
| 167 | .resource = iop3xx_aau_resources, | 167 | .resource = iop3xx_aau_resources, |
| 168 | .dev = { | 168 | .dev = { |
| 169 | .dma_mask = &iop3xx_adma_dmamask, | 169 | .dma_mask = &iop3xx_adma_dmamask, |
| 170 | .coherent_dma_mask = DMA_BIT_MASK(64), | 170 | .coherent_dma_mask = DMA_BIT_MASK(32), |
| 171 | .platform_data = (void *) &iop3xx_aau_data, | 171 | .platform_data = (void *) &iop3xx_aau_data, |
| 172 | }, | 172 | }, |
| 173 | }; | 173 | }; |
diff --git a/arch/arm/plat-orion/common.c b/arch/arm/plat-orion/common.c index a6c81ce00f52..8647cb80a93b 100644 --- a/arch/arm/plat-orion/common.c +++ b/arch/arm/plat-orion/common.c | |||
| @@ -622,7 +622,7 @@ static struct platform_device orion_xor0_shared = { | |||
| 622 | .resource = orion_xor0_shared_resources, | 622 | .resource = orion_xor0_shared_resources, |
| 623 | .dev = { | 623 | .dev = { |
| 624 | .dma_mask = &orion_xor_dmamask, | 624 | .dma_mask = &orion_xor_dmamask, |
| 625 | .coherent_dma_mask = DMA_BIT_MASK(64), | 625 | .coherent_dma_mask = DMA_BIT_MASK(32), |
| 626 | .platform_data = &orion_xor0_pdata, | 626 | .platform_data = &orion_xor0_pdata, |
| 627 | }, | 627 | }, |
| 628 | }; | 628 | }; |
| @@ -683,7 +683,7 @@ static struct platform_device orion_xor1_shared = { | |||
| 683 | .resource = orion_xor1_shared_resources, | 683 | .resource = orion_xor1_shared_resources, |
| 684 | .dev = { | 684 | .dev = { |
| 685 | .dma_mask = &orion_xor_dmamask, | 685 | .dma_mask = &orion_xor_dmamask, |
| 686 | .coherent_dma_mask = DMA_BIT_MASK(64), | 686 | .coherent_dma_mask = DMA_BIT_MASK(32), |
| 687 | .platform_data = &orion_xor1_pdata, | 687 | .platform_data = &orion_xor1_pdata, |
| 688 | }, | 688 | }, |
| 689 | }; | 689 | }; |
diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi index 7c649f6b14cb..cd7c76e58b09 100644 --- a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi +++ b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | |||
| @@ -162,6 +162,7 @@ | |||
| 162 | rx-fifo-depth = <16384>; | 162 | rx-fifo-depth = <16384>; |
| 163 | snps,multicast-filter-bins = <256>; | 163 | snps,multicast-filter-bins = <256>; |
| 164 | iommus = <&smmu 1>; | 164 | iommus = <&smmu 1>; |
| 165 | altr,sysmgr-syscon = <&sysmgr 0x44 0>; | ||
| 165 | status = "disabled"; | 166 | status = "disabled"; |
| 166 | }; | 167 | }; |
| 167 | 168 | ||
| @@ -179,6 +180,7 @@ | |||
| 179 | rx-fifo-depth = <16384>; | 180 | rx-fifo-depth = <16384>; |
| 180 | snps,multicast-filter-bins = <256>; | 181 | snps,multicast-filter-bins = <256>; |
| 181 | iommus = <&smmu 2>; | 182 | iommus = <&smmu 2>; |
| 183 | altr,sysmgr-syscon = <&sysmgr 0x48 0>; | ||
| 182 | status = "disabled"; | 184 | status = "disabled"; |
| 183 | }; | 185 | }; |
| 184 | 186 | ||
| @@ -196,6 +198,7 @@ | |||
| 196 | rx-fifo-depth = <16384>; | 198 | rx-fifo-depth = <16384>; |
| 197 | snps,multicast-filter-bins = <256>; | 199 | snps,multicast-filter-bins = <256>; |
| 198 | iommus = <&smmu 3>; | 200 | iommus = <&smmu 3>; |
| 201 | altr,sysmgr-syscon = <&sysmgr 0x4c 0>; | ||
| 199 | status = "disabled"; | 202 | status = "disabled"; |
| 200 | }; | 203 | }; |
| 201 | 204 | ||
diff --git a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts index 33c44e857247..0e34354b2092 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts +++ b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts | |||
| @@ -108,8 +108,8 @@ | |||
| 108 | snps,reset-gpio = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>; | 108 | snps,reset-gpio = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>; |
| 109 | snps,reset-active-low; | 109 | snps,reset-active-low; |
| 110 | snps,reset-delays-us = <0 10000 50000>; | 110 | snps,reset-delays-us = <0 10000 50000>; |
| 111 | tx_delay = <0x25>; | 111 | tx_delay = <0x24>; |
| 112 | rx_delay = <0x11>; | 112 | rx_delay = <0x18>; |
| 113 | status = "okay"; | 113 | status = "okay"; |
| 114 | }; | 114 | }; |
| 115 | 115 | ||
diff --git a/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts b/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts index 2157a528276b..79b4d1d4b5d6 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts +++ b/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts | |||
| @@ -46,8 +46,7 @@ | |||
| 46 | 46 | ||
| 47 | vcc_host1_5v: vcc_otg_5v: vcc-host1-5v-regulator { | 47 | vcc_host1_5v: vcc_otg_5v: vcc-host1-5v-regulator { |
| 48 | compatible = "regulator-fixed"; | 48 | compatible = "regulator-fixed"; |
| 49 | enable-active-high; | 49 | gpio = <&gpio0 RK_PA2 GPIO_ACTIVE_LOW>; |
| 50 | gpio = <&gpio0 RK_PA2 GPIO_ACTIVE_HIGH>; | ||
| 51 | pinctrl-names = "default"; | 50 | pinctrl-names = "default"; |
| 52 | pinctrl-0 = <&usb20_host_drv>; | 51 | pinctrl-0 = <&usb20_host_drv>; |
| 53 | regulator-name = "vcc_host1_5v"; | 52 | regulator-name = "vcc_host1_5v"; |
diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi index 84f14b132e8f..dabef1a21649 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi | |||
| @@ -1445,11 +1445,11 @@ | |||
| 1445 | 1445 | ||
| 1446 | sdmmc0 { | 1446 | sdmmc0 { |
| 1447 | sdmmc0_clk: sdmmc0-clk { | 1447 | sdmmc0_clk: sdmmc0-clk { |
| 1448 | rockchip,pins = <1 RK_PA6 1 &pcfg_pull_none_4ma>; | 1448 | rockchip,pins = <1 RK_PA6 1 &pcfg_pull_none_8ma>; |
| 1449 | }; | 1449 | }; |
| 1450 | 1450 | ||
| 1451 | sdmmc0_cmd: sdmmc0-cmd { | 1451 | sdmmc0_cmd: sdmmc0-cmd { |
| 1452 | rockchip,pins = <1 RK_PA4 1 &pcfg_pull_up_4ma>; | 1452 | rockchip,pins = <1 RK_PA4 1 &pcfg_pull_up_8ma>; |
| 1453 | }; | 1453 | }; |
| 1454 | 1454 | ||
| 1455 | sdmmc0_dectn: sdmmc0-dectn { | 1455 | sdmmc0_dectn: sdmmc0-dectn { |
| @@ -1461,14 +1461,14 @@ | |||
| 1461 | }; | 1461 | }; |
| 1462 | 1462 | ||
| 1463 | sdmmc0_bus1: sdmmc0-bus1 { | 1463 | sdmmc0_bus1: sdmmc0-bus1 { |
| 1464 | rockchip,pins = <1 RK_PA0 1 &pcfg_pull_up_4ma>; | 1464 | rockchip,pins = <1 RK_PA0 1 &pcfg_pull_up_8ma>; |
| 1465 | }; | 1465 | }; |
| 1466 | 1466 | ||
| 1467 | sdmmc0_bus4: sdmmc0-bus4 { | 1467 | sdmmc0_bus4: sdmmc0-bus4 { |
| 1468 | rockchip,pins = <1 RK_PA0 1 &pcfg_pull_up_4ma>, | 1468 | rockchip,pins = <1 RK_PA0 1 &pcfg_pull_up_8ma>, |
| 1469 | <1 RK_PA1 1 &pcfg_pull_up_4ma>, | 1469 | <1 RK_PA1 1 &pcfg_pull_up_8ma>, |
| 1470 | <1 RK_PA2 1 &pcfg_pull_up_4ma>, | 1470 | <1 RK_PA2 1 &pcfg_pull_up_8ma>, |
| 1471 | <1 RK_PA3 1 &pcfg_pull_up_4ma>; | 1471 | <1 RK_PA3 1 &pcfg_pull_up_8ma>; |
| 1472 | }; | 1472 | }; |
| 1473 | 1473 | ||
| 1474 | sdmmc0_gpio: sdmmc0-gpio { | 1474 | sdmmc0_gpio: sdmmc0-gpio { |
| @@ -1642,50 +1642,50 @@ | |||
| 1642 | rgmiim1_pins: rgmiim1-pins { | 1642 | rgmiim1_pins: rgmiim1-pins { |
| 1643 | rockchip,pins = | 1643 | rockchip,pins = |
| 1644 | /* mac_txclk */ | 1644 | /* mac_txclk */ |
| 1645 | <1 RK_PB4 2 &pcfg_pull_none_12ma>, | 1645 | <1 RK_PB4 2 &pcfg_pull_none_8ma>, |
| 1646 | /* mac_rxclk */ | 1646 | /* mac_rxclk */ |
| 1647 | <1 RK_PB5 2 &pcfg_pull_none_2ma>, | 1647 | <1 RK_PB5 2 &pcfg_pull_none_4ma>, |
| 1648 | /* mac_mdio */ | 1648 | /* mac_mdio */ |
| 1649 | <1 RK_PC3 2 &pcfg_pull_none_2ma>, | 1649 | <1 RK_PC3 2 &pcfg_pull_none_4ma>, |
| 1650 | /* mac_txen */ | 1650 | /* mac_txen */ |
| 1651 | <1 RK_PD1 2 &pcfg_pull_none_12ma>, | 1651 | <1 RK_PD1 2 &pcfg_pull_none_8ma>, |
| 1652 | /* mac_clk */ | 1652 | /* mac_clk */ |
| 1653 | <1 RK_PC5 2 &pcfg_pull_none_2ma>, | 1653 | <1 RK_PC5 2 &pcfg_pull_none_4ma>, |
| 1654 | /* mac_rxdv */ | 1654 | /* mac_rxdv */ |
| 1655 | <1 RK_PC6 2 &pcfg_pull_none_2ma>, | 1655 | <1 RK_PC6 2 &pcfg_pull_none_4ma>, |
| 1656 | /* mac_mdc */ | 1656 | /* mac_mdc */ |
| 1657 | <1 RK_PC7 2 &pcfg_pull_none_2ma>, | 1657 | <1 RK_PC7 2 &pcfg_pull_none_4ma>, |
| 1658 | /* mac_rxd1 */ | 1658 | /* mac_rxd1 */ |
| 1659 | <1 RK_PB2 2 &pcfg_pull_none_2ma>, | 1659 | <1 RK_PB2 2 &pcfg_pull_none_4ma>, |
| 1660 | /* mac_rxd0 */ | 1660 | /* mac_rxd0 */ |
| 1661 | <1 RK_PB3 2 &pcfg_pull_none_2ma>, | 1661 | <1 RK_PB3 2 &pcfg_pull_none_4ma>, |
| 1662 | /* mac_txd1 */ | 1662 | /* mac_txd1 */ |
| 1663 | <1 RK_PB0 2 &pcfg_pull_none_12ma>, | 1663 | <1 RK_PB0 2 &pcfg_pull_none_8ma>, |
| 1664 | /* mac_txd0 */ | 1664 | /* mac_txd0 */ |
| 1665 | <1 RK_PB1 2 &pcfg_pull_none_12ma>, | 1665 | <1 RK_PB1 2 &pcfg_pull_none_8ma>, |
| 1666 | /* mac_rxd3 */ | 1666 | /* mac_rxd3 */ |
| 1667 | <1 RK_PB6 2 &pcfg_pull_none_2ma>, | 1667 | <1 RK_PB6 2 &pcfg_pull_none_4ma>, |
| 1668 | /* mac_rxd2 */ | 1668 | /* mac_rxd2 */ |
| 1669 | <1 RK_PB7 2 &pcfg_pull_none_2ma>, | 1669 | <1 RK_PB7 2 &pcfg_pull_none_4ma>, |
| 1670 | /* mac_txd3 */ | 1670 | /* mac_txd3 */ |
| 1671 | <1 RK_PC0 2 &pcfg_pull_none_12ma>, | 1671 | <1 RK_PC0 2 &pcfg_pull_none_8ma>, |
| 1672 | /* mac_txd2 */ | 1672 | /* mac_txd2 */ |
| 1673 | <1 RK_PC1 2 &pcfg_pull_none_12ma>, | 1673 | <1 RK_PC1 2 &pcfg_pull_none_8ma>, |
| 1674 | 1674 | ||
| 1675 | /* mac_txclk */ | 1675 | /* mac_txclk */ |
| 1676 | <0 RK_PB0 1 &pcfg_pull_none>, | 1676 | <0 RK_PB0 1 &pcfg_pull_none_8ma>, |
| 1677 | /* mac_txen */ | 1677 | /* mac_txen */ |
| 1678 | <0 RK_PB4 1 &pcfg_pull_none>, | 1678 | <0 RK_PB4 1 &pcfg_pull_none_8ma>, |
| 1679 | /* mac_clk */ | 1679 | /* mac_clk */ |
| 1680 | <0 RK_PD0 1 &pcfg_pull_none>, | 1680 | <0 RK_PD0 1 &pcfg_pull_none_4ma>, |
| 1681 | /* mac_txd1 */ | 1681 | /* mac_txd1 */ |
| 1682 | <0 RK_PC0 1 &pcfg_pull_none>, | 1682 | <0 RK_PC0 1 &pcfg_pull_none_8ma>, |
| 1683 | /* mac_txd0 */ | 1683 | /* mac_txd0 */ |
| 1684 | <0 RK_PC1 1 &pcfg_pull_none>, | 1684 | <0 RK_PC1 1 &pcfg_pull_none_8ma>, |
| 1685 | /* mac_txd3 */ | 1685 | /* mac_txd3 */ |
| 1686 | <0 RK_PC7 1 &pcfg_pull_none>, | 1686 | <0 RK_PC7 1 &pcfg_pull_none_8ma>, |
| 1687 | /* mac_txd2 */ | 1687 | /* mac_txd2 */ |
| 1688 | <0 RK_PC6 1 &pcfg_pull_none>; | 1688 | <0 RK_PC6 1 &pcfg_pull_none_8ma>; |
| 1689 | }; | 1689 | }; |
| 1690 | 1690 | ||
| 1691 | rmiim1_pins: rmiim1-pins { | 1691 | rmiim1_pins: rmiim1-pins { |
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dts b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dts index 4a543f2117d4..844eac939a97 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dts | |||
| @@ -158,6 +158,7 @@ | |||
| 158 | }; | 158 | }; |
| 159 | 159 | ||
| 160 | &hdmi { | 160 | &hdmi { |
| 161 | ddc-i2c-bus = <&i2c3>; | ||
| 161 | pinctrl-names = "default"; | 162 | pinctrl-names = "default"; |
| 162 | pinctrl-0 = <&hdmi_cec>; | 163 | pinctrl-0 = <&hdmi_cec>; |
| 163 | status = "okay"; | 164 | status = "okay"; |
diff --git a/drivers/reset/reset-meson-audio-arb.c b/drivers/reset/reset-meson-audio-arb.c index 91751617b37a..c53a2185a039 100644 --- a/drivers/reset/reset-meson-audio-arb.c +++ b/drivers/reset/reset-meson-audio-arb.c | |||
| @@ -130,6 +130,7 @@ static int meson_audio_arb_probe(struct platform_device *pdev) | |||
| 130 | arb->rstc.nr_resets = ARRAY_SIZE(axg_audio_arb_reset_bits); | 130 | arb->rstc.nr_resets = ARRAY_SIZE(axg_audio_arb_reset_bits); |
| 131 | arb->rstc.ops = &meson_audio_arb_rstc_ops; | 131 | arb->rstc.ops = &meson_audio_arb_rstc_ops; |
| 132 | arb->rstc.of_node = dev->of_node; | 132 | arb->rstc.of_node = dev->of_node; |
| 133 | arb->rstc.owner = THIS_MODULE; | ||
| 133 | 134 | ||
| 134 | /* | 135 | /* |
| 135 | * Enable general : | 136 | * Enable general : |
diff --git a/include/dt-bindings/reset/amlogic,meson-g12a-reset.h b/include/dt-bindings/reset/amlogic,meson-g12a-reset.h index 8063e8314eef..6d487c5eba2c 100644 --- a/include/dt-bindings/reset/amlogic,meson-g12a-reset.h +++ b/include/dt-bindings/reset/amlogic,meson-g12a-reset.h | |||
| @@ -51,7 +51,10 @@ | |||
| 51 | #define RESET_SD_EMMC_A 44 | 51 | #define RESET_SD_EMMC_A 44 |
| 52 | #define RESET_SD_EMMC_B 45 | 52 | #define RESET_SD_EMMC_B 45 |
| 53 | #define RESET_SD_EMMC_C 46 | 53 | #define RESET_SD_EMMC_C 46 |
| 54 | /* 47-60 */ | 54 | /* 47 */ |
| 55 | #define RESET_USB_PHY20 48 | ||
| 56 | #define RESET_USB_PHY21 49 | ||
| 57 | /* 50-60 */ | ||
| 55 | #define RESET_AUDIO_CODEC 61 | 58 | #define RESET_AUDIO_CODEC 61 |
| 56 | /* 62-63 */ | 59 | /* 62-63 */ |
| 57 | /* RESET2 */ | 60 | /* RESET2 */ |
