[PATCH v2] ASoC: imx-rpmsg: Set ignore_pmdown_time for dai_link

2023-09-13 Thread Chancel Liu
is disabled before DAPM power down playback stream, FIFO error will arise in WM8962 which will have bad impact on playback next. Signed-off-by: Chancel Liu --- sound/soc/fsl/imx-rpmsg.c | 8 1 file changed, 8 insertions(+) diff --git a/sound/soc/fsl/imx-rpmsg.c b/sound/soc/fsl/imx-rpmsg.c

[PATCH] ASoC: imx-rpmsg: Set ignore_pmdown_time for dai_link

2023-09-12 Thread Chancel Liu
is disabled before DAPM power down playback stream, FIFO error will arise in WM8962 which will have bad impact on playback next. Signed-off-by: Chancel Liu --- sound/soc/fsl/imx-rpmsg.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/sound/soc/fsl/imx-rpmsg.c b/sound/soc/fsl/imx-rpmsg.c

RE: Re: [PATCH v3 1/2] ASoC: dt-bindings: sound-card-common: List DAPM endpoints ignoring system suspend

2023-10-16 Thread Chancel Liu
property name and description as following: ignore-suspend-widgets: description: | A list of audio sound widgets which are marked ignoring system suspend. Paths between these endpoints are still active over suspend of the main application processor that the current operating system is running. Regards, Chancel Liu

[PATCH 1/2] ASoC: dt-bindings: fsl_rpmsg: List DAPM endpoints ignoring suspend

2023-09-24 Thread Chancel Liu
Add a property to list DAPM endpoints which mark paths between these endpoints ignoring suspend. These DAPM paths can still be power on when system enters into suspend. Signed-off-by: Chancel Liu --- Documentation/devicetree/bindings/sound/fsl,rpmsg.yaml | 6 ++ 1 file changed, 6 insertions

[PATCH 2/2] ASoC: imx-rpmsg: Force codec power on in low power audio mode

2023-09-24 Thread Chancel Liu
ng suspend. If the rpmsg sound card is in low power audio mode, the suspend/resume callback of binding codec is overridden to disable the suspend/resume. Signed-off-by: Chancel Liu --- sound/soc/fsl/imx-rpmsg.c | 58 +++ 1 file changed, 58 insertions(+) diff --git a

RE: Re: [PATCH v2 1/2] ASoC: dt-bindings: fsl_rpmsg: List DAPM endpoints ignoring system suspend

2023-09-26 Thread Chancel Liu
f the widgets in the path. Yes, indeed I meant to let driver get DAPM endpoints from the "fsl,lpa-widgets" property and then set these endpoints as ignore_suspend if the sound card is running in this use case. Do you think the description for the use case can be simplified since it's a common use case? Regards, Chancel Liu

RE: Re: [PATCH 1/2] ASoC: dt-bindings: fsl_rpmsg: List DAPM endpoints ignoring suspend

2023-09-25 Thread Chancel Liu
> > Add a property to list DAPM endpoints which mark paths between these > > endpoints ignoring suspend. These DAPM paths can still be power on > > when system enters into suspend. > > > > Signed-off-by: Chancel Liu > > --- > > Documentation/de

[PATCH v2 2/2] ASoC: imx-rpmsg: Force codec power on in low power audio mode

2023-09-25 Thread Chancel Liu
ng suspend. If the rpmsg sound card is in low power audio mode, the suspend/resume callback of binding codec is overridden to disable the suspend/resume. Signed-off-by: Chancel Liu --- sound/soc/fsl/imx-rpmsg.c | 58 +++ 1 file changed, 58 insertions(+) diff --git a

[PATCH v2 1/2] ASoC: dt-bindings: fsl_rpmsg: List DAPM endpoints ignoring system suspend

2023-09-25 Thread Chancel Liu
suspend phase of Cortex-A. When the data in buffer is consumed, Cortex-M will trigger the Cortex-A to wakeup to fill data. LPA requires some audio paths still enabled when Cortex-A enters into suspend. Signed-off-by: Chancel Liu --- .../devicetree/bindings/sound/fsl,rpmsg.yaml | 15

RE: [EXT] Re: Re: [PATCH v2 1/2] ASoC: dt-bindings: fsl_rpmsg: List DAPM endpoints ignoring system suspend

2023-10-07 Thread Chancel Liu
ds but also other sound cards which have such feature can use this property to define wanted widgets ignoring suspend. What do you think about that? Regards, Chancel Liu

[PATCH v4 2/2] ASoC: imx-rpmsg: Force codec power on in low power audio mode

2023-10-22 Thread Chancel Liu
ng suspend. If the rpmsg sound card is in low power audio mode, the suspend/resume callback of binding codec is overridden to disable the suspend/resume. Signed-off-by: Chancel Liu --- sound/soc/fsl/imx-rpmsg.c | 58 +++ 1 file changed, 58 insertions(+)

[PATCH v4 1/2] ASoC: dt-bindings: sound-card-common: List sound widgets ignoring system suspend

2023-10-22 Thread Chancel Liu
Add a property to list audio sound widgets which are marked ignoring system suspend. Paths between these endpoints are still active over suspend of the main application processor that the current operating system is running. Signed-off-by: Chancel Liu --- .../devicetree/bindings/sound/sound

[PATCH v3 2/2] ASoC: imx-rpmsg: Force codec power on in low power audio mode

2023-10-11 Thread Chancel Liu
ng suspend. If the rpmsg sound card is in low power audio mode, the suspend/resume callback of binding codec is overridden to disable the suspend/resume. Signed-off-by: Chancel Liu --- sound/soc/fsl/imx-rpmsg.c | 58 +++ 1 file changed, 58 insertions(+) diff --git a/sou

[PATCH v3 1/2] ASoC: dt-bindings: sound-card-common: List DAPM endpoints ignoring system suspend

2023-10-11 Thread Chancel Liu
during suspend phase of Cortex-A. LPA requires some audio paths still enabled when Cortex-A enters into suspend. Signed-off-by: Chancel Liu --- .../bindings/sound/sound-card-common.yaml | 14 ++ 1 file changed, 14 insertions(+) diff --git a/Documentation/devicetree/bindings

[PATCH 0/5] Create a new sound card to access MICFIL based on rpmsg channel

2022-08-29 Thread Chancel Liu
service announcment. Also the other ASoC components bound to this rpmsg MICFIL sound card will be registered with these patches. If other sound cards using different hardware devices needs to be created over rpmsg in the future, these patches can be referred. Chancel Liu (5): ASoC: dt-bindings

[PATCH 0/3] Add support for SAI on i.MX93 platform

2022-10-27 Thread Chancel Liu
This patchset supports SAI on i.MX93 platform. Chancel Liu (3): ASoC: dt-bindings: fsl,sai: Add compatible string for i.MX93 platform ASoC: fsl_sai: Add support for i.MX93 platform ASoC: fsl_sai: Specify the maxburst to 8 on i.MX93 platform .../devicetree/bindings/sound/fsl,sai.yaml

[PATCH 3/3] ASoC: fsl_sai: Specify the maxburst to 8 on i.MX93 platform

2022-10-27 Thread Chancel Liu
-by: Chancel Liu --- sound/soc/fsl/fsl_sai.c | 11 +++ sound/soc/fsl/fsl_sai.h | 1 + 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c index 68e1cc4c369a..a0ea27f06997 100644 --- a/sound/soc/fsl/fsl_sai.c +++ b/sound/soc/fsl/fsl_sai.c

[PATCH 1/3] ASoC: dt-bindings: fsl,sai: Add compatible string for i.MX93 platform

2022-10-27 Thread Chancel Liu
Add compatible string "fsl,imx93-sai" for i.MX93 platform Signed-off-by: Chancel Liu --- Documentation/devicetree/bindings/sound/fsl,sai.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/sound/fsl,sai.yaml b/Documentation/devicetree/bindings

[PATCH 2/3] ASoC: fsl_sai: Add support for i.MX93 platform

2022-10-27 Thread Chancel Liu
Add compatible string and specific soc data to support SAI on i.MX93 platform. Signed-off-by: Chancel Liu --- sound/soc/fsl/fsl_sai.c | 12 1 file changed, 12 insertions(+) diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c index 81f89f6767a2..68e1cc4c369a 100644

[PATCH 1/3] ASoC: dt-bindings: fsl,micfil: Add compatible string for i.MX93 platform

2022-10-28 Thread Chancel Liu
Add compatible string "fsl,imx93-micfil" for i.MX93 platform Signed-off-by: Chancel Liu --- Documentation/devicetree/bindings/sound/fsl,micfil.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/sound/fsl,micfil.yaml b/Documentation/devicetre

[PATCH 2/3] ASoC: fsl_micfil: Add support for i.MX93 platform

2022-10-28 Thread Chancel Liu
Add compatible string and specific soc data to support MICFIL on i.MX93 platform. Signed-off-by: Chancel Liu --- sound/soc/fsl/fsl_micfil.c | 9 + 1 file changed, 9 insertions(+) diff --git a/sound/soc/fsl/fsl_micfil.c b/sound/soc/fsl/fsl_micfil.c index eeaa75fb9196..b8a9504441df

[PATCH 0/3] Add support for MICFIL on i.MX93 platform

2022-10-28 Thread Chancel Liu
This patchset supports MICFIL on i.MX93 platform. Chancel Liu (3): ASoC: dt-bindings: fsl,micfil: Add compatible string for i.MX93 platform ASoC: fsl_micfil: Add support for i.MX93 platform ASoC: fsl_micfil: Add support when using eDMA .../devicetree/bindings/sound/fsl,micfil.yaml

[PATCH 3/3] ASoC: fsl_micfil: Add support when using eDMA

2022-10-28 Thread Chancel Liu
On i.MX93 platform MICFIL uses eDMA. The maxburst should be set to the number of channels in eDMA multiple FIFO mode. Signed-off-by: Chancel Liu --- sound/soc/fsl/fsl_micfil.c | 4 1 file changed, 4 insertions(+) diff --git a/sound/soc/fsl/fsl_micfil.c b/sound/soc/fsl/fsl_micfil.c index

RE: Re: [PATCH 1/5] ASoC: dt-bindings: fsl_rpmsg: Add a property to assign platform driver name

2022-09-13 Thread Chancel Liu
> > Add a string property to assign ASoC platform driver name. It also > > represents the rpmsg channel this sound card sits on. This property > > can be omitted if there is only one sound card and it sits on > > "rpmsg-audio-channel".

RE: [EXT] Re: [PATCH v2 1/7] ASoC: dt-bindings: fsl_rpmsg: Add a property to assign the rpmsg channel

2022-09-25 Thread Chancel Liu
> >>> Add a string property to assign the rpmsg channel this sound card sits > >>> on. It also represents the name of ASoC platform driver. This property > >>> can be omitted if there is only one sound card and it sits on > >>> "rpmsg-a

RE: Re: [PATCH v2 1/7] ASoC: dt-bindings: fsl_rpmsg: Add a property to assign the rpmsg channel

2022-09-23 Thread Chancel Liu
> > Add a string property to assign the rpmsg channel this sound card sits > > on. It also represents the name of ASoC platform driver. This property > > can be omitted if there is only one sound card and it sits on > > "rpmsg-audio-channel".

[PATCH v3 0/7] Create a new sound card to access MICFIL based on rpmsg channel

2022-09-30 Thread Chancel Liu
referring to linux drivers in dts changes in v2: - Rename property in bindings file according to Krzysztof's comments - Update codes and comments according to Shengjiu's comments Chancel Liu (7): ASoC: dt-bindings: fsl_rpmsg: Add a property to assign the rpmsg channel ASoC: imx-audio-rpmsg

[PATCH v3 4/7] ASoC: imx-pcm-rpmsg: Multi-channel support for sound card based on rpmsg

2022-09-30 Thread Chancel Liu
Some sound card based on rpmsg may support multi-channel. The number of channels can be sent to Cortex-M in rpmsg for process. Signed-off-by: Chancel Liu --- sound/soc/fsl/imx-pcm-rpmsg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/fsl/imx-pcm-rpmsg.c b/sound

[PATCH v3 5/7] ASoC: fsl_rpmsg: Register different ASoC machine devices

2022-09-30 Thread Chancel Liu
This driver helps register ASoC machine device thus use of PLATFORM_DEVID_AUTO macro in API can automatically create device for each sound card based on rpmsg. Signed-off-by: Chancel Liu --- sound/soc/fsl/fsl_rpmsg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc

[PATCH v3 1/7] ASoC: dt-bindings: fsl_rpmsg: Add a property to assign the rpmsg channel

2022-09-30 Thread Chancel Liu
Add a string property to assign the rpmsg channel this sound card sits on. This property can be omitted if there is only one sound card and it sits on "rpmsg-audio-channel". Signed-off-by: Chancel Liu --- .../devicetree/bindings/sound/fsl,rpmsg.yaml | 36 +-- 1 file c

[PATCH v3 2/7] ASoC: imx-audio-rpmsg: Create rpmsg channel for MICFIL

2022-09-30 Thread Chancel Liu
macro in API can automatically create device for each rpmsg channel. Signed-off-by: Chancel Liu --- sound/soc/fsl/imx-audio-rpmsg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sound/soc/fsl/imx-audio-rpmsg.c b/sound/soc/fsl/imx-audio-rpmsg.c index 905c3a071300

[PATCH v3 3/7] ASoC: imx-pcm-rpmsg: Register different platform drivers

2022-09-30 Thread Chancel Liu
This patch can register different ASoC platform drivers if there are several rpmsg channels. Thus sound cards based on different rpmsg channels can link to their respective platform drivers. Besides, the name of driver is equal to the name of rpmsg channel. Signed-off-by: Chancel Liu --- sound

[PATCH v3 7/7] ASoC: imx-rpmsg: Assign platform driver used by machine driver to link with

2022-09-30 Thread Chancel Liu
Each ASoC platform driver is named by rpmsg channel. ASoC machine driver can parse "fsl,rpmsg-channel-name" property to figure out which ASoC platform driver it should link with. Signed-off-by: Chancel Liu --- sound/soc/fsl/imx-rpmsg.c | 6 +- 1 file changed, 5 insertions(+),

[PATCH v3 6/7] ASoC: fsl_rpmsg: Multi-channel support in CPU DAI driver

2022-09-30 Thread Chancel Liu
Some sound card based on rpmsg may support multi-channel. This patch expands the maximum channels to 32. Signed-off-by: Chancel Liu --- sound/soc/fsl/fsl_rpmsg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/fsl/fsl_rpmsg.c b/sound/soc/fsl/fsl_rpmsg.c index

[PATCH] ASoC: fsl_micfil: Correct the number of steps on SX controls

2023-01-03 Thread Chancel Liu
The parameter "max" of SOC_SINGLE_SX_TLV() means the number of steps rather than maximum value. This patch corrects the minimum value to -8 and the number of steps to 15. Signed-off-by: Chancel Liu --- sound/soc/fsl/fsl_micfil.c | 16 1 file changed, 8 insert

[PATCH] ASoC: fsl_sai: Fix pins setting for i.MX8QM platform

2023-04-18 Thread Chancel Liu
SAI on i.MX8QM platform supports the data lines up to 4. So the pins setting should be corrected to 4. Fixes: eba0f0077519 ("ASoC: fsl_sai: Enable combine mode soft") Signed-off-by: Chancel Liu --- sound/soc/fsl/fsl_sai.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --g

[PATCH 0/2] Add support for rpmsg sound card on i.MX93 platform

2023-07-14 Thread Chancel Liu
Support rpmsg sound card on i.MX93 platform. Chancel Liu (2): ASoC: dt-bindings: fsl_rpmsg: Add compatible string for i.MX93 ASoC: fsl_rpmsg: Add support for i.MX93 platform Documentation/devicetree/bindings/sound/fsl,rpmsg.yaml | 1 + sound/soc/fsl/fsl_rpmsg.c

[PATCH 2/2] ASoC: fsl_rpmsg: Add support for i.MX93 platform

2023-07-14 Thread Chancel Liu
Add compatible string and specific soc data to support rpmsg sound card on i.MX93 platform. Signed-off-by: Chancel Liu --- sound/soc/fsl/fsl_rpmsg.c | 8 1 file changed, 8 insertions(+) diff --git a/sound/soc/fsl/fsl_rpmsg.c b/sound/soc/fsl/fsl_rpmsg.c index 15b48b5ea856..abe19a8a7aa7

[PATCH 1/2] ASoC: dt-bindings: fsl_rpmsg: Add compatible string for i.MX93

2023-07-14 Thread Chancel Liu
Add compatible string for i.MX93 platform which supports audio function through rpmsg channel between Cortex-A and Cortex-M core. Signed-off-by: Chancel Liu --- Documentation/devicetree/bindings/sound/fsl,rpmsg.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree

[PATCH] ASoC: fsl_sai: Enable BCI bit if SAI works on synchronous mode with BYP asserted

2023-05-30 Thread Chancel Liu
can get BCLK only if the following two conditions are valid: 1. SION of RX BCLK IOMUX pad is set to 1 2. BCI of TX is set to 1 Signed-off-by: Chancel Liu --- sound/soc/fsl/fsl_sai.c | 11 +-- sound/soc/fsl/fsl_sai.h | 1 + 2 files changed, 10 insertions(+), 2 deletions(-) diff --git

