[RFC] ASoC: Add compatible for mt6359-sound device

2020-11-30 Thread Shane Chien
From: "Shane.Chien" In the change "[v2,1/2] Add mediatek codec mt6359 driver", The compatible of mt6359-sound device is removed due to it is regarded as a part of parent device, which is only reflecting Linux model instead of hardware. However, if the device is not given a comaptible, of_node of

[PATCH] ASoC: Remove mt6359_platform_driver_remove

2020-11-10 Thread Shane Chien
From: "Shane.Chien" remove mt6359_platform_driver_remove due to it is useless. Signed-off-by: Shane.Chien --- sound/soc/codecs/mt6359.c | 12 1 file changed, 12 deletions(-) diff --git a/sound/soc/codecs/mt6359.c b/sound/soc/codecs/mt6359.c index ecdfd57..d37dbd2 100644 --- a/s

[PATCH v3 0/2] Fix vaud18 power leakage of mt6359

2020-11-09 Thread Shane Chien
From: "Shane.Chien" This series of patches is to fix vaud18 power leakage problem. vaud18 will be enable only when mt6359 audio path is turned on. Change since v2: - fix dt-binnding syntex error Change since v1: - use dapm regulator supply widget for vaud18 control. - add vaud18 regulator pr

[PATCH v3 1/2] ASoC: Fix vaud18 power leakage of mt6359

2020-11-09 Thread Shane Chien
From: "Shane.Chien" vaud18 is power of mt6359 audio path. It should only enable when audio is used, instead of in boot up stage. Once mt6359 audio path is enabled or disabled, vaud18 is controlled by regulator supply widget "LDO_VAUD18". Due to vaud18 is controlled by regulator dapm macro instead

[PATCH v3 2/2] dt-bindings: mediatek: mt6359: Add new property for mt6359

2020-11-09 Thread Shane Chien
From: "Shane.Chien" This patch add "LDO_VAUD18-supply" property to control vaud18 regulator. It is labeled as required due to mt6359 audio path always need to enable vaud18. Signed-off-by: Shane.Chien --- .../devicetree/bindings/sound/mt6359.yaml |9 + 1 file changed, 9 in

[PATCH v2 0/2] Fix vaud18 power leakage of mt6359

2020-11-09 Thread Shane Chien
From: "Shane.Chien" This series of patches is to fix vaud18 power leakage problem. vaud18 will be enable only when mt6359 audio path is turned on. Change since v1: - use dapm regulator supply widget for vaud18 control. - add vaud18 regulator property in mt6359 dt-binding. Shane.Chien (2): A

[PATCH v2 2/2] dt-bindings: mediatek: mt6359: Add new property for mt6359

2020-11-09 Thread Shane Chien
From: "Shane.Chien" This patch add "LDO_VAUD18-supply" property to control vaud18 regulator. It is labeled as required due to mt6359 audio path always need to enable vaud18. Signed-off-by: Shane.Chien --- .../devicetree/bindings/sound/mt6359.yaml |9 + 1 file changed, 9 in

[PATCH v2 1/2] ASoC: Fix vaud18 power leakage of mt6359

2020-11-09 Thread Shane Chien
From: "Shane.Chien" vaud18 is power of mt6359 audio path. It should only enable when audio is used, instead of in boot up stage. Once mt6359 audio path is enabled or disabled, vaud18 is controlled by regulator supply widget "LDO_VAUD18". Due to vaud18 is controlled by regulator dapm macro instead

[PATCH] ASoC: Fix vaud18 power leakage of mt6359

2020-11-05 Thread Shane Chien
From: "Shane.Chien" vaud18 is power of mt6359 audio path. It should only enable when audio is used, instead of in boot up stage. Once mt6359 audio path is enabled or disabled, vaud18 is controlled by using regulator in supply widget "LDO_VAUD18". Due to vaud18 is controlled by regulator instead o

[PATCH] ASoC: Use memset_io to access I/O memory

2020-09-18 Thread Shane Chien
From: "Shane.Chien" Use memset_io to access I/O memory, instead of memset. Signed-off-by: Shane.Chien --- sound/core/pcm_native.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/core/pcm_native.c b/sound/core/pcm_native.c index 9e0b2d7..a4efa84 100644 --- a/sound/c

[PATCH 0/1] Use memset_io to access I/O memory

2020-09-18 Thread Shane Chien
From: "Shane.Chien" Use memset_io to access I/O memory, instead of memset. Shane.Chien (1): ASoC: Use memset_io to access I/O memory sound/core/pcm_native.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.7.9.5