acassis commented on issue #16948: URL: https://github.com/apache/nuttx/issues/16948#issuecomment-3318457722
@linguini1 I think cxd56_sdhci.c, kinetis_sdhc.c, sam_sdmmc.c and imx9_usdhc.c are basically SDHCI compatible controllers. Probably sam_sdmmc.c was implemented first because Mr. Greg had a contract with Atmel to add support to their chips (before Microchip acquired them and end-up with the contract). I think having a common compatible driver is a good idea, but the implementation should be a little bit challenging because the differences. But there are already drivers that implement similar standard interfaces, i.e. drivers/serial/uart_16550.c, drivers/serial/uart_pl011.c, etc. The EHCI controller also could be a standard driver, recently I had to modify the imxrt EHCI driver to support two controllers because the orignal driver wasn't prepared to it. So, this kind of thing could be implemented in the original driver. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
