From: Charles Keepax <ckeepax@opensource.cirrus.com>
To: broonie@kernel.org
Cc: lgirdwood@gmail.com, yung-chuan.liao@linux.intel.com,
pierre-louis.bossart@linux.dev, peter.ujfalusi@linux.intel.com,
linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org,
patches@opensource.cirrus.com
Subject: Re: [PATCH v3 1/3] ASoC: SDCA: Create DAPM widgets and routes from DisCo
Date: Wed, 16 Apr 2025 10:43:37 +0100 [thread overview]
Message-ID: <Z/97yVJMVEdEp1BX@opensource.cirrus.com> (raw)
In-Reply-To: <20250409124941.1447265-2-ckeepax@opensource.cirrus.com>
On Wed, Apr 09, 2025 at 01:49:39PM +0100, Charles Keepax wrote:
> Use the previously parsed DisCo information from ACPI to create DAPM
> widgets and routes representing a SDCA Function. For the most part SDCA
> maps well to the DAPM abstractions.
>
> The primary point of interest is the SDCA Power Domain Entities
> (PDEs), which actually control the power status of the device. Whilst
> these PDEs are the primary widgets the other parts of the SDCA graph
> are added to maintain a consistency with the hardware abstract,
> and allow routing to take effect. As for the PDEs themselves the
> code currently only handle PS0 and PS3 (basically on and off),
> the two intermediate power states are not commonly used and don't
> map well to ASoC/DAPM.
>
> Other minor points of slightly complexity include, the Group Entities
> (GEs) these set the value of several other controls, typically
> Selector Units (SUs) for enabling a cetain jack configuration. Multiple
> SUs being controlled by a GE are easily modelled creating a single
> control and sharing it among the controlled muxes.
>
In case the new discussion on v2 is missed. I am going to do a v4
(likely early next week as I am on PTO this week), that adds the
mic/speaker widgets directly from this code and probably some pin
switches.
Thanks,
Charles
next prev parent reply other threads:[~2025-04-16 9:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-09 12:49 [PATCH v3 0/3] Add DAPM/ASoC helpers to create SDCA drivers Charles Keepax
2025-04-09 12:49 ` [PATCH v3 1/3] ASoC: SDCA: Create DAPM widgets and routes from DisCo Charles Keepax
2025-04-16 9:43 ` Charles Keepax [this message]
2025-04-09 12:49 ` [PATCH v3 2/3] ASoC: SDCA: Create ALSA controls " Charles Keepax
2025-04-09 12:49 ` [PATCH v3 3/3] ASoC: SDCA: Create DAI drivers " Charles Keepax
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Z/97yVJMVEdEp1BX@opensource.cirrus.com \
--to=ckeepax@opensource.cirrus.com \
--cc=broonie@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=patches@opensource.cirrus.com \
--cc=peter.ujfalusi@linux.intel.com \
--cc=pierre-louis.bossart@linux.dev \
--cc=yung-chuan.liao@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox