2019-10-16 16:12:13

by Michal Vokáč

[permalink] [raw]
Subject: [PATCH] ARM: dts: imx6dl-yapp4: Enable the I2C3 bus on all board variants

imx6dl-yapp4 Draco and Ursa boards use the I2C3 bus to control some
external devices through the /dev files.

So enable the I2C3 bus on all board variants, not just on Hydra.

Signed-off-by: Michal Vokáč <[email protected]>
---
arch/arm/boot/dts/imx6dl-yapp4-common.dtsi | 2 +-
arch/arm/boot/dts/imx6dl-yapp4-hydra.dts | 4 ----
2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi
index 663a72a96b6c..e2991a02f30f 100644
--- a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi
+++ b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi
@@ -308,7 +308,7 @@
clock-frequency = <100000>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c3>;
- status = "disabled";
+ status = "okay";

oled: oled@3d {
compatible = "solomon,ssd1305fb-i2c";
diff --git a/arch/arm/boot/dts/imx6dl-yapp4-hydra.dts b/arch/arm/boot/dts/imx6dl-yapp4-hydra.dts
index f97927064750..264f9271895d 100644
--- a/arch/arm/boot/dts/imx6dl-yapp4-hydra.dts
+++ b/arch/arm/boot/dts/imx6dl-yapp4-hydra.dts
@@ -25,10 +25,6 @@
status = "okay";
};

-&i2c3 {
- status = "okay";
-};
-
&leds {
status = "okay";
};
--
2.1.4


2019-10-28 12:46:07

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: imx6dl-yapp4: Enable the I2C3 bus on all board variants

On Wed, Oct 16, 2019 at 03:49:49PM +0200, Michal Vokáč wrote:
> imx6dl-yapp4 Draco and Ursa boards use the I2C3 bus to control some
> external devices through the /dev files.
>
> So enable the I2C3 bus on all board variants, not just on Hydra.
>
> Signed-off-by: Michal Vokáč <[email protected]>

Applied, thanks.