diff options
author | Dawid Niedzwiecki <dn@semihalf.com> | 2022-05-30 07:46:25 +0200 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-06-28 12:04:45 +0000 |
commit | a954df1364f078f26982ff82ece06e6da1a675f2 (patch) | |
tree | 97c57eb419d38a01d0796d72d9d69f3665deee71 /zephyr/dts/bindings/emul/tcpci.yaml | |
parent | fd928db70b52b56ec94279756822a4101a39d78a (diff) | |
download | chrome-ec-a954df1364f078f26982ff82ece06e6da1a675f2.tar.gz |
zephyr: improve tcpc emulator creation
Rework the TCPC emulators architecture. A separate general TCPCI
emualtor is now not needed for a scific chip emulator.
Only one DTS node should be created per the TCPC emulator and
the TCPCI_EMUL_DEFINE macro should be used.
BUG=b:233645785
TEST=zmake testall
BRANCH=main
Signed-off-by: Dawid Niedzwiecki <dn@semihalf.com>
Change-Id: I5eba9eeb9bcff5d587f843094e530a13c140cc22
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3705480
Commit-Queue: Dawid Niedzwiecki <dawidn@google.com>
Reviewed-by: Yuval Peress <peress@google.com>
Reviewed-by: Tomasz Michalec <tmichalec@google.com>
Diffstat (limited to 'zephyr/dts/bindings/emul/tcpci.yaml')
-rw-r--r-- | zephyr/dts/bindings/emul/tcpci.yaml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/zephyr/dts/bindings/emul/tcpci.yaml b/zephyr/dts/bindings/emul/tcpci.yaml new file mode 100644 index 0000000000..8d62989fe7 --- /dev/null +++ b/zephyr/dts/bindings/emul/tcpci.yaml @@ -0,0 +1,14 @@ +# 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: Common TCPCI properties + +include: base.yaml + +properties: + alert_gpio: + type: phandle + required: false + description: + Reference to Alert# GPIO. |