linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Update of phyBOARD-Pollux-i.MX8MP
@ 2023-09-05  8:29 Cem Tenruh
  0 siblings, 0 replies; 7+ messages in thread
From: Cem Tenruh @ 2023-09-05  8:29 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	NXP Linux Team
  Cc: linux-arm-kernel, upstream

Updates for the phyCORE-i.MX8MP and phyBOARD-Pollux-i.MX8MP devicetrees.
This adds CAN-FD, RS232/RS485 and USB support for phyBOARD-Pollux-i.MX8MP.
This also adds gpio-line-name properties.

Changes in v2:
 - Edited commit message (Patch 4/4)
 - Added comment to UART2 node (Patch 4/4)

Cem Tenruh (1):
  arm64: dts: imx8mp: Add gpio-line-names

Teresa Remmet (3):
  arm64: dts: imx8mp-phyboard-pollux: Add flexcan support
  arm64: dts: imx8mp-phyboard-pollux: Enable USB support
  arm64: dts: imx8mp-phyboard-pollux: Add support for RS232/RS485

 .../freescale/imx8mp-phyboard-pollux-rdk.dts  | 155 ++++++++++++++++++
 .../dts/freescale/imx8mp-phycore-som.dtsi     |  13 ++
 2 files changed, 168 insertions(+)

-- 
2.25.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH v2 0/4] Update of phyBOARD-Pollux-i.MX8MP
@ 2024-02-22 12:28 Yashwanth Varakala
  2024-02-22 12:28 ` [PATCH v2 1/4] arm64: dts: imx8mp-phyboard-pollux: Add and update rtc devicetree node Yashwanth Varakala
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Yashwanth Varakala @ 2024-02-22 12:28 UTC (permalink / raw)
  To: robh+dt, krzysztof.kozlowski+dt, conor+dt, shawnguo, s.hauer,
	kernel, festevam, linux-imx
  Cc: linux-arm-kernel, upstream

Hello,

These patches will update the imx8mp-phyboard-pollux devicetree
with the Muxing and RTC properties.
 
Thankyou,
yashwanth.

Changes in v2: 
-Corrected the commit message.
-Corrected the authorship.

Dominik Haller (1):
  arm64: dts: imx8mp-phyboard-pollux: Disable pull-up for CD GPIO

Teresa Remmet (1):
  arm64: dts: imx8mp-phyboard-pollux: Reduce drive strength for eqos tx
    lines

Yannic Moog (1):
  arm64: dts: imx8mp-phyboard-pollux: Set debug uart muxing to 0x140

Yashwanth Varakala (1):
  arm64: dts: imx8mp-phyboard-pollux: Add and update rtc devicetree node

 .../freescale/imx8mp-phyboard-pollux-rdk.dts  | 33 ++++++++++++++-----
 .../dts/freescale/imx8mp-phycore-som.dtsi     |  1 -
 2 files changed, 24 insertions(+), 10 deletions(-)

-- 
2.34.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH v2 1/4] arm64: dts: imx8mp-phyboard-pollux: Add and update rtc devicetree node
  2024-02-22 12:28 [PATCH v2 0/4] Update of phyBOARD-Pollux-i.MX8MP Yashwanth Varakala
@ 2024-02-22 12:28 ` Yashwanth Varakala
  2024-02-22 12:28 ` [PATCH v2 2/4] arm64: dts: imx8mp-phyboard-pollux: Set debug uart muxing to 0x140 Yashwanth Varakala
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: Yashwanth Varakala @ 2024-02-22 12:28 UTC (permalink / raw)
  To: robh+dt, krzysztof.kozlowski+dt, conor+dt, shawnguo, s.hauer,
	kernel, festevam, linux-imx
  Cc: linux-arm-kernel, upstream

The interrupt of the RTC is connected on the carrier board
phyBOARD-i.MX8MP-Pollux.

RTC trickle-charger devicetree property is dependent on the
phyboard-pollux design.

Signed-off-by: Yashwanth Varakala <y.varakala@phytec.de>
---
Changes in v2:
-Corrected the commit message.

 .../dts/freescale/imx8mp-phyboard-pollux-rdk.dts  | 15 +++++++++++++++
 .../boot/dts/freescale/imx8mp-phycore-som.dtsi    |  1 -
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts b/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts
index c8640cac3edc..96754ce633ed 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts
@@ -139,6 +139,15 @@ &snvs_pwrkey {
 	status = "okay";
 };
 
+&rv3028 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_rtc>;
+	interrupt-parent = <&gpio4>;
+	interrupts = <19 IRQ_TYPE_LEVEL_LOW>;
+	wakeup-source;
+	trickle-resistor-ohms = <3000>;
+};
+
 /* debug console */
 &uart1 {
 	pinctrl-names = "default";
@@ -295,6 +304,12 @@ MX8MP_IOMUXC_SD2_RESET_B__GPIO2_IO19	0x40
 		>;
 	};
 
+	pinctrl_rtc: rtcgrp {
+		fsl,pins = <
+			MX8MP_IOMUXC_SAI1_TXD7__GPIO4_IO19	0x1C0
+		>;
+	};
+
 	pinctrl_uart1: uart1grp {
 		fsl,pins = <
 			MX8MP_IOMUXC_UART1_RXD__UART1_DCE_RX	0x40
diff --git a/arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi
index c976c3b6cbc6..e6ffa6a6b68b 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi
@@ -175,7 +175,6 @@ eeprom@51 {
 	rv3028: rtc@52 {
 		compatible = "microcrystal,rv3028";
 		reg = <0x52>;
-		trickle-resistor-ohms = <3000>;
 	};
 };
 
-- 
2.34.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH v2 2/4] arm64: dts: imx8mp-phyboard-pollux: Set debug uart muxing to 0x140
  2024-02-22 12:28 [PATCH v2 0/4] Update of phyBOARD-Pollux-i.MX8MP Yashwanth Varakala
  2024-02-22 12:28 ` [PATCH v2 1/4] arm64: dts: imx8mp-phyboard-pollux: Add and update rtc devicetree node Yashwanth Varakala
