diff options
author | Jason Yuan <jasonyuan@google.com> | 2023-02-15 15:56:56 -0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-03-24 21:50:09 +0000 |
commit | 38f07aec87e712f99393ebcfc362e56501027be0 (patch) | |
tree | 5d4aebfd2f54686b1bbd456fbac3e3c509aa7d23 /zephyr/dts/bindings/usbc | |
parent | 4ac59af42a864d29e5172426c1b533973e0d14ee (diff) | |
download | chrome-ec-38f07aec87e712f99393ebcfc362e56501027be0.tar.gz |
zephyr: move tcpc_get_alert_status to shim
tcpc_get_alert_status is similar between multiple different projects.
They have been now merged into common code.
BUG=b:254148652
TEST=twister, usbc charging on villager, lazor
BRANCH=none
LOW_COVERAGE_REASON=the change from hardcoding to rst-gpios in board
specific code is uncovered. The common code is 100%
covered. This CL increases the absolute coverage.
Change-Id: I3136bd5b600dbb385547e06490dcbf8815b85b85
Signed-off-by: Jason Yuan <jasonyuan@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4257651
Commit-Queue: zhi cheng yuan <jasonyuan@chromium.org>
Auto-Submit: zhi cheng yuan <jasonyuan@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Tested-by: zhi cheng yuan <jasonyuan@chromium.org>
Diffstat (limited to 'zephyr/dts/bindings/usbc')
6 files changed, 31 insertions, 0 deletions
diff --git a/zephyr/dts/bindings/usbc/tcpc/analogix,anx7447-tcpc.yaml b/zephyr/dts/bindings/usbc/tcpc/analogix,anx7447-tcpc.yaml index ba25ccd683..028bcfb595 100644 --- a/zephyr/dts/bindings/usbc/tcpc/analogix,anx7447-tcpc.yaml +++ b/zephyr/dts/bindings/usbc/tcpc/analogix,anx7447-tcpc.yaml @@ -15,3 +15,8 @@ properties: required: false description: | Interrupt from TCPC + rst-gpios: + type: phandle-array + required: false + description: | + TCPC reset line diff --git a/zephyr/dts/bindings/usbc/tcpc/cypress,ccgxxf.yaml b/zephyr/dts/bindings/usbc/tcpc/cypress,ccgxxf.yaml index 89f1f78b63..2011c70662 100644 --- a/zephyr/dts/bindings/usbc/tcpc/cypress,ccgxxf.yaml +++ b/zephyr/dts/bindings/usbc/tcpc/cypress,ccgxxf.yaml @@ -19,6 +19,11 @@ properties: required: false description: | Interrupt from TCPC using shim driver + rst-gpios: + type: phandle-array + required: false + description: | + TCPC reset line while using shim driver int-pin: type: phandles required: false diff --git a/zephyr/dts/bindings/usbc/tcpc/fairchild,fusb302.yaml b/zephyr/dts/bindings/usbc/tcpc/fairchild,fusb302.yaml index c3f353cbf2..b6748a2f8b 100644 --- a/zephyr/dts/bindings/usbc/tcpc/fairchild,fusb302.yaml +++ b/zephyr/dts/bindings/usbc/tcpc/fairchild,fusb302.yaml @@ -15,6 +15,11 @@ properties: required: false description: | Interrupt from TCPC using shim driver + rst-gpios: + type: phandle-array + required: false + description: | + TCPC reset line while using shim driver int-pin: type: phandles required: false diff --git a/zephyr/dts/bindings/usbc/tcpc/nuvoton,nct38xx.yaml b/zephyr/dts/bindings/usbc/tcpc/nuvoton,nct38xx.yaml index cfbe5a748f..77dea4d348 100644 --- a/zephyr/dts/bindings/usbc/tcpc/nuvoton,nct38xx.yaml +++ b/zephyr/dts/bindings/usbc/tcpc/nuvoton,nct38xx.yaml @@ -27,6 +27,12 @@ properties: description: | Interrupt from TCPC using shim driver + rst-gpios: + type: phandle-array + required: false + description: | + TCPC reset line while using shim driver + int-pin: type: phandles required: false diff --git a/zephyr/dts/bindings/usbc/tcpc/parade,ps8xxx.yaml b/zephyr/dts/bindings/usbc/tcpc/parade,ps8xxx.yaml index e6c2a9bbcb..733b779726 100644 --- a/zephyr/dts/bindings/usbc/tcpc/parade,ps8xxx.yaml +++ b/zephyr/dts/bindings/usbc/tcpc/parade,ps8xxx.yaml @@ -15,3 +15,8 @@ properties: required: false description: | Interrupt from TCPC + rst-gpios: + type: phandle-array + required: false + description: | + TCPC reset line diff --git a/zephyr/dts/bindings/usbc/tcpc/renesas,raa489000.yaml b/zephyr/dts/bindings/usbc/tcpc/renesas,raa489000.yaml index de6402d4ee..6139db28cf 100644 --- a/zephyr/dts/bindings/usbc/tcpc/renesas,raa489000.yaml +++ b/zephyr/dts/bindings/usbc/tcpc/renesas,raa489000.yaml @@ -19,3 +19,8 @@ properties: required: false description: | Interrupt from TCPC + rst-gpios: + type: phandle-array + required: false + description: | + TCPC reset line |