[PATCH] ASoC: ts3a227e: Check and report jack status at probe

2015-01-05 Thread Cheng-Yi Chiang
-Yi Chiang cychi...@chromium.org --- sound/soc/codecs/ts3a227e.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/sound/soc/codecs/ts3a227e.c b/sound/soc/codecs/ts3a227e.c index 1d12057..9f2dced 100644 --- a/sound/soc/codecs/ts3a227e.c +++ b/sound/soc/codecs/ts3a227e.c @@ -254,6 +254,7

[PATCH] ASoC: rockchip: Support headset button function on rk3399

2016-09-15 Thread Cheng-Yi Chiang
Set the mapping between button and media key event. Signed-off-by: Cheng-Yi Chiang <cychi...@chromium.org> --- sound/soc/rockchip/rk3399_gru_sound.c | 9 + 1 file changed, 9 insertions(+) diff --git a/sound/soc/rockchip/rk3399_gru_sound.c b/sound/soc/rockchip/rk3399_gru_sound.c

[PATCH v2] ASoC: Intel: Reset hw_ptr on resume trigger

2017-07-31 Thread Cheng-Yi Chiang
From: "U. Artie Eoff" <ullysses.a.e...@intel.com> Reset the hw_ptr before queuing the restore_stream_context work to eradicate a nasty white audio noise on resume. Tested-by: Cheng-Yi Chiang <cychi...@chromium.org> Signed-off-by: U. Artie Eoff <ullysses.a.e...@intel.com

Re: [alsa-devel] [PATCH v2] ASoC: Intel: Reset hw_ptr on resume trigger

2017-08-03 Thread Cheng-yi Chiang
wrote: > > On 2017年08月01日 11:30, Vinod Koul wrote: >> >> On Mon, Jul 31, 2017 at 06:47:34PM +0800, Cheng-Yi Chiang wrote: >>> >>> From: "U. Artie Eoff" <ullysses.a.e...@intel.com> >>> >>> Reset the hw_ptr before queuing the rest

[PATCH] ASoC: Intel: Reset hw_ptr on resume trigger

2017-07-28 Thread Cheng-Yi Chiang
From: "U. Artie Eoff" Reset the hw_ptr before queuing the restore_stream_context work to eradicate a nasty white audio noise on resume. Signed-off-by: U. Artie Eoff --- sound/soc/intel/baytrail/sst-baytrail-pcm.c | 4 +++- 1 file changed,

Re: [PATCH for-4.15] ASoC: rt5514: don't assume rt5514 component was "attached"

2017-12-18 Thread Cheng-yi Chiang
> mailing lists and/or people reading these mailing lists.) > > On Mon, Dec 18, 2017 at 12:23:18PM +0800, Cheng-yi Chiang wrote: >>Hi Brian, >> Oder has posted the same fix : [1]https://patchwork.kernel.org/ >>patch/10066257/ and it has been applied. > > OK cool. Ob

[PATCH 2/2] CHROMIUM: ASoC: rt5663: Add regulator support

2018-11-01 Thread Cheng-Yi Chiang
Add regulator support to turn on cpvdd and avdd in probe. If a regulator is not given from device tree, a dummy regulator will be used. Signed-off-by: Cheng-Yi Chiang --- sound/soc/codecs/rt5663.c | 68 +++ 1 file changed, 61 insertions(+), 7 deletions

[PATCH 1/2] CHROMIUM: ASoC: rt5663: Add documentation for power supply support

2018-11-01 Thread Cheng-Yi Chiang
rt5663 codec driver will support setting CPVDD and AVDD power supply from device tree. Signed-off-by: Cheng-Yi Chiang --- Documentation/devicetree/bindings/sound/rt5663.txt | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/rt5663.txt b

Re: [PATCH 1/2] CHROMIUM: ASoC: rt5663: Add documentation for power supply support

2018-11-01 Thread Cheng-yi Chiang
Sorry! I made a mistake in the title. I will fix them and re-post. On Thu, Nov 1, 2018 at 8:40 PM Cheng-Yi Chiang wrote: > > rt5663 codec driver will support setting CPVDD and AVDD power supply > from device tree. > > Signed-off-by: Cheng-Yi Chiang > --- > Documentatio

[PATCH v2] ASoC: rt5663: Add documentation for power supply support

2018-11-15 Thread Cheng-Yi Chiang
rt5663 codec driver will support setting CPVDD and AVDD power supply from device tree. Signed-off-by: Cheng-Yi Chiang --- Moved power supply properties to required properties. Documentation/devicetree/bindings/sound/rt5663.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git

[PATCH] ASoC: rt5663: Fix error handling of regulator_set_load

2018-11-16 Thread Cheng-Yi Chiang
. Fix the missing goto for temporary regmap and rt5663->regmap. Signed-off-by: Cheng-Yi Chiang --- This patch is the fixup of the patch e81a2a6d12e85 ASoC: rt5663: Add regulator support sound/soc/codecs/rt5663.c | 21 - 1 file changed, 12 insertions(+), 9 deletions(-) d

[PATCH 1/2] ASoC: rt5663: Add documentation for power supply support

2018-11-14 Thread Cheng-Yi Chiang
rt5663 codec driver will support setting CPVDD and AVDD power supply from device tree. Signed-off-by: Cheng-Yi Chiang --- Fixed the commit title of v1. Documentation/devicetree/bindings/sound/rt5663.txt | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings

[PATCH 2/2] ASoC: rt5663: Add regulator support

2018-11-14 Thread Cheng-Yi Chiang
Add regulator support to turn on cpvdd and avdd in probe. If a regulator is not given from device tree, a dummy regulator will be used. Signed-off-by: Cheng-Yi Chiang --- sound/soc/codecs/rt5663.c | 68 +++ 1 file changed, 61 insertions(+), 7 deletions

