[PATCH 1/3] ASoC:codec:max98373: Changed amp shutdown register as volatile

2021-03-24 Thread Ryan Lee
re value for the non-volatile register. When amp is internally shutdown by some reason, next 'AMP ON' command can be ignored because regmap think amp is already ON. Signed-off-by: Ryan Lee --- sound/soc/codecs/max98373-i2c.c | 1 + sound/soc/codecs/max98373-sdw.c | 1 + 2 files changed,

[PATCH 3/3] ASoC:codec:max98373: Added controls for autorestart config

2021-03-24 Thread Ryan Lee
rature recovers from thermal shutdown. "CMON Autorestart Switch" : controls whether or not the device automatically resumes playback when the clock returns after stopping. Above Auto Restart functions are enabled by default. Signed-off-by: Ryan Lee --- sound/soc/codecs/max98373.c | 14 ++

[PATCH 2/3] ASoC:codec:max98373: Added 30ms turn on/off time delay

2021-03-24 Thread Ryan Lee
Amp requires 10 ~ 30ms for the power ON and OFF. Added 30ms delay for stability. Signed-off-by: Ryan Lee --- sound/soc/codecs/max98373.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/codecs/max98373.c b/sound/soc/codecs/max98373.c index 746c829312b8..1346a98ce8a1 100644 --- a

[V3] ASoC: max98373: Added max98373_reset for stable amp reset

2018-11-29 Thread Ryan Lee
means software reset is completed well. Additional 10ms delay was added for every retrial and maximum 30ms delay can be applied. Signed-off-by: Ryan Lee --- Changes since v2: - Added commit message. Changes since v1: - Removed unusual repeat for amp software reset and verification. - Amp software

RE: [PATCH V2] ASoC: max98373: Added max98373_reset for stable amp reset

2018-11-29 Thread Ryan Lee
>-Original Message- >From: Mark Brown >Sent: Thursday, November 29, 2018 3:26 AM >To: Grant Grundler >Cc: Ryan Lee ; Liam Girdwood >; pe...@perex.cz; ti...@suse.com; Kuninori >Morimoto ; Benson Leung >; alsa-de...@alsa-project.org; LKML ker...@vger.kernel.org>

RE: [PATCH V2] ASoC: max98373: Added max98373_reset for stable amp reset

2018-11-29 Thread Ryan Lee
>-Original Message- >From: Grant Grundler >Sent: Wednesday, November 28, 2018 5:56 PM >To: Ryan Lee >Cc: broo...@kernel.org; Liam Girdwood ; >pe...@perex.cz; ti...@suse.com; Grant Grundler >; Kuninori Morimoto >; Benson Leung >; alsa-de...@alsa-project.org;

RE: [PATCH V2] ASoC: max98373: Added max98373_reset for stable amp reset

2018-11-28 Thread Ryan Lee
>-Original Message- >From: Mark Brown >Sent: Wednesday, November 28, 2018 1:50 AM >To: Ryan Lee >Cc: Liam Girdwood ; Jaroslav Kysela >; Takashi Iwai ; Grant Grundler >; Kuninori Morimoto >; Benson Leung >; alsa-de...@alsa-project.org; linux- >ker..

[PATCH V2] ASoC: max98373: Added max98373_reset for stable amp reset

2018-11-27 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changes since v1 : Removed unusual repeat for amp software reset and verification. Amp software reset will be performed once and it repeats verification maximum 3 times if it is failed. Wait 10ms before every verification trial

RE: [PATCH] ASoC: max98373: Added max98373_reset for stable amp reset

2018-11-27 Thread Ryan Lee
>-Original Message- >From: Mark Brown >Sent: Tuesday, November 27, 2018 3:51 AM >To: Ryan Lee >Cc: Liam Girdwood ; Jaroslav Kysela >; Takashi Iwai ; Grant Grundler >; Kuninori Morimoto >; Benson Leung >; alsa-de...@alsa-project.org; linux- >ker...@vger.k

RE: [PATCH] ASoC: max98373: Added max98373_reset for stable amp reset

2018-11-27 Thread Ryan Lee
Grant, Thanks for your feedback. Please find my answers inline. >-Original Message- >From: Grant Grundler >Sent: Monday, November 26, 2018 6:25 PM >To: Ryan Lee >Cc: Liam Girdwood ; broo...@kernel.org; >pe...@perex.cz; ti...@suse.com; Grant Grundler >; Kuninori Mor

RE: [PATCH] ASoC: max98373: Added max98373_reset for stable amp reset

2018-11-27 Thread Ryan Lee
>-Original Message- >From: Grant Grundler >Sent: Monday, November 26, 2018 6:28 PM >To: Grant Grundler >Cc: Ryan Lee ; Liam Girdwood >; broo...@kernel.org; pe...@perex.cz; >ti...@suse.com; Kuninori Morimoto ; >Benson Leung ; alsa-de...@alsa-project.org; LKML >

