Hello,
I am working on a custom board, whose reference design is Sabre SDB board.
I would like to port a new codec (max98355a) on my board. Compared to wm8962 codec from the reference board, this codec has no I2C as a control interface. As the registration of the device is done via I2C interface on the wm8962, the wm8962.c driver shall be modified, and also the imx-8962.c file. For the moment, the probe of the codec driver fails.
Does anybody knows what is the main idea to modify the driver files to force probing without I2C polling? There are not so many examples of codec drivers in Linux source code so that I can get inspired...
Any idea would be very appreciated.
Thank you.
Hello Frederic,
So did you implement/find max98355 driver?
I need to integrate it as well in my custom board.
Do you know what is the closest/best already existing max98*.c drivers that can be used
as a base for max98355 implementation?
Thanks for help.
First of all you need to create a codec driver for max98355.
Using wm8962 as reference would not help in this case.
Take a look at existing maxim codec drivers as reference:
ls sound/soc/codecs/max98*.c
sound/soc/codecs/max98088.c sound/soc/codecs/max9850.c
sound/soc/codecs/max98090.c sound/soc/codecs/max9877.c
sound/soc/codecs/max98095.c
,and then adapt it to max98355a.
A good place to discuss this is alsa-devel mailing list.