mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
arm/dts: config sgm7220 role
arm/dts config sgm7220 role to try.snk.
refer to enum definition in tcpm.h
enum typec_role_defination {
385 TYPEC_ROLE_UNKNOWN = 0,
386 TYPEC_ROLE_SNK,
387 TYPEC_ROLE_SRC,
388 TYPEC_ROLE_DRP,
389 TYPEC_ROLE_TRY_SRC,
390 TYPEC_ROLE_TRY_SNK,
391 TYPEC_ROLE_NR,
392 };
Change-Id: I1aa6576a3f3e4b1f0a3bb0f9d6bd23c382affd4d
Signed-off-by: chailu1 <chailu1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2061348
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Submit-Approved: Jira Key
This commit is contained in:
parent
135be43a2b
commit
2e190d3515
1 changed files with 2 additions and 2 deletions
|
|
@ -20,8 +20,8 @@
|
|||
tcpc-dual,supported_modes = <0>; /* 0: dfp/ufp, */
|
||||
/* 1: dfp, 2: ufp */
|
||||
sgm7220-tcpc,name = "type_c_port0"; /* tcpc_device's name */
|
||||
sgm7220-tcpc,role_def = <4>; /* 0: SNK Only, 1: SRC Only, 2: DRP, */
|
||||
/* 3: Try.SRC, 4: Try.SNK */
|
||||
sgm7220-tcpc,role_def = <5>; /* 0: Unknown, 1: SNK, 2: SRC */
|
||||
/* 3: DRP, 4: Try.SRC, 5: Try.SNK */
|
||||
sgm7220-tcpc,rp_level = <0>; /* 0: Default, 1: 1.5, 2: 3.0 */
|
||||
sgm7220-tcpc,vconn_supply = <0>; /* 0: Never, 1: Always, */
|
||||
/* 2: EMarkOnly, 3: StartOnly */
|
||||
|
|
|
|||
Loading…
Reference in a new issue