summaryrefslogtreecommitdiff
path: root/zephyr/projects/nissa/craask/overlay.dts
diff options
context:
space:
mode:
authorDawid Niedzwiecki <dn@semihalf.com>2022-08-02 15:27:55 +0200
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-08-05 16:15:25 +0000
commit8c95f2bd1e4ec646ca5c39fe625c5e9701b4245a (patch)
tree16830bc54bb395eb28fb060864b1f35c221cfb12 /zephyr/projects/nissa/craask/overlay.dts
parent9a86e5939514697873a56635447bf29787963f71 (diff)
downloadchrome-ec-8c95f2bd1e4ec646ca5c39fe625c5e9701b4245a.tar.gz
zephyr: move charger nodes onto i2c buses
Move all charger nodes onto the i2c buses from named-usbc-port nodes. The change should simplify the upstream process of the charger chips drivers. BUG=b:241062565 TEST=zmake testall; make sure charging works BRANCH=main Signed-off-by: Dawid Niedzwiecki <dn@semihalf.com> Change-Id: I5c8e358cc56d5fd7b5a91971d41e4269e84e949e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3805199 Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/projects/nissa/craask/overlay.dts')
-rw-r--r--zephyr/projects/nissa/craask/overlay.dts24
1 files changed, 14 insertions, 10 deletions
diff --git a/zephyr/projects/nissa/craask/overlay.dts b/zephyr/projects/nissa/craask/overlay.dts
index 2d7c904a9d..180a2596a5 100644
--- a/zephyr/projects/nissa/craask/overlay.dts
+++ b/zephyr/projects/nissa/craask/overlay.dts
@@ -202,11 +202,7 @@
compatible = "named-usbc-port";
reg = <0>;
bc12 = <&bc12_port0>;
- chg {
- compatible = "intersil,isl923x";
- status = "okay";
- port = <&i2c_ec_i2c_usb_c0>;
- };
+ chg = <&chg_port0>;
usb-muxes = <&virtual_mux_0>;
};
port0-muxes {
@@ -222,11 +218,7 @@
compatible = "named-usbc-port";
reg = <1>;
bc12 = <&bc12_port1>;
- chg {
- compatible = "intersil,isl923x";
- status = "okay";
- port = <&i2c_ec_i2c_sub_usb_c1>;
- };
+ chg = <&chg_port1>;
/*
* Some sub-boards may disable all usb muxes in chain
* except virtual_mux_1
@@ -302,6 +294,12 @@
* usb_c0_interrupt.
*/
};
+
+ chg_port0: isl923x@9 {
+ compatible = "intersil,isl923x";
+ status = "okay";
+ reg = <0x9>;
+ };
};
&i2c5_1 {
@@ -313,6 +311,12 @@
status = "okay";
reg = <0x5f>;
};
+
+ chg_port1: isl923x@9 {
+ compatible = "intersil,isl923x";
+ status = "okay";
+ reg = <0x9>;
+ };
};
&i2c7_0 {