SGTL5000 audio codec #meta-freescale


nanotech.ei@...
 

Dear colleagues,
Does meta-freescale have the driver to control the SGTL5000 audio codec?
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?


Fabio Estevam
 

On Wed, Jun 30, 2021 at 12:53 AM <nanotech.ei@...> 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