All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tbs2910: Convert to DM_SERIAL
@ 2022-03-15 20:47 Fabio Estevam
  2022-03-15 21:01 ` Soeren Moch
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Fabio Estevam @ 2022-03-15 20:47 UTC (permalink / raw)
  To: sbabic; +Cc: u-boot, trini, smoch, Fabio Estevam

From: Fabio Estevam <festevam@denx.de>

Conversion to DM_SERIAL is mandatory.

Select DM_SERIAL and add a imx6q-tbs2910-u-boot.dtsi file
that describes the nodes that require dm-pre-reloc, which allows
the DM model to configure the UART pinctrl early.

Remove the now unneeded board UART initialization.

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 arch/arm/dts/imx6q-tbs2910-u-boot.dtsi | 17 +++++++++++++++++
 arch/arm/dts/imx6qdl.dtsi              |  4 ++--
 board/tbs/tbs2910/tbs2910.c            | 26 --------------------------
 configs/tbs2910_defconfig              |  2 +-
 4 files changed, 20 insertions(+), 29 deletions(-)
 create mode 100644 arch/arm/dts/imx6q-tbs2910-u-boot.dtsi

diff --git a/arch/arm/dts/imx6q-tbs2910-u-boot.dtsi b/arch/arm/dts/imx6q-tbs2910-u-boot.dtsi
new file mode 100644
index 000000000000..65ab052ac2c0
--- /dev/null
+++ b/arch/arm/dts/imx6q-tbs2910-u-boot.dtsi
@@ -0,0 +1,17 @@
+// SPDX-License-Identifier: GPL-2.0+
+
+&aips1 {
+	u-boot,dm-pre-reloc;
+};
+
+&pinctrl_uart1 {
+	u-boot,dm-pre-reloc;
+};
+
+&soc {
+	u-boot,dm-pre-reloc;
+};
+
+&uart1 {
+	u-boot,dm-pre-reloc;
+};
diff --git a/arch/arm/dts/imx6qdl.dtsi b/arch/arm/dts/imx6qdl.dtsi
index efd89510d512..d89272039b28 100644
--- a/arch/arm/dts/imx6qdl.dtsi
+++ b/arch/arm/dts/imx6qdl.dtsi
@@ -139,7 +139,7 @@
 		interrupts = <0 94 IRQ_TYPE_LEVEL_HIGH>;
 	};
 
-	soc {
+	soc: soc {
 		#address-cells = <1>;
 		#size-cells = <1>;
 		compatible = "simple-bus";
@@ -283,7 +283,7 @@
 			status = "disabled";
 		};
 
-		bus@2000000 { /* AIPS1 */
+		aips1: bus@2000000 { /* AIPS1 */
 			compatible = "fsl,aips-bus", "simple-bus";
 			#address-cells = <1>;
 			#size-cells = <1>;
diff --git a/board/tbs/tbs2910/tbs2910.c b/board/tbs/tbs2910/tbs2910.c
index faf73cc218c9..3a447ca8a93c 100644
--- a/board/tbs/tbs2910/tbs2910.c
+++ b/board/tbs/tbs2910/tbs2910.c
@@ -22,32 +22,12 @@
 #include <asm/arch/sys_proto.h>
 DECLARE_GLOBAL_DATA_PTR;
 
-#define UART_PAD_CTRL  (PAD_CTL_PUS_100K_UP |			\
-	PAD_CTL_SPEED_MED | PAD_CTL_DSE_40ohm |			\
-	PAD_CTL_SRE_FAST  | PAD_CTL_HYS)
-
-static iomux_v3_cfg_t const uart1_pads[] = {
-	MX6_PAD_CSI0_DAT10__UART1_TX_DATA | MUX_PAD_CTRL(UART_PAD_CTRL),
-	MX6_PAD_CSI0_DAT11__UART1_RX_DATA | MUX_PAD_CTRL(UART_PAD_CTRL),
-};
-
-static iomux_v3_cfg_t const uart2_pads[] = {
-	MX6_PAD_EIM_D26__UART2_TX_DATA | MUX_PAD_CTRL(UART_PAD_CTRL),
-	MX6_PAD_EIM_D27__UART2_RX_DATA | MUX_PAD_CTRL(UART_PAD_CTRL),
-};
-
 int dram_init(void)
 {
 	gd->ram_size = 2048ul * 1024 * 1024;
 	return 0;
 }
 
-static void setup_iomux_uart(void)
-{
-	imx_iomux_v3_setup_multiple_pads(uart1_pads, ARRAY_SIZE(uart1_pads));
-	imx_iomux_v3_setup_multiple_pads(uart2_pads, ARRAY_SIZE(uart2_pads));
-}
-
 #ifdef CONFIG_FSL_ESDHC_IMX
 /* set environment device to boot device when booting from SD */
 int board_mmc_get_env_dev(int devno)
@@ -150,12 +130,6 @@ static void setup_display(void)
 }
 #endif /* CONFIG_VIDEO_IPUV3 */
 
-int board_early_init_f(void)
-{
-	setup_iomux_uart();
-	return 0;
-}
-
 #ifdef CONFIG_CMD_BMODE
 static const struct boot_mode board_boot_modes[] = {
 	/* 4 bit bus width */
diff --git a/configs/tbs2910_defconfig b/configs/tbs2910_defconfig
index 8a3316056408..63a778a45f0b 100644
--- a/configs/tbs2910_defconfig
+++ b/configs/tbs2910_defconfig
@@ -23,7 +23,6 @@ CONFIG_USE_PREBOOT=y
 CONFIG_PREBOOT="echo PCI:; pci enum; pci 1; usb start; if hdmidet; then run set_con_hdmi; else run set_con_serial; fi"
 CONFIG_DEFAULT_FDT_FILE="imx6q-tbs2910.dtb"
 CONFIG_PRE_CONSOLE_BUFFER=y
-CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="Matrix U-Boot> "
 # CONFIG_CMD_BDI is not set
@@ -81,6 +80,7 @@ CONFIG_PINCTRL=y
 CONFIG_PINCTRL_IMX6=y
 CONFIG_DM_RTC=y
 CONFIG_RTC_DS1307=y
+CONFIG_DM_SERIAL=y
 CONFIG_MXC_UART=y
 CONFIG_DM_THERMAL=y
 CONFIG_IMX_THERMAL=y
-- 
2.25.1


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

* Re: [PATCH] tbs2910: Convert to DM_SERIAL
  2022-03-15 20:47 [PATCH] tbs2910: Convert to DM_SERIAL Fabio Estevam
@ 2022-03-15 21:01 ` Soeren Moch
  2022-03-15 21:02   ` Tom Rini
  2022-03-19 11:34 ` Soeren Moch
  2022-04-12 18:44 ` sbabic
  2 siblings, 1 reply; 9+ messages in thread
From: Soeren Moch @ 2022-03-15 21:01 UTC (permalink / raw)
  To: Fabio Estevam, sbabic; +Cc: u-boot, trini, Fabio Estevam

On 15.03.22 21:47, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
>
> Conversion to DM_SERIAL is mandatory.
>
> Select DM_SERIAL and add a imx6q-tbs2910-u-boot.dtsi file
> that describes the nodes that require dm-pre-reloc, which allows
> the DM model to configure the UART pinctrl early.
>
> Remove the now unneeded board UART initialization.
>
> Signed-off-by: Fabio Estevam <festevam@denx.de>
I will test this within the next few days, please give me a little more
time.

Thanks,
Soeren
> ---
>   arch/arm/dts/imx6q-tbs2910-u-boot.dtsi | 17 +++++++++++++++++
>   arch/arm/dts/imx6qdl.dtsi              |  4 ++--
>   board/tbs/tbs2910/tbs2910.c            | 26 --------------------------
>   configs/tbs2910_defconfig              |  2 +-
>   4 files changed, 20 insertions(+), 29 deletions(-)
>   create mode 100644 arch/arm/dts/imx6q-tbs2910-u-boot.dtsi
>
> diff --git a/arch/arm/dts/imx6q-tbs2910-u-boot.dtsi b/arch/arm/dts/imx6q-tbs2910-u-boot.dtsi
> new file mode 100644
> index 000000000000..65ab052ac2c0
> --- /dev/null
> +++ b/arch/arm/dts/imx6q-tbs2910-u-boot.dtsi
> @@ -0,0 +1,17 @@
> +// SPDX-License-Identifier: GPL-2.0+
> +
> +&aips1 {
> +	u-boot,dm-pre-reloc;
> +};
> +
> +&pinctrl_uart1 {
> +	u-boot,dm-pre-reloc;
> +};
> +
> +&soc {
> +	u-boot,dm-pre-reloc;
> +};
> +
> +&uart1 {
> +	u-boot,dm-pre-reloc;
> +};
> diff --git a/arch/arm/dts/imx6qdl.dtsi b/arch/arm/dts/imx6qdl.dtsi
> index efd89510d512..d89272039b28 100644
> --- a/arch/arm/dts/imx6qdl.dtsi
> +++ b/arch/arm/dts/imx6qdl.dtsi
> @@ -139,7 +139,7 @@
>   		interrupts = <0 94 IRQ_TYPE_LEVEL_HIGH>;
>   	};
>
> -	soc {
> +	soc: soc {
>   		#address-cells = <1>;
>   		#size-cells = <1>;
>   		compatible = "simple-bus";
> @@ -283,7 +283,7 @@
>   			status = "disabled";
>   		};
>
> -		bus@2000000 { /* AIPS1 */
> +		aips1: bus@2000000 { /* AIPS1 */
>   			compatible = "fsl,aips-bus", "simple-bus";
>   			#address-cells = <1>;
>   			#size-cells = <1>;
> diff --git a/board/tbs/tbs2910/tbs2910.c b/board/tbs/tbs2910/tbs2910.c
> index faf73cc218c9..3a447ca8a93c 100644
> --- a/board/tbs/tbs2910/tbs2910.c
> +++ b/board/tbs/tbs2910/tbs2910.c
> @@ -22,32 +22,12 @@
>   #include <asm/arch/sys_proto.h>
>   DECLARE_GLOBAL_DATA_PTR;
>
> -#define UART_PAD_CTRL  (PAD_CTL_PUS_100K_UP |			\
> -	PAD_CTL_SPEED_MED | PAD_CTL_DSE_40ohm |			\
> -	PAD_CTL_SRE_FAST  | PAD_CTL_HYS)
> -
> -static iomux_v3_cfg_t const uart1_pads[] = {
> -	MX6_PAD_CSI0_DAT10__UART1_TX_DATA | MUX_PAD_CTRL(UART_PAD_CTRL),
> -	MX6_PAD_CSI0_DAT11__UART1_RX_DATA | MUX_PAD_CTRL(UART_PAD_CTRL),
> -};
> -
> -static iomux_v3_cfg_t const uart2_pads[] = {
> -	MX6_PAD_EIM_D26__UART2_TX_DATA | MUX_PAD_CTRL(UART_PAD_CTRL),
> -	MX6_PAD_EIM_D27__UART2_RX_DATA | MUX_PAD_CTRL(UART_PAD_CTRL),
> -};
> -
>   int dram_init(void)
>   {
>   	gd->ram_size = 2048ul * 1024 * 1024;
>   	return 0;
>   }
>
> -static void setup_iomux_uart(void)
> -{
> -	imx_iomux_v3_setup_multiple_pads(uart1_pads, ARRAY_SIZE(uart1_pads));
> -	imx_iomux_v3_setup_multiple_pads(uart2_pads, ARRAY_SIZE(uart2_pads));
> -}
> -
>   #ifdef CONFIG_FSL_ESDHC_IMX
>   /* set environment device to boot device when booting from SD */
>   int board_mmc_get_env_dev(int devno)
> @@ -150,12 +130,6 @@ static void setup_display(void)
>   }
>   #endif /* CONFIG_VIDEO_IPUV3 */
>
> -int board_early_init_f(void)
> -{
> -	setup_iomux_uart();
> -	return 0;
> -}
> -
>   #ifdef CONFIG_CMD_BMODE
>   static const struct boot_mode board_boot_modes[] = {
>   	/* 4 bit bus width */
> diff --git a/configs/tbs2910_defconfig b/configs/tbs2910_defconfig
> index 8a3316056408..63a778a45f0b 100644
> --- a/configs/tbs2910_defconfig
> +++ b/configs/tbs2910_defconfig
> @@ -23,7 +23,6 @@ CONFIG_USE_PREBOOT=y
>   CONFIG_PREBOOT="echo PCI:; pci enum; pci 1; usb start; if hdmidet; then run set_con_hdmi; else run set_con_serial; fi"
>   CONFIG_DEFAULT_FDT_FILE="imx6q-tbs2910.dtb"
>   CONFIG_PRE_CONSOLE_BUFFER=y
> -CONFIG_BOARD_EARLY_INIT_F=y
>   CONFIG_HUSH_PARSER=y
>   CONFIG_SYS_PROMPT="Matrix U-Boot> "
>   # CONFIG_CMD_BDI is not set
> @@ -81,6 +80,7 @@ CONFIG_PINCTRL=y
>   CONFIG_PINCTRL_IMX6=y
>   CONFIG_DM_RTC=y
>   CONFIG_RTC_DS1307=y
> +CONFIG_DM_SERIAL=y
>   CONFIG_MXC_UART=y
>   CONFIG_DM_THERMAL=y
>   CONFIG_IMX_THERMAL=y


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

* Re: [PATCH] tbs2910: Convert to DM_SERIAL
  2022-03-15 21:01 ` Soeren Moch
