Update the TPU pin name
Change-Id: I6e436e43ccd3cc73aa982fd5afb6bfb891957ee3
diff --git a/arch/arm64/boot/dts/mediatek/mt8167-coral.dts b/arch/arm64/boot/dts/mediatek/mt8167-coral.dts
index 1c800e3..73d29a4 100644
--- a/arch/arm64/boot/dts/mediatek/mt8167-coral.dts
+++ b/arch/arm64/boot/dts/mediatek/mt8167-coral.dts
@@ -58,18 +58,18 @@
regulator-max-microvolt = <5000000>;
};
- ga1600_pmic: ga1600_pmic {
+ apex_pmic: apex_pmic {
compatible = "regulator-fixed";
- regulator-name = "ga1600_pmic";
+ regulator-name = "apex_pmic";
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1000000>;
gpio = <&pio 56 GPIO_ACTIVE_HIGH>;
startup-delay-us = <0>;
enable-active-high;
};
- ga1600_reset: ga1600_reset {
+ apex_reset: apex_reset {
compatible = "regulator-fixed";
- regulator-name = "ga1600_reset";
+ regulator-name = "apex_reset";
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1000000>;
gpio = <&pio 57 GPIO_ACTIVE_HIGH>;
@@ -504,8 +504,8 @@
};
};
- /* GA1600 GPIO start */
- ga1600_boot_fail: boot_fail {
+ /* APEX GPIO start */
+ apex_boot_fail: boot_fail {
pins_cmd_dat {
pinmux = <MT8167_PIN_55_I2S_DATA_IN__FUNC_GPIO55>;
slew-rate = <1>;
@@ -514,7 +514,7 @@
};
};
- ga1600_pmic_en: pmic_en {
+ apex_pmic_en: pmic_en {
pins_cmd_dat {
pinmux = <MT8167_PIN_56_I2S_LRCK__FUNC_GPIO56>;
slew-rate = <1>;
@@ -522,14 +522,14 @@
};
};
- ga1600_reset_n: reset_n {
+ apex_reset_n: reset_n {
pins_cmd_dat {
pinmux = <MT8167_PIN_57_I2S_BCK__FUNC_GPIO57>;
slew-rate = <1>;
output-high;
};
};
- /* GA1600 GPIO end */
+ /* APEX GPIO end */
camera_pins_default: camdefault {
pins_cmd_dat {
@@ -787,5 +787,5 @@
&usb1 {
status = "okay";
- ga1600_pmic-supply = <&ga1600_pmic>;
+ apex_pmic-supply = <&apex_pmic>;
};
diff --git a/drivers/misc/mediatek/usb11/mt8167/musbfsh_core.c b/drivers/misc/mediatek/usb11/mt8167/musbfsh_core.c
index 23777dd..4b0afd0 100644
--- a/drivers/misc/mediatek/usb11/mt8167/musbfsh_core.c
+++ b/drivers/misc/mediatek/usb11/mt8167/musbfsh_core.c
@@ -1366,7 +1366,7 @@
musbfsh->config->fifo_cfg_size = sizeof(epx_cfg) / sizeof(struct musbfsh_fifo_cfg);
#ifdef CONFIG_EDGETPU_PMIC_SUPPORT
- vbus_supply = devm_regulator_get_optional(dev, "ga1600_pmic");
+ vbus_supply = devm_regulator_get_optional(dev, "apex_pmic");
if (vbus_supply) {
musbfsh->vbus_supply = vbus_supply;
WARNING("vbus registered\n");