Re: [meta-freescale] SGTL5000 audio codec #meta-freescale
"Fabio Estevam" <[email protected]> Wed, 7 Jul 2021 23:17:53 -0300
| Newsgroups | org.yoctoproject.lists.meta-freescale |
|---|---|
| Message-ID | <CAOMZO5CoDaNegSUZhi1-dU1J96tKu_nCQ9OqS2aePkXM+U1Kyg@mail.gmail.com> |
On Wed, Jun 30, 2021 at 12:53 AM <[email protected]> wrote: > > Dear colleagues, > Does meta-freescale have the driver to control the SGTL5000 audio codec? The driver for the sgtl5000 codec is sound/soc/codecs/sgtl5000.c: at https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/sound/soc/codecs/sgtl5000.c?h=v5.13 > If so, how do I set the pins that will be used on the raspberry pi and the clock of the fixed crystal I'm using? You need to write a devicetree file with the sgtl5000 description as per the binding document: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/sound/sgtl5000.yaml?h=v5.13