File tree Expand file tree Collapse file tree 6 files changed +804
-0
lines changed Expand file tree Collapse file tree 6 files changed +804
-0
lines changed Original file line number Diff line number Diff line change @@ -6,3 +6,4 @@ zephyr_library_sources_ifdef(CONFIG_USBC_TCPC_SHELL shell.c)
6
6
zephyr_library_sources_ifdef (CONFIG_USBC_TCPC_STM32 ucpd_stm32.c )
7
7
zephyr_library_sources_ifdef (CONFIG_USBC_TCPC_NUMAKER ucpd_numaker.c )
8
8
zephyr_library_sources_ifdef (CONFIG_USBC_TCPC_TCPCI tcpci.c )
9
+ zephyr_library_sources_ifdef (CONFIG_USBC_TCPC_PS8XXX ps8xxx.c )
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ config USBC_TCPC_SHELL
28
28
source "drivers/usb_c/tcpc/Kconfig.tcpc_stm32"
29
29
source "drivers/usb_c/tcpc/Kconfig.tcpc_numaker"
30
30
source "drivers/usb_c/tcpc/Kconfig.tcpc_tcpci"
31
+ source "drivers/usb_c/tcpc/Kconfig.tcpc_ps8xxx"
31
32
32
33
module = USBC
33
34
module-str = usbc
Original file line number Diff line number Diff line change
1
+ # USB-C PS8xxx TCPC configuration options
2
+
3
+ # Copyright 2024 Google LLC
4
+ # SPDX-License-Identifier: Apache-2.0
5
+
6
+ config USBC_TCPC_PS8XXX
7
+ bool "USB-C TCPC device controller driver"
8
+ select USBC_TCPC_TCPCI
9
+ default y
10
+ depends on DT_HAS_PARADE_PS8XXX_ENABLED
11
+ help
12
+ Enable USB-C TCPC support for the Parade PS8xxx chip family
13
+
14
+ if USBC_TCPC_PS8XXX
15
+
16
+ config USBC_TCPC_PS8XXX_INIT_DELAY
17
+ int "PS8xxx init delay"
18
+ default 25
19
+ help
20
+ Delay between each try of the TCPC initialization
21
+
22
+ config USBC_TCPC_PS8XXX_INIT_RETRIES
23
+ int "PS8xxx init retries"
24
+ default 10
25
+ help
26
+ Number of initialization tries that will be performed
27
+
28
+ endif
You can’t perform that action at this time.
0 commit comments