@ 2024-02-22 12:28 ` Yashwanth Varakala
  2024-02-22 12:28 ` [PATCH v2 3/4] arm64: dts: imx8mp-phyboard-pollux: Reduce drive strength for eqos tx lines Yashwanth Varakala
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: Yashwanth Varakala @ 2024-02-22 12:28 UTC (permalink / raw)
  To: robh+dt, krzysztof.kozlowski+dt, conor+dt, shawnguo, s.hauer,
	kernel, festevam, linux-imx
  Cc: linux-arm-kernel, upstream

From: Yannic Moog <y.moog@phytec.de>

Set Pull Resistors Enable bit to put signal into a defined state.

Signed-off-by: Yannic Moog <y.moog@phytec.de>
Signed-off-by: Benjamin Hahn <B.Hahn@phytec.de>
Signed-off-by: Yashwanth Varakala <y.varakala@phytec.de>
---
Changes in v2:
-Corrected the Authorship.

 arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts b/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts
index 96754ce633ed..36b59d0c67f7 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts
@@ -312,8 +312,8 @@ MX8MP_IOMUXC_SAI1_TXD7__GPIO4_IO19	0x1C0
 
 	pinctrl_uart1: uart1grp {
 		fsl,pins = <
-			MX8MP_IOMUXC_UART1_RXD__UART1_DCE_RX	0x40
-			MX8MP_IOMUXC_UART1_TXD__UART1_DCE_TX	0x40
+			MX8MP_IOMUXC_UART1_RXD__UART1_DCE_RX	0x140
+			MX8MP_IOMUXC_UART1_TXD__UART1_DCE_TX	0x140
 		>;
 	};
 
-- 
2.34.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH v2 3/4] arm64: dts: imx8mp-phyboard-pollux: Reduce drive strength for eqos tx lines
  2024-02-22 12:28 [PATCH v2 0/4] Update of phyBOARD-Pollux-i.MX8MP Yashwanth Varakala
  2024-02-22 12:28 ` [PATCH v2 1/4] arm64: dts: imx8mp-phyboard-pollux: Add and update rtc devicetree node Yashwanth Varakala
  2024-02-22 12:28 ` [PATCH v2 2/4] arm64: dts: imx8mp-phyboard-pollux: Set debug uart muxing to 0x140 Yashwanth Varakala
