[U-Boot] [PATCH 17/20] x86: minnowmax: Configure GPIO pins to turn on USB ports VBUS

Bin Meng bmeng.cn at gmail.com
Sat Jun 17 13:41:21 UTC 2017


Hi Simon,

On Sat, Jun 17, 2017 at 11:44 AM, Simon Glass <sjg at chromium.org> wrote:
> On 16 June 2017 at 07:31, Bin Meng <bmeng.cn at gmail.com> wrote:
>> GPIO bank E pin 8 & 9 are used to control the on-board two USB ports
>> VBUS on/off. Let's configure them in the misc_init_r().
>>
>> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
>> ---
>>
>>  board/intel/minnowmax/minnowmax.c | 53 +++++++++++++++++++++++++++++++++++++++
>>  include/configs/minnowmax.h       |  1 +
>>  2 files changed, 54 insertions(+)
>
> Reviewed-by: Simon Glass <sjg at chromium.org>
>
> I wonder if this GPIO information could/should be in the device tree?

The GPIO pin info is currently under the pinctlr node in the device
tree, but the GPIO programming codes in the pinctlr driver are not
working on BayTrail due to GPIO "use-lvl-write-cache" behavior.

Regards,
Bin


More information about the U-Boot mailing list