meta-freescale.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
* SGTL5000 audio codec #meta-freescale
@ 2021-06-30  3:52 nanotech.ei
  2021-07-08  2:17 ` [meta-freescale] " Fabio Estevam
  0 siblings, 1 reply; 2+ messages in thread
From: nanotech.ei @ 2021-06-30  3:52 UTC (permalink / raw)
  To: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 206 bytes --]

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?

[-- Attachment #2: Type: text/html, Size: 239 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [meta-freescale] SGTL5000 audio codec #meta-freescale
  2021-06-30  3:52 SGTL5000 audio codec #meta-freescale nanotech.ei
@ 2021-07-08  2:17 ` Fabio Estevam
  0 siblings, 0 replies; 2+ messages in thread
From: Fabio Estevam @ 2021-07-08  2:17 UTC (permalink / raw)
  To: nanotech.ei; +Cc: meta-freescale

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-08  2:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-30  3:52 SGTL5000 audio codec #meta-freescale nanotech.ei
2021-07-08  2:17 ` [meta-freescale] " Fabio Estevam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).