These boards all have the GPIO VRSEL hooked up as an active high. Signed-off-by: Cliff Cai <cliff.cai@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
@@ -98,6 +98,10 @@ static struct musb_hdrc_config musb_config = {
.num_eps = 8,
.dma_channels = 8,
.gpio_vrsel = GPIO_PF11,
+ /* Some custom boards need to be active low, just set it to "0"
+ * if it is the case.
+ */
+ .gpio_vrsel_active = 1,
};
static struct musb_hdrc_platform_data musb_plat = {
@@ -62,6 +62,10 @@ static struct musb_hdrc_config musb_config = {
.gpio_vrsel = GPIO_PG13,
@@ -102,6 +102,10 @@ static struct musb_hdrc_config musb_config = {
@@ -498,6 +498,10 @@ static struct musb_hdrc_config musb_config = {
.gpio_vrsel = GPIO_PH6,
@@ -603,6 +603,10 @@ static struct musb_hdrc_config musb_config = {
.gpio_vrsel = GPIO_PE7,