summaryrefslogtreecommitdiff
path: root/zephyr
diff options
context:
space:
mode:
authorFabio Baltieri <fabiobaltieri@google.com>2021-01-19 14:22:35 +0000
committerCommit Bot <commit-bot@chromium.org>2021-01-21 17:45:53 +0000
commit542725baca37eaf62be58af9da4a447bd4ba0236 (patch)
treebb09bfd705953774c74236cb0494590c7cf714dd /zephyr
parent19c36a2bb35ae61761e8a7a5431058e5e87e1a12 (diff)
downloadchrome-ec-542725baca37eaf62be58af9da4a447bd4ba0236.tar.gz
volteer: i2c: rename i2c-keys node to named-i2c-ports
Rename the node definition and instance to named-i2c-ports. This matches the node name and other references in the code. BUG=none TEST=zmake testall BRANCH=none Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com> Change-Id: I426cc29073d1725c208e151d0deeb9d5214bf7ac Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2638253 Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr')
-rw-r--r--zephyr/dts/bindings/i2c/named-i2c-ports.yaml (renamed from zephyr/dts/bindings/i2c/i2c-keys.yaml)8
-rw-r--r--zephyr/projects/kohaku/boards/arm/kohaku/kohaku.dts2
-rw-r--r--zephyr/projects/volteer/boards/arm/volteer/volteer.dts2
-rw-r--r--zephyr/test/i2c/boards/native_posix.overlay2
-rw-r--r--zephyr/test/i2c_dts/boards/native_posix.overlay2
5 files changed, 8 insertions, 8 deletions
diff --git a/zephyr/dts/bindings/i2c/i2c-keys.yaml b/zephyr/dts/bindings/i2c/named-i2c-ports.yaml
index 08add12b32..088990eec1 100644
--- a/zephyr/dts/bindings/i2c/i2c-keys.yaml
+++ b/zephyr/dts/bindings/i2c/named-i2c-ports.yaml
@@ -1,12 +1,12 @@
# Copyright (c) 2020 The Chromium OS Authors
# SPDX-License-Identifier: Apache-2.0
-description: I2C KEYS parent node
+description: Named I2C ports parent node
-compatible: "i2c-keys"
+compatible: "named-i2c-ports"
child-binding:
- description: I2C KEYS child node
+ description: Named I2C ports child node
properties:
i2c-port:
type: phandle
@@ -14,4 +14,4 @@ child-binding:
label:
required: true
type: string
- description: Human readable string describing the device (used as device_get_binding() argument) \ No newline at end of file
+ description: Human readable string describing the device (used as device_get_binding() argument)
diff --git a/zephyr/projects/kohaku/boards/arm/kohaku/kohaku.dts b/zephyr/projects/kohaku/boards/arm/kohaku/kohaku.dts
index ea59d26bf7..6d301ecbaa 100644
--- a/zephyr/projects/kohaku/boards/arm/kohaku/kohaku.dts
+++ b/zephyr/projects/kohaku/boards/arm/kohaku/kohaku.dts
@@ -28,7 +28,7 @@
};
named-i2c-ports {
- compatible = "i2c-keys";
+ compatible = "named-i2c-ports";
};
named-gpios {
diff --git a/zephyr/projects/volteer/boards/arm/volteer/volteer.dts b/zephyr/projects/volteer/boards/arm/volteer/volteer.dts
index 2814e5fc34..8c187b8d67 100644
--- a/zephyr/projects/volteer/boards/arm/volteer/volteer.dts
+++ b/zephyr/projects/volteer/boards/arm/volteer/volteer.dts
@@ -29,7 +29,7 @@
};
named-i2c-ports {
- compatible = "i2c-keys";
+ compatible = "named-i2c-ports";
sensor {
i2c-port = <&i2c0_0>;
diff --git a/zephyr/test/i2c/boards/native_posix.overlay b/zephyr/test/i2c/boards/native_posix.overlay
index 272be85361..ec534a1b88 100644
--- a/zephyr/test/i2c/boards/native_posix.overlay
+++ b/zephyr/test/i2c/boards/native_posix.overlay
@@ -5,7 +5,7 @@
/ {
named-i2c-ports {
- compatible = "i2c-keys";
+ compatible = "named-i2c-ports";
accel-0 {
i2c-port = <&bmi_i2c>;
label = "ACCEL_0";
diff --git a/zephyr/test/i2c_dts/boards/native_posix.overlay b/zephyr/test/i2c_dts/boards/native_posix.overlay
index 272be85361..ec534a1b88 100644
--- a/zephyr/test/i2c_dts/boards/native_posix.overlay
+++ b/zephyr/test/i2c_dts/boards/native_posix.overlay
@@ -5,7 +5,7 @@
/ {
named-i2c-ports {
- compatible = "i2c-keys";
+ compatible = "named-i2c-ports";
accel-0 {
i2c-port = <&bmi_i2c>;
label = "ACCEL_0";