Re: Zynq 7 drivers source code location
Milan Obuch <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.arm |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 24 Jun 2025 08:27:14 +0000 Michał Kruszewski <[email protected]> wrote: > Hello, > > Most source codes for drivers for Zynq 7 are placed in the > sys/arm/xilinx directory. However, some of them are not platform > specific, as they are generic drivers from Cadence, for example, > UART, SPI. In such a case, shouldn't they be placed in > sys/dev/cadence directory? > Things are even more complicated... we have sys/dev/uart directory, where many UART devices reside, we have sys/dev/spibus with controller subdirectory and there are allwinner and rockchip next-level subdirectories. Another example: sdhci_fdt_xilinx.c file is located in sys/dev/sdhci directory. To me, this is something without clear rules and clear leadership. I would not object if things got somehow better organized, I see some resistance against such changes. There needs to be well reasoned and well communicated case for this to proceed into repository... Regards, Milan