Allwinner Fixes for 4.16
The first and second patches fix the regulator support for the Bananapi M2 board. The last one updates my email address in MAINTAINERS. -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE0VqZU19dR2zEVaqr0rTAlCFNr3QFAlqzwLkACgkQ0rTAlCFN r3QkSw//Vz97WVSg5DILB0euujWNMvtO0i37DnSt8g6u68SDo61TNE9LdPydaK+e dSdRP6cUJ6DLuflYHZ30Y9+EQQpYs8YzVl4bAfKBm7IxThQx29e5MqmhtfDSrjm1 3l2D5G7hf6OsNBsfm0xkYkY8HgNriypBWbgRj/+5/gfCiHVg1Zhru5/B7X2VGrv2 gfpWRLHwDt93utcJdDKl0O71frGEcRqNJs979yTr3ERmhjo9C4EnEGFD+KouVA6O gtGI8JveKTOBc+Mzb7LYGLvboHvBKmsf5iqew1efRWZlajIuwtikS4LT9JNOCULD GEZSC56JI5Opq1h4Y2EpkKOAvAL+90RkdmQJ+JiTRxpmkGntbz7/kUs+CHYiSYIT Z8g1S42Gv9vYXCD7ACS7eaFe1Fw+bN9c7gRW2SPJj6PPiKw2FD1xYqgYOZVw/afL orGkp/lAMn3wQlmQpzEQkPRFwC9mCRFb/1UYkejVOYYM8mSOgII7QuXwK6T39gwU JA/+1puWvmsirgt+sNEp07iFBBoo5CVqcsLpITjfXE+U4oAnqYXypD+gPMVhIEas 6kzjvb3RRHDmXLJjxQMYq8I3lLU590vlf+J0jdJW12MB8hmjb34SFV3BFP8Hpipp laI9BOIRyP+yTF/CQBqLkL8TwS6hEMSN314GEriiRi+aw4IYYEo= =GQc4 -----END PGP SIGNATURE----- Merge tag 'sunxi-fixes-for-4.16' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/sunxi/linux into fixes Pull "Allwinner Fixes for 4.16" from Maxime Ripard: The first and second patches fix the regulator support for the Bananapi M2 board. The last one updates my email address in MAINTAINERS. * tag 'sunxi-fixes-for-4.16' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/sunxi/linux: MAINTAINERS: update email address for Maxime Ripard ARM: dts: sun6i: a31s: bpi-m2: add missing regulators ARM: dts: sun6i: a31s: bpi-m2: improve pmic properties
This commit is contained in:
commit
bbad2093df
@ -1152,7 +1152,7 @@ S: Maintained
|
|||||||
F: drivers/clk/sunxi/
|
F: drivers/clk/sunxi/
|
||||||
|
|
||||||
ARM/Allwinner sunXi SoC support
|
ARM/Allwinner sunXi SoC support
|
||||||
M: Maxime Ripard <maxime.ripard@free-electrons.com>
|
M: Maxime Ripard <maxime.ripard@bootlin.com>
|
||||||
M: Chen-Yu Tsai <wens@csie.org>
|
M: Chen-Yu Tsai <wens@csie.org>
|
||||||
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
|
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
|
||||||
S: Maintained
|
S: Maintained
|
||||||
@ -4626,7 +4626,7 @@ F: include/uapi/drm/drm*
|
|||||||
F: include/linux/vga*
|
F: include/linux/vga*
|
||||||
|
|
||||||
DRM DRIVERS FOR ALLWINNER A10
|
DRM DRIVERS FOR ALLWINNER A10
|
||||||
M: Maxime Ripard <maxime.ripard@free-electrons.com>
|
M: Maxime Ripard <maxime.ripard@bootlin.com>
|
||||||
L: dri-devel@lists.freedesktop.org
|
L: dri-devel@lists.freedesktop.org
|
||||||
S: Supported
|
S: Supported
|
||||||
F: drivers/gpu/drm/sun4i/
|
F: drivers/gpu/drm/sun4i/
|
||||||
|
@ -42,7 +42,6 @@
|
|||||||
|
|
||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
#include "sun6i-a31s.dtsi"
|
#include "sun6i-a31s.dtsi"
|
||||||
#include "sunxi-common-regulators.dtsi"
|
|
||||||
#include <dt-bindings/gpio/gpio.h>
|
#include <dt-bindings/gpio/gpio.h>
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
@ -99,6 +98,7 @@
|
|||||||
pinctrl-0 = <&gmac_pins_rgmii_a>, <&gmac_phy_reset_pin_bpi_m2>;
|
pinctrl-0 = <&gmac_pins_rgmii_a>, <&gmac_phy_reset_pin_bpi_m2>;
|
||||||
phy = <&phy1>;
|
phy = <&phy1>;
|
||||||
phy-mode = "rgmii";
|
phy-mode = "rgmii";
|
||||||
|
phy-supply = <®_dldo1>;
|
||||||
snps,reset-gpio = <&pio 0 21 GPIO_ACTIVE_HIGH>; /* PA21 */
|
snps,reset-gpio = <&pio 0 21 GPIO_ACTIVE_HIGH>; /* PA21 */
|
||||||
snps,reset-active-low;
|
snps,reset-active-low;
|
||||||
snps,reset-delays-us = <0 10000 30000>;
|
snps,reset-delays-us = <0 10000 30000>;
|
||||||
@ -118,7 +118,7 @@
|
|||||||
&mmc0 {
|
&mmc0 {
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_bpi_m2>;
|
pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_bpi_m2>;
|
||||||
vmmc-supply = <®_vcc3v0>;
|
vmmc-supply = <®_dcdc1>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
cd-gpios = <&pio 0 4 GPIO_ACTIVE_HIGH>; /* PA4 */
|
cd-gpios = <&pio 0 4 GPIO_ACTIVE_HIGH>; /* PA4 */
|
||||||
cd-inverted;
|
cd-inverted;
|
||||||
@ -132,7 +132,7 @@
|
|||||||
&mmc2 {
|
&mmc2 {
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&mmc2_pins_a>;
|
pinctrl-0 = <&mmc2_pins_a>;
|
||||||
vmmc-supply = <®_vcc3v0>;
|
vmmc-supply = <®_aldo1>;
|
||||||
mmc-pwrseq = <&mmc2_pwrseq>;
|
mmc-pwrseq = <&mmc2_pwrseq>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
non-removable;
|
non-removable;
|
||||||
@ -163,6 +163,8 @@
|
|||||||
reg = <0x68>;
|
reg = <0x68>;
|
||||||
interrupt-parent = <&nmi_intc>;
|
interrupt-parent = <&nmi_intc>;
|
||||||
interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
|
interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
|
||||||
|
eldoin-supply = <®_dcdc1>;
|
||||||
|
x-powers,drive-vbus-en;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -193,7 +195,28 @@
|
|||||||
|
|
||||||
#include "axp22x.dtsi"
|
#include "axp22x.dtsi"
|
||||||
|
|
||||||
|
®_aldo1 {
|
||||||
|
regulator-min-microvolt = <3300000>;
|
||||||
|
regulator-max-microvolt = <3300000>;
|
||||||
|
regulator-name = "vcc-wifi";
|
||||||
|
};
|
||||||
|
|
||||||
|
®_aldo2 {
|
||||||
|
regulator-always-on;
|
||||||
|
regulator-min-microvolt = <2500000>;
|
||||||
|
regulator-max-microvolt = <2500000>;
|
||||||
|
regulator-name = "vcc-gmac";
|
||||||
|
};
|
||||||
|
|
||||||
|
®_aldo3 {
|
||||||
|
regulator-always-on;
|
||||||
|
regulator-min-microvolt = <3000000>;
|
||||||
|
regulator-max-microvolt = <3000000>;
|
||||||
|
regulator-name = "avcc";
|
||||||
|
};
|
||||||
|
|
||||||
®_dc5ldo {
|
®_dc5ldo {
|
||||||
|
regulator-always-on;
|
||||||
regulator-min-microvolt = <700000>;
|
regulator-min-microvolt = <700000>;
|
||||||
regulator-max-microvolt = <1320000>;
|
regulator-max-microvolt = <1320000>;
|
||||||
regulator-name = "vdd-cpus";
|
regulator-name = "vdd-cpus";
|
||||||
@ -233,6 +256,40 @@
|
|||||||
regulator-name = "vcc-dram";
|
regulator-name = "vcc-dram";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
®_dldo1 {
|
||||||
|
regulator-min-microvolt = <3000000>;
|
||||||
|
regulator-max-microvolt = <3000000>;
|
||||||
|
regulator-name = "vcc-mac";
|
||||||
|
};
|
||||||
|
|
||||||
|
®_dldo2 {
|
||||||
|
regulator-min-microvolt = <2800000>;
|
||||||
|
regulator-max-microvolt = <2800000>;
|
||||||
|
regulator-name = "avdd-csi";
|
||||||
|
};
|
||||||
|
|
||||||
|
®_dldo3 {
|
||||||
|
regulator-always-on;
|
||||||
|
regulator-min-microvolt = <3300000>;
|
||||||
|
regulator-max-microvolt = <3300000>;
|
||||||
|
regulator-name = "vcc-pb";
|
||||||
|
};
|
||||||
|
|
||||||
|
®_eldo1 {
|
||||||
|
regulator-min-microvolt = <1800000>;
|
||||||
|
regulator-max-microvolt = <1800000>;
|
||||||
|
regulator-name = "vdd-csi";
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
|
®_ldo_io1 {
|
||||||
|
regulator-always-on;
|
||||||
|
regulator-min-microvolt = <1800000>;
|
||||||
|
regulator-max-microvolt = <1800000>;
|
||||||
|
regulator-name = "vcc-pm-cpus";
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&uart0 {
|
&uart0 {
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&uart0_pins_a>;
|
pinctrl-0 = <&uart0_pins_a>;
|
||||||
|
Loading…
Reference in New Issue
Block a user