mirror of
https://github.com/CTCaer/hekate
synced 2024-12-22 03:11:16 +00:00
bdk: reg-5v: remove X3 pin
X3 is vbus enable on mariko.
This commit is contained in:
parent
47f0734ba0
commit
fd3cf1b7f8
1 changed files with 0 additions and 13 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue