On Tue, Jul 30, 2024 at 01:24:34AM +0000, Ding, Shenghao wrote: > One more thing, these day my colleague and I want have some adjustment on the > tas2781 driver code to support both i2c and spi interface, and plan to abstract > the common part, especially the dsp binary parsing, as a shared lib. Would you > be so kind and give us some advice on it? Thanks. That seems like a sensible and reasonable design - factoring out common code is a good idea, there's a number of existing drivers doing things ike that. Possibly the biggest example is the Cirrus/Wolfson Arizona drivers and the wm_adsp DSPs they use. Do you have specific questions around this?
Attachment:
signature.asc
Description: PGP signature