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,
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 ++
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
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
>-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>
>-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;
>-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..
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
>-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
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
>-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
>
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
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
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
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
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
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
>-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
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
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
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
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
>-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
&
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
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
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
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
>-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...@
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
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(
>-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...
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 &
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
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;
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
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
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
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
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
>-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
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
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
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
>-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
>-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
>-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
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 '
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
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
>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...
>
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
>>
>>
/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
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
.
>
> 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
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
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
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->
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
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
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
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
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
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
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..
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
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
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
.
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 - 100 of 108 matches
Mail list logo