Re: [PATCH 2/2] ASoC: max98927: Add reset-gpio support

2018-10-09 Thread Cheng-yi Chiang
ri, Sep 21, 2018 at 12:19 AM Mark Brown wrote: > > On Wed, Sep 12, 2018 at 08:19:55PM +0800, Cheng-Yi Chiang wrote: > > > + /* > > + * Release reset GPIO because we are not going to use it. > > + */ > > + devm_gpiod_put(dev, max98927->reset_gpio

Re: [alsa-devel] [PATCH 3/4] ASoC: qcom: sdm845: Add codec related configuration for sdm845

2018-11-28 Thread Cheng-yi Chiang
On Tue, Nov 27, 2018 at 5:32 PM Srinivas Kandagatla wrote: > > Thanks for the patch Jimmy, > Hi Srini, Thanks for the review! I have updated the patch series in v2. > On 24/11/18 11:09, Cheng-Yi Chiang wrote: > > Set TDM time slots and DAI format for speaker codec. > >

[PATCH v2 2/5] ASoC: qcom: sdm845: Create and setup jack in init callback

2018-11-28 Thread Cheng-Yi Chiang
Add a callback for init ops on dai_link to create and setup jack. Signed-off-by: Rohit kumar Signed-off-by: Cheng-Yi Chiang --- sound/soc/qcom/sdm845.c | 57 +++-- 1 file changed, 55 insertions(+), 2 deletions(-) diff --git a/sound/soc/qcom/sdm845.c b/sound

[PATCH v2 4/5] ASoC: sdm845: Add configuration for headset codec

2018-11-28 Thread Cheng-Yi Chiang
Set DAI format and sysclk for headset codec. Signed-off-by: Cheng-Yi Chiang --- sound/soc/qcom/sdm845.c | 21 + 1 file changed, 21 insertions(+) diff --git a/sound/soc/qcom/sdm845.c b/sound/soc/qcom/sdm845.c index d0df7ec6042e2..1db8ef6682233 100644 --- a/sound/soc/qcom

[PATCH v2 3/5] ASoC: sdm845: Add TDM configuration for speaker

2018-11-28 Thread Cheng-Yi Chiang
Set TDM time slots and DAI format for speaker codec. Signed-off-by: Cheng-Yi Chiang --- sound/soc/qcom/sdm845.c | 69 - 1 file changed, 68 insertions(+), 1 deletion(-) diff --git a/sound/soc/qcom/sdm845.c b/sound/soc/qcom/sdm845.c index 43c03f8e8cdc2

[PATCH v2 1/5] ASoC: qcom: sdm845: Add board specific dapm widgets

2018-11-28 Thread Cheng-Yi Chiang
Add board specific dapm widgets so these widgets can be used in the route. Signed-off-by: Rohit kumar Signed-off-by: Cheng-Yi Chiang --- sound/soc/qcom/sdm845.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/sound/soc/qcom/sdm845.c b/sound/soc/qcom/sdm845.c index 58593db2ab151

[PATCH v2 5/5] ASoC: qcom: Kconfig: select config for codec

2018-11-28 Thread Cheng-Yi Chiang
Select SND_SOC_RT5663 and SND_SOC_MAX98927 for SND_SOC_SDM845. Signed-off-by: Rohit kumar Signed-off-by: Cheng-Yi Chiang --- sound/soc/qcom/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/qcom/Kconfig b/sound/soc/qcom/Kconfig index 2a4c912d1e484..3528c4279cbae 100644

Re: [PATCH 1/3] mfd: cros_ec: Add commands to control codec

2018-12-05 Thread Cheng-yi Chiang
was the error when you failed to apply this patch ? Thanks! On Tue, Dec 4, 2018 at 9:46 AM Cheng-yi Chiang wrote: > > On Mon, Dec 3, 2018 at 7:19 PM Lee Jones wrote: > > > > On Wed, 28 Nov 2018, Lee Jones wrote: > > > > > On Tue, 27 Nov 2018, Cheng-Yi Chiang wrote: &

Re: [PATCH 1/3] mfd: cros_ec: Add commands to control codec

2018-12-03 Thread Cheng-yi Chiang
On Mon, Dec 3, 2018 at 7:19 PM Lee Jones wrote: > > On Wed, 28 Nov 2018, Lee Jones wrote: > > > On Tue, 27 Nov 2018, Cheng-Yi Chiang wrote: > > > > > Add EC host commands to control codec on EC. > > > > > > Signed-off-by: Cheng-Yi Chiang > >

[PATCH v2] mfd: cros_ec: Add commands to control codec

2018-12-05 Thread Cheng-Yi Chiang
Add EC host commands to control codec on EC. Signed-off-by: Cheng-Yi Chiang --- V2 fixed the wrong ancestor issue so the patch can be applied cleanly on mfd tree. Codec driver that uses these commands will be sent separately. Thanks! include/linux/mfd/cros_ec_commands.h | 94

Re: [PATCH 1/3] mfd: cros_ec: Add commands to control codec

2018-12-05 Thread Cheng-yi Chiang
On Wed, Dec 5, 2018 at 7:34 PM Lee Jones wrote: > > On Wed, 05 Dec 2018, Lee Jones wrote: > > > On Wed, 05 Dec 2018, Cheng-yi Chiang wrote: > > > > > Hi Lee, > > > > > > I tried to apply this patch based on > > > for-mfd-next branch of m

[PATCH 2/4] ASoC: qcom: sdm845: Create and setup jack in init callback

2018-11-24 Thread Cheng-Yi Chiang
Add a callback for init ops on dai_link to create and setup jack. Signed-off-by: Rohit kumar Signed-off-by: Cheng-Yi Chiang --- sound/soc/qcom/sdm845.c | 57 +++-- 1 file changed, 55 insertions(+), 2 deletions(-) diff --git a/sound/soc/qcom/sdm845.c b/sound

[PATCH 1/4] ASoC: qcom: sdm845: Add board specific dapm widgets

2018-11-24 Thread Cheng-Yi Chiang
Add board specific dapm widgets so these widgets can be used in the route. Signed-off-by: Rohit kumar Signed-off-by: Cheng-Yi Chiang --- sound/soc/qcom/sdm845.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/sound/soc/qcom/sdm845.c b/sound/soc/qcom/sdm845.c index 58593db2ab151

[PATCH 4/4] ASoC: qcom: Kconfig: select config for codec

2018-11-24 Thread Cheng-Yi Chiang
Select SND_SOC_RT5663 and SND_SOC_MAX98927 for SND_SOC_SDM845. Signed-off-by: Rohit kumar Signed-off-by: Cheng-Yi Chiang --- sound/soc/qcom/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/qcom/Kconfig b/sound/soc/qcom/Kconfig index 2a4c912d1e484..3528c4279cbae 100644

[PATCH 3/4] ASoC: qcom: sdm845: Add codec related configuration for sdm845

2018-11-24 Thread Cheng-Yi Chiang
Set TDM time slots and DAI format for speaker codec. Set DAI format and clock for headset. Signed-off-by: Rohit kumar Signed-off-by: Cheng-Yi Chiang --- sound/soc/qcom/sdm845.c | 82 - 1 file changed, 81 insertions(+), 1 deletion(-) diff --git a/sound

Re: [PATCH 2/2] ASoC: max98927: Add reset-gpio support

2018-11-19 Thread Cheng-yi Chiang
Hi Philipp, On Thu, Oct 18, 2018 at 1:02 AM Philipp Zabel wrote: > > Hi Maxime, > > On Fri, 2018-10-12 at 15:46 +0200, Maxime Ripard wrote: > > On Fri, Oct 12, 2018 at 12:05:16PM +0200, Philipp Zabel wrote: > [...] > > > What I would like better would be to let the consumers keep their reset- >

[PATCH 3/3] ASoC: cros_ec_codec: Add codec driver for Cros EC

2018-11-27 Thread Cheng-Yi Chiang
Add a codec driver to control ChromeOS EC codec. Use EC Host command to enable/disable I2S recording and control other configurations. Signed-off-by: Cheng-Yi Chiang --- MAINTAINERS | 1 + sound/soc/codecs/Kconfig | 8 + sound/soc/codecs/Makefile| 2

[PATCH 2/3] ASoC: Documentation: Add google,cros-ec-codec

2018-11-27 Thread Cheng-Yi Chiang
Add documentation for Chrome EC codec driver. Signed-off-by: Cheng-Yi Chiang --- .../bindings/sound/google,cros-ec-codec.txt | 24 +++ MAINTAINERS | 5 2 files changed, 29 insertions(+) create mode 100644 Documentation/devicetree

[PATCH 1/3] mfd: cros_ec: Add commands to control codec

2018-11-27 Thread Cheng-Yi Chiang
Add EC host commands to control codec on EC. Signed-off-by: Cheng-Yi Chiang --- include/linux/mfd/cros_ec_commands.h | 94 1 file changed, 94 insertions(+) diff --git a/include/linux/mfd/cros_ec_commands.h b/include/linux/mfd/cros_ec_commands.h index 07fe4ea0361d3

Re: [PATCH 1/2] ASoC: max9892x: Add documentation for reset-gpio support

2018-09-12 Thread Cheng-yi Chiang
On Wed, Sep 12, 2018 at 8:28 PM Mark Brown wrote: > > On Wed, Sep 12, 2018 at 08:19:54PM +0800, Cheng-Yi Chiang wrote: > > max98927 codec driver will support reset-gpio binding so it can toggle > > reset line in its probe function. > > All GPIO properties are sup

[PATCH 2/2] ASoC: max98927: Add reset-gpio support

2018-09-12 Thread Cheng-Yi Chiang
Toggle reset line in max98927_i2c_probe. Use a list to store max98927 instances so we do not toggle reset line again if more than one instances share the same reset line. Signed-off-by: Cheng-Yi Chiang --- sound/soc/codecs/max98927.c | 78 + sound/soc

[PATCH 1/2] ASoC: max9892x: Add documentation for reset-gpio support

2018-09-12 Thread Cheng-Yi Chiang
max98927 codec driver will support reset-gpio binding so it can toggle reset line in its probe function. Signed-off-by: Cheng-Yi Chiang --- Documentation/devicetree/bindings/sound/max9892x.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/sound

Re: [alsa-devel] [PATCH 2/2] ASoC: max98927: Add reset-gpio support

2018-09-17 Thread Cheng-yi Chiang
Hi Mark, Do you have any concern about this patch ? Thanks! On Thu, Sep 13, 2018 at 12:47 AM Rohit Kumar wrote: > > > > On 9/12/2018 5:49 PM, Cheng-Yi Chiang wrote: > > Toggle reset line in max98927_i2c_probe. > > Use a list to store max98927 instances so we do not tog

[PATCH v2] ASoC: Intel: Reset hw_ptr on resume trigger

2017-07-31 Thread Cheng-Yi Chiang
From: "U. Artie Eoff" Reset the hw_ptr before queuing the restore_stream_context work to eradicate a nasty white audio noise on resume. Tested-by: Cheng-Yi Chiang Signed-off-by: U. Artie Eoff Signed-off-by: Cheng-Yi Chiang --- sound/soc/intel/baytrail/sst-baytrail-pcm.c | 4 ++

Re: [PATCH for-4.15] ASoC: rt5514: don't assume rt5514 component was "attached"

2017-12-18 Thread Cheng-yi Chiang
hese mailing lists.) > > On Mon, Dec 18, 2017 at 12:23:18PM +0800, Cheng-yi Chiang wrote: >>Hi Brian, >> Oder has posted the same fix : [1]https://patchwork.kernel.org/ >>patch/10066257/ and it has been applied. > > OK cool. Obviously I'm biased, but I prefer

