diff options
author | Jeremy Bettis <jbettis@google.com> | 2021-11-08 16:04:13 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-11-11 17:28:34 +0000 |
commit | 5b3bbebfcef2377211f6a2dcb5625fd90ac87bbe (patch) | |
tree | e017b475addd26ba3f2f572bbbe59f07e6e5c075 /zephyr/dts | |
parent | 282a8d770507b2f4d90e83ef48496ecf2bf4fa27 (diff) | |
download | chrome-ec-5b3bbebfcef2377211f6a2dcb5625fd90ac87bbe.tar.gz |
zephyr: Specify Alert# gpio in tcpci emulator
Add alert_gpio property to tcpci-emul node in dts.
Set the emulated Alert# gpio when the alert status changes.
BRANCH=None
BUG=b:201314530
TEST=Watched the interrupt fire in gdb.
Signed-off-by: Jeremy Bettis <jbettis@google.com>
Change-Id: I190b591cdcb71da58d587faf2a48cdf2d9ef3edb
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3269059
Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
Tested-by: Jeremy Bettis <jbettis@chromium.org>
Reviewed-by: Tristan Honscheid <honscheid@google.com>
Reviewed-by: Tomasz Michalec <tmichalec@google.com>
Diffstat (limited to 'zephyr/dts')
-rw-r--r-- | zephyr/dts/bindings/emul/cros,tcpci-emul.yaml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/zephyr/dts/bindings/emul/cros,tcpci-emul.yaml b/zephyr/dts/bindings/emul/cros,tcpci-emul.yaml index 11be7cf4d8..3b218acd62 100644 --- a/zephyr/dts/bindings/emul/cros,tcpci-emul.yaml +++ b/zephyr/dts/bindings/emul/cros,tcpci-emul.yaml @@ -7,3 +7,10 @@ description: Zephyr TCPCI Emulator compatible: "cros,tcpci-emul" include: base.yaml + +properties: + alert_gpio: + type: phandle + required: false + description: + Reference to Alert# GPIO. |