Skip to contentSkip to conversation

Device addition to the tlv320adcx140 and tas2562

RFC Dan Murphy 2 participants 2 messages Sep 9, 2020

lore
Share & tools
lore

Dan Murphy

author
#0 lore raw

Hello

Looking for guidance on how to move forward with adding a device to existing drivers.

For the TLV320adcx140 driver I have another device which is register and bitmap compatible but it does not support Analog microphones or Line In like the x140.

Should I add a new driver specifically for this part or should I add the new audio maps, widgets and controls to the existing driver?  This would make this existing driver really big in terms of LoC and object size.

Similar question for the TAS2562.  I have a new device that is register and bitmap compatible but removes the I/V sense. Adding this new device to the existing driver wouldn't be as intrusive as the x140 as the audio map and controls are much simpler

Dan

#1 lore raw
Quoted 7 lines · Dan Murphy

For the TLV320adcx140 driver I have another device which is register and bitmap compatible but it does not support Analog microphones or Line In like the x140.

Should I add a new driver specifically for this part or should I add the new audio maps, widgets and controls to the existing driver?  This would make this existing driver really big in terms of LoC and object size.

Are they sharing anything (eg, the code is the same but the data tables vary) or is it just two unrelated devices?

Quoted 4 lines

Similar question for the TAS2562.  I have a new device that is register and bitmap compatible but removes the I/V sense. Adding this new device to the existing driver wouldn't be as intrusive as the x140 as the audio map and controls are much simpler

That definitely sounds like sharing the driver makes sense.