-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: tcpc: Add TCPC driver for RT1715
Add support for RT1715. Signed-off-by: Jianxiong Gu <jianxiong.gu@outlook.com>
- Loading branch information
Showing
6 changed files
with
906 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,28 @@ | ||
# USB-C RT1715 TCPC configuration options | ||
|
||
# Copyright (c) 2024 Jianxiong Gu <jianxiong.gu@outlook.com> | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
config USBC_TCPC_RT1715 | ||
bool "USB-C TCPC device controller driver" | ||
select USBC_TCPC_TCPCI | ||
default y | ||
depends on DT_HAS_RICHTEK_RT1715_ENABLED | ||
help | ||
Enable USB-C TCPC support for the Richtek RT1715 | ||
|
||
if USBC_TCPC_RT1715 | ||
|
||
config USBC_TCPC_RT1715_INIT_DELAY | ||
int "RT1715 init delay" | ||
default 25 | ||
help | ||
Delay between each try of the TCPC initialization | ||
|
||
config USBC_TCPC_RT1715_INIT_RETRIES | ||
int "RT1715 init retries" | ||
default 10 | ||
help | ||
Number of initialization tries that will be performed | ||
|
||
endif |
Oops, something went wrong.