[PATCH 0/3] Update the register list of MICFIL

2023-07-26 Thread Chancel Liu
MICFIL IP is upgraded on i.MX93 platform. Add new registers and new bit definition. Chancel Liu (3): ASoC: fsl_micfil: Add new registers and new bit definition ASoC: fsl_micfil: Add fsl_micfil_check_version function ASoC: fsl_micfil: Use SET_SYSTEM_SLEEP_PM_OPS to simplify PM sound/soc

[PATCH 1/3] ASoC: fsl_micfil: Add new registers and new bit definition

2023-07-26 Thread Chancel Liu
MICFIL IP is upgraded on i.MX93 platform. These new registers and new bit definition are added to complete the register list. Signed-off-by: Chancel Liu --- sound/soc/fsl/fsl_micfil.c | 6 ++ sound/soc/fsl/fsl_micfil.h | 28 2 files changed, 34 insertions

[PATCH 2/3] ASoC: fsl_micfil: Add fsl_micfil_check_version function

2023-07-26 Thread Chancel Liu
fsl_micfil_check_version can help to parse the version info in VERID and PARAM registers. Since the two registers are added only on i.MX93 platform, a member flag called check_version is introduced to soc data structure which indicates need to check version. Signed-off-by: Chancel Liu --- sound

[PATCH 3/3] ASoC: fsl_micfil: Use SET_SYSTEM_SLEEP_PM_OPS to simplify PM

2023-07-26 Thread Chancel Liu
Use SET_SYSTEM_SLEEP_PM_OPS to simplify suspend and resume function. fsl_micfil_suspend() and fsl_micfil_resume() can be deleted. Signed-off-by: Chancel Liu --- sound/soc/fsl/fsl_micfil.c | 18 ++ 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/sound/soc/fsl

[PATCH v2 2/3] ASoC: fsl_micfil: Add fsl_micfil_use_verid function

2023-08-01 Thread Chancel Liu
fsl_micfil_use_verid() can help to parse the version info in VERID and PARAM registers. Since the two registers are added only on i.MX93 platform, a member flag called use_verid is introduced to soc data structure which indicates acquiring MICFIL version. Signed-off-by: Chancel Liu --- sound

[PATCH v2 3/3] ASoC: fsl_micfil: Use SET_SYSTEM_SLEEP_PM_OPS to simplify PM

2023-08-01 Thread Chancel Liu
Use SET_SYSTEM_SLEEP_PM_OPS to simplify suspend and resume function. fsl_micfil_suspend() and fsl_micfil_resume() can be deleted. Signed-off-by: Chancel Liu --- sound/soc/fsl/fsl_micfil.c | 18 ++ 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/sound/soc/fsl

[PATCH v2 1/3] ASoC: fsl_micfil: Add new registers and new bit definition

2023-08-01 Thread Chancel Liu
MICFIL IP is upgraded on i.MX93 platform. These new registers and new bit definition are added to complete the register list. Signed-off-by: Chancel Liu --- sound/soc/fsl/fsl_micfil.c | 6 ++ sound/soc/fsl/fsl_micfil.h | 28 2 files changed, 34 insertions

[PATCH v2 0/3] Update the register list of MICFIL

2023-08-01 Thread Chancel Liu
MICFIL IP is upgraded on i.MX93 platform. Add new registers and new bit definition. changes in v2: - rename check_version to use_verid to make it more explicit - rename fsl_micfil_check_version to fsl_micfil_use_verid Chancel Liu (3): ASoC: fsl_micfil: Add new registers and new bit definition

[PATCH] ASoC: imx-pcm-rpmsg: Set PCM hardware parameters separately

2023-06-25 Thread Chancel Liu
Different PCM devices may have different PCM hardware parameters. It requires PCM hardware parameters set separately if there is more than one rpmsg sound card. Signed-off-by: Chancel Liu --- sound/soc/fsl/imx-pcm-rpmsg.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff

[PATCH] ASoC: fsl_rpmsg: Fix error handler with pm_runtime_enable

2023-12-25 Thread Chancel Liu
There is error message when defer probe happens: fsl_rpmsg rpmsg_audio: Unbalanced pm_runtime_enable! Fix the error handler with pm_runtime_enable. Fixes: b73d9e6225e8 ("ASoC: fsl_rpmsg: Add CPU DAI driver for audio base on rpmsg") Signed-off-by: Chancel Liu --- sound/soc/fsl/f

RE: Re: [PATCH 3/3] ASoC: dt-bindings: fsl,micfil: Add compatible string for i.MX95 platform

2024-01-10 Thread Chancel Liu
> On Tue, Jan 9, 2024 at 9:58 AM Chancel Liu wrote: > > > > Add compatible string "fsl,imx95-micfil" for i.MX95 platform. > > > > Signed-off-by: Chancel Liu > > --- > > .../devicetree/bindings/sound/fsl,micfil.yaml | 15 +++ &

[PATCH 0/3] ASoC: Support SAI and MICFIL on i.MX95 platform

2024-01-08 Thread Chancel Liu
Support SAI and MICFIL on i.MX95 platform Chancel Liu (3): ASoC: dt-bindings: fsl,sai: Add compatible string for i.MX95 platform ASoC: fsl_sai: Add support for i.MX95 platform ASoC: dt-bindings: fsl,micfil: Add compatible string for i.MX95 platform .../devicetree/bindings/sound/fsl

[PATCH 1/3] ASoC: dt-bindings: fsl,sai: Add compatible string for i.MX95 platform

2024-01-08 Thread Chancel Liu
Add compatible string "fsl,imx95-sai" for i.MX95 platform. Signed-off-by: Chancel Liu --- Documentation/devicetree/bindings/sound/fsl,sai.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/sound/fsl,sai.yaml b/Documentation/devicetree/bindings

[PATCH 2/3] ASoC: fsl_sai: Add support for i.MX95 platform

2024-01-08 Thread Chancel Liu
Add compatible string and specific soc data to support SAI on i.MX95 platform. Signed-off-by: Chancel Liu --- sound/soc/fsl/fsl_sai.c | 13 + 1 file changed, 13 insertions(+) diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c index 546bd4e333b5..0e2c31439670 100644

RE: Re: [PATCH 1/3] ASoC: dt-bindings: fsl,sai: Add compatible string for i.MX95 platform

2024-01-11 Thread Chancel Liu
> > Add compatible string "fsl,imx95-sai" for i.MX95 platform. > > > > Signed-off-by: Chancel Liu > > --- > > Documentation/devicetree/bindings/sound/fsl,sai.yaml | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/Documentatio

[PATCH v2 3/3] ASoC: dt-bindings: fsl,micfil: Add compatible string for i.MX95 platform

2024-01-11 Thread Chancel Liu
Add compatible string "fsl,imx95-micfil" for i.MX95 platform. Signed-off-by: Chancel Liu --- .../devicetree/bindings/sound/fsl,micfil.yaml | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/fsl,micf

[PATCH v2 2/3] ASoC: fsl_sai: Add support for i.MX95 platform

2024-01-11 Thread Chancel Liu
Add compatible string and specific soc data to support SAI on i.MX95 platform. Signed-off-by: Chancel Liu --- sound/soc/fsl/fsl_sai.c | 13 + 1 file changed, 13 insertions(+) diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c index 546bd4e333b5..0e2c31439670 100644

[PATCH v2 1/3] ASoC: dt-bindings: fsl,sai: Add compatible string for i.MX95 platform

2024-01-11 Thread Chancel Liu
Add compatible string "fsl,imx95-sai" for i.MX95 platform. Signed-off-by: Chancel Liu --- Documentation/devicetree/bindings/sound/fsl,sai.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/sound/fsl,sai.yaml b/Documentation/devicetree/bindings

[PATCH v2 0/3] ASoC: Support SAI and MICFIL on i.MX95 platform

2024-01-11 Thread Chancel Liu
Support SAI and MICFIL on i.MX95 platform changes in v2 - Remove unnecessary "item" in fsl,micfil.yaml - Don't change alphabetical order in fsl,sai.yaml Chancel Liu (3): ASoC: dt-bindings: fsl,sai: Add compatible string for i.MX95 platform ASoC: fsl_sai: Add support for i.MX9

[PATCH 3/3] ASoC: dt-bindings: fsl,micfil: Add compatible string for i.MX95 platform

2024-01-09 Thread Chancel Liu
Add compatible string "fsl,imx95-micfil" for i.MX95 platform. Signed-off-by: Chancel Liu --- .../devicetree/bindings/sound/fsl,micfil.yaml | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/fsl,micf

[PATCH v5 1/2] ASoC: dt-bindings: sound-card-common: List sound widgets ignoring system suspend

