You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Q1. Open drain pin settings
There's a scenario that OPEN DRAIN pin would set to OUTPUT(Initial direction is INPUT ) while setting it to low. Is this a normal behavior?
p.s. Take GPIO_B6 (FM_S3M_CPU0_CD_INIT_ERROR) as example. In table plat_gpio_cfg[],
{ chip_gpio, 14, ENABLE, DISABLE, GPIO_INPUT, GPIO_LOW, OPEN_DRAIN, GPIO_INT_DISABLE, NULL },
Q2. GPIO initial settings
Why does gpio_set() need to do twice in gpio_init()? If we only keep the second one, would anything goes wrong?
Thanks,
Mouchen
The text was updated successfully, but these errors were encountered:
Hi @rainlinWW,
We have two questions about gpio settings.
Q1. Open drain pin settings
There's a scenario that OPEN DRAIN pin would set to OUTPUT(Initial direction is INPUT ) while setting it to low. Is this a normal behavior?
p.s. Take GPIO_B6 (FM_S3M_CPU0_CD_INIT_ERROR) as example. In table plat_gpio_cfg[],
{ chip_gpio, 14, ENABLE, DISABLE, GPIO_INPUT, GPIO_LOW, OPEN_DRAIN, GPIO_INT_DISABLE, NULL },
Q2. GPIO initial settings
Why does gpio_set() need to do twice in gpio_init()? If we only keep the second one, would anything goes wrong?
Thanks,
Mouchen
The text was updated successfully, but these errors were encountered: