Re: [PATCH] bsp/raspberrypi: AUX uart driver

2020-01-17 Thread Niteesh
On Fri, Jan 17, 2020 at 1:40 AM Christian Mauderer wrote: > On 15/01/2020 13:05, G S Niteesh wrote: > > This patch adds the driver for aux driver present in Raspberry > > Pi 3 and above, this uart is currently used as the primary uart. > > Most of the time UART is written all upper case. > > > Th

Re: [PATCH] bsp/raspberrypi: AUX uart driver

2020-01-17 Thread Niteesh
And also should I change everything else to mini_uart or just leave it as mini, for example, init_ctx_mini or init_ctx_mini_uart. mini_uart seems good to me. So should I change everything to mini_uart_context, output_char_mini_uart or leave them as mini_context, mini_uart? On Fri, Jan 17, 2020 at

Re: [PATCH] bsp/raspberrypi: AUX uart driver

2020-01-17 Thread Christian Mauderer
On 17/01/2020 14:57, Niteesh wrote: > On Fri, Jan 17, 2020 at 1:40 AM Christian Mauderer > wrote: > > On 15/01/2020 13:05, G S Niteesh wrote: > > This patch adds the driver for aux driver present in Raspberry > > Pi 3 and above, this uart is currently used

[PATCH 2/2] bsp/raspberrypi: Mini UART driver

2020-01-17 Thread G S Niteesh
This patch adds driver for Mini UART present in Raspberry Pi 3 and above, this UART is currently used as the primary UART in these models. The Mini UART is similar to ns16550, this driver is built upon libchip/ns16550. --- bsps/arm/raspberrypi/console/console-config.c | 117 -- bsp

[PATCH 1/2] libchip/ns16550: Allow user calculate baud divisor

2020-01-17 Thread G S Niteesh
This patch will allow the user to pass a function to calculate the baud divisor. This is will allow for more flexibility, since for some BSP's like raspberrypi, the calculate of baud divisor is different from what is in the current driver. --- bsps/include/libchip/ns16550.h | 9 +++--

Re: [PATCH] libchip/ns16550: Allow user calculate baud divisor

2020-01-17 Thread Gedare Bloom
On Thu, Jan 16, 2020 at 12:48 PM Christian Mauderer wrote: > > > > On 15/01/2020 12:50, G S Niteesh wrote: > > This patch will allow the user to pass a function to calculate > > the baud divisor. > > This is will allow for more flexibility, since for some BSP's > > like raspberrypi, the calculate

Re: [PATCH] bsps/arm/shared: Add GICv3 implementation

2020-01-17 Thread Jeff Kubascik
Hello, Have there been any updates on this patch? I do not see it in mainline. I am currently using it for work on the arm/xen BSP to add support for platforms with a GICv3 interrupt controller. With a few minor changes, I have confirm that it works with the Xen hypervisor on qemu. Before I can s

Re: [PATCH] bsps/arm/shared: Add GICv3 implementation

2020-01-17 Thread Joel Sherrill
On Fri, Jan 17, 2020 at 1:24 PM Jeff Kubascik wrote: > Hello, > > Have there been any updates on this patch? I do not see it in mainline. > I was hoping someone would comment. :) > > I am currently using it for work on the arm/xen BSP to add support for > platforms > with a GICv3 interrupt con