Skip to contentSkip to conversation

ARM: dts: imx6ull: fix pinmux input_val for uart5 rx pin

PATCH In review Heiko Schocher 2 participants 3 messages Aug 30, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: imx6ull: fix pinmux input_val for uart5 rx pin

on the imx6ull the input_val for uart5 rx function of pin MX6UL_PAD_UART5_RX_DATA__UART5_DCE_RX is 7 and not 5 as on the imx6ul. With this patch, console on an imx6ull based board works with uart5.

---

 arch/arm/boot/dts/imx6ull-pinfunc.h | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/imx6ull-pinfunc.h +1 -0
index fdc46bb09cc1a..d835aeae5485b 100644
@@ -61,5 +61,6 @@
 #define MX6ULL_PAD_CSI_DATA05__ESAI_TX_CLK                        0x01F8 0x0484 0x0000 0x9 0x0
 #define MX6ULL_PAD_CSI_DATA06__ESAI_TX5_RX0                       0x01FC 0x0488 0x0000 0x9 0x0
 #define MX6ULL_PAD_CSI_DATA07__ESAI_T0                            0x0200 0x048C 0x0000 0x9 0x0
+#define MX6ULL_PAD_UART5_RX_DATA__UART5_DCE_RX		0x00C0 0x034C 0x0644 0 7
 
 #endif /* __DTS_IMX6ULL_PINFUNC_H */
Signature · 1 line
2.14.4
#1 lore raw

Hi,

Quoted 7 lines · Heiko Schocher

on the imx6ull the input_val for uart5 rx function of pin MX6UL_PAD_UART5_RX_DATA__UART5_DCE_RX is 7 and not 5 as on the imx6ul. With this patch, console on an imx6ull based board works with uart5.

This is already fixed on v4.19-rc1 and also on a few others PADs that have similar issue.
Moreover signals common for both i.MX6UL and i.MX6ULL should have IMX6UL_ as prefix:

https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git/commit/?h=for-next&id=387301d5b88e2fe91de9baf4ca25f771cc633f70

Regards,

Quoted 18 lines

---

 arch/arm/boot/dts/imx6ull-pinfunc.h | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/imx6ull-pinfunc.h +1 -0
index fdc46bb09cc1a..d835aeae5485b 100644
@@ -61,5 +61,6 @@
 #define MX6ULL_PAD_CSI_DATA05__ESAI_TX_CLK                        0x01F8 0x0484 0x0000 0x9 0x0
 #define MX6ULL_PAD_CSI_DATA06__ESAI_TX5_RX0                       0x01FC 0x0488 0x0000 0x9 0x0
 #define MX6ULL_PAD_CSI_DATA07__ESAI_T0                            0x0200 0x048C 0x0000 0x9 0x0
+#define MX6ULL_PAD_UART5_RX_DATA__UART5_DCE_RX		0x00C0 0x034C 0x0644 0 7
 
 #endif /* __DTS_IMX6ULL_PINFUNC_H */
Signature · 4 lines
S?bastien Szymanski
Software engineer, Armadeus Systems
Tel: +33 (0)9 72 29 41 44
Fax: +33 (0)9 72 28 79 26
#2 lore raw

Hello S?bastien,

Am 30.08.2018 um 15:25 schrieb S?bastien Szymanski:

Quoted 9 lines

Hi,

Quoted 6 lines · Heiko Schocher

on the imx6ull the input_val for uart5 rx function of pin MX6UL_PAD_UART5_RX_DATA__UART5_DCE_RX is 7 and not 5 as on the imx6ul. With this patch, console on an imx6ull based board works with uart5.

Quoted 8 lines
Quoted 1 line

This is already fixed on v4.19-rc1 and also on a few others PADs that have similar issue.
Moreover signals common for both i.MX6UL and i.MX6ULL should have IMX6UL_ as prefix:

https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git/commit/?h=for-next&id=387301d5b88e2fe91de9baf4ca25f771cc633f70

My patch was based on current HEAD ...Ah, got it, this patch is in "for-next"

Thanks! And sorry for the noise.

bye,
Heiko

Quoted 23 lines

Regards,

Quoted 18 lines

---

  arch/arm/boot/dts/imx6ull-pinfunc.h | 1 +
  1 file changed, 1 insertion(+)
arch/arm/boot/dts/imx6ull-pinfunc.h +1 -0
index fdc46bb09cc1a..d835aeae5485b 100644
@@ -61,5 +61,6 @@
  #define MX6ULL_PAD_CSI_DATA05__ESAI_TX_CLK                        0x01F8 0x0484 0x0000 0x9 0x0
  #define MX6ULL_PAD_CSI_DATA06__ESAI_TX5_RX0                       0x01FC 0x0488 0x0000 0x9 0x0
  #define MX6ULL_PAD_CSI_DATA07__ESAI_T0                            0x0200 0x048C 0x0000 0x9 0x0
+#define MX6ULL_PAD_UART5_RX_DATA__UART5_DCE_RX		0x00C0 0x034C 0x0644 0 7
 
  #endif /* __DTS_IMX6ULL_PINFUNC_H */
Signature · 3 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de