[PATCH] ASoC: max98373: Added max98373_reset for stable amp reset

2018-11-26 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changes : Created max98373_reset function to minimize code duplication. Changed regmap_write to regmap_update_bits. Other bits except LSB need to be masked. Added reset verification step to make sure software reset is completed well. Software

[PATCH 3/4] ASoC: max98373: Sort max98373_bde_gain_tlv in reverse order

2018-10-10 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changes : Sort 'max98373_bde_gain_tlv' in reverse order. Fixed wrong use case of 'TLV_DB_SCALE_ITEM' - TLV_DB_SCALE_ITEM(min, step, mute) Max value was set in min field and negative value was set in step field before

[PATCH 4/4] ASoC: max98373: Sort DHT Rot Pnt Volume in reverse order

2018-10-10 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changes : Sort 'max98373_dht_spkgain_min_tlv' in reverse order. Fixed wrong use case of 'TLV_DB_SCALE_ITEM' - TLV_DB_SCALE_ITEM(min, step, mute) Max value was set in min field and negative value was set in step field

[PATCH 2/4] ASoC: max98373: Sort BDE Limiter Thresh Volume in reverse order

2018-10-10 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changes : Sort 'max98373_limiter_thresh_tlv' in reverse order. Fixed wrong use case of 'TLV_DB_SCALE_ITEM' - TLV_DB_SCALE_ITEM(min, step, mute) Max value was set in min field and negative value was set in step field

[PATCH 1/4] ASoC: max98373: Sort Digital Volume in reverse order

2018-10-10 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changes : Sort 'max98373_digital_tlv' in reverse order. Fixed wrong use case of 'TLV_DB_SCALE_ITEM' - TLV_DB_SCALE_ITEM(min, step, mute) Max value was set in min field and negative value was set in step field before

[v2] ASoC: max98373: Added 10ms sleep after amp software reset

2018-08-23 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changes since v1 : Applied usleep_range intead of using mdelay Changes : Applied 10ms delay after amp software reset. 10ms guard time is required for stability. sound/soc/codecs/max98373.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc

RE: [PATCH] ASoC: max98373: Added 10ms delay after amp software reset

2018-08-23 Thread Ryan Lee
>-Original Message- >From: Dmitry Torokhov >Sent: Thursday, August 23, 2018 5:08 PM >To: Mark Brown >Cc: Ryan Lee ; Liam Girdwood >; Jaroslav Kysela ; Takashi Iwai >; Kuninori Morimoto ; >alsa-de...@alsa-project.org; lkml ; >ryan.lee.ma...@gmail.com >Subje

[PATCH] ASoC: max98373: Added 10ms delay after amp software reset

2018-08-22 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changes : Applied 10ms delay after amp software reset. 10ms guard time is required for stability. sound/soc/codecs/max98373.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/codecs/max98373.c b/sound/soc/codecs/max98373.c index 2764fae

[PATCH] ASoC: max98373: Added speaker FS gain cotnrol register to volatile.

2018-08-15 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changes : Added Speaker FS gain maximum control(0x203E) register to volatile. sound/soc/codecs/max98373.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/codecs/max98373.c b/sound/soc/codecs/max98373.c index 92b7125..2764fae 100644 --- a/sound/soc

[PATCH] ASoC: max98373: Added software reset register to readable registers

2018-08-07 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changes : Added 'MAX98373_R2000_SW_RESET' register to 'max98373_readable_register' Software reset didn't work properly after suspend/resume. sound/soc/codecs/max98373.c | 1 + 1 file changed, 1 insertion(+) diff --git a/soun

[PATCH] ASoC: max98373 Changed SPDX header in C++ comments style

2018-01-18 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Chagelog: Changed SPDX header in C comment-style to C++ comment style sound/soc/codecs/max98373.c | 4 ++-- sound/soc/codecs/max98373.h | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/sound/soc/codecs/max98373.c b/sound/soc/codecs

RE: [PATCH 1/4] ASoC: max98373: Changed SPDX header in C++ comments style

2018-01-18 Thread Ryan Lee
>-Original Message- >From: Mark Brown [mailto:broo...@kernel.org] >Sent: Wednesday, January 10, 2018 2:30 AM >To: Takashi Iwai >Cc: Ryan Lee ; alsa-de...@alsa-project.org; >lgirdw...@gmail.com; ryan.lee.ma...@gmail.com; pe...@perex.cz; linux- >ker...@vger.kernel.org &

[PATCH 2/4] ASoC: max98373: Added missing blank lines

2018-01-09 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changelog: Added missing blank line into two places. sound/soc/codecs/max98373.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/codecs/max98373.c b/sound/soc/codecs/max98373.c index e040b03..77b86c4 100644 --- a/sound/soc/codecs/max98373.c

[PATCH 1/4] ASoC: max98373: Changed SPDX header in C++ comments style

2018-01-09 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changelog: Changed SPDX header in C comment-style to C++ comment-style sound/soc/codecs/max98373.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/max98373.c b/sound/soc/codecs/max98373.c index 9af0d98..e040b03 100644

[PATCH 3/4] ASoC: max98373: Added TDM off if parameters are all zeroes

2018-01-09 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changelog: Added tdm_mode off condition when all input parameters are zero sound/soc/codecs/max98373.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sound/soc/codecs/max98373.c b/sound/soc/codecs/max98373.c index 77b86c4..c5ff30f

[PATCH 4/4] ASoC: max98373: Modified control names for TLV controls

2018-01-09 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changelog: Added suffix - 'Volume' to all TLV controls. sound/soc/codecs/max98373.c | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/sound/soc/codecs/max98373.c b/sound/soc/codecs/max983

RE: [V3 2/2] ASoC: max98373: Added Amplifier Driver

2018-01-05 Thread Ryan Lee
>-Original Message- >From: Mark Brown [mailto:broo...@kernel.org] >Sent: Thursday, January 4, 2018 9:14 AM >To: Ryan Lee >Cc: lgirdw...@gmail.com; pe...@perex.cz; ti...@suse.com; a...@arndb.de; >a...@ti.com; robert.jarz...@free.fr; supercraig0...@gmail.com; >jbru...@

[V3 2/2] ASoC: max98373: Added Amplifier Driver

2018-01-03 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changes since v2: * Splitted dt bindings to the separated patch * Changed 'interelave-mode' device property from u32 to boolean Changes since v1: * Removed 'codec' from 'max98373_priv' structure

[V3 1/2] dt-bindings: Added device tree binding for max98373 amplifier

