I'm not entirely familiar with the driver development. For something like this, am I looking to change certain parameters in a file, or write a completely new driver? For example, for this device, the /sound/soc/qcom folder has several C files and header files. How would I go about enabling I2S from this point?
On Friday, November 30, 2018 at 4:43:10 PM UTC-8, Paul Kalebu wrote: > > Thanks, I'll check it out > > On Friday, November 30, 2018 at 8:03:13 AM UTC-8, Glenn Kasten wrote: >> >> Sorry, I should have mentioned that path is relative to the root of your >> kernel tree. >> So after you git clone Linux kernel, it is in subdirectory sound/soc . >> If you want to browse a kernel tree online, one popular one is Linus: >> https://github.com/torvalds/linux/tree/master/sound/soc >> >> On Friday, November 30, 2018 at 8:00:15 AM UTC-8, Paul Kalebu wrote: >>> >>> Thanks Glenn. Do you also have a link to the source code? >>> >>> On Wednesday, November 28, 2018 at 7:11:15 AM UTC-8, Glenn Kasten wrote: >>>> >>>> This answer is not specific to 820. >>>> Usually this is done via ALSA SoC. >>>> Documentation is here: >>>> ASoC Digital Audio Interface (DAI) >>>> <https://www.kernel.org/doc/html/v4.19/sound/soc/dai.html#asoc-digital-audio-interface-dai> >>>> https://www.kernel.org/doc/html/v4.19/sound/soc/dai.html >>>> Source code is at sound/soc >>>> >>>> On Tuesday, November 27, 2018 at 1:51:34 PM UTC-8, Paul Kalebu wrote: >>>>> >>>>> I'd like to interface with an audio device over I2S with my 820 dev >>>>> kit as the I2S slave. How can I go about making changes in the kernel to >>>>> allow for audio communication over the I2S interface? >>>>> >>>> -- -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