@ 2022-03-15 21:02   ` Tom Rini
  0 siblings, 0 replies; 9+ messages in thread
From: Tom Rini @ 2022-03-15 21:02 UTC (permalink / raw)
  To: Soeren Moch; +Cc: Fabio Estevam, sbabic, u-boot, Fabio Estevam

[-- Attachment #1: Type: text/plain, Size: 750 bytes --]

On Tue, Mar 15, 2022 at 10:01:13PM +0100, Soeren Moch wrote:
> On 15.03.22 21:47, Fabio Estevam wrote:
> > From: Fabio Estevam <festevam@denx.de>
> > 
> > Conversion to DM_SERIAL is mandatory.
> > 
> > Select DM_SERIAL and add a imx6q-tbs2910-u-boot.dtsi file
> > that describes the nodes that require dm-pre-reloc, which allows
> > the DM model to configure the UART pinctrl early.
> > 
> > Remove the now unneeded board UART initialization.
> > 
> > Signed-off-by: Fabio Estevam <festevam@denx.de>
> I will test this within the next few days, please give me a little more
> time.

Thanks.  I asked Fabio off-list to re-post it since patchwork didn't see
it due to how it was posted and I don't want this getting lost.

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

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

* Re: [PATCH] tbs2910: Convert to DM_SERIAL
  2022-03-15 20:47 [PATCH] tbs2910: Convert to DM_SERIAL Fabio Estevam
  2022-03-15 21:01 ` Soeren Moch