Re: [alsa-devel] [PATCH v2] ASoC: Intel: Reset hw_ptr on resume trigger

2017-08-03 Thread Cheng-yi Chiang
11:30, Vinod Koul wrote: >> >> On Mon, Jul 31, 2017 at 06:47:34PM +0800, Cheng-Yi Chiang wrote: >>> >>> From: "U. Artie Eoff" >>> >>> Reset the hw_ptr before queuing the restore_stream_context >>> work to eradicate a nasty w

[PATCH] ASoC: Intel: Reset hw_ptr on resume trigger

2017-07-28 Thread Cheng-Yi Chiang
From: "U. Artie Eoff" Reset the hw_ptr before queuing the restore_stream_context work to eradicate a nasty white audio noise on resume. Signed-off-by: U. Artie Eoff --- sound/soc/intel/baytrail/sst-baytrail-pcm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

Re: [PATCH v11 2/3] ASoC: qcom: dt-bindings: Add sc7180 machine bindings

2020-10-15 Thread Cheng-yi Chiang
On Tue, Oct 13, 2020 at 6:36 PM Srinivas Kandagatla wrote: > > Hi Cheng, > > Sorry for such late review w.r.t compatibles, > Hi Srini, Thank you for taking another look! > On 14/09/2020 09:06, Cheng-Yi Chiang wrote: > > +--- > > +$id:http://devicetree.org/

Re: [PATCH v11 3/3] ASoC: qcom: sc7180: Add machine driver for sound card registration

2020-10-15 Thread Cheng-yi Chiang
On Tue, Oct 13, 2020 at 11:50 AM Cheng-yi Chiang wrote: > > On Mon, Sep 14, 2020 at 4:06 PM Cheng-Yi Chiang wrote: > > > > From: Ajit Pandey > > > > Add new driver to register sound card on sc7180 trogdor board and > > do the required configuration f

[PATCH v6 1/2] ASoC: qcom: dt-bindings: Add sc7180 machine bindings

2020-08-26 Thread Cheng-Yi Chiang
Add devicetree bindings documentation file for sc7180 sound card. Signed-off-by: Cheng-Yi Chiang --- .../bindings/sound/qcom,sc7180.yaml | 124 ++ 1 file changed, 124 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,sc7180.yaml diff --git

[PATCH v6 0/2] Add documentation and machine driver for SC7180 sound card

2020-08-26 Thread Cheng-Yi Chiang
Note: - The machine driver patch is made by the collaboration of Cheng-Yi Chiang Rohit kumar Ajit Pandey But Ajit has left codeaurora. Changes from v1 to v2: - Ducumentation: Addressed all suggestions from Doug. - Machine driver: - Fix comment style for license. - Sort includes

[PATCH v6 2/2] ASoC: qcom: sc7180: Add machine driver for sound card registration

2020-08-26 Thread Cheng-Yi Chiang
From: Ajit Pandey Add new driver to register sound card on sc7180 trogdor board and do the required configuration for lpass cpu dai and external codecs connected over MI2S interfaces. Signed-off-by: Ajit Pandey Signed-off-by: Cheng-Yi Chiang Reviewed-by: Tzung-Bi Shih --- sound/soc/qcom

Re: [PATCH v6 2/2] ASoC: qcom: sc7180: Add machine driver for sound card registration

2020-08-26 Thread Cheng-yi Chiang
On Wed, Aug 26, 2020 at 7:05 PM Cheng-Yi Chiang wrote: > > From: Ajit Pandey > > Add new driver to register sound card on sc7180 trogdor board and > do the required configuration for lpass cpu dai and external codecs > connected over MI2S interfaces. > > Signed-off-by: A

Re: [PATCH v6 2/2] ASoC: qcom: sc7180: Add machine driver for sound card registration

2020-08-27 Thread Cheng-yi Chiang
On Wed, Aug 26, 2020 at 10:48 PM Stephan Gerhold wrote: > > On Wed, Aug 26, 2020 at 07:04:54PM +0800, Cheng-Yi Chiang wrote: > > From: Ajit Pandey > > > > Add new driver to register sound card on sc7180 trogdor board and > > do the required configuration for lpa

Re: [PATCH v7 2/3] ASoC: qcom: dt-bindings: Add sc7180 machine bindings

2020-09-09 Thread Cheng-yi Chiang
On Wed, Sep 9, 2020 at 4:34 AM Rob Herring wrote: > > On Mon, Sep 07, 2020 at 06:00:38PM +0800, Cheng-Yi Chiang wrote: > > Add devicetree bindings documentation file for sc7180 sound card. > > > > Signed-off-by: Cheng-Yi Chiang > > --- > > .../bindings/so

Re: [PATCH v7 2/3] ASoC: qcom: dt-bindings: Add sc7180 machine bindings

2020-09-09 Thread Cheng-yi Chiang
On Wed, Sep 9, 2020 at 5:23 PM Cheng-yi Chiang wrote: > > On Wed, Sep 9, 2020 at 4:34 AM Rob Herring wrote: > > > > On Mon, Sep 07, 2020 at 06:00:38PM +0800, Cheng-Yi Chiang wrote: > > > Add devicetree bindings documentation file for sc7180 sound card. > > >

Re: [PATCH v7 2/3] ASoC: qcom: dt-bindings: Add sc7180 machine bindings

