ARM: sunxi: common-regulators: Drop pinmux settings for GPIO pins

As part of our effort to move pinctrl/GPIO interlocking into the
driver where it belongs, this patch drops the definition and usage
of the pinmux settings for the common regulators defined in
sunxi-common-regulators.dtsi.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
This commit is contained in:
Chen-Yu Tsai 2017-04-19 13:09:16 +08:00 committed by Maxime Ripard
parent e53bfb022f
commit 8a92770b64
13 changed files with 0 additions and 88 deletions

View File

@ -120,10 +120,6 @@
status = "okay";
};
&usb2_vbus_pin_a {
pins = "PH6";
};
&usb_otg {
dr_mode = "otg";
status = "okay";

View File

@ -136,14 +136,6 @@
status = "okay";
};
&usb0_vbus_pin_a {
pins = "PG13";
};
&usb1_vbus_pin_a {
pins = "PB10";
};
&usb_otg {
dr_mode = "host";
status = "okay";

View File

@ -168,10 +168,6 @@
status = "okay";
};
&usb1_vbus_pin_a {
pins = "PG13";
};
&usbphy {
pinctrl-names = "default";
pinctrl-0 = <&usb0_id_detect_pin>;

View File

@ -271,10 +271,6 @@
status = "okay";
};
&usb0_vbus_pin_a {
pins = "PG11";
};
&usbphy {
pinctrl-names = "default";
pinctrl-0 = <&usb0_id_detect_pin>;

View File

@ -216,10 +216,6 @@
status = "okay";
};
&usb1_vbus_pin_a {
pins = "PG12";
};
&usbphy {
usb1_vbus-supply = <&reg_usb1_vbus>;
status = "okay";

View File

@ -207,10 +207,6 @@
status = "okay";
};
&usb0_vbus_pin_a {
pins = "PG12";
};
&usbphy {
pinctrl-names = "default";
pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;

View File

@ -186,7 +186,6 @@
};
&reg_usb0_vbus {
pinctrl-0 = <&usb0_vbus_pin_a>;
gpio = <&pio 6 12 GPIO_ACTIVE_HIGH>; /* PG12 */
status = "okay";
};
@ -202,10 +201,6 @@
status = "okay";
};
&usb0_vbus_pin_a {
pins = "PG12";
};
&usbphy {
pinctrl-names = "default";
pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;

View File

@ -269,10 +269,6 @@
status = "okay";
};
&usb0_vbus_pin_a {
pins = "PG12";
};
&usbphy {
pinctrl-names = "default";
pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;

View File

@ -344,11 +344,6 @@
status = "okay";
};
&usb1_vbus_pin_a {
/* different pin from sunxi-common-regulators */
pins = "PH24";
};
&usbphy {
usb0_id_det-gpio = <&pio 0 15 GPIO_ACTIVE_HIGH>; /* PA15 */
usb0_vbus_det-gpio = <&pio 0 16 GPIO_ACTIVE_HIGH>; /* PA16 */

View File

@ -85,10 +85,6 @@
};
};
&ahci_pwr_pin_a {
pins = "PB3";
};
&ahci {
target-supply = <&reg_ahci_5v>;
status = "okay";
@ -319,10 +315,6 @@
status = "okay";
};
&usb2_vbus_pin_a {
pins = "PH12";
};
&usbphy {
pinctrl-names = "default";
pinctrl-0 = <&usb0_id_detect_pin>;

View File

@ -106,10 +106,6 @@
status = "okay";
};
&ahci_pwr_pin_a {
pins = "PH2";
};
&codec {
status = "okay";
};

View File

@ -195,10 +195,6 @@
status = "disabled";
};
&usb1_vbus_pin_a {
pins = "PG13";
};
&usbphy {
usb1_vbus-supply = <&reg_usb1_vbus>;
status = "okay";

View File

@ -44,33 +44,9 @@
#include <dt-bindings/gpio/gpio.h>
&pio {
ahci_pwr_pin_a: ahci_pwr_pin@0 {
pins = "PB8";
function = "gpio_out";
};
usb0_vbus_pin_a: usb0_vbus_pin@0 {
pins = "PB9";
function = "gpio_out";
};
usb1_vbus_pin_a: usb1_vbus_pin@0 {
pins = "PH6";
function = "gpio_out";
};
usb2_vbus_pin_a: usb2_vbus_pin@0 {
pins = "PH3";
function = "gpio_out";
};
};
/ {
reg_ahci_5v: ahci-5v {
compatible = "regulator-fixed";
pinctrl-names = "default";
pinctrl-0 = <&ahci_pwr_pin_a>;
regulator-name = "ahci-5v";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
@ -82,8 +58,6 @@
reg_usb0_vbus: usb0-vbus {
compatible = "regulator-fixed";
pinctrl-names = "default";
pinctrl-0 = <&usb0_vbus_pin_a>;
regulator-name = "usb0-vbus";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
@ -94,8 +68,6 @@
reg_usb1_vbus: usb1-vbus {
compatible = "regulator-fixed";
pinctrl-names = "default";
pinctrl-0 = <&usb1_vbus_pin_a>;
regulator-name = "usb1-vbus";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
@ -107,8 +79,6 @@
reg_usb2_vbus: usb2-vbus {
compatible = "regulator-fixed";
pinctrl-names = "default";
pinctrl-0 = <&usb2_vbus_pin_a>;
regulator-name = "usb2-vbus";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;