-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
usb: typec: Driver for Cypress CCG USB Power Delivery Controllers
This is preliminary driver for CCG PD controllers that shows the status of the ports and partners attached to them, but does not support any operations. So role swapping, data nor power, is not possible. Alternate modes are not yet supported, and cables and cable plugs are also not registered. The driver also does not support firmware upgrade at this stage. Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
- Loading branch information
1 parent
841fca5
commit 64b3d75
Showing
5 changed files
with
538 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
|
||
config TYPEC_CCG_HPI | ||
tristate "Cypress CCG Host Processor Interface" | ||
depends on I2C | ||
select REGMAP_I2C | ||
help | ||
This driver adds support for Cypress CCG1, CCG2, CCG3, CCG4, CCG5 and | ||
CCG6 USB Power Delivery controllers. The primary interface with | ||
Cypress CCGx USB PD controllers is called HPI (Host Processor | ||
Interface). Later generations (CCG4, CCG5 and CCG6) also support UCSI, | ||
but Cypress CCGx UCSI support is handled in its own driver ucsi_ccg.c. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
obj-$(CONFIG_TYPEC_CCG_HPI) += hpi.o |
Oops, something went wrong.