@ 2022-03-19 11:34 ` Soeren Moch
  2022-03-19 13:31   ` Fabio Estevam
  2022-04-12 18:44 ` sbabic
  2 siblings, 1 reply; 9+ messages in thread
From: Soeren Moch @ 2022-03-19 11:34 UTC (permalink / raw)
  To: Fabio Estevam, sbabic; +Cc: u-boot, trini, Fabio Estevam

On 15.03.22 21:47, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
Usually I wrote 'board: tbs2910: ...' as patch description.
But Fabio and Stefano will for sure know better what they like here.
>
> Conversion to DM_SERIAL is mandatory.
>
> Select DM_SERIAL and add a imx6q-tbs2910-u-boot.dtsi file
> that describes the nodes that require dm-pre-reloc, which allows
> the DM model to configure the UART pinctrl early.
>
> Remove the now unneeded board UART initialization.
>
> Signed-off-by: Fabio Estevam <festevam@denx.de>
Works great (on top of v2022.04-rc4), thanks!

Tested-by: Soeren Moch <smoch@web.de>

Fabio, will you sync the imx6qdl.dtsi changes to linux?
Or how is this supposed to keep in sync?

Thanks again for working out the proper DM_SERIAL conversion,
Soeren
> ---
>   arch/arm/dts/imx6q-tbs2910-u-boot.dtsi | 17 +++++++++++++++++
>   arch/arm/dts/imx6qdl.dtsi              |  4 ++--
>   board/tbs/tbs2910/tbs2910.c            | 26 --------------------------
>   configs/tbs2910_defconfig              |  2 +-
>   4 files changed, 20 insertions(+), 29 deletions(-)
>   create mode 100644 arch/arm/dts/imx6q-tbs2910-u-boot.dtsi
>
> diff --git a/arch/arm/dts/imx6q-tbs2910-u-boot.dtsi b/arch/arm/dts/imx6q-tbs2910-u-boot.dtsi
> new file mode 100644
> index 000000000000..65ab052ac2c0
> --- /dev/null
> +++ b/arch/arm/dts/imx6q-tbs2910-u-boot.dtsi
> @@ -0,0 +1,17 @@
> +// SPDX-License-Identifier: GPL-2.0+
> +
> +&aips1 {
> +	u-boot,dm-pre-reloc;
> +};
> +
> +&pinctrl_uart1 {
> +	u-boot,dm-pre-reloc;
> +};
> +
> +&soc {
> +	u-boot,dm-pre-reloc;
> +};
> +
> +&uart1 {
> +	u-boot,dm-pre-reloc;
> +};
> diff --git a/arch/arm/dts/imx6qdl.dtsi b/arch/arm/dts/imx6qdl.dtsi
> index efd89510d512..d89272039b28 100644
> --- a/arch/arm/dts/imx6qdl.dtsi
> +++ b/arch/arm/dts/imx6qdl.dtsi
> @@ -139,7 +139,7 @@
>   		interrupts = <0 94 IRQ_TYPE_LEVEL_HIGH>;
>   	};
>
> -	soc {
> +	soc: soc {
>   		#address-cells = <1>;
>   		#size-cells = <1>;
>   		compatible = "simple-bus";
> @@ -283,7 +283,7 @@
>   			status = "disabled";
>   		};
>
> -		bus@2000000 { /* AIPS1 */
> +		aips1: bus@2000000 { /* AIPS1 */
>   			compatible = "fsl,aips-bus", "simple-bus";
>   			#address-cells = <1>;
>   			#size-cells = <1>;
> diff --git a/board/tbs/tbs2910/tbs2910.c b/board/tbs/tbs2910/tbs2910.c
> index faf73cc218c9..3a447ca8a93c 100644
> --- a/board/tbs/tbs2910/tbs2910.c
> +++ b/board/tbs/tbs2910/tbs2910.c
> @@ -22,32 +22,12 @@
>   #include <asm/arch/sys_proto.h>
>   DECLARE_GLOBAL_DATA_PTR;
>
> -#define UART_PAD_CTRL  (PAD_CTL_PUS_100K_UP |			\
> -	PAD_CTL_SPEED_MED | PAD_CTL_DSE_40ohm |			\
> -	PAD_CTL_SRE_FAST  | PAD_CTL_HYS)
> -
> -static iomux_v3_cfg_t const uart1_pads[] = {
> -	MX6_PAD_CSI0_DAT10__UART1_TX_DATA | MUX_PAD_CTRL(UART_PAD_CTRL),
> -	MX6_PAD_CSI0_DAT11__UART1_RX_DATA | MUX_PAD_CTRL(UART_PAD_CTRL),
> -};
> -
> -static iomux_v3_cfg_t const uart2_pads[] = {
> -	MX6_PAD_EIM_D26__UART2_TX_DATA | MUX_PAD_CTRL(UART_PAD_CTRL),
> -	MX6_PAD_EIM_D27__UART2_RX_DATA | MUX_PAD_CTRL(UART_PAD_CTRL),
> -};
> -
>   int dram_init(void)
>   {
>   	gd->ram_size = 2048ul * 1024 * 1024;
>   	return 0;
>   }
>
> -static void setup_iomux_uart(void)
> -{
> -	imx_iomux_v3_setup_multiple_pads(uart1_pads, ARRAY_SIZE(uart1_pads));
> -	imx_iomux_v3_setup_multiple_pads(uart2_pads, ARRAY_SIZE(uart2_pads));
> -}
> -
>   #ifdef CONFIG_FSL_ESDHC_IMX
>   /* set environment device to boot device when booting from SD */
>   int board_mmc_get_env_dev(int devno)
> @@ -150,12 +130,6 @@ static void setup_display(void)
>   }
>   #endif /* CONFIG_VIDEO_IPUV3 */
>
> -int board_early_init_f(void)
> -{
> -	setup_iomux_uart();
> -	return 0;
> -}
> -
>   #ifdef CONFIG_CMD_BMODE
>   static const struct boot_mode board_boot_modes[] = {
>   	/* 4 bit bus width */
> diff --git a/configs/tbs2910_defconfig b/configs/tbs2910_defconfig
> index 8a3316056408..63a778a45f0b 100644
> --- a/configs/tbs2910_defconfig
> +++ b/configs/tbs2910_defconfig
> @@ -23,7 +23,6 @@ CONFIG_USE_PREBOOT=y
>   CONFIG_PREBOOT="echo PCI:; pci enum; pci 1; usb start; if hdmidet; then run set_con_hdmi; else run set_con_serial; fi"
>   CONFIG_DEFAULT_FDT_FILE="imx6q-tbs2910.dtb"
>   CONFIG_PRE_CONSOLE_BUFFER=y
> -CONFIG_BOARD_EARLY_INIT_F=y
>   CONFIG_HUSH_PARSER=y
>   CONFIG_SYS_PROMPT="Matrix U-Boot> "
>   # CONFIG_CMD_BDI is not set
> @@ -81,6 +80,7 @@ CONFIG_PINCTRL=y
>   CONFIG_PINCTRL_IMX6=y
>   CONFIG_DM_RTC=y
>   CONFIG_RTC_DS1307=y
> +CONFIG_DM_SERIAL=y
>   CONFIG_MXC_UART=y
>   CONFIG_DM_THERMAL=y
>   CONFIG_IMX_THERMAL=y


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

* Re: [PATCH] tbs2910: Convert to DM_SERIAL
  2022-03-19 11:34 ` Soeren Moch
