diff options
author | Dawid Niedzwiecki <dn@semihalf.com> | 2021-11-05 13:31:32 +0100 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-11-08 23:25:55 +0000 |
commit | bd06ea8601161fcb65122b08708ed8a73b387c71 (patch) | |
tree | 76ad95cb56d8defdaf85f92f6a6551a70e81b577 /zephyr/dts | |
parent | 04e6a2380e1cbafb169c7194f0fc58d460193ea6 (diff) | |
download | chrome-ec-bd06ea8601161fcb65122b08708ed8a73b387c71.tar.gz |
zephyr: i2c: Add dynamic-speed flag to named-i2c node
Add a property dynamic-speed to a i2c-named dts node. It informs that
the i2c speed of the i2c node can be changed in run-time with a console
command or a host command.
BUG=b:201408931
TEST=zmake testall & verify that i2c freq can be changed for marked
ports
BRANCH=main
Signed-off-by: Dawid Niedzwiecki <dn@semihalf.com>
Change-Id: I1b261cab6bf288e574c600c6e97167e9edee2e2f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3264184
Reviewed-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/dts')
-rw-r--r-- | zephyr/dts/bindings/i2c/cros-ec-i2c-port-base.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/zephyr/dts/bindings/i2c/cros-ec-i2c-port-base.yaml b/zephyr/dts/bindings/i2c/cros-ec-i2c-port-base.yaml index 9d0a7187e5..e27488c9a9 100644 --- a/zephyr/dts/bindings/i2c/cros-ec-i2c-port-base.yaml +++ b/zephyr/dts/bindings/i2c/cros-ec-i2c-port-base.yaml @@ -55,3 +55,8 @@ properties: description: Human readable string describing the device (used as device_get_binding() argument). + dynamic-speed: + type: boolean + required: false + description: + Enables run-time speed configuration. |