arm64: dts: k3-j721e-proc-board: Add wait time for sampling Type-C DIR line
authorRoger Quadros <rogerq@ti.com>
Mon, 29 Jun 2020 12:52:54 +0000 (15:52 +0300)
committerTero Kristo <t-kristo@ti.com>
Fri, 17 Jul 2020 07:35:08 +0000 (10:35 +0300)
The Type-C compainon chip on the board needs ~133ms (tCCB_DEFAULT)
to debounce the CC lines in order to detect attach and plug orientation
and reflect the correct DIR status. [1]

On the EVM however we need to wait upto 700ms before sampling the
Type-C DIR line else we can get incorrect direction state.

[1] http://www.ti.com/lit/ds/symlink/tusb321.pdf

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts

index 0c709af89f5bb1e3e2f21f3565e6f66a11a3efe4..8bc1e6ecc50ebcf083829bf3f8d509abfb92ca0b 100644 (file)
 
 &serdes_wiz3 {
        typec-dir-gpios = <&main_gpio1 3 GPIO_ACTIVE_HIGH>;
+       typec-dir-debounce-ms = <700>;  /* TUSB321, tCCB_DEFAULT 133 ms */
 };
 
 &serdes3 {