From fd3cf1b7f8168b9eae5e8eb6dbc44ecf015d249c Mon Sep 17 00:00:00 2001 From: CTCaer Date: Sat, 11 Feb 2023 23:10:43 +0200 Subject: [PATCH] bdk: reg-5v: remove X3 pin X3 is vbus enable on mariko. --- bdk/power/regulator_5v.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/bdk/power/regulator_5v.c b/bdk/power/regulator_5v.c index 92e1001..4a78bdc 100644 --- a/bdk/power/regulator_5v.c +++ b/bdk/power/regulator_5v.c @@ -53,15 +53,6 @@ void regulator_5v_enable(u8 dev) (void)PMC(APBDEV_PMC_PWR_DET_VAL); // Commit write. usb_src = false; - - // VBUS/Fan regulator 5V for Iowa/Hoag/Aula. - if (!tegra_t210) - { - PINMUX_AUX(PINMUX_AUX_ALS_PROX_INT) = PINMUX_PULL_DOWN; - gpio_config(GPIO_PORT_X, GPIO_PIN_3, GPIO_MODE_GPIO); - gpio_output_enable(GPIO_PORT_X, GPIO_PIN_3, GPIO_OUTPUT_ENABLE); - gpio_write(GPIO_PORT_X, GPIO_PIN_3, GPIO_HIGH); - } } reg_5v_dev |= dev; } @@ -85,10 +76,6 @@ void regulator_5v_disable(u8 dev) usb_src = false; } - - // VBUS/Fan regulator 5V for Hoag/Aula. - if (!tegra_t210) - gpio_write(GPIO_PORT_X, GPIO_PIN_3, GPIO_LOW); } }