From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) by mx.groups.io with SMTP id smtpd.web10.6592.1625710688002143992 for ; Wed, 07 Jul 2021 19:18:08 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20161025 header.b=et99iEw2; spf=pass (domain: gmail.com, ip: 209.85.167.53, mailfrom: festevam@gmail.com) Received: by mail-lf1-f53.google.com with SMTP id a18so10076007lfs.10 for ; Wed, 07 Jul 2021 19:18:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=aalolS63nDJPqry+JfXw04vq3yMVrGqQQbEuloZnkiw=; b=et99iEw22vK7ikYL5xVbDSvQsLsRwwJox7YFVgKB4BCaeglvgu26Fm2gmdKtb0uAgt zLhugoYE41V4lnhszfnlrPPn/4zmoOiDamqLTp3KnCVNyRStLpoRvBv86ppEFrNxZDvF hfacpXiMzPrW0nPamT64UsS+gGNG95nTL4zxbgnr86HubBpaB8HquAuHVpq67YXIdiVc 9QT+IZapxtvFwAze9Ep4uLYYwczKIsO1K+SK1IMuKc/fvlPXWyKZ7RbxiK0iiP72YfDz EGLvB8jB/Yu0uFjEgJJN5EHV3UECxesNqe7iX88gN2pxwtKF56XbrIPKrWmwI0ZLYMEF MTYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=aalolS63nDJPqry+JfXw04vq3yMVrGqQQbEuloZnkiw=; b=VjjzmywYEPYpZPQJBqMhCXTJrLK0lj4ikMyzOHalTzM/EVXQ0prIT9Vp7VJgc9rzV/ PNZ9MbJTwf7uUKhbVMNYgZs9xA+bQhzEwziSgt3vkLyJpk6+4+y0OVvxARm2rlSPfHMH qsz5O9OU5qq1yo82rBXy08flFIWs6Sjo8mPDYYq9n2m7b4xi8cQnDp1OCUNXlw5CzHU2 fDFG4pH4iqX9xmMyiOyhK7FU8NG4OnaI7dsaciaSO2boxgLH4aYGzgs0tkoCpTuBo3Sj IHkgeSErk7molLfvBGjYOgp/rHc3TwKOfZvqMbota6vQtwlDlb1tYQpnzPGDhgrt37ZB 1wGQ== X-Gm-Message-State: AOAM531CzBnK+KQQ4L14V3js+iJL8xvsn0+lcyPWLmXfGU1btenYyQji TECdSaAnPmFV7qMlwi3Md+2TSmaNUWLmOmElE/w= X-Google-Smtp-Source: ABdhPJwmFSZhpnJzYF5SgAFGILN+liV3FMz5djFHDw2qo1IzuExQHNewsgGoodA3HRiPHN5wMbIGsj6dvRxReGUhUIc= X-Received: by 2002:a05:651c:83:: with SMTP id 3mr21537022ljq.264.1625710685787; Wed, 07 Jul 2021 19:18:05 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "Fabio Estevam" Date: Wed, 7 Jul 2021 23:17:53 -0300 Message-ID: Subject: Re: [meta-freescale] SGTL5000 audio codec #meta-freescale To: nanotech.ei@gmail.com Cc: meta-freescale@lists.yoctoproject.org Content-Type: text/plain; charset="UTF-8" On Wed, Jun 30, 2021 at 12:53 AM 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