@ 2022-03-19 13:31   ` Fabio Estevam
  2022-03-19 15:34     ` Soeren Moch
  2022-06-14 16:27     ` Fabio Estevam
  0 siblings, 2 replies; 9+ messages in thread
From: Fabio Estevam @ 2022-03-19 13:31 UTC (permalink / raw)
  To: Soeren Moch; +Cc: Stefano Babic, U-Boot-Denx, Tom Rini, Fabio Estevam

Hi Soeren,

On Sat, Mar 19, 2022 at 8:34 AM Soeren Moch <smoch@web.de> wrote:

> Works great (on top of v2022.04-rc4), thanks!
>
> Tested-by: Soeren Moch <smoch@web.de>

Great, thanks for confirming it works.

> Fabio, will you sync the imx6qdl.dtsi changes to linux?
> Or how is this supposed to keep in sync?

Yes, I plan to submit these imx6qdl.dtsi  changes (and similar changes
to the other  i.MX dtsi files too) to the mainline kernel.

I will do it after 5.18-rc1 is out and will keep you on Cc when I submit it.

Regards,

Fabio Estevam

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

* Re: [PATCH] tbs2910: Convert to DM_SERIAL
  2022-03-19 13:31   ` Fabio Estevam
@ 2022-03-19 15:34     ` Soeren Moch
  2022-06-14 16:27     ` Fabio Estevam
  1 sibling, 0 replies; 9+ messages in thread
