ARM: imx: Add basic msl support for imx6sll
Subsystems (4)
PATCH v4 1/3 ARM: imx: Add basic msl support for imx6sll
Add basic MSL support for i.MX6SLL.
The i.MX 6SoloLiteLite application processors are NXP's latest additions to a growing family of multimedia-focused products offering high-performance processing optimized for lowest power consumption. The i.MX 6SoloLiteLite processors feature NXP's advanced implementation of the ARM Cortex-A9 core, which can be interfaced with LPDDR3 and LPDDR2 DRAM memory devices.
---
change from v1->v2:
- no
change from v2->v3:
- no
change from v3->v4:
- fix build warning
--- arch/arm/mach-imx/Kconfig | 7 +++++++ arch/arm/mach-imx/Makefile | 1 + arch/arm/mach-imx/cpu.c | 3 +++ arch/arm/mach-imx/cpuidle-imx6sl.c | 7 +++++-- arch/arm/mach-imx/mach-imx6sl.c | 10 ++++++++-- arch/arm/mach-imx/mxc.h | 6 ++++++ 6 files changed, 30 insertions(+), 4 deletions(-)
arch/arm/mach-imx/Kconfig +7 -0
@@ -512,6 +512,13 @@ config SOC_IMX6SL help This enables support for Freescale i.MX6 SoloLite processor. +config SOC_IMX6SLL + bool "i.MX6 SoloLiteLite support" + select SOC_IMX6 + + help + This enables support for Freescale i.MX6 SoloLiteLite processor. + config SOC_IMX6SX bool "i.MX6 SoloX support" select PINCTRL_IMX6SX
arch/arm/mach-imx/Makefile +1 -0
@@ -78,6 +78,7 @@ obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o endif obj-$(CONFIG_SOC_IMX6Q) += mach-imx6q.o obj-$(CONFIG_SOC_IMX6SL) += mach-imx6sl.o +obj-$(CONFIG_SOC_IMX6SLL) += mach-imx6sl.o obj-$(CONFIG_SOC_IMX6SX) += mach-imx6sx.o obj-$(CONFIG_SOC_IMX6UL) += mach-imx6ul.o obj-$(CONFIG_SOC_IMX7D) += mach-imx7d.o
arch/arm/mach-imx/cpu.c +3 -0
@@ -135,6 +135,9 @@ struct device * __init imx_soc_device_init(void)case MXC_CPU_IMX6ULL : soc_id ="i.MX6ULL" ;break ; +case MXC_CPU_IMX6SLL : + soc_id ="i.MX6SLL" ; +break ;case MXC_CPU_IMX7D : soc_id ="i.MX7D" ;break ;
arch/arm/mach-imx/cpuidle-imx6sl.c +5 -2
@@ -11,6 +11,7 @@#include <asm/cpuidle.h> #include "common.h" +#include "hardware.h" #include "cpuidle.h" static int imx6sl_enter_wait(struct cpuidle_device *dev,
@@ -21,9 +22,11 @@ static int imx6sl_enter_wait(struct cpuidle_device *dev,* Software workaround for ERR005311, see function * description for details. */ -imx6sl_set_wait_clk (true); +if (cpu_is_imx6sl ()) +imx6sl_set_wait_clk (true);cpu_do_idle (); -imx6sl_set_wait_clk (false); +if (cpu_is_imx6sl ()) +imx6sl_set_wait_clk (false);imx6_set_lpm (WAIT_CLOCKED );return index;
arch/arm/mach-imx/mach-imx6sl.c +8 -2
@@ -17,6 +17,7 @@#include <asm/mach/map.h> #include "common.h" +#include "hardware.h" #include "cpuidle.h" static void __init imx6sl_fec_init (void )
@@ -54,7 +55,8 @@ static void __init imx6sl_init_machine(void)of_platform_default_populate (NULL ,NULL , parent); -imx6sl_fec_init (); +if (cpu_is_imx6sl ()) +imx6sl_fec_init ();imx_anatop_init ();imx6sl_pm_init (); }
@@ -66,11 +68,15 @@ static void __init imx6sl_init_irq(void)imx_init_l2cache ();imx_src_init ();irqchip_init (); -imx6_pm_ccm_init ("fsl,imx6sl-ccm" ); +if (cpu_is_imx6sl ()) +imx6_pm_ccm_init ("fsl,imx6sl-ccm" ); +else +imx6_pm_ccm_init ("fsl,imx6sll-ccm" ); }static const char *const imx6sl_dt_compat[]__initconst = {"fsl,imx6sl" , +"fsl,imx6sll" ,NULL , };
arch/arm/mach-imx/mxc.h +6 -0
@@ -40,6 +40,7 @@#define MXC_CPU_IMX6Q 0x63#define MXC_CPU_IMX6UL 0x64#define MXC_CPU_IMX6ULL 0x65 +#define MXC_CPU_IMX6SLL 0x67#define MXC_CPU_IMX7D 0x72#define IMX_DDR_TYPE_LPDDR2 1
@@ -79,6 +80,11 @@ static inline bool cpu_is_imx6ull(void)return __mxc_cpu_type ==MXC_CPU_IMX6ULL ; } +static inline bool cpu_is_imx6sll (void ) +{ +return __mxc_cpu_type ==MXC_CPU_IMX6SLL ; +} +static inline bool cpu_is_imx6q (void ) {return __mxc_cpu_type ==MXC_CPU_IMX6Q ;
Signature · 1 line
1.9.1
PATCH v4 2/3 ARM: debug: Add low level debug support for imx6sll
Add low level debug support for i.MX6SLL.
---
change v1->v2:
- no
change v2->v3:
- no
change v3->v4:
- no
--- arch/arm/Kconfig.debug | 9 +++++++++ arch/arm/include/debug/imx-uart.h | 10 ++++++++++ 2 files changed, 19 insertions(+)
arch/arm/Kconfig.debug +9 -0
@@ -451,6 +451,13 @@ choice Say Y here if you want kernel low-level debugging support on i.MX6SL. + config DEBUG_IMX6SLL_UART + bool "i.MX6SLL Debug UART" + depends on SOC_IMX6SLL + help + Say Y here if you want kernel low-level debugging support + on i.MX6SLL. + config DEBUG_IMX6SX_UART bool "i.MX6SX Debug UART" depends on SOC_IMX6SX
@@ -1429,6 +1436,7 @@ config DEBUG_IMX_UART_PORT DEBUG_IMX53_UART || \ DEBUG_IMX6Q_UART || \ DEBUG_IMX6SL_UART || \ + DEBUG_IMX6SLL_UART || \ DEBUG_IMX6SX_UART || \ DEBUG_IMX6UL_UART || \ DEBUG_IMX7D_UART
@@ -1483,6 +1491,7 @@ config DEBUG_LL_INCLUDE DEBUG_IMX53_UART ||\ DEBUG_IMX6Q_UART || \ DEBUG_IMX6SL_UART || \ + DEBUG_IMX6SLL_UART || \ DEBUG_IMX6SX_UART || \ DEBUG_IMX6UL_UART || \ DEBUG_IMX7D_UART
arch/arm/include/debug/imx-uart.h +10 -0
@@ -81,6 +81,14 @@#define IMX6SL_UART_BASE_ADDR (n) IMX6SL_UART##n##_BASE_ADDR#define IMX6SL_UART_BASE (n) IMX6SL_UART_BASE_ADDR(n) +#define IMX6SLL_UART1_BASE_ADDR 0x02020000 +#define IMX6SLL_UART2_BASE_ADDR 0x02024000 +#define IMX6SLL_UART3_BASE_ADDR 0x02034000 +#define IMX6SLL_UART4_BASE_ADDR 0x02018000 +#define IMX6SLL_UART5_BASE_ADDR 0x021f4000 +#define IMX6SLL_UART_BASE_ADDR (n) IMX6SLL_UART##n##_BASE_ADDR +#define IMX6SLL_UART_BASE (n) IMX6SLL_UART_BASE_ADDR(n) +#define IMX6SX_UART1_BASE_ADDR 0x02020000#define IMX6SX_UART2_BASE_ADDR 0x021e8000#define IMX6SX_UART3_BASE_ADDR 0x021ec000
@@ -133,6 +141,8 @@#define UART_PADDR IMX_DEBUG_UART_BASE(IMX6Q)#elif defined(CONFIG_DEBUG_IMX6SL_UART )#define UART_PADDR IMX_DEBUG_UART_BASE(IMX6SL) +#elif defined(CONFIG_DEBUG_IMX6SLL_UART ) +#define UART_PADDR IMX_DEBUG_UART_BASE(IMX6SLL)#elif defined(CONFIG_DEBUG_IMX6SX_UART )#define UART_PADDR IMX_DEBUG_UART_BASE(IMX6SX)#elif defined(CONFIG_DEBUG_IMX6UL_UART )
Signature · 1 line
1.9.1
PATCH v4 3/3 driver: clocksource: add gpt timer for imx6sll
In reply to Bai PingAdd gpt timer support for i.MX6SLL.
---
change v1->v2:
- no
change v2->v3:
- no
change v3->v4:
- no
--- drivers/clocksource/timer-imx-gpt.c | 1 + 1 file changed, 1 insertion(+)
drivers/clocksource/timer-imx-gpt.c +1 -0
@@ -557,3 +557,4 @@ static int __init imx6dl_timer_init_dt(struct device_node *np)TIMER_OF_DECLARE (imx6dl_timer,"fsl,imx6dl-gpt" , imx6dl_timer_init_dt);TIMER_OF_DECLARE (imx6sl_timer,"fsl,imx6sl-gpt" , imx6dl_timer_init_dt);TIMER_OF_DECLARE (imx6sx_timer,"fsl,imx6sx-gpt" , imx6dl_timer_init_dt); +TIMER_OF_DECLARE (imx6sll_timer,"fsl,imx6sll-gpt" , imx6dl_timer_init_dt);
Signature · 1 line
1.9.1
PATCH v4 2/3 ARM: debug: Add low level debug support for imx6sll
In reply to Bai PingQuoted 3 lines · Bai Ping
Add low level debug support for i.MX6SLL.
Signed-off-by Bai Ping <[email protected]>
With earlycon support in place, I'm not sure we want to add more SoC low-level debug port.
Shawn
Quoted 82 lines
---
changev1->v2:
- no
changev2->v3:
- no
changev3->v4:
- no--- arch/arm/Kconfig.debug | 9 +++++++++ arch/arm/include/debug/imx-uart.h | 10 ++++++++++ 2 files changed, 19 insertions(+)arch/arm/Kconfig.debug +9
-0@@ -451,6 +451,13 @@ choice Say Y here if you want kernel low-level debugging support on i.MX6SL. + config DEBUG_IMX6SLL_UART + bool "i.MX6SLL Debug UART" + depends on SOC_IMX6SLL + help + Say Y here if you want kernel low-level debugging support + on i.MX6SLL. + config DEBUG_IMX6SX_UART bool "i.MX6SX Debug UART" depends on SOC_IMX6SX@@ -1429,6 +1436,7 @@ config DEBUG_IMX_UART_PORT DEBUG_IMX53_UART || \ DEBUG_IMX6Q_UART || \ DEBUG_IMX6SL_UART || \ + DEBUG_IMX6SLL_UART || \ DEBUG_IMX6SX_UART || \ DEBUG_IMX6UL_UART || \ DEBUG_IMX7D_UART@@ -1483,6 +1491,7 @@ config DEBUG_LL_INCLUDE DEBUG_IMX53_UART ||\ DEBUG_IMX6Q_UART || \ DEBUG_IMX6SL_UART || \ + DEBUG_IMX6SLL_UART || \ DEBUG_IMX6SX_UART || \ DEBUG_IMX6UL_UART || \ DEBUG_IMX7D_UARTarch/arm/include/debug/imx-uart.h +10
-0@@ -81,6 +81,14 @@#define IMX6SL_UART_BASE_ADDR (n) IMX6SL_UART##n##_BASE_ADDR#define IMX6SL_UART_BASE (n) IMX6SL_UART_BASE_ADDR(n) +#define IMX6SLL_UART1_BASE_ADDR 0x02020000 +#define IMX6SLL_UART2_BASE_ADDR 0x02024000 +#define IMX6SLL_UART3_BASE_ADDR 0x02034000 +#define IMX6SLL_UART4_BASE_ADDR 0x02018000 +#define IMX6SLL_UART5_BASE_ADDR 0x021f4000 +#define IMX6SLL_UART_BASE_ADDR (n) IMX6SLL_UART##n##_BASE_ADDR +#define IMX6SLL_UART_BASE (n) IMX6SLL_UART_BASE_ADDR(n) +#define IMX6SX_UART1_BASE_ADDR 0x02020000#define IMX6SX_UART2_BASE_ADDR 0x021e8000#define IMX6SX_UART3_BASE_ADDR 0x021ec000@@ -133,6 +141,8 @@#define UART_PADDR IMX_DEBUG_UART_BASE(IMX6Q)#elif defined(CONFIG_DEBUG_IMX6SL_UART )#define UART_PADDR IMX_DEBUG_UART_BASE(IMX6SL) +#elif defined(CONFIG_DEBUG_IMX6SLL_UART ) +#define UART_PADDR IMX_DEBUG_UART_BASE(IMX6SLL)#elif defined(CONFIG_DEBUG_IMX6SX_UART )#define UART_PADDR IMX_DEBUG_UART_BASE(IMX6SX)#elif defined(CONFIG_DEBUG_IMX6UL_UART )Signature · 7 lines
1.9.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel at lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH v4 1/3 ARM: imx: Add basic msl support for imx6sll
In reply to Bai PingQuoted 75 lines · Bai Ping
Add basic MSL support for i.MX6SLL.
The i.MX 6SoloLiteLite application processors are NXP's latest additions to a growing family of multimedia-focused products offering high-performance processing optimized for lowest power consumption. The i.MX 6SoloLiteLite processors feature NXP's advanced implementation of the ARM Cortex-A9 core, which can be interfaced with LPDDR3 and LPDDR2 DRAM memory devices.
Signed-off-by Bai Ping <[email protected]>---
change fromv1->v2:
- no
change fromv2->v3:
- no
change fromv3->v4:
- fix build warning--- arch/arm/mach-imx/Kconfig | 7 +++++++ arch/arm/mach-imx/Makefile | 1 + arch/arm/mach-imx/cpu.c | 3 +++ arch/arm/mach-imx/cpuidle-imx6sl.c | 7 +++++-- arch/arm/mach-imx/mach-imx6sl.c | 10 ++++++++-- arch/arm/mach-imx/mxc.h | 6 ++++++ 6 files changed, 30 insertions(+), 4 deletions(-)arch/arm/mach-imx/Kconfig +7
-0@@ -512,6 +512,13 @@ config SOC_IMX6SL help This enables support for Freescale i.MX6 SoloLite processor. +config SOC_IMX6SLL + bool "i.MX6 SoloLiteLite support" + select SOC_IMX6 + + help + This enables support for Freescale i.MX6 SoloLiteLite processor. + config SOC_IMX6SX bool "i.MX6 SoloX support" select PINCTRL_IMX6SXarch/arm/mach-imx/Makefile +1
-0@@ -78,6 +78,7 @@ obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o endif obj-$(CONFIG_SOC_IMX6Q) += mach-imx6q.o obj-$(CONFIG_SOC_IMX6SL) += mach-imx6sl.o +obj-$(CONFIG_SOC_IMX6SLL) += mach-imx6sl.o obj-$(CONFIG_SOC_IMX6SX) += mach-imx6sx.o obj-$(CONFIG_SOC_IMX6UL) += mach-imx6ul.o obj-$(CONFIG_SOC_IMX7D) += mach-imx7d.oarch/arm/mach-imx/cpu.c +3
-0@@ -135,6 +135,9 @@ struct device * __init imx_soc_device_init(void)case MXC_CPU_IMX6ULL : soc_id ="i.MX6ULL" ;break ; +case MXC_CPU_IMX6SLL : + soc_id ="i.MX6SLL" ; +break ;case MXC_CPU_IMX7D : soc_id ="i.MX7D" ;break ;arch/arm/mach-imx/cpuidle-imx6sl.c +0
-0
arch/arm/mach-imx/cpuidle-imx6sl.c line 15
Quoted 5 lines
arch/arm/mach-imx/cpuidle-imx6sl.c +1
-0@@ -11,6 +11,7 @@#include <asm/cpuidle.h> #include "common.h" +#include "hardware.h" #include "cpuidle.h"
The headers should be sorted alphabetically.
Quoted 21 lines
arch/arm/mach-imx/cpuidle-imx6sl.c +4
-2static int imx6sl_enter_wait(struct cpuidle_device *dev,@@ -21,9 +22,11 @@ static int imx6sl_enter_wait(struct cpuidle_device *dev,* Software workaround for ERR005311, see function * description for details. */ -imx6sl_set_wait_clk (true); +if (cpu_is_imx6sl ()) +imx6sl_set_wait_clk (true);cpu_do_idle (); -imx6sl_set_wait_clk (false); +if (cpu_is_imx6sl ()) +imx6sl_set_wait_clk (false);imx6_set_lpm (WAIT_CLOCKED );return index;arch/arm/mach-imx/mach-imx6sl.c +0
-0
arch/arm/mach-imx/mach-imx6sl.c line 21
Quoted 5 lines
arch/arm/mach-imx/mach-imx6sl.c +1
-0@@ -17,6 +17,7 @@#include <asm/mach/map.h> #include "common.h" +#include "hardware.h" #include "cpuidle.h"
Ditto. I fixed them up and applied the patch.
Shawn
Quoted 56 lines
arch/arm/mach-imx/mach-imx6sl.c +7
-2static void __init imx6sl_fec_init (void )@@ -54,7 +55,8 @@ static void __init imx6sl_init_machine(void)of_platform_default_populate (NULL ,NULL , parent); -imx6sl_fec_init (); +if (cpu_is_imx6sl ()) +imx6sl_fec_init ();imx_anatop_init ();imx6sl_pm_init (); }@@ -66,11 +68,15 @@ static void __init imx6sl_init_irq(void)imx_init_l2cache ();imx_src_init ();irqchip_init (); -imx6_pm_ccm_init ("fsl,imx6sl-ccm" ); +if (cpu_is_imx6sl ()) +imx6_pm_ccm_init ("fsl,imx6sl-ccm" ); +else +imx6_pm_ccm_init ("fsl,imx6sll-ccm" ); }static const char *const imx6sl_dt_compat[]__initconst = {"fsl,imx6sl" , +"fsl,imx6sll" ,NULL , };arch/arm/mach-imx/mxc.h +6
-0@@ -40,6 +40,7 @@#define MXC_CPU_IMX6Q 0x63#define MXC_CPU_IMX6UL 0x64#define MXC_CPU_IMX6ULL 0x65 +#define MXC_CPU_IMX6SLL 0x67#define MXC_CPU_IMX7D 0x72#define IMX_DDR_TYPE_LPDDR2 1@@ -79,6 +80,11 @@ static inline bool cpu_is_imx6ull(void)return __mxc_cpu_type ==MXC_CPU_IMX6ULL ; } +static inline bool cpu_is_imx6sll (void ) +{ +return __mxc_cpu_type ==MXC_CPU_IMX6SLL ; +} +static inline bool cpu_is_imx6q (void ) {return __mxc_cpu_type ==MXC_CPU_IMX6Q ;Signature · 1 line
1.9.1
PATCH v4 3/3 driver: clocksource: add gpt timer for imx6sll
In reply to Bai PingQuoted 3 lines · Bai Ping
Add gpt timer support for i.MX6SLL.
Signed-off-by Bai Ping <[email protected]>
The patch should be sent to clocksource maintainer.
Quoted 16 lines
---
changev1->v2:
- no
changev2->v3:
- no
changev3->v4:
- no--- drivers/clocksource/timer-imx-gpt.c | 1 + 1 file changed, 1 insertion(+)drivers/clocksource/timer-imx-gpt.c +0
-0
drivers/clocksource/timer-imx-gpt.c static int __init imx6dl_timer_init_dt(struct device_node *np) · line 560
Quoted 4 lines
drivers/clocksource/timer-imx-gpt.c +1
-0@@ -557,3 +557,4 @@ static int __init imx6dl_timer_init_dt(struct device_node *np)TIMER_OF_DECLARE (imx6dl_timer,"fsl,imx6dl-gpt" , imx6dl_timer_init_dt);TIMER_OF_DECLARE (imx6sl_timer,"fsl,imx6sl-gpt" , imx6dl_timer_init_dt);TIMER_OF_DECLARE (imx6sx_timer,"fsl,imx6sx-gpt" , imx6dl_timer_init_dt); +TIMER_OF_DECLARE (imx6sll_timer,"fsl,imx6sll-gpt" , imx6dl_timer_init_dt);
I'm wondering if we can save this change by letting the compatible of imx6sll-gpt fall on "fsl,imx6dl-gpt" in DT.
Shawn
PATCH v4 3/3 driver: clocksource: add gpt timer for imx6sll
Quoted 20 lines
Subject: Re: [PATCH v4 3/3] driver: clocksource: add gpt timer for imx6sll
Quoted 3 lines · Bai Ping
Add gpt timer support for i.MX6SLL.
Signed-off-by Bai Ping <[email protected]>The patch should be sent to clocksource maintainer.
Quoted 11 lines
---
changev1->v2:
- no
changev2->v3:
- no
changev3->v4:
- no--- drivers/clocksource/timer-imx-gpt.c | 1 + 1 file changed, 1 insertion(+)
Quoted 17 lines
drivers/clocksource/timer-imx-gpt.c
Quoted 13 lines
drivers/clocksource/timer-imx-gpt.c +0
-0@@ -557,3 +557,4 @@ static int __init imx6dl_timer_init_dt(struct device_node *np) TIMER_OF_DECLARE(imx6dl_timer, "fsl,imx6dl-gpt", imx6dl_timer_init_dt); TIMER_OF_DECLARE(imx6sl_timer,"fsl,imx6sl-gpt" , imx6dl_timer_init_dt);TIMER_OF_DECLARE(imx6sx_timer, "fsl,imx6sx-gpt",
imx6dl_timer_init_dt);drivers/clocksource/timer-imx-gpt.c +2
-0+TIMER_OF_DECLARE (imx6sll_timer,"fsl,imx6sll-gpt" , +imx6dl_timer_init_dt);I'm wondering if we can save this change by letting the compatible of imx6sll-gpt fall on "fsl,imx6dl-gpt" in DT.
Sure, this patch can be dropped. I will update the dts compatible string accordingly.
Jacky
Quoted 1 line
Shawn
PATCH v4 2/3 ARM: debug: Add low level debug support for imx6sll
In reply to Shawn GuoQuoted 10 lines
Subject: Re: [PATCH v4 2/3] ARM: debug: Add low level debug support for imx6sll
Quoted 3 lines · Bai Ping
Add low level debug support for i.MX6SLL.
Signed-off-by Bai Ping <[email protected]>With earlycon support in place, I'm not sure we want to add more SoC low-level debug port.
OK, maybe we can drop this patch.
Jacky
Quoted 95 lines
Shawn
Quoted 52 lines
---
changev1->v2:
- no
changev2->v3:
- no
changev3->v4:
- no--- arch/arm/Kconfig.debug | 9 +++++++++ arch/arm/include/debug/imx-uart.h | 10 ++++++++++ 2 files changed, 19 insertions(+)arch/arm/Kconfig.debug index renamed from arch/arm/Kconfig.debug +0
-078a6470..2197239 100644
arch/arm/Kconfig.debug +9
-0@@ -451,6 +451,13 @@ choice Say Y here if you want kernel low-level debugging support on i.MX6SL. + config DEBUG_IMX6SLL_UART + bool "i.MX6SLL Debug UART" + depends on SOC_IMX6SLL + help + Say Y here if you want kernel low-level debugging support + on i.MX6SLL. + config DEBUG_IMX6SX_UART bool "i.MX6SX Debug UART" depends on SOC_IMX6SX@@ -1429,6 +1436,7 @@ config DEBUG_IMX_UART_PORT DEBUG_IMX53_UART || \ DEBUG_IMX6Q_UART || \ DEBUG_IMX6SL_UART || \ + DEBUG_IMX6SLL_UART || \ DEBUG_IMX6SX_UART || \ DEBUG_IMX6UL_UART || \ DEBUG_IMX7D_UART@@ -1483,6 +1491,7 @@ config DEBUG_LL_INCLUDE DEBUG_IMX53_UART ||\ DEBUG_IMX6Q_UART || \ DEBUG_IMX6SL_UART || \ + DEBUG_IMX6SLL_UART || \ DEBUG_IMX6SX_UART || \ DEBUG_IMX6UL_UART || \ DEBUG_IMX7D_UARTarch/arm/include/debug/imx-uart.h +0
-0arch/arm/include/debug/imx-uart.h line 85
Quoted 5 lines
arch/arm/include/debug/imx-uart.h +2
-0@@ -81,6 +81,14 @@#define IMX6SL_UART_BASE_ADDR (n) IMX6SL_UART##n##_BASE_ADDR#define IMX6SL_UART_BASE (n) IMX6SL_UART_BASE_ADDR(n) +#define IMX6SLL_UART1_BASE_ADDR 0x02020000 #define +IMX6SLL_UART2_BASE_ADDR 0x02024000 #define
IMX6SLL_UART3_BASE_ADDRarch/arm/include/debug/imx-uart.h line 87
Quoted 2 lines
arch/arm/include/debug/imx-uart.h +2
-0+0x02034000 #define IMX6SLL_UART4_BASE_ADDR 0x02018000 #define +IMX6SLL_UART5_BASE_ADDR 0x021f4000 #define
IMX6SLL_UART_BASE_ADDR(n)Quoted 19 lines
arch/arm/include/debug/imx-uart.h +5
-1+IMX6SLL_UART##n##_BASE_ADDR +#define IMX6SLL_UART_BASE (n) IMX6SLL_UART_BASE_ADDR(n) +#define IMX6SX_UART1_BASE_ADDR 0x02020000#define IMX6SX_UART2_BASE_ADDR 0x021e8000#define IMX6SX_UART3_BASE_ADDR 0x021ec000@@ -133,6 +141,8 @@#define UART_PADDR IMX_DEBUG_UART_BASE(IMX6Q)#elif defined(CONFIG_DEBUG_IMX6SL_UART )#define UART_PADDR IMX_DEBUG_UART_BASE(IMX6SL) +#elif defined(CONFIG_DEBUG_IMX6SLL_UART ) +#define UART_PADDR IMX_DEBUG_UART_BASE(IMX6SLL)#elif defined(CONFIG_DEBUG_IMX6SX_UART )#define UART_PADDR IMX_DEBUG_UART_BASE(IMX6SX)#elif defined(CONFIG_DEBUG_IMX6UL_UART ) --1.9.1
Quoted 5 lines
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.infradead.org%2Fmailman%2Flistinfo%2Flinux-arm-kernel&data=02%7C01%7
Quoted 1 line
Cping.bai%40nxp.com%7Cff87034a5489455501c308d5855bdd78%7C686ea1d3 bc2b4
Quoted 1 line
c6fa92cd99c5c301635%7C0%7C0%7C636561551970392594&sdata=zDX%2Bgt WfguB5B
Quoted 1 line
d7wNjd0rl5coxrVR1eLekMBc%2BIdnEg%3D&reserved=0