AM3352: TAS5508c codec driver with simple_card use

Part Number: AM3352
Other Parts Discussed in Thread: TAS5508C

Tool/software:

Why

  • was /sound/soc/generic/simple-card.c introduced,
  • it could be used with davinci-evm,
  • it is important for porting codec driver from kernel 3.12.31 to kernel 6.1,
  • is it suitable for codec driver for TAS5508c?
  • Hi,

    Let me route your query to our Audio team for support. As its Thanksgiving week, expect a response by next week.

    Apologies for the delay.

    Best Regards,

    Suren

  • Hi,

    simple-card.c is the driver for an example audio card, there is a useful set of example DTS file layouts using it available here: https://www.kernel.org/doc/Documentation/devicetree/bindings/sound/simple-card.txt It can be used to write a new driver for audio devices.

    Drivers released in earlier kernels should still be available and working in future kernels, as Linux drivers are back-compatible. However, I don't think the simple-card driver will work for a device. It is more like an example driver. You will want to use a device with a released Linux driver or write your own based on the drivers that exist in the Linux kernel you are using. The TAS5508C (you mean this PWM processor, right?) does not have a released Linux driver, and for such a device it may be simpler to write an I2C script to configure the device instead of writing a new driver depending on your experience. We do not provide support for writing new audio codec drivers unfortunately. Let me know if I can help more.

    Best,
    Mir