From: Soeren Moch @ 2022-03-19 15:34 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: Stefano Babic, U-Boot-Denx, Tom Rini, Fabio Estevam

Hi Fabio,

On 19.03.22 14:31, Fabio Estevam wrote:
> Hi Soeren,
>
> On Sat, Mar 19, 2022 at 8:34 AM Soeren Moch <smoch@web.de> wrote:
>
>> Works great (on top of v2022.04-rc4), thanks!
>>
>> Tested-by: Soeren Moch <smoch@web.de>
> Great, thanks for confirming it works.
>
>> Fabio, will you sync the imx6qdl.dtsi changes to linux?
>> Or how is this supposed to keep in sync?
> Yes, I plan to submit these imx6qdl.dtsi  changes (and similar changes
> to the other  i.MX dtsi files too) to the mainline kernel.
>
> I will do it after 5.18-rc1 is out and will keep you on Cc when I submit it.
>
OK, thanks,
Soeren

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

* [PATCH] tbs2910: Convert to DM_SERIAL
  2022-03-15 20:47 [PATCH] tbs2910: Convert to DM_SERIAL Fabio Estevam
  2022-03-15 21:01 ` Soeren Moch
  2022-03-19 11:34 ` Soeren Moch
@ 2022-04-12 18:44 ` sbabic
  2 siblings, 0 replies; 9+ messages in thread
From: sbabic @ 2022-04-12 18:44 UTC (permalink / raw)
  To: Fabio Estevam, u-boot

> From: Fabio Estevam <festevam@denx.de>
> Conversion to DM_SERIAL is mandatory.
> Select DM_SERIAL and add a imx6q-tbs2910-u-boot.dtsi file
> that describes the nodes that require dm-pre-reloc, which allows
> the DM model to configure the UART pinctrl early.
> Remove the now unneeded board UART initialization.
> Signed-off-by: Fabio Estevam <festevam@denx.de>
> Tested-by: Soeren Moch <smoch@web.de>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de
=====================================================================

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

* Re: [PATCH] tbs2910: Convert to DM_SERIAL
  2022-03-19 13:31   ` Fabio Estevam
  2022-03-19 15:34     ` Soeren Moch
@ 2022-06-14 16:27     ` Fabio Estevam
  2022-06-14 17:53       ` Soeren Moch
  1 sibling, 1 reply; 9+ messages in thread
From: Fabio Estevam @ 2022-06-14 16:27 UTC (permalink / raw)
  To: Soeren Moch; +Cc: Stefano Babic, U-Boot-Denx, Tom Rini, Fabio Estevam

On Sat, Mar 19, 2022 at 10:31 AM Fabio Estevam <festevam@gmail.com> wrote:

> > Fabio, will you sync the imx6qdl.dtsi changes to linux?
> > Or how is this supposed to keep in sync?
>
> Yes, I plan to submit these imx6qdl.dtsi  changes (and similar changes
> to the other  i.MX dtsi files too) to the mainline kernel.
>
> I will do it after 5.18-rc1 is out and will keep you on Cc when I submit it.

I missed the last cycle, but just sent the two patches upstream:

http://lists.infradead.org/pipermail/linux-arm-kernel/2022-June/751353.html

http://lists.infradead.org/pipermail/linux-arm-kernel/2022-June/751354.html

Regards,

Fabio Estevam

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

* Re: [PATCH] tbs2910: Convert to DM_SERIAL
  2022-06-14 16:27     ` Fabio Estevam