2020-09-09 Thread Cheng-yi Chiang
On Thu, Sep 10, 2020 at 1:49 AM Rob Herring wrote: > > On Wed, Sep 9, 2020 at 3:24 AM Cheng-yi Chiang wrote: > > > > On Wed, Sep 9, 2020 at 4:34 AM Rob Herring wrote: > > > > > > On Mon, Sep 07, 2020 at 06:00:38PM +0800, Cheng-Yi Chiang wrote: > > >

[PATCH v8 0/3] Add documentation and machine driver for SC7180 sound card

2020-09-09 Thread Cheng-Yi Chiang
Note: - The machine driver patch is made by the collaboration of Cheng-Yi Chiang Rohit kumar Ajit Pandey But Ajit has left codeaurora. - This patch series needs HDMI DAI name defined in sc7180-lpass.h. https://patchwork.kernel.org/patch/11745565/ Changes from v1 to v2

[PATCH v8 2/3] ASoC: qcom: dt-bindings: Add sc7180 machine bindings

2020-09-09 Thread Cheng-Yi Chiang
Add devicetree bindings documentation file for sc7180 sound card. Signed-off-by: Cheng-Yi Chiang --- .../bindings/sound/qcom,sc7180.yaml | 130 ++ 1 file changed, 130 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,sc7180.yaml diff --git

[PATCH v8 1/3] ASoC: hdmi-codec: Use set_jack ops to set jack

2020-09-09 Thread Cheng-Yi Chiang
Use set_jack ops to set jack so machine drivers do not need to include hdmi-codec.h explicitly. Signed-off-by: Cheng-Yi Chiang --- include/sound/hdmi-codec.h | 3 --- sound/soc/codecs/hdmi-codec.c| 12 sound/soc/mediatek/mt8173

[PATCH v8 3/3] ASoC: qcom: sc7180: Add machine driver for sound card registration

2020-09-09 Thread Cheng-Yi Chiang
From: Ajit Pandey Add new driver to register sound card on sc7180 trogdor board and do the required configuration for lpass cpu dai and external codecs connected over MI2S interfaces. Signed-off-by: Ajit Pandey Signed-off-by: Cheng-Yi Chiang --- sound/soc/qcom/Kconfig | 12 ++ sound/soc

[PATCH v4 1/2] ASoC: qcom: dt-bindings: Add sc7180 machine bindings

2020-08-02 Thread Cheng-Yi Chiang
Add devicetree bindings documentation file for sc7180 sound card. Signed-off-by: Cheng-Yi Chiang --- .../bindings/sound/qcom,sc7180.yaml | 113 ++ 1 file changed, 113 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,sc7180.yaml diff --git

[PATCH v4 0/2] Add documentation and machine driver for SC7180 sound card

2020-08-02 Thread Cheng-Yi Chiang
Note: - The machine driver patch depends on LPASS patch series so it is not ready to be merged now. ASoC: qcom: Add support for SC7180 lpass variant https://patchwork.kernel.org/cover/11678133/ - The machine driver patch is made by the collaboration of Cheng-Yi Chiang Rohit kumar Ajit

[PATCH v4 2/2] ASoC: qcom: sc7180: Add machine driver for sound card registration

2020-08-02 Thread Cheng-Yi Chiang
From: Ajit Pandey Add new driver to register sound card on sc7180 trogdor board and do the required configuration for lpass cpu dai and external codecs connected over MI2S interfaces. Signed-off-by: Ajit Pandey Signed-off-by: Cheng-Yi Chiang Reviewed-by: Tzung-Bi Shih --- sound/soc/qcom

Re: [PATCH v3 1/2] ASoC: qcom: dt-bindings: Add sc7180 machine bindings

2020-08-03 Thread Cheng-yi Chiang
On Sat, Aug 1, 2020 at 2:27 AM Rob Herring wrote: > > On Fri, 31 Jul 2020 16:40:22 +0800, Cheng-Yi Chiang wrote: > > Add devicetree bindings documentation file for sc7180 sound card. > > > > Signed-off-by: Cheng-Yi Chiang > > --- > > .../bindings/so

Re: [PATCH v3 1/2] ASoC: qcom: dt-bindings: Add sc7180 machine bindings

2020-08-03 Thread Cheng-yi Chiang
On Sat, Aug 1, 2020 at 2:32 AM Rob Herring wrote: > > On Fri, Jul 31, 2020 at 04:40:22PM +0800, Cheng-Yi Chiang wrote: > > Add devicetree bindings documentation file for sc7180 sound card. > > > > Signed-off-by: Cheng-Yi Chiang > > --- > > .../bindings/so

[PATCH v11 3/3] ASoC: qcom: sc7180: Add machine driver for sound card registration

2020-09-14 Thread Cheng-Yi Chiang
From: Ajit Pandey Add new driver to register sound card on sc7180 trogdor board and do the required configuration for lpass cpu dai and external codecs connected over MI2S interfaces. Signed-off-by: Ajit Pandey Signed-off-by: Cheng-Yi Chiang --- sound/soc/qcom/Kconfig | 12 ++ sound/soc

[PATCH v11 2/3] ASoC: qcom: dt-bindings: Add sc7180 machine bindings

2020-09-14 Thread Cheng-Yi Chiang
Add devicetree bindings documentation file for sc7180 sound card. Signed-off-by: Cheng-Yi Chiang --- .../bindings/sound/qcom,sc7180.yaml | 130 ++ 1 file changed, 130 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,sc7180.yaml diff --git

[PATCH v11 1/3] ASoC: hdmi-codec: Use set_jack ops to set jack

2020-09-14 Thread Cheng-Yi Chiang
Use set_jack ops to set jack so machine drivers do not need to include hdmi-codec.h explicitly. Signed-off-by: Cheng-Yi Chiang Reviewed-by: Tzung-Bi Shih --- include/sound/hdmi-codec.h | 3 --- sound/soc/codecs/hdmi-codec.c| 12