2018-01-03 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changes since v2: * Splitted dt bindings to the separated patch * Changed 'interelave-mode' device property from u32 to boolean .../devicetree/bindings/sound/max98373.txt | 40 ++ 1 file changed, 40 insertions(

RE: [v2] ASoC: max98373: Added Amplifier Driver

2018-01-03 Thread Ryan Lee
>-Original Message- >From: Rob Herring [mailto:r...@kernel.org] >Sent: Tuesday, December 26, 2017 3:33 PM >To: Ryan Lee >Cc: lgirdw...@gmail.com; broo...@kernel.org; mark.rutl...@arm.com; >pe...@perex.cz; ti...@suse.com; a...@arndb.de; a...@ti.com; >robert.jarz...

[v2] ASoC: max98373: Added Amplifier Driver

2017-12-25 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changes since v1: * Removed 'codec' from 'max98373_priv' structure : Now 'max98373_set_clock' function use 'dai->codec.dev' instead of using 'max98373->codec.dev'. * Removed &

RE: [PATCH] ASoC: max98373: Added Amplifier Driver

2017-12-25 Thread Ryan Lee
Hi Philppe Ombredanne, >-Original Message- >From: Philippe Ombredanne [mailto:pombreda...@nexb.com] >Sent: Friday, December 22, 2017 12:39 AM >To: Ryan Lee >Cc: Liam Girdwood ; Mark ; >Rob Herring ; Mark Rutland ; >Jaroslav Kysela ; Takashi Iwai ; Arnd &g

RE: [PATCH] ASoC: max98373: Added Amplifier Driver

2017-12-25 Thread Ryan Lee
Hi Kuninori Miromoto, >-Original Message- >From: Kuninori Morimoto [mailto:kuninori.morimoto...@renesas.com] >Sent: Thursday, December 21, 2017 6:24 PM >To: Ryan Lee >Cc: lgirdw...@gmail.com; broo...@kernel.org; robh...@kernel.org; >mark.rutl...@arm.com; pe...@perex.cz;

[PATCH] ASoC: max98373: Added Amplifier Driver

2017-12-21 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Created max98373 amplifier driver. .../devicetree/bindings/sound/max98373.txt | 43 + sound/soc/codecs/Kconfig | 5 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/max98373.c

[PATCH 2/2] ASoC: max98927: Added max98927_dai_tdm_slot function

2017-09-14 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changelog: Added 'max98927_dai_tdm_slot' function to set proper slot configuration. Added variable 'tdm_mode' to avoid BCLK overwrite after 'max98927_dai_tdm_slot' configure BCLK value. :BCLK value is being set inside 'max98927_dai

[PATCH 2/2] ASoC: max98927: Added max98927_dai_tdm_slot function

2017-09-14 Thread Ryan Lee
Signed-off-by: Ryan Lee --- sound/soc/codecs/max98927.c | 120 ++-- sound/soc/codecs/max98927.h | 1 + 2 files changed, 105 insertions(+), 16 deletions(-) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c index 6f7b3ef..a1d3935

[PATCH 1/2] ASoC: max98927: Added support for DSP_A and DSP_B format

2017-09-14 Thread Ryan Lee
Signed-off-by: Ryan Lee --- sound/soc/codecs/max98927.c | 35 --- sound/soc/codecs/max98927.h | 6 -- 2 files changed, 24 insertions(+), 17 deletions(-) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c index d9dbbe7..6f7b3ef 100644

[PATCH 1/2] ASoC: max98927: Added support for DSP_A and DSP_B format

2017-09-14 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changelog: Modified copyright date Added support for DSP_A and DSP_B format. Added 'use_pdm' variable to distinguish configuration for pcm and pdm. Maxim's TDM_MODE1 is matched with DSP_A Maxim's TDM_MODE0 is matched with DSP_B sound/soc/co

RE: [PATCH 1/3] ASoC: max98927: Added support for DSP_A and DSP_B format

2017-09-14 Thread Ryan Lee
>-Original Message- >From: Mark Brown [mailto:broo...@kernel.org] >Sent: Thursday, September 14, 2017 11:50 AM >To: Ryan Lee >Cc: lgirdw...@gmail.com; pe...@perex.cz; ti...@suse.com; >kuninori.morimoto...@renesas.com; alsa-de...@alsa-project.org; linux- >k

[PATCH 3/3] ASoC: max98927: Removed obsolete variables

2017-09-11 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changelog: Removed obsolete variables that have never been referred from driver before. sound/soc/codecs/max98927.h | 4 1 file changed, 4 deletions(-) diff --git a/sound/soc/codecs/max98927.h b/sound/soc/codecs/max98927.h index 98b5f17..d215f60 100644 --- a

[PATCH 1/3] ASoC: max98927: Added support for DSP_A and DSP_B format

2017-09-11 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changelog: Added support for DSP_A and DSP_B format Added 'max98927_dai_tdm_slot' function to set proper slot configuration. Moved max98927->iface out of switch statement to avoid line duplication. Added variable 'tdm_mode' to avo

[PATCH 2/3] ASoC: max98927: Added controls for Envelope tracking

2017-09-11 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changelog: Added a control("EnvTrack Headroom") to set different headroom value for envelop tracking function. Added one more control for envelop tracking function enable/disable("EnvTrack Switch"). Removed writing process to register 0x0087 bec

RE: [PATCH 2/9] ASoC: max98927: Added controls for Envelope tracking

2017-09-01 Thread Ryan Lee
>-Original Message- >From: Mark Brown [mailto:broo...@kernel.org] >Sent: Thursday, August 31, 2017 4:44 AM >To: Ryan Lee >Cc: lgirdw...@gmail.com; pe...@perex.cz; ti...@suse.com; >kuninori.morimoto...@renesas.com; alsa-de...@alsa-project.org; linux- >ker...@vger.ke

RE: [PATCH 5/9] ASoC: max98927: Removed obsolete variables

2017-09-01 Thread Ryan Lee
>-Original Message- >From: Mark Brown [mailto:broo...@kernel.org] >Sent: Thursday, August 31, 2017 4:54 AM >To: Ryan Lee >Cc: lgirdw...@gmail.com; pe...@perex.cz; ti...@suse.com; >kuninori.morimoto...@renesas.com; alsa-de...@alsa-project.org; linux- >ker...@vger.ke

RE: [PATCH 1/9] ASoC: max98927: Added support for DSP_A and DSP_B format

2017-09-01 Thread Ryan Lee
>-Original Message- >From: Mark Brown [mailto:broo...@kernel.org] >Sent: Tuesday, August 29, 2017 12:00 PM >To: Ryan Lee >Cc: lgirdw...@gmail.com; pe...@perex.cz; ti...@suse.com; >kuninori.morimoto...@renesas.com; alsa-de...@alsa-project.org; linux- >ker...@vger.ke

[PATCH 1/3] ASoC: max98927: Added support for DSP_A and DSP_B format

2017-09-01 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changelog: Added support for DSP_A and DSP_B format Added 'max98927_dai_tdm_slot' function to configure for proper slot configuration. Moved max98927->iface out of switch statement to avoid line duplication. Added variable '

[PATCH 2/3] ASoC: max98927: Added controls for Envelope tracking

2017-09-01 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changelog: Added one control to set different headroom value for envelop tracking function. Added one more control to enable/disable envelop tracking function. Removed writing process to register 0x0087 because it is read only register. sound/soc

[PATCH 3/3] ASoC: max98927: Removed obsolete variables

2017-09-01 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changelog: Removed obsolete variables that have never been referred from driver before. sound/soc/codecs/max98927.h | 4 1 file changed, 4 deletions(-) diff --git a/sound/soc/codecs/max98927.h b/sound/soc/codecs/max98927.h index 98b5f17..d215f60 100644

RE: [PATCH 1/9] ASoC: max98927: Added TDM support

2017-08-28 Thread Ryan Lee
>Subject: Re: [PATCH 1/9] ASoC: max98927: Added TDM support > >On Fri, Aug 25, 2017 at 05:41:02PM -0700, Ryan Lee wrote: >> Signed-off-by: Ryan Lee <mailto:ryans@maximintegrated.com> > >This says it's adding support for TDM mode but... >

[PATCH 4/9] ASoC: max98927: Added missing \n to end of dev_err messages

2017-08-28 Thread Ryan Lee
Signed-off-by: Ryan Lee --- sound/soc/codecs/max98927.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c index c72a244..208d5ba 100644 --- a/sound/soc/codecs/max98927.c +++ b/sound/soc/codecs/max98927.c @@ -160,7

[PATCH 2/9] ASoC: max98927: Added controls for Envelope tracking

2017-08-28 Thread Ryan Lee
Signed-off-by: Ryan Lee --- sound/soc/codecs/max98927.c | 20 sound/soc/codecs/max98927.h | 4 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c index 951cc05..1dfcb7b 100644 --- a/sound/soc/codecs

[PATCH 5/9] ASoC: max98927: Removed obsolete variables

2017-08-28 Thread Ryan Lee
Signed-off-by: Ryan Lee --- sound/soc/codecs/max98927.h | 4 1 file changed, 4 deletions(-) mode change 100644 => 100755 sound/soc/codecs/max98927.h diff --git a/sound/soc/codecs/max98927.h b/sound/soc/codecs/max98927.h old mode 100644 new mode 100755 index 3069a09..30cc40a --- a/so

[PATCH 3/9] ASoC: max98927: Updated volatile register list

2017-08-28 Thread Ryan Lee
Signed-off-by: Ryan Lee --- sound/soc/codecs/max98927.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c index 1dfcb7b..c72a244 100644 --- a/sound/soc/codecs/max98927.c +++ b/sound/soc/codecs/max98927.c @@ -586,6 +586,13

[PATCH 8/9] ASoC: max98927: Modified DAPM widget and map to enable/disable VI sense path

2017-08-28 Thread Ryan Lee
Signed-off-by: Ryan Lee --- sound/soc/codecs/max98927.c | 28 +--- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c index 5517251..f944659 100644 --- a/sound/soc/codecs/max98927.c +++ b/sound/soc

[PATCH 9/9] ASoC: max98927: Changed device property read function

2017-08-28 Thread Ryan Lee
Signed-off-by: Ryan Lee --- sound/soc/codecs/max98927.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c index f944659..4867f78 100644 --- a/sound/soc/codecs/max98927.c +++ b/sound/soc/codecs/max98927.c

[PATCH 1/9] ASoC: max98927: Added support for DSP_A and DSP_B format

2017-08-28 Thread Ryan Lee
Signed-off-by: Ryan Lee --- sound/soc/codecs/max98927.c | 141 sound/soc/codecs/max98927.h | 6 +- 2 files changed, 120 insertions(+), 27 deletions(-) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c index b0380b5..951cc05

[PATCH 6/9] ASoC: max98927: Modified chip default register values

2017-08-28 Thread Ryan Lee
Signed-off-by: Ryan Lee --- sound/soc/codecs/max98927.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c index 208d5ba..3ab8220 100644 --- a/sound/soc/codecs/max98927.c +++ b/sound/soc/codecs/max98927.c

[PATCH 7/9] ASoC: max98927: Added PM suspend and resume function

2017-08-28 Thread Ryan Lee
Signed-off-by: Ryan Lee --- sound/soc/codecs/max98927.c | 27 ++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c index 3ab8220..5517251 100644 --- a/sound/soc/codecs/max98927.c +++ b/sound/soc/codecs

[PATCH 1/9] ASoC: max98927: Added TDM support

2017-08-25 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changes : Added code to support TDM mode sound/soc/codecs/max98927.c | 141 sound/soc/codecs/max98927.h | 6 +- 2 files changed, 120 insertions(+), 27 deletions(-) diff --git a/sound/soc/codecs/max98927.c b/sound/soc

[PATCH 5/9] ASoC: max98927: Removed obsolete variables

2017-08-25 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changes : Removed obsolete variables from max98927_priv sound/soc/codecs/max98927.h | 4 1 file changed, 4 deletions(-) mode change 100644 => 100755 sound/soc/codecs/max98927.h diff --git a/sound/soc/codecs/max98927.h b/sound/soc/codecs/max98927.h old m

[PATCH 6/9] ASoC: max98927: Modified chip default register values

2017-08-25 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changes : Updated chip default register values sound/soc/codecs/max98927.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c index 208d5ba..3ab8220 100644 --- a/sound/soc/codecs

[PATCH 3/9] ASoC: max98927: Updated volatile register list

2017-08-25 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changes : Added more reigsters into volatile register list sound/soc/codecs/max98927.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c index 1dfcb7b..c72a244 100644 --- a/sound/soc/codecs/max98927.c

[PATCH 9/9] ASoC: max98927: Changed device property read function

2017-08-25 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changes : Replaced 'of_property_read_u32' by 'device_property_read_u32' sound/soc/codecs/max98927.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c index f94

[PATCH 7/9] ASoC: max98927: Added PM suspend and resume function

2017-08-25 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changes : added PM suspend and resume function to keep register values from power down sound/soc/codecs/max98927.c | 27 ++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927

[PATCH 8/9] ASoC: max98927: Modified DAPM widget and map to enable/disable VI sense path

2017-08-25 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changes : Modified DAPM widget and audio map to enable/disable IV sensing path sound/soc/codecs/max98927.c | 28 +--- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c

[PATCH 2/9] ASoC: max98927: Added controls for Envelope tracking

2017-08-25 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changes : Added controls to support envelope tracking function sound/soc/codecs/max98927.c | 20 sound/soc/codecs/max98927.h | 4 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs

[PATCH 4/9] ASoC: max98927: Added missing \n to end of dev_err messages

2017-08-25 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changes : added missing \n to end of dev_err sound/soc/codecs/max98927.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c index c72a244..208d5ba 100644 --- a/sound/soc/codecs/max98927

[PATCH 2/7] staging: max98927: Added controls for Envelope tracking

2017-06-19 Thread Ryan Lee
Signed-off-by: Ryan Lee --- sound/soc/codecs/max98927.c | 20 sound/soc/codecs/max98927.h | 4 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c index 99d6e41..cdee3a3 100644 --- a/sound/soc/codecs

[PATCH 4/7] staging: max98927: Added missing \n to end of dev_err messages

2017-06-19 Thread Ryan Lee
Signed-off-by: Ryan Lee --- sound/soc/codecs/max98927.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c index 585b8d0..5e33956 100644 --- a/sound/soc/codecs/max98927.c +++ b/sound/soc/codecs/max98927.c @@ -160,7

[PATCH 6/7] staging: max98927: Modified chip default register values

2017-06-19 Thread Ryan Lee
Signed-off-by: Ryan Lee --- sound/soc/codecs/max98927.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c index 5e33956..36be29c 100644 --- a/sound/soc/codecs/max98927.c +++ b/sound/soc/codecs/max98927.c

[PATCH 3/7] staging: max98927: Updated volatile register list

2017-06-19 Thread Ryan Lee
Signed-off-by: Ryan Lee --- sound/soc/codecs/max98927.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c index cdee3a3..585b8d0 100644 --- a/sound/soc/codecs/max98927.c +++ b/sound/soc/codecs/max98927.c @@ -586,6 +586,13

[PATCH 7/7] staging: max98927: Added PM suspend and resume function

2017-06-19 Thread Ryan Lee
Signed-off-by: Ryan Lee --- sound/soc/codecs/max98927.c | 27 ++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c index 36be29c..b744578 100644 --- a/sound/soc/codecs/max98927.c +++ b/sound/soc/codecs

[PATCH 1/7] staging: max98927: Added TDM support

2017-06-19 Thread Ryan Lee
Signed-off-by: Ryan Lee --- sound/soc/codecs/max98927.c | 141 sound/soc/codecs/max98927.h | 6 +- 2 files changed, 120 insertions(+), 27 deletions(-) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c index b5ee294..99d6e41

[PATCH 5/7] staging: max98927: Removed an obsolete variable

2017-06-19 Thread Ryan Lee
Signed-off-by: Ryan Lee --- sound/soc/codecs/max98927.h | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/codecs/max98927.h b/sound/soc/codecs/max98927.h index 3069a09..3551e7d 100644 --- a/sound/soc/codecs/max98927.h +++ b/sound/soc/codecs/max98927.h @@ -263,7 +263,6 @@ struct

Re: [PATCH] ASoC: max98927: Adding support for TDM mode and Envelop tracking control

2017-05-18 Thread Ryan Lee
On Sun, May 14, 2017 at 3:11 AM, Mark Brown wrote: > On Fri, May 05, 2017 at 10:42:15AM -0700, Ryan Lee wrote: >> Signed-off-by: Ryan Lee >> --- > > The subject line suggests that this is adding two new features. Unless > they are very closely related in the code the

[PATCH 4/5] staging: max98927: Added missing \n to end of dev_err messages

2017-05-18 Thread Ryan Lee
Signed-off-by: Ryan Lee --- sound/soc/codecs/max98927.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c index e787a03..9b864e2 100644 --- a/sound/soc/codecs/max98927.c +++ b/sound/soc/codecs/max98927.c @@ -160,7

[PATCH 5/5] staging: max98927: Removed an obsolete variable

2017-05-18 Thread Ryan Lee
Signed-off-by: Ryan Lee --- sound/soc/codecs/max98927.h | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/codecs/max98927.h b/sound/soc/codecs/max98927.h index 3069a09..3551e7d 100644 --- a/sound/soc/codecs/max98927.h +++ b/sound/soc/codecs/max98927.h @@ -263,7 +263,6 @@ struct

[PATCH 2/5] staging: max98927: Added controls for Envelope tracking

2017-05-18 Thread Ryan Lee
Signed-off-by: Ryan Lee --- sound/soc/codecs/max98927.c | 20 sound/soc/codecs/max98927.h | 4 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c index 99d6e41..cdee3a3 100644 --- a/sound/soc/codecs

[PATCH 3/5] staging: max98927: Updated volatile register list

2017-05-18 Thread Ryan Lee
Signed-off-by: Ryan Lee --- sound/soc/codecs/max98927.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c index cdee3a3..e787a03 100644 --- a/sound/soc/codecs/max98927.c +++ b/sound/soc/codecs/max98927.c @@ -586,6 +586,12

[PATCH 1/5] staging: max98927: Added TDM support

2017-05-18 Thread Ryan Lee
Signed-off-by: Ryan Lee --- sound/soc/codecs/max98927.c | 141 sound/soc/codecs/max98927.h | 6 +- 2 files changed, 120 insertions(+), 27 deletions(-) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c index b5ee294..99d6e41

[PATCH] ASoC: max98927: Adding support for TDM mode and Envelop tracking control

2017-05-05 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changes * Added code to support TDM mode. * Added "EnvTrack Switch" and "EnvTrack Headroom" controls. * Added six more registers into volatile register list. * Added missing \n to end of dev_err messages. * Removed an ob

Re: Applied "ASoC: Add support for Maxim Integrated MAX98927 Amplifier" to the asoc tree

2017-04-25 Thread Ryan Lee
On Tue, Apr 25, 2017 at 9:51 AM, Ryan Lee wrote: > ' > > On Thu, Apr 6, 2017 at 11:55 AM, Mark Brown wrote: >> The patch >> >>ASoC: Add support for Maxim Integrated MAX98927 Amplifier >> >> has been applied to the asoc tree at >> >>

Re: Applied "ASoC: Add support for Maxim Integrated MAX98927 Amplifier" to the asoc tree

2017-04-25 Thread Ryan Lee
/git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git' but have failed. So I wanted to check the current status of MAX98927 driver. I'm sorry for top-posting. > > From 7c0c2000716e64151b3c0c62026c18f31537ebe9 Mon Sep 17 00:00:00 2001 > From: Ryan Lee > Date: Tue, 4 Apr 2

Re: Applied "ASoC: Add support for Maxim Integrated MAX98927 Amplifier" to the asoc tree

2017-04-25 Thread Ryan Lee
the CCs when replying > to this mail. > > Thanks, > Mark > > From 7c0c2000716e64151b3c0c62026c18f31537ebe9 Mon Sep 17 00:00:00 2001 > From: Ryan Lee > Date: Tue, 4 Apr 2017 02:23:08 +0900 > Subject: [PATCH] ASoC: Add support for Maxim Integrated MAX98927 Amplifier > > Signed-off-by: Ryan

Re: Applied "ASoC: Add support for Maxim Integrated MAX98927 Amplifier" to the asoc tree

2017-04-07 Thread Ryan Lee
. > > Thanks, > Mark > > From 7c0c2000716e64151b3c0c62026c18f31537ebe9 Mon Sep 17 00:00:00 2001 > From: Ryan Lee > Date: Tue, 4 Apr 2017 02:23:08 +0900 > Subject: [PATCH] ASoC: Add support for Maxim Integrated MAX98927 Amplifier > > Signed-off-by: Ryan Lee > Signe

Re: [PATCH v4] ASoC: Add support for Maxim Integrated MAX98927 Amplifier

2017-04-03 Thread Ryan Lee
On Mon, Apr 3, 2017 at 9:30 AM, Rob Herring wrote: > On Fri, Mar 31, 2017 at 10:16:34AM +0900, Ryan Lee wrote: >> Signed-off-by: Ryan Lee >> --- >> >> Changes since v4: >> * Removed support for SND_SOC_DAIFMT_CBS_CFM. >> * Fixed coding

[PATCH v5] ASoC: Add support for Maxim Integrated MAX98927 Amplifier

2017-04-03 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changes since v5 * Changed mode to 644. Changes since v4: * Removed support for SND_SOC_DAIFMT_CBS_CFM. * Fixed coding style for indention. * Removed variables if it has only one user. * Assigned ch_size directly

Re: [PATCH v3] ASoC: Add support for Maxim Integrated MAX98927 Amplifier

2017-03-30 Thread Ryan Lee
On Wed, Mar 29, 2017 at 7:23 AM, Mark Brown wrote: > On Wed, Mar 29, 2017 at 09:53:48AM +0900, Ryan Lee wrote: > >> + case SND_SOC_DAIFMT_CBS_CFM: >> + mode = MAX98927_PCM_MASTER_MODE_HYBRID; >> + default: >> + dev_err(codec->

[PATCH v4] ASoC: Add support for Maxim Integrated MAX98927 Amplifier

2017-03-30 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changes since v4: * Removed support for SND_SOC_DAIFMT_CBS_CFM. * Fixed coding style for indention. * Removed variables if it has only one user. * Assigned ch_size directly. * Removed oring. * Put the return false in the

[PATCH v3] ASoC: Add support for Maxim Integrated MAX98927 Amplifier

2017-03-28 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changes since v3: * Combined MAX98926 and MAX98927 binding. Kept existing property name. Changes since v2: * Removed local register read/write function to avoid duplication of ASoC core function. .../devicetree/bindings/sound/max98925.txt

Re: [PATCH v3] ASoC: Add support for Maxim Integrated MAX98927 Amplifier

2017-03-28 Thread Ryan Lee
On Tue, Mar 28, 2017 at 9:39 AM, Mark Brown wrote: > On Wed, Mar 29, 2017 at 12:32:28AM +0900, Ryan Lee wrote: >> Signed-off-by: Ryan Lee > > Please stop sending patches in the middle of existing threads, it makes > it hard to see new versions and for multi-patch serieses make

[PATCH v3] ASoC: Add support for Maxim Integrated MAX98927 Amplifier

2017-03-28 Thread Ryan Lee
Signed-off-by: Ryan Lee --- v2: Removed local register read/write function to avoid duplication of ASoC core function. v3: Combined MAX98926 and MAX98927 binding. Kept existing property name. .../devicetree/bindings/sound/max98925.txt | 22 - .../devicetree/bindings/sound/max98926.txt

[PATCH v2] ASoC: Add support for Maxim Integrated MAX98927 Amplifier

2017-03-26 Thread Ryan Lee
Signed-off-by: Ryan Lee --- v2: Removed local register read/write function to avoid duplication of ASoC core function. .../devicetree/bindings/sound/max98927.txt | 39 + sound/soc/codecs/Kconfig | 5 + sound/soc/codecs/Makefile | 2

[PATCH] ASoC: Add support for Maxim Integrated MAX98927 Amplifier

2017-03-19 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Resubmit the intial version of MAX98927 driver. Added all fixes into the initial patch. .../devicetree/bindings/sound/max98927.txt | 39 + sound/soc/codecs/Kconfig |5 + sound/soc/codecs/Makefile

[PATCH 05/10] Replaced pr_err by dev_err. Modified debug message

2017-03-03 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Replaced 'pr_err' by 'dev_err'. Modified error message. sound/soc/codecs/max98927.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c index efc761b..

[PATCH 06/10] Added mask variable to apply it in one round after the switch

2017-03-03 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Added the mask variable to apply in one round after the switch. sound/soc/codecs/max98927.c | 64 ++--- 1 file changed, 31 insertions(+), 33 deletions(-) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c

[PATCH 07/10] Modified initialization code of VI sensing

2017-03-03 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Initialization code of TX(VI sensing) had a problem for interleave mode configuration. Additional configuration for volume, DC blocker, Voltage/Current limit and ADC have been added. sound/soc/codecs/max98927.c | 195 +--- 1

[PATCH 04/10] Modified indentation

2017-03-03 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Modified indentation problem. sound/soc/codecs/max98927.c | 80 ++--- 1 file changed, 39 insertions(+), 41 deletions(-) diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c index 5627279c..efc761b 100755

[PATCH 00/10] ALSA SoC MAX98927 driver - revision

2017-03-03 Thread Ryan Lee
. This was major change of this release. Coding style problem like indentation also have been fixed. Ryan Lee (10): ALSA SoC MAX98927 driver - Initial release Updated max98927_reg table with physical defaults. Replaced max98927.h for better legibility Removed the secondary device

  1   2   >