Skip to content

Commit d84baa5

Browse files
committed
Merge tag 'sunxi-fixes-for-4.15' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/sunxi/linux into fixes
Pull "Allwinner fixes for 4.15" from Chen-Yu Tsai: First, one fix that adds proper regulator references for the EMAC external PHYs on A64 boards. The EMAC bindings were developed for 4.13, but reverted at the last minute. They were finalized and brought back for 4.15. However in the time between, regulator support for the A64 boards was merged. When EMAC device tree changes were reintroduced, this was not taken into account. Second, a patch that adds OF based modalias uevent for RSB slave devices. This has been missing since the introduction of RSB, and recently with PMIC regulator support introduced for the A64, has been seen affecting distributions, which have the all-important PMIC mfd drivers built as modules, which then don't get loaded. Other minor cleanups include final conversion of raw indices to CCU binding macros for sun[4567]i HDMI, cleanup of dummy regulators on the A64 SOPINE, a SD card detection polarity fix for the Orange Pi Zero Plus2, and adding a missing compatible for the PMIC on the TBS A711 tablet. * tag 'sunxi-fixes-for-4.15' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/sunxi/linux: ARM: dts: sun8i: a711: Reinstate the PMIC compatible arm64: dts: orange-pi-zero-plus2: fix sdcard detect arm64: allwinner: a64-sopine: Fix to use dcdc1 regulator instead of vcc3v3 ARM: dts: sunxi: Convert to CCU index macros for HDMI controller sunxi-rsb: Include OF based modalias in device uevent arm64: allwinner: a64: add Ethernet PHY regulator for several boards
2 parents 3bfbed8 + eac6a36 commit d84baa5

File tree

11 files changed

+16
-20
lines changed

11 files changed

+16
-20
lines changed

arch/arm/boot/dts/sun4i-a10.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -502,8 +502,8 @@
502502
reg = <0x01c16000 0x1000>;
503503
interrupts = <58>;
504504
clocks = <&ccu CLK_AHB_HDMI0>, <&ccu CLK_HDMI>,
505-
<&ccu 9>,
506-
<&ccu 18>;
505+
<&ccu CLK_PLL_VIDEO0_2X>,
506+
<&ccu CLK_PLL_VIDEO1_2X>;
507507
clock-names = "ahb", "mod", "pll-0", "pll-1";
508508
dmas = <&dma SUN4I_DMA_NORMAL 16>,
509509
<&dma SUN4I_DMA_NORMAL 16>,

arch/arm/boot/dts/sun5i-a10s.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@
8282
reg = <0x01c16000 0x1000>;
8383
interrupts = <58>;
8484
clocks = <&ccu CLK_AHB_HDMI>, <&ccu CLK_HDMI>,
85-
<&ccu 9>,
86-
<&ccu 16>;
85+
<&ccu CLK_PLL_VIDEO0_2X>,
86+
<&ccu CLK_PLL_VIDEO1_2X>;
8787
clock-names = "ahb", "mod", "pll-0", "pll-1";
8888
dmas = <&dma SUN4I_DMA_NORMAL 16>,
8989
<&dma SUN4I_DMA_NORMAL 16>,

arch/arm/boot/dts/sun6i-a31.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,8 +429,8 @@
429429
interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
430430
clocks = <&ccu CLK_AHB1_HDMI>, <&ccu CLK_HDMI>,
431431
<&ccu CLK_HDMI_DDC>,
432-
<&ccu 7>,
433-
<&ccu 13>;
432+
<&ccu CLK_PLL_VIDEO0_2X>,
433+
<&ccu CLK_PLL_VIDEO1_2X>;
434434
clock-names = "ahb", "mod", "ddc", "pll-0", "pll-1";
435435
resets = <&ccu RST_AHB1_HDMI>;
436436
reset-names = "ahb";

arch/arm/boot/dts/sun7i-a20.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -581,8 +581,8 @@
581581
reg = <0x01c16000 0x1000>;
582582
interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
583583
clocks = <&ccu CLK_AHB_HDMI0>, <&ccu CLK_HDMI>,
584-
<&ccu 9>,
585-
<&ccu 18>;
584+
<&ccu CLK_PLL_VIDEO0_2X>,
585+
<&ccu CLK_PLL_VIDEO1_2X>;
586586
clock-names = "ahb", "mod", "pll-0", "pll-1";
587587
dmas = <&dma SUN4I_DMA_NORMAL 16>,
588588
<&dma SUN4I_DMA_NORMAL 16>,

arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@
146146
status = "okay";
147147

148148
axp81x: pmic@3a3 {
149+
compatible = "x-powers,axp813";
149150
reg = <0x3a3>;
150151
interrupt-parent = <&r_intc>;
151152
interrupts = <0 IRQ_TYPE_LEVEL_LOW>;

arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
pinctrl-0 = <&rgmii_pins>;
7676
phy-mode = "rgmii";
7777
phy-handle = <&ext_rgmii_phy>;
78+
phy-supply = <&reg_dc1sw>;
7879
status = "okay";
7980
};
8081

arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
pinctrl-0 = <&rmii_pins>;
7878
phy-mode = "rmii";
7979
phy-handle = <&ext_rmii_phy1>;
80+
phy-supply = <&reg_dc1sw>;
8081
status = "okay";
8182

8283
};

arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
pinctrl-0 = <&rgmii_pins>;
8383
phy-mode = "rgmii";
8484
phy-handle = <&ext_rgmii_phy>;
85+
phy-supply = <&reg_dc1sw>;
8586
status = "okay";
8687
};
8788

@@ -95,7 +96,7 @@
9596
&mmc2 {
9697
pinctrl-names = "default";
9798
pinctrl-0 = <&mmc2_pins>;
98-
vmmc-supply = <&reg_vcc3v3>;
99+
vmmc-supply = <&reg_dcdc1>;
99100
vqmmc-supply = <&reg_vcc1v8>;
100101
bus-width = <8>;
101102
non-removable;

arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,10 @@
4545

4646
#include "sun50i-a64.dtsi"
4747

48-
/ {
49-
reg_vcc3v3: vcc3v3 {
50-
compatible = "regulator-fixed";
51-
regulator-name = "vcc3v3";
52-
regulator-min-microvolt = <3300000>;
53-
regulator-max-microvolt = <3300000>;
54-
};
55-
};
56-
5748
&mmc0 {
5849
pinctrl-names = "default";
5950
pinctrl-0 = <&mmc0_pins>;
60-
vmmc-supply = <&reg_vcc3v3>;
51+
vmmc-supply = <&reg_dcdc1>;
6152
non-removable;
6253
disable-wp;
6354
bus-width = <4>;

arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin>;
7272
vmmc-supply = <&reg_vcc3v3>;
7373
bus-width = <4>;
74-
cd-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>;
74+
cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>;
7575
status = "okay";
7676
};
7777

0 commit comments

Comments
 (0)