RFC ASoC: mediatek: mt8183-da7219: use SND_SOC_DAPM_PINCTRL
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ASoC: dapm: select sleep_state when initializing PINCTRL widgetsound/ | +3 | 1 reply | |
| 2/2 | ASoC: mediatek: mt8183-da7219: use SND_SOC_DAPM_PINCTRL in TDM outsound/ | +10 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/2] ASoC: mediatek: mt8183-da7219: use SND_SOC_DAPM_PINCTRL
In previous discussion[1], Mark thinks we should have something general pinctrl integration with DAPM. SND_SOC_DAPM_PINCTRL is exactly what we want but I failed to find existing usage (maybe in topology files?).
To be equivalent to mt8183-da7219's original implementation, the 1st patch selects sleep-state at the beginning. The 2nd patch attaches the DAPM widget to playback stream. When the stream is about to start, the power on sequence selects the active-state. When the stream is about to stop, the power off sequence selects the sleep-state.
Note: the DAI links will connect to hdmi-codec, that's why the playback
stream name is "I2S Playback".
Note: this is a RFC series. If it makes sense, will also apply to
mt8183-mt6358.
[1]: https://patchwork.kernel.org/patch/11379735/
Tzung-Bi Shih (2):
ASoC: dapm: select sleep_state when initializing PINCTRL widget
ASoC: mediatek: mt8183-da7219: use SND_SOC_DAPM_PINCTRL in TDM out
.../mediatek/mt8183/mt8183-da7219-max98357.c | 98 ++----------------- sound/soc/soc-dapm.c | 3 + 2 files changed, 13 insertions(+), 88 deletions(-)
Signature · 1 line
2.25.0.265.gbab2e86ba0-goog