FDT based DesignWare I3C driver for the generic platform
Adnan Chowdhury
adnan.chowdhury at sifive.com
Wed Jun 22 02:36:48 PDT 2022
Hello Team,
This is my first email to the list so please accept my apology if I'm
not clear about anything.
I've been working for an announced SoC. This piece of hardware comes
with a DesignWare I3C block. We'll be using OpenSBI in our software
stack for the SoC. The plan is to use OpenSBI's generic platform for
the project. I've written an FDT based I3C driver so that the
DesignWare I3C can be used. I've implemented it in two parts:
- fdt_i3c.c/h: A generic FDT I3C module that parses the FDT for the
presence of I3C controllers.
- dwc_i3c.c/h: This module has all the necessary functions that can be
used in our project (namely I2C private read/write), and is expandable
for adding more functionalities in the future. It uses fdt_i3c.c/h.
I need your feedback on whether it's a good idea to add these modules
to OpenSBI. If you think it's appropriate then I will send out the
patches. If you think it should be implemented differently, please
suggest that too.
Thank you for your time and any valuable feedback on this.
Best Regards,
Adnan Rahman Chowdhury
More information about the opensbi
mailing list