summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew McRae <amcrae@google.com>2022-01-27 10:53:17 +1100
committerCommit Bot <commit-bot@chromium.org>2022-02-01 03:19:23 +0000
commit2326209cfdd3966a1dc6d33f13913c6dde77491d (patch)
tree9bbab1c601fc6f348e770d5f0a6a8e719ff2da7f
parent3f8b0b1f248dce2caee7b9a0562511f05546ba62 (diff)
downloadchrome-ec-2326209cfdd3966a1dc6d33f13913c6dde77491d.tar.gz
jhl8040: Rename *gpios to *pin
Do not use -gpio to refer to a named-gpio BUG=b:216402316 TEST=zmake configure -b brya BRANCH=none Signed-off-by: Andrew McRae <amcrae@google.com> Change-Id: Ia0b58b410dd7ab0228811dc40f9c73fae72720be Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3418799 Reviewed-by: Peter Marheine <pmarheine@chromium.org>
-rw-r--r--zephyr/dts/bindings/retimer/intel,jhl8040r.yaml12
-rw-r--r--zephyr/projects/brya/brya/bb_retimer.dts8
-rw-r--r--zephyr/projects/volteer/volteer/bb_retimer.dts6
3 files changed, 13 insertions, 13 deletions
diff --git a/zephyr/dts/bindings/retimer/intel,jhl8040r.yaml b/zephyr/dts/bindings/retimer/intel,jhl8040r.yaml
index 6b39833048..2b88b18870 100644
--- a/zephyr/dts/bindings/retimer/intel,jhl8040r.yaml
+++ b/zephyr/dts/bindings/retimer/intel,jhl8040r.yaml
@@ -9,14 +9,14 @@ compatible: "intel,jhl8040r"
include: i2c-device.yaml
properties:
- reset-gpios:
- type: phandle-array
+ reset-pin:
+ type: phandle
required: true
- int-gpios:
- type: phandle-array
+ int-pin:
+ type: phandle
required: false
- ls-en-gpios:
- type: phandle-array
+ ls-en-pin:
+ type: phandle
required: false
diff --git a/zephyr/projects/brya/brya/bb_retimer.dts b/zephyr/projects/brya/brya/bb_retimer.dts
index 22db1754d0..1921881e16 100644
--- a/zephyr/projects/brya/brya/bb_retimer.dts
+++ b/zephyr/projects/brya/brya/bb_retimer.dts
@@ -11,14 +11,14 @@
compatible = "intel,jhl8040r";
reg = <0x56>;
label = "USB_C0_BB_RETIMER";
- int-gpios = <&usb_c0_rt_int_odl>;
- reset-gpios = <&usb_c0_rt_rst_odl>;
+ int-pin = <&usb_c0_rt_int_odl>;
+ reset-pin = <&usb_c0_rt_rst_odl>;
};
usb_c2_bb_retimer: jhl8040r@57 {
compatible = "intel,jhl8040r";
reg = <0x57>;
label = "USB_C2_BB_RETIMER";
- int-gpios = <&usb_c2_rt_int_odl>;
- reset-gpios = <&usb_c2_rt_rst_odl>;
+ int-pin = <&usb_c2_rt_int_odl>;
+ reset-pin = <&usb_c2_rt_rst_odl>;
};
};
diff --git a/zephyr/projects/volteer/volteer/bb_retimer.dts b/zephyr/projects/volteer/volteer/bb_retimer.dts
index 226356d030..bb9a001cb0 100644
--- a/zephyr/projects/volteer/volteer/bb_retimer.dts
+++ b/zephyr/projects/volteer/volteer/bb_retimer.dts
@@ -11,8 +11,8 @@
compatible = "intel,jhl8040r";
reg = <0x40>;
label = "USB_C1_BB_RETIMER";
- int-gpios = <&gpio_usb_c1_mix_int_odl>;
- reset-gpios = <&gpio_usb_c1_rt_rst_odl>;
- ls-en-gpios = <&gpio_unused_gpio41>;
+ int-pin = <&gpio_usb_c1_mix_int_odl>;
+ reset-pin = <&gpio_usb_c1_rt_rst_odl>;
+ ls-en-pin = <&gpio_unused_gpio41>;
};
};