mirror of
https://github.com/torvalds/linux.git
synced 2024-12-11 05:33:09 +00:00
USB: typec: tcpci: Add Bleed discharge to POWER_CONTROL definition
"Table 4-19. POWER_CONTROL Register Definition" from tcpci spec defines BIT(3) as the control bit for bleed discharge. Cc: Guenter Roeck <linux@roeck-us.net> Cc: Heikki Krogerus <heikki.krogerus@linux.intel.com> Cc: Kyle Tso <kyletso@google.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Signed-off-by: Badhri Jagan Sridharan <badhri@google.com> Signed-off-by: Will McVicker <willmcvicker@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Link: https://lore.kernel.org/r/20201210160521.3417426-6-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
fe79d5de77
commit
ca955d3308
@ -72,6 +72,7 @@
|
||||
|
||||
#define TCPC_POWER_CTRL 0x1c
|
||||
#define TCPC_POWER_CTRL_VCONN_ENABLE BIT(0)
|
||||
#define TCPC_POWER_CTRL_BLEED_DISCHARGE BIT(3)
|
||||
#define TCPC_POWER_CTRL_AUTO_DISCHARGE BIT(4)
|
||||
#define TCPC_FAST_ROLE_SWAP_EN BIT(7)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user