LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH 1/2] arm64: dts: imx8mp-evk: Add i2c3 support
@ 2020-02-29 14:16 Anson Huang
2020-02-29 14:16 ` [PATCH 2/2] arm64: dts: imx8mp-evk: Enable pca6416 on i2c3 bus Anson Huang
2020-03-11 8:07 ` [PATCH 1/2] arm64: dts: imx8mp-evk: Add i2c3 support Shawn Guo
0 siblings, 2 replies; 3+ messages in thread
From: Anson Huang @ 2020-02-29 14:16 UTC (permalink / raw)
To: robh+dt, mark.rutland, shawnguo, s.hauer, kernel, festevam,
devicetree, linux-arm-kernel, linux-kernel
Cc: Linux-imx
Enable i2c3 for i.MX8MP EVK board.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
index a97a03c..b70c42a 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
@@ -66,6 +66,13 @@
};
};
+&i2c3 {
+ clock-frequency = <400000>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_i2c3>;
+ status = "okay";
+};
+
&snvs_pwrkey {
status = "okay";
};
@@ -138,6 +145,13 @@
>;
};
+ pinctrl_i2c3: i2c3grp {
+ fsl,pins = <
+ MX8MP_IOMUXC_I2C3_SCL__I2C3_SCL 0x400001c3
+ MX8MP_IOMUXC_I2C3_SDA__I2C3_SDA 0x400001c3
+ >;
+ };
+
pinctrl_reg_usdhc2_vmmc: regusdhc2vmmc {
fsl,pins = <
MX8MP_IOMUXC_SD2_RESET_B__GPIO2_IO19 0x41
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] arm64: dts: imx8mp-evk: Enable pca6416 on i2c3 bus
2020-02-29 14:16 [PATCH 1/2] arm64: dts: imx8mp-evk: Add i2c3 support Anson Huang
@ 2020-02-29 14:16 ` Anson Huang
2020-03-11 8:07 ` [PATCH 1/2] arm64: dts: imx8mp-evk: Add i2c3 support Shawn Guo
1 sibling, 0 replies; 3+ messages in thread
From: Anson Huang @ 2020-02-29 14:16 UTC (permalink / raw)
To: robh+dt, mark.rutland, shawnguo, s.hauer, kernel, festevam,
devicetree, linux-arm-kernel, linux-kernel
Cc: Linux-imx
Enable pca6416 on i.MX8MP EVK board's i2c3 bus.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
index b70c42a..3da1fff 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
@@ -71,6 +71,13 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c3>;
status = "okay";
+
+ pca6416: gpio@20 {
+ compatible = "ti,tca6416";
+ reg = <0x20>;
+ gpio-controller;
+ #gpio-cells = <2>;
+ };
};
&snvs_pwrkey {
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] arm64: dts: imx8mp-evk: Add i2c3 support
2020-02-29 14:16 [PATCH 1/2] arm64: dts: imx8mp-evk: Add i2c3 support Anson Huang
2020-02-29 14:16 ` [PATCH 2/2] arm64: dts: imx8mp-evk: Enable pca6416 on i2c3 bus Anson Huang
@ 2020-03-11 8:07 ` Shawn Guo
1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2020-03-11 8:07 UTC (permalink / raw)
To: Anson Huang
Cc: robh+dt, mark.rutland, s.hauer, kernel, festevam, devicetree,
linux-arm-kernel, linux-kernel, Linux-imx
On Sat, Feb 29, 2020 at 10:16:25PM +0800, Anson Huang wrote:
> Enable i2c3 for i.MX8MP EVK board.
>
> Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Applied both, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-03-11 8:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-29 14:16 [PATCH 1/2] arm64: dts: imx8mp-evk: Add i2c3 support Anson Huang
2020-02-29 14:16 ` [PATCH 2/2] arm64: dts: imx8mp-evk: Enable pca6416 on i2c3 bus Anson Huang
2020-03-11 8:07 ` [PATCH 1/2] arm64: dts: imx8mp-evk: Add i2c3 support Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).