[PATCH v11 0/3] Add documentation and machine driver for SC7180 sound card

2020-09-14 Thread Cheng-Yi Chiang
Note: - The machine driver patch is made by the collaboration of Cheng-Yi Chiang Rohit kumar Ajit Pandey But Ajit has left codeaurora. - This patch series needs HDMI DAI name SC7180_LPASS_DP defined in sc7180-lpass.h. It will be posted in the newer patchset of https

[PATCH v9 1/3] ASoC: hdmi-codec: Use set_jack ops to set jack

2020-09-11 Thread Cheng-Yi Chiang
Use set_jack ops to set jack so machine drivers do not need to include hdmi-codec.h explicitly. Signed-off-by: Cheng-Yi Chiang Reviewed-by: Tzung-Bi Shih --- include/sound/hdmi-codec.h | 3 --- sound/soc/codecs/hdmi-codec.c| 12

[PATCH v9 3/3] ASoC: qcom: sc7180: Add machine driver for sound card registration

2020-09-11 Thread Cheng-Yi Chiang
From: Ajit Pandey Add new driver to register sound card on sc7180 trogdor board and do the required configuration for lpass cpu dai and external codecs connected over MI2S interfaces. Signed-off-by: Ajit Pandey Signed-off-by: Cheng-Yi Chiang --- sound/soc/qcom/Kconfig | 12 ++ sound/soc

[PATCH v9 0/3] Add documentation and machine driver for SC7180 sound card

2020-09-11 Thread Cheng-Yi Chiang
Note: - The machine driver patch is made by the collaboration of Cheng-Yi Chiang Rohit kumar Ajit Pandey But Ajit has left codeaurora. - This patch series needs HDMI DAI name defined in sc7180-lpass.h. https://patchwork.kernel.org/patch/11745565/ Changes from v1 to v2

[PATCH v9 2/3] ASoC: qcom: dt-bindings: Add sc7180 machine bindings

2020-09-11 Thread Cheng-Yi Chiang
Add devicetree bindings documentation file for sc7180 sound card. Signed-off-by: Cheng-Yi Chiang --- .../bindings/sound/qcom,sc7180.yaml | 130 ++ 1 file changed, 130 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,sc7180.yaml diff --git

Re: [PATCH v9 3/3] ASoC: qcom: sc7180: Add machine driver for sound card registration

2020-09-11 Thread Cheng-yi Chiang
On Fri, Sep 11, 2020 at 7:05 PM Srinivas Kandagatla wrote: > > > > On 11/09/2020 11:22, Cheng-Yi Chiang wrote: > > From: Ajit Pandey > > > > Add new driver to register sound card on sc7180 trogdor board and > > do the required configuration for lpass cpu d

Re: [PATCH v9 3/3] ASoC: qcom: sc7180: Add machine driver for sound card registration

2020-09-11 Thread Cheng-yi Chiang
On Fri, Sep 11, 2020 at 11:01 PM Stephan Gerhold wrote: > > Hi, > > Thanks for removing the weird use of auxilliary devices :) > Hi Stephan, Thanks for the suggestion! > On Fri, Sep 11, 2020 at 06:22:59PM +0800, Cheng-Yi Chiang wrote: > > From: Ajit Pandey > >

[PATCH v10 2/3] ASoC: qcom: dt-bindings: Add sc7180 machine bindings

2020-09-11 Thread Cheng-Yi Chiang
Add devicetree bindings documentation file for sc7180 sound card. Signed-off-by: Cheng-Yi Chiang --- .../bindings/sound/qcom,sc7180.yaml | 130 ++ 1 file changed, 130 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,sc7180.yaml diff --git

[PATCH v10 3/3] ASoC: qcom: sc7180: Add machine driver for sound card registration

2020-09-11 Thread Cheng-Yi Chiang
From: Ajit Pandey Add new driver to register sound card on sc7180 trogdor board and do the required configuration for lpass cpu dai and external codecs connected over MI2S interfaces. Signed-off-by: Ajit Pandey Signed-off-by: Cheng-Yi Chiang --- sound/soc/qcom/Kconfig | 12 ++ sound/soc

[PATCH v10 0/3] Add documentation and machine driver for SC7180 sound card

2020-09-11 Thread Cheng-Yi Chiang
Note: - The machine driver patch is made by the collaboration of Cheng-Yi Chiang Rohit kumar Ajit Pandey But Ajit has left codeaurora. - This patch series needs HDMI DAI name SC7180_LPASS_DP defined in sc7180-lpass.h. It will be posted in the newer patchset of https

[PATCH v10 1/3] ASoC: hdmi-codec: Use set_jack ops to set jack

2020-09-11 Thread Cheng-Yi Chiang
Use set_jack ops to set jack so machine drivers do not need to include hdmi-codec.h explicitly. Signed-off-by: Cheng-Yi Chiang Reviewed-by: Tzung-Bi Shih --- include/sound/hdmi-codec.h | 3 --- sound/soc/codecs/hdmi-codec.c| 12

Re: [PATCH v11 2/3] ASoC: qcom: dt-bindings: Add sc7180 machine bindings

2020-09-15 Thread Cheng-yi Chiang
On Tue, Sep 15, 2020 at 1:48 AM Rob Herring wrote: > > On Mon, 14 Sep 2020 16:06:18 +0800, Cheng-Yi Chiang wrote: > > Add devicetree bindings documentation file for sc7180 sound card. > > > > Signed-off-by: Cheng-Yi Chiang > > --- > > .../bindings/so

Re: [PATCH v11 2/3] ASoC: qcom: dt-bindings: Add sc7180 machine bindings