@ 2024-02-22 12:28 ` Yashwanth Varakala
  2024-02-22 12:28 ` [PATCH v2 4/4] arm64: dts: imx8mp-phyboard-pollux: Disable pull-up for CD GPIO Yashwanth Varakala
  2024-02-25 13:10 ` [PATCH v2 0/4] Update of phyBOARD-Pollux-i.MX8MP Shawn Guo
  4 siblings, 0 replies; 7+ messages in thread
From: Yashwanth Varakala @ 2024-02-22 12:28 UTC (permalink / raw)
  To: robh+dt, krzysztof.kozlowski+dt, conor+dt, shawnguo, s.hauer,
	kernel, festevam, linux-imx
  Cc: linux-arm-kernel, upstream

From: Teresa Remmet <t.remmet@phytec.de>

Reduce drive strength on eqos tx lines for signal quality improvements.

Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
Signed-off-by: Benjamin Hahn <B.Hahn@phytec.de>
Signed-off-by: Yashwanth Varakala <y.varakala@phytec.de>
---
Changes in v2:
-Corrected the Authorship.

 .../dts/freescale/imx8mp-phyboard-pollux-rdk.dts     | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts b/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts
index 36b59d0c67f7..d36ce66f08ef 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts
@@ -248,12 +248,12 @@ MX8MP_IOMUXC_ENET_RD2__ENET_QOS_RGMII_RD2		0x90
 			MX8MP_IOMUXC_ENET_RD3__ENET_QOS_RGMII_RD3		0x90
 			MX8MP_IOMUXC_ENET_RXC__CCM_ENET_QOS_CLOCK_GENERATE_RX_CLK	0x90
 			MX8MP_IOMUXC_ENET_RX_CTL__ENET_QOS_RGMII_RX_CTL		0x90
-			MX8MP_IOMUXC_ENET_TD0__ENET_QOS_RGMII_TD0		0x16
-			MX8MP_IOMUXC_ENET_TD1__ENET_QOS_RGMII_TD1		0x16
-			MX8MP_IOMUXC_ENET_TD2__ENET_QOS_RGMII_TD2		0x16
-			MX8MP_IOMUXC_ENET_TD3__ENET_QOS_RGMII_TD3		0x16
-			MX8MP_IOMUXC_ENET_TX_CTL__ENET_QOS_RGMII_TX_CTL		0x16
-			MX8MP_IOMUXC_ENET_TXC__CCM_ENET_QOS_CLOCK_GENERATE_TX_CLK	0x16
+			MX8MP_IOMUXC_ENET_TD0__ENET_QOS_RGMII_TD0		0x12
+			MX8MP_IOMUXC_ENET_TD1__ENET_QOS_RGMII_TD1		0x12
+			MX8MP_IOMUXC_ENET_TD2__ENET_QOS_RGMII_TD2		0x12
+			MX8MP_IOMUXC_ENET_TD3__ENET_QOS_RGMII_TD3		0x12
+			MX8MP_IOMUXC_ENET_TX_CTL__ENET_QOS_RGMII_TX_CTL		0x12
+			MX8MP_IOMUXC_ENET_TXC__CCM_ENET_QOS_CLOCK_GENERATE_TX_CLK	0x12
 			MX8MP_IOMUXC_SAI1_MCLK__GPIO4_IO20			0x10
 		>;
 	};
-- 
2.34.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH v2 4/4] arm64: dts: imx8mp-phyboard-pollux: Disable pull-up for CD GPIO
  2024-02-22 12:28 [PATCH v2 0/4] Update of phyBOARD-Pollux-i.MX8MP Yashwanth Varakala
                   ` (2 preceding siblings ...)
  2024-02-22 12:28 ` [PATCH v2 3/4] arm64: dts: imx8mp-phyboard-pollux: Reduce drive strength for eqos tx lines Yashwanth Varakala
@ 2024-02-22 12:28 ` Yashwanth Varakala
  2024-02-25 13:10 ` [PATCH v2 0/4] Update of phyBOARD-Pollux-i.MX8MP Shawn Guo
  4 siblings, 0 replies; 7+ messages in thread
From: Yashwanth Varakala @ 2024-02-22 12:28 UTC (permalink / raw)
  To: robh+dt, krzysztof.kozlowski+dt, conor+dt, shawnguo, s.hauer,
	kernel, festevam, linux-imx
  Cc: linux-arm-kernel, upstream

From: Dominik Haller <d.haller@phytec.de>

Removes the pull-up resistor from the pad's settings to keep it
consistent for all boards. We have pull-ups in hardware on all boards so we
don't need to set the additional one from the iomux controller.

Signed-off-by: Dominik Haller <d.haller@phytec.de>
Signed-off-by: Benjamin Hahn <B.Hahn@phytec.de>
Signed-off-by: Yashwanth Varakala <y.varakala@phytec.de>
---
Changes in v2:
-Corrected the Authorship.

 arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts b/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts
index d36ce66f08ef..1dfc5f429981 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts
@@ -334,7 +334,7 @@ MX8MP_IOMUXC_SAI3_RXD__UART2_DCE_RTS	0x140
 
 	pinctrl_usdhc2_pins: usdhc2-gpiogrp {
 		fsl,pins = <
-			MX8MP_IOMUXC_SD2_CD_B__GPIO2_IO12	0x1c4
+			MX8MP_IOMUXC_SD2_CD_B__GPIO2_IO12	0x40
 		>;
 	};
 
-- 
2.34.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH v2 0/4] Update of phyBOARD-Pollux-i.MX8MP
  2024-02-22 12:28 [PATCH v2 0/4] Update of phyBOARD-Pollux-i.MX8MP Yashwanth Varakala
                   ` (3 preceding siblings ...)
  2024-02-22 12:28 ` [PATCH v2 4/4] arm64: dts: imx8mp-phyboard-pollux: Disable pull-up for CD GPIO Yashwanth Varakala
@ 2024-02-25 13:10 ` Shawn Guo
  4 siblings, 0 replies; 7+ messages in thread
