diff options
author | Marek Vasut <marek.vasut+renesas@gmail.com> | 2019-08-22 17:53:04 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2019-08-22 18:23:36 +0200 |
commit | 769a9cd4bbd7ae9b8170b3dd6ba54b84fde59224 (patch) | |
tree | e45209f18c5392a07d30d2892e1e5d2aba95cb37 /drivers/usb/host/r8a66597.h | |
parent | 8b5483015496100b3f5a790a58cc3019815654e0 (diff) |
usb: r8a66597: Add optional DM VBUS regulator support
Add DM regulator support for toggling VBUS, this is useful on boards
which control the VBUS e.g. through GPIO.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Chris Brandt <chris.brandt@renesas.com>
Diffstat (limited to 'drivers/usb/host/r8a66597.h')
-rw-r--r-- | drivers/usb/host/r8a66597.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/r8a66597.h b/drivers/usb/host/r8a66597.h index 3077bc7999..b6110d6b3f 100644 --- a/drivers/usb/host/r8a66597.h +++ b/drivers/usb/host/r8a66597.h @@ -396,6 +396,7 @@ struct r8a66597 { unsigned short port_change; u16 speed; /* HSMODE or FSMODE or LSMODE */ unsigned char rh_devnum; + struct udevice *vbus_supply; }; static inline u16 r8a66597_read(struct r8a66597 *r8a66597, unsigned long offset) |