@ 2022-06-14 17:53       ` Soeren Moch
  0 siblings, 0 replies; 9+ messages in thread
From: Soeren Moch @ 2022-06-14 17:53 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: Stefano Babic, U-Boot-Denx, Tom Rini, Fabio Estevam



On 14.06.22 18:27, Fabio Estevam wrote:
> On Sat, Mar 19, 2022 at 10:31 AM Fabio Estevam <festevam@gmail.com> wrote:
>
>>> Fabio, will you sync the imx6qdl.dtsi changes to linux?
>>> Or how is this supposed to keep in sync?
>> Yes, I plan to submit these imx6qdl.dtsi  changes (and similar changes
>> to the other  i.MX dtsi files too) to the mainline kernel.
>>
>> I will do it after 5.18-rc1 is out and will keep you on Cc when I submit it.
> I missed the last cycle, but just sent the two patches upstream:
>
> http://lists.infradead.org/pipermail/linux-arm-kernel/2022-June/751353.html
>
> http://lists.infradead.org/pipermail/linux-arm-kernel/2022-June/751354.html
Yes, I saw your patches.

Thanks,
Soeren
>
> Regards,
>
> Fabio Estevam


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

end of thread, other threads:[~2022-06-14 17:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-15 20:47 [PATCH] tbs2910: Convert to DM_SERIAL Fabio Estevam
2022-03-15 21:01 ` Soeren Moch
2022-03-15 21:02   ` Tom Rini
2022-03-19 11:34 ` Soeren Moch
2022-03-19 13:31   ` Fabio Estevam
2022-03-19 15:34     ` Soeren Moch
2022-06-14 16:27     ` Fabio Estevam
2022-06-14 17:53       ` Soeren Moch
2022-04-12 18:44 ` sbabic

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.