2020-10-23 Thread Cheng-yi Chiang
Sorry for resending this mail. I forgot to use plain text mode in the previous mail. On Thu, Oct 22, 2020 at 6:12 PM Srinivas Kandagatla wrote: > > > > On 22/10/2020 04:29, Tzung-Bi Shih wrote: > > Hi, sorry for jumping into your discussion but I am trying to > > summarize them to make sure we

Re: [PATCH v11 2/3] ASoC: qcom: dt-bindings: Add sc7180 machine bindings

2020-10-20 Thread Cheng-yi Chiang
On Fri, Oct 16, 2020 at 12:13 AM Mark Brown wrote: > > On Thu, Oct 15, 2020 at 03:59:26PM +0800, Cheng-yi Chiang wrote: > > On Tue, Oct 13, 2020 at 6:36 PM Srinivas Kandagatla > > > > > +properties: > > > > + compatible: > > > >

Re: [PATCH v11 2/3] ASoC: qcom: dt-bindings: Add sc7180 machine bindings

2020-10-20 Thread Cheng-yi Chiang
On Tue, Oct 20, 2020 at 10:37 PM Mark Brown wrote: > > On Tue, Oct 20, 2020 at 09:37:05PM +0800, Cheng-yi Chiang wrote: > > > May I know your suggestion on Ajye's patch "ASoC: qcom: sc7180: Modify > > machine driver for 2mic" ? > > > https://lore.kern

Re: [PATCH v11 2/3] ASoC: qcom: dt-bindings: Add sc7180 machine bindings

2020-10-20 Thread Cheng-yi Chiang
On Tue, Oct 20, 2020 at 10:55 PM Srinivas Kandagatla wrote: > > > > On 20/10/2020 15:37, Mark Brown wrote: > > I don't understand what "logic scattered in various dtsi files" means, > > sorry. > > > >> Yes, that should work to describe the dailink we are using. > >> But a more tricky issue is how

[PATCH v12 0/2] Add documentation and machine driver for SC7180 sound card

2020-10-26 Thread Cheng-Yi Chiang
Note: - The machine driver patch is made by the collaboration of Cheng-Yi Chiang Rohit kumar Ajit Pandey But Ajit has left codeaurora. Changes from v1 to v2: - Ducumentation: Addressed all suggestions from Doug. - Machine driver: - Fix comment style for license. - Sort includes

[PATCH v12 1/2] ASoC: google: dt-bindings: Add sc7180-trogdor machine bindings

2020-10-26 Thread Cheng-Yi Chiang
Add devicetree bindings documentation file for sc7180 sound card. Signed-off-by: Cheng-Yi Chiang --- Changes from v11 to v12 - Documentation: - Change the file and title name for new compatible string google,sc7180-trogdor. - Change the example of model name. .../bindings/sound/google

[PATCH v12 2/2] ASoC: qcom: sc7180: Add machine driver for sound card registration

2020-10-26 Thread Cheng-Yi Chiang
From: Ajit Pandey Add new driver to register sound card on sc7180 trogdor board and do the required configuration for lpass cpu dai and external codecs connected over MI2S interfaces. Signed-off-by: Ajit Pandey Signed-off-by: Cheng-Yi Chiang --- Changes from v11 to v12 - Machine driver

[PATCH v2] ASoC: hdmi-codec: Get ELD in before reporting plugged event

2020-11-17 Thread Cheng-Yi Chiang
-Yi Chiang --- Change from v1 to v2: - Report jack unplug event then clear ELD. This makes sure user will not get a cleared ELD during their usage of jack. sound/soc/codecs/hdmi-codec.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/hdmi-codec.c

[PATCH] ASoC: hdmi-codec: Get ELD in before reporting plugged event

2020-11-17 Thread Cheng-Yi Chiang
-Yi Chiang --- sound/soc/codecs/hdmi-codec.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/hdmi-codec.c b/sound/soc/codecs/hdmi-codec.c index 403d4c6a49a8..f0e0e1836000 100644 --- a/sound/soc/codecs/hdmi-codec.c +++ b/sound/soc/codecs/hdmi-codec.c

[PATCH] ASoC: qcom: sc7180: Add missing PM ops

2020-11-09 Thread Cheng-Yi Chiang
Use PM ops snd_soc_pm_ops to handle suspend/resume like other machine drivers. Signed-off-by: Cheng-Yi Chiang --- sound/soc/qcom/sc7180.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/qcom/sc7180.c b/sound/soc/qcom/sc7180.c index b391f64c3a80..42e366ecc689 100644 --- a/sound/soc

[PATCH v5 0/2] Add documentation and machine driver for SC7180 sound card

2020-08-17 Thread Cheng-Yi Chiang
Note: - The machine driver patch depends on LPASS patch series so it is not ready to be merged now. ASoC: qcom: Add support for SC7180 lpass variant https://patchwork.kernel.org/cover/11714317/ - The machine driver patch is made by the collaboration of Cheng-Yi Chiang Rohit kumar Ajit

[PATCH v5 1/2] ASoC: qcom: dt-bindings: Add sc7180 machine bindings

2020-08-17 Thread Cheng-Yi Chiang
Add devicetree bindings documentation file for sc7180 sound card. Signed-off-by: Cheng-Yi Chiang --- .../bindings/sound/qcom,sc7180.yaml | 127 ++ 1 file changed, 127 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,sc7180.yaml diff --git

[PATCH v5 2/2] ASoC: qcom: sc7180: Add machine driver for sound card registration

2020-08-17 Thread Cheng-Yi Chiang
From: Ajit Pandey Add new driver to register sound card on sc7180 trogdor board and do the required configuration for lpass cpu dai and external codecs connected over MI2S interfaces. Signed-off-by: Ajit Pandey Signed-off-by: Cheng-Yi Chiang Reviewed-by: Tzung-Bi Shih --- sound/soc/qcom

Re: [PATCH] ASoC: rt5682: Prefer async probe

