diff options
author | Vijay Hiremath <vijay.p.hiremath@intel.com> | 2022-03-09 10:18:54 -0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-05-19 16:57:11 +0000 |
commit | 2545306e0b388993555e11640110c02847e6275c (patch) | |
tree | e7441aa075726794e23753d1fb6306b94572b1f1 /zephyr/dts | |
parent | ec612a05e4926216981a1e9c407418d730c0b57f (diff) | |
download | chrome-ec-2545306e0b388993555e11640110c02847e6275c.tar.gz |
Zephyr: Add Cypress CCGXXF PD chip in device tree
Added Cypress CCGXXF Single/Dual USB-C Port Controller with Source PPC
chip in Zephyr device tree.
BUG=b:232920124
BRANCH=none
TEST=zmake testall
Able to test USB, DP on MTLRVP
Change-Id: If790588a52fb87ab56439338fe0c8614ccc3dac6
Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3513796
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Diffstat (limited to 'zephyr/dts')
-rw-r--r-- | zephyr/dts/bindings/usbc/cypress,ccgxxf.yaml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/zephyr/dts/bindings/usbc/cypress,ccgxxf.yaml b/zephyr/dts/bindings/usbc/cypress,ccgxxf.yaml new file mode 100644 index 0000000000..61f05495ea --- /dev/null +++ b/zephyr/dts/bindings/usbc/cypress,ccgxxf.yaml @@ -0,0 +1,23 @@ +# Copyright 2022 The Chromium OS Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +description: USBC TCPC + +compatible: "cypress,ccgxxf" + +properties: + port: + type: phandle + required: true + description: | + I2C port used to communicate with controller + + i2c-addr-flags: + type: string + default: "CCGXXF_I2C_ADDR1_FLAGS" + enum: + - "CCGXXF_I2C_ADDR1_FLAGS" + - "CCGXXF_I2C_ADDR2_FLAGS" + description: | + I2C address of controller |