Skip to content

Commit

Permalink
overlays: Regularisation and improvements
Browse files Browse the repository at this point in the history
A few small improvements, with a view to making the updated overlays
behave the same before and after the big conversion.

Signed-off-by: Phil Elwell <[email protected]>
  • Loading branch information
pelwell committed Jan 29, 2025
1 parent b6cd65a commit a37590c
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 11 deletions.
3 changes: 2 additions & 1 deletion arch/arm/boot/dts/overlays/ads1115-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@
chd_cfg = <&channel_d>,"reg:0";
chd_gain = <&channel_d>,"ti,gain:0";
chd_datarate = <&channel_d>,"ti,datarate:0";
i2c0 = <&frag100>, "target:0=",<&i2c0>;
i2c0 = <&frag100>, "target:0=",<&i2c0>,
<0>,"+101+102";
i2c_csi_dsi = <&frag100>, "target:0=",<&i2c_csi_dsi>,
<0>,"+101+102";
i2c_csi_dsi0 = <&frag100>, "target:0=",<&i2c_csi_dsi0>,
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/overlays/i2c-fan-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
emc2301: emc2301@2f {
compatible = "microchip,emc2301";
reg = <0x2f>;
status = "okay";
#cooling-cells = <0x02>;
};
};
Expand Down Expand Up @@ -82,7 +81,8 @@
};

__overrides__ {
i2c0 = <&frag100>,"target:0=",<&i2c0>;
i2c0 = <&frag100>,"target:0=",<&i2c0>,
<0>,"+101+102";
i2c_csi_dsi = <&frag100>,"target:0=",<&i2c_csi_dsi>,
<0>,"+101+102";
i2c_csi_dsi0 = <&frag100>, "target:0=",<&i2c_csi_dsi0>,
Expand Down
3 changes: 2 additions & 1 deletion arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
};

__overrides__ {
i2c0 = <&frag100>, "target:0=",<&i2c0>;
i2c0 = <&frag100>, "target:0=",<&i2c0>,
<0>,"+101+102";
i2c_csi_dsi = <&frag100>, "target:0=",<&i2c_csi_dsi>,
<0>,"+101+102";
i2c_csi_dsi0 = <&frag100>, "target:0=",<&i2c_csi_dsi0>,
Expand Down
3 changes: 2 additions & 1 deletion arch/arm/boot/dts/overlays/i2c-sensor-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
};

__overrides__ {
i2c0 = <&frag100>, "target:0=",<&i2c0>;
i2c0 = <&frag100>, "target:0=",<&i2c0>,
<0>,"+101+102";
i2c_csi_dsi = <&frag100>, "target:0=",<&i2c_csi_dsi>,
<0>,"+101+102";
i2c_csi_dsi0 = <&frag100>, "target:0=",<&i2c_csi_dsi0>,
Expand Down
3 changes: 2 additions & 1 deletion arch/arm/boot/dts/overlays/mcp23017-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@
addr = <&mcp23017>,"reg:0", <&mcp23017_pins>,"reg:0";
mcp23008 = <0>,"=2";
noints = <0>,"!1!3";
i2c0 = <&frag100>, "target:0=",<&i2c0>;
i2c0 = <&frag100>, "target:0=",<&i2c0>,
<0>,"+101+102";
i2c_csi_dsi = <&frag100>, "target:0=",<&i2c_csi_dsi>,
<0>,"+101+102";
i2c_csi_dsi0 = <&frag100>, "target:0=",<&i2c_csi_dsi0>,
Expand Down
2 changes: 0 additions & 2 deletions arch/arm/boot/dts/overlays/pca953x-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
reg = <0x20>;
gpio-controller;
#gpio-cells = <2>;

status = "okay";
};
};
};
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/overlays/pcf857x-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";

pcf857x: pcf857x@0 {
compatible = "";
reg = <0x00>;
gpio-controller;
#gpio-cells = <2>;
status = "okay";
};
};
};
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/overlays/sc16is750-i2c-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
};

fragment@1 {
target-path = "/";
target = <&clocks>;
__overlay__ {
sc16is750_clk: sc16is750_i2c_clk@48 {
compatible = "fixed-clock";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/overlays/sc16is752-i2c-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
};

fragment@1 {
target-path = "/";
target = <&clocks>;
__overlay__ {
sc16is752_clk: sc16is752_i2c_clk@48 {
compatible = "fixed-clock";
Expand Down

0 comments on commit a37590c

Please sign in to comment.