From: Shawn Guo @ 2024-02-25 13:10 UTC (permalink / raw)
  To: Yashwanth Varakala
  Cc: robh+dt, krzysztof.kozlowski+dt, conor+dt, shawnguo, s.hauer,
	kernel, festevam, linux-imx, linux-arm-kernel, upstream

On Thu, Feb 22, 2024 at 01:28:49PM +0100, Yashwanth Varakala wrote:
> Hello,
> 
> These patches will update the imx8mp-phyboard-pollux devicetree
> with the Muxing and RTC properties.
>  
> Thankyou,
> yashwanth.
> 
> Changes in v2: 
> -Corrected the commit message.
> -Corrected the authorship.
> 
> Dominik Haller (1):
>   arm64: dts: imx8mp-phyboard-pollux: Disable pull-up for CD GPIO
> 
> Teresa Remmet (1):
>   arm64: dts: imx8mp-phyboard-pollux: Reduce drive strength for eqos tx
>     lines
> 
> Yannic Moog (1):
>   arm64: dts: imx8mp-phyboard-pollux: Set debug uart muxing to 0x140
> 
> Yashwanth Varakala (1):
>   arm64: dts: imx8mp-phyboard-pollux: Add and update rtc devicetree node

Applied all, thanks!


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-02-25 13:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-22 12:28 [PATCH v2 0/4] Update of phyBOARD-Pollux-i.MX8MP Yashwanth Varakala
2024-02-22 12:28 ` [PATCH v2 1/4] arm64: dts: imx8mp-phyboard-pollux: Add and update rtc devicetree node Yashwanth Varakala
2024-02-22 12:28 ` [PATCH v2 2/4] arm64: dts: imx8mp-phyboard-pollux: Set debug uart muxing to 0x140 Yashwanth Varakala
2024-02-22 12:28 ` [PATCH v2 3/4] arm64: dts: imx8mp-phyboard-pollux: Reduce drive strength for eqos tx lines Yashwanth Varakala
2024-02-22 12:28 ` [PATCH v2 4/4] arm64: dts: imx8mp-phyboard-pollux: Disable pull-up for CD GPIO Yashwanth Varakala
2024-02-25 13:10 ` [PATCH v2 0/4] Update of phyBOARD-Pollux-i.MX8MP Shawn Guo
  -- strict thread matches above, loose matches on Subject: below --
2023-09-05  8:29 Cem Tenruh

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).