2023-11-20 Thread Chancel Liu
Add a property to list audio sound widgets which are marked ignoring system suspend. Paths between these endpoints are still active over suspend of the main application processor that the current operating system is running. Signed-off-by: Chancel Liu --- .../devicetree/bindings/sound/sound

[PATCH v5 2/2] ASoC: imx-rpmsg: Force codec power on in low power audio mode

2023-11-20 Thread Chancel Liu
ng suspend. If the rpmsg sound card is in low power audio mode, the suspend/resume callback of binding codec is overridden to disable the suspend/resume. Signed-off-by: Chancel Liu --- sound/soc/fsl/imx-rpmsg.c | 61 +-- 1 file changed, 59 insertions(+), 2

RE: Re: [PATCH v2 4/4] ASoC: fsl: imx-rpmsg: Update to correct DT node

2024-03-11 Thread Chancel Liu
> On 11/03/2024 08:33, Chancel Liu wrote: > >>> @@ -127,6 +126,22 @@ static int imx_rpmsg_probe(struct > platform_device > >> *pdev) > >>> goto fail; > >>> } > >>> > >>> + if (!strc

RE: Re: [PATCH v2 4/4] ASoC: fsl: imx-rpmsg: Update to correct DT node

2024-03-11 Thread Chancel Liu
> On 07/03/2024 08:44, Chancel Liu wrote: > > Platform device for card to probe is registered in imx-audio-rpmsg. > > According to this change DT node of ASoC CPU DAI device is updated. > > > > Signed-off-by: Chancel Liu > > --- > > sound/soc/fsl/imx-rp

[PATCH v2 4/4] ASoC: fsl: imx-rpmsg: Update to correct DT node

2024-03-06 Thread Chancel Liu
Platform device for card to probe is registered in imx-audio-rpmsg. According to this change DT node of ASoC CPU DAI device is updated. Signed-off-by: Chancel Liu --- sound/soc/fsl/imx-rpmsg.c | 21 ++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/sound/soc

[PATCH v2 3/4] ASoC: fsl: Let imx-audio-rpmsg register platform device for card

2024-03-06 Thread Chancel Liu
Let imx-audio-rpmsg register platform device for card. So that card register and unregister can be controlled by rpmsg driver's register and unregister. Signed-off-by: Chancel Liu --- sound/soc/fsl/fsl_rpmsg.c | 11 --- sound/soc/fsl/imx-audio-rpmsg.c | 17 - 2

[PATCH v2 2/4] ASoC: fsl: imx-audio-rpmsg: Register device with rpmsg channel name

2024-03-06 Thread Chancel Liu
This rpmsg driver registers device for ASoC platform driver. To align with platform driver use rpmsg channel name to create device. Signed-off-by: Chancel Liu --- sound/soc/fsl/imx-audio-rpmsg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/fsl/imx-audio

[PATCH v2 0/4] ASoC: fsl: Support register and unregister rpmsg sound card through remoteproc

2024-03-06 Thread Chancel Liu
t;, imx-audio-rpmsg registers devices for ASoC platform driver and machine driver. Then sound card is registered. After "stop", imx-audio-rpmsg unregisters devices for ASoC platform driver and machine driver. Then sound card is unregistered. changes in v2 - Fix build errors reported by k

[PATCH v2 1/4] ASoC: fsl: imx_pcm_rpmsg: Register component with rpmsg channel name

2024-03-06 Thread Chancel Liu
. Signed-off-by: Chancel Liu --- sound/soc/fsl/imx-pcm-rpmsg.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/sound/soc/fsl/imx-pcm-rpmsg.c b/sound/soc/fsl/imx-pcm-rpmsg.c index fb9244c1e9c5..2b9e4bb5e0f7 100644 --- a/sound/soc/fsl/imx-pcm-rpmsg.c +++ b/sound/soc/fsl

[PATCH 4/4] ASoC: fsl: imx-rpmsg: Update to correct DT node

2024-03-05 Thread Chancel Liu
Platform device for card to probe is registered in imx-audio-rpmsg. According to this change DT node of ASoC CPU DAI device is updated. Signed-off-by: Chancel Liu --- sound/soc/fsl/imx-rpmsg.c | 21 ++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/sound/soc

[PATCH 0/4] ASoC: fsl: Support register and unregister rpmsg sound card through remoteproc

2024-03-05 Thread Chancel Liu
t;, imx-audio-rpmsg registers devices for ASoC platform driver and machine driver. Then sound card is registered. After "stop", imx-audio-rpmsg unregisters devices for ASoC platform driver and machine driver. Then sound card is unregistered. Chancel Liu (4): ASoC: fsl: imx_pcm_rpmsg:

[PATCH 1/4] ASoC: fsl: imx_pcm_rpmsg: Register component with rpmsg channel name

2024-03-05 Thread Chancel Liu
. Signed-off-by: Chancel Liu --- sound/soc/fsl/imx-pcm-rpmsg.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/sound/soc/fsl/imx-pcm-rpmsg.c b/sound/soc/fsl/imx-pcm-rpmsg.c index fb9244c1e9c5..2b9e4bb5e0f7 100644 --- a/sound/soc/fsl/imx-pcm-rpmsg.c +++ b/sound/soc/fsl

[PATCH 2/4] ASoC: fsl: imx-audio-rpmsg: Register device with rpmsg channel name

2024-03-05 Thread Chancel Liu
This rpmsg driver registers device for ASoC platform driver. To align with platform driver use rpmsg channel name to create device. Signed-off-by: Chancel Liu --- sound/soc/fsl/imx-audio-rpmsg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/fsl/imx-audio

[PATCH 3/4] ASoC: fsl: Let imx-audio-rpmsg register platform device for card

2024-03-05 Thread Chancel Liu
Let imx-audio-rpmsg register platform device for card. So that card register and unregister can be controlled by rpmsg driver's register and unregister. Signed-off-by: Chancel Liu --- sound/soc/fsl/fsl_rpmsg.c | 11 --- sound/soc/fsl/imx-audio-rpmsg.c | 18 +- 2

[PATCH v3 0/5] ASoC: fsl: Support register and unregister rpmsg sound card through remoteproc

2024-03-11 Thread Chancel Liu
by kernel test robot changes in v3 - Add a new patch for fsl_rpmsg to register CPU DAI with rpmsg channel name - Update imx-rpmsg.c to get DT node of ASoC CPU DAI device with rpmsg channel name instead of using undocumented bindings Chancel Liu (5): ASoC: fsl: imx-pcm-rpmsg: Register component w

[PATCH v3 2/5] ASoC: fsl: imx-audio-rpmsg: Register device with rpmsg channel name

2024-03-11 Thread Chancel Liu
This rpmsg driver registers device for ASoC platform driver. To align with platform driver use rpmsg channel name to create device. Signed-off-by: Chancel Liu --- sound/soc/fsl/imx-audio-rpmsg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/fsl/imx-audio

[PATCH v3 1/5] ASoC: fsl: imx-pcm-rpmsg: Register component with rpmsg channel name

2024-03-11 Thread Chancel Liu
. Signed-off-by: Chancel Liu --- sound/soc/fsl/imx-pcm-rpmsg.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/sound/soc/fsl/imx-pcm-rpmsg.c b/sound/soc/fsl/imx-pcm-rpmsg.c index fb9244c1e9c5..b84d1dfddba2 100644 --- a/sound/soc/fsl/imx-pcm-rpmsg.c +++ b/sound/soc/fsl

[PATCH v3 4/5] ASoC: fsl: fsl_rpmsg: Register CPU DAI with name of rpmsg channel

2024-03-11 Thread Chancel Liu
Each rpmsg sound card sits on one rpmsg channel. Register CPU DAI with name of rpmsg channel so that ASoC machine driver can easily link CPU DAI with rpmsg channel name. Signed-off-by: Chancel Liu --- sound/soc/fsl/fsl_rpmsg.c | 32 ++-- 1 file changed, 26 insertions

[PATCH v3 3/5] ASoC: fsl: Let imx-audio-rpmsg register platform device for card

2024-03-11 Thread Chancel Liu
Let imx-audio-rpmsg register platform device for card. So that card register and unregister can be controlled by rpmsg driver's register and unregister. Signed-off-by: Chancel Liu --- sound/soc/fsl/fsl_rpmsg.c | 11 --- sound/soc/fsl/imx-audio-rpmsg.c | 17 - 2

[PATCH v3 5/5] ASoC: fsl: imx-rpmsg: Update to correct DT node

2024-03-11 Thread Chancel Liu
device with rpmsg channel name acquired from platform specific data. Signed-off-by: Chancel Liu --- sound/soc/fsl/imx-rpmsg.c | 28 +++- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/sound/soc/fsl/imx-rpmsg.c b/sound/soc/fsl/imx-rpmsg.c index e5bd63dab10c