2020-08-30 Thread Cheng-yi Chiang
On Sat, Aug 29, 2020 at 7:20 AM Douglas Anderson wrote: > > The probe of rt5682 is pretty slow. A quick measurement shows that it > takes ~650 ms on at least one board. There's no reason to block all > other drivers waiting for this probe to finish. Set the flag to allow > other drivers to

[PATCH v7 1/3] ASoC: hdmi-codec: Use set_jack ops to set jack

2020-09-07 Thread Cheng-Yi Chiang
Use set_jack ops to set jack so machine drivers do not need to include hdmi-codec.h explicitly. Signed-off-by: Cheng-Yi Chiang --- include/sound/hdmi-codec.h | 3 --- sound/soc/codecs/hdmi-codec.c| 12 sound/soc/mediatek/mt8173

[PATCH v7 2/3] ASoC: qcom: dt-bindings: Add sc7180 machine bindings

2020-09-07 Thread Cheng-Yi Chiang
Add devicetree bindings documentation file for sc7180 sound card. Signed-off-by: Cheng-Yi Chiang --- .../bindings/sound/qcom,sc7180.yaml | 143 ++ 1 file changed, 143 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,sc7180.yaml diff --git

[PATCH v7 0/3] Add documentation and machine driver for SC7180 sound card

2020-09-07 Thread Cheng-Yi Chiang
Note: - The machine driver patch is made by the collaboration of Cheng-Yi Chiang Rohit kumar Ajit Pandey But Ajit has left codeaurora. - This patch series needs HDMI DAI name defined in sc7180-lpass.h. https://patchwork.kernel.org/patch/11745565/ Changes from v1 to v2

[PATCH v7 3/3] ASoC: qcom: sc7180: Add machine driver for sound card registration

2020-09-07 Thread Cheng-Yi Chiang
From: Ajit Pandey Add new driver to register sound card on sc7180 trogdor board and do the required configuration for lpass cpu dai and external codecs connected over MI2S interfaces. Signed-off-by: Ajit Pandey Signed-off-by: Cheng-Yi Chiang Reviewed-by: Tzung-Bi Shih --- sound/soc/qcom

[PATCH] ASoC: hdmi-codec: Use set_jack ops to set jack

2020-09-22 Thread Cheng-Yi Chiang
Use set_jack ops to set jack so machine drivers do not need to include hdmi-codec.h explicitly. Signed-off-by: Cheng-Yi Chiang Reviewed-by: Tzung-Bi Shih --- Separate this patch from the machine driver patch series at https://patchwork.kernel.org/cover/11773209/ in the hope that this can

Re: [PATCH v11 2/3] ASoC: qcom: dt-bindings: Add sc7180 machine bindings

2020-10-12 Thread Cheng-yi Chiang
On Tue, Sep 15, 2020 at 8:44 PM Cheng-yi Chiang wrote: > > On Tue, Sep 15, 2020 at 1:48 AM Rob Herring wrote: > > > > On Mon, 14 Sep 2020 16:06:18 +0800, Cheng-Yi Chiang wrote: > > > Add devicetree bindings documentation file for sc7180 sound card. > > >

Re: [PATCH v11 3/3] ASoC: qcom: sc7180: Add machine driver for sound card registration

2020-10-12 Thread Cheng-yi Chiang
On Mon, Sep 14, 2020 at 4:06 PM Cheng-Yi Chiang wrote: > > From: Ajit Pandey > > Add new driver to register sound card on sc7180 trogdor board and > do the required configuration for lpass cpu dai and external codecs > connected over MI2S interfaces. > > Signed-off-by: A

Re: [PATCH v3 2/5] drm: bridge: dw-hdmi: Report connector status using callback

2019-07-16 Thread Cheng-yi Chiang
On Fri, Jul 12, 2019 at 6:48 PM Russell King - ARM Linux admin wrote: > > On Fri, Jul 12, 2019 at 06:04:40PM +0800, Cheng-Yi Chiang wrote: > > Allow codec driver register callback function for plug event. > > > > The callback registration flow: > > dw-hdmi <---

[PATCH v6 3/4] ASoC: rockchip_max98090: Add dai_link for HDMI

2019-09-18 Thread Cheng-Yi Chiang
Use two dai_links. One for HDMI and one for max98090. With this setup, audio can play to speaker and HDMI selectively. Signed-off-by: Cheng-Yi Chiang --- sound/soc/rockchip/rockchip_max98090.c | 96 -- 1 file changed, 73 insertions(+), 23 deletions(-) diff --git a/sound

[PATCH v6 4/4] ASoC: rockchip_max98090: Add HDMI jack support

2019-09-18 Thread Cheng-Yi Chiang
In machine driver, create a jack and let hdmi-codec report jack status. Signed-off-by: Cheng-Yi Chiang --- sound/soc/rockchip/Kconfig | 3 ++- sound/soc/rockchip/rockchip_max98090.c | 20 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/sound/soc

[PATCH v7 0/4] Add HDMI jack support on RK3288

2019-09-19 Thread Cheng-Yi Chiang
. With this we don't need to set fixed id for the created hdmi-audio-codec device. Cheng-Yi Chiang (4): drm: bridge: dw-hdmi: Report connector status using callback ASoC: rockchip-max98090: Add description for rockchip,hdmi-codec ASoC: rockchip_max98090: Add dai_link for HDMI ASoC

[PATCH v7 1/4] drm: bridge: dw-hdmi: Report connector status using callback

2019-09-19 Thread Cheng-Yi Chiang
atform device can register the callback. When connector plug/unplug event happens, report this event using the callback. Make sure that audio and drm are using the single source of truth for connector status. Signed-off-by: Cheng-Yi Chiang --- .../drm/bridge/synopsys/dw-hdmi-i2s-audio.c

  1   2   >