Re: [PATCH 1/2] dev/clock: add bcm2835-system-timer driver

2024-04-09 Thread Kinsey Moore
Hi Ning, This patch set creates a duplication of the rpi3 system clock driver. Instead, I'd suggest a different organization of the patch set: Patch 1: Move the existing implementation to shared space and adjust BSPs that use it as necessary. Patch 2: Add support for the now-shared clock driver to

[PATCH 1/2] dev/clock: add bcm2835-system-timer driver

2024-04-07 Thread Ning Yang
This patch ports the bcm2835 system timer driver in the arm/raspberrypi directory to the shared directory. Made some changes in the include section to adapt to rpi4 BSP. --- bsps/shared/dev/clock/bcm2835-system-timer.c | 114 +++ 1 file changed, 114 insertions(+) create mode 100