Re: [PATCH] sunxi: Add support for using UART4 as console on A64

2020-07-07 Thread Maxime Ripard
Hi, On Tue, Jul 07, 2020 at 12:29:37PM +0300, Nazım Gediz Aydındoğmuş wrote: > Add some additional tests and definitions to be able to use UART4 of A64 and > do not let it get in conflict with R_UART of some other SoCs (e.g. A23). The commit log should be wrapped at 80 characters, and you should

[PATCH] sunxi: Add support for using UART4 as console on A64

2020-07-07 Thread Nazım Gediz Aydındoğmuş
Add some additional tests and definitions to be able to use UART4 of A64 and do not let it get in conflict with R_UART of some other SoCs (e.g. A23). Signed-off-by: Nazım Gediz Aydındoğmuş --- arch/arm/include/asm/arch-sunxi/gpio.h | 1 + arch/arm/mach-sunxi/board.c| 4 arch/a

[PATCH] sunxi: Add support for using UART4 as console on A64

2020-07-03 Thread Nazım Gediz Aydındoğmuş
Add some additional tests and definitions to be able to use UART4 of A64 and do not let it get in conflict with R_UART of some other SoCs (e.g. A23). Signed-off-by: Nazım Gediz Aydındoğmuş --- arch/arm/include/asm/arch-sunxi/gpio.h | 1 + arch/arm/mach-sunxi/board.c| 4 arch/a

Re: [PATCH] sunxi: Add support for using UART4 as console on A64

2020-07-02 Thread Maxime Ripard
Hi, On Mon, Jun 29, 2020 at 07:12:04PM +, Nazım Gediz AYDINDOĞMUŞ wrote: > Hi. > > If I've understood it well, you're pointing out for the following part, > right? Yep > > /* CPU */ > > #define COUNTER_FREQUENCY 2400 > > @@ -248,6 +252,8 @@ extern int soft_i2c_gpio_scl; > >

Re: [PATCH] sunxi: Add support for using UART4 as console on A64

2020-06-29 Thread Nazım Gediz AYDINDOĞMUŞ
Hi. If I've understood it well, you're pointing out for the following part, right? > /* CPU */ > #define COUNTER_FREQUENCY2400 > @@ -248,6 +252,8 @@ extern int soft_i2c_gpio_scl; > #define OF_STDOUT_PATH "/soc@01c0/serial@01c28800:115200" > #elif CONFIG_CONS_

Re: [PATCH] sunxi: Add support for using UART4 as console on A64

2020-06-29 Thread Maxime Ripard
Hi, On Mon, Jun 29, 2020 at 12:09:38PM +0300, Nazım Gediz Aydındoğmuş wrote: > A64 has UART4 but it was in conflict with R_UART of older SoCs (e.g. A23). > > This commit adds necessary definitions and checks to use UART4 port on A64. > > Signed-off-by: Nazım Gediz Aydındoğmuş > --- > > arch/a

[PATCH] sunxi: Add support for using UART4 as console on A64

2020-06-29 Thread Nazım Gediz Aydındoğmuş
A64 has UART4 but it was in conflict with R_UART of older SoCs (e.g. A23). This commit adds necessary definitions and checks to use UART4 port on A64. Signed-off-by: Nazım Gediz Aydındoğmuş --- arch/arm/include/asm/arch-sunxi/gpio.h | 1 + arch/arm/mach-sunxi/board.c| 4 arch/