[PATCH v1 1/1] ASoC: qcom: sc7180: fix 32 bit format for adau7002

2020-11-17 Thread xuyuqing
the microphone is attached to external codec(adau7002) instead of rt5682.We need to always use 32 bit format on sc7180 to meet the clock requirement of adau7002: The ADAU7002 requires a BCLK rate that is a minimum of 64× the LRCLK sample rate Signed-off-by: xuyuqing --- sound/soc/qcom/sc7180.c

[PATCH v1 0/1] Fix 32 bit format for adau7002

2020-11-17 Thread xuyuqing
the microphone is attached to external codec(adau7002) instead of rt5682.We need to always use 32 bit format on sc7180 to meet the clock requirement of adau7002: The ADAU7002 requires a BCLK rate that is a minimum of 64× the LRCLK sample rate xuyuqing (1): ASoC: qcom: sc7180: fix 32 bit format

[PATCH v2 2/2] ASoC: qcom: sc7180: Modify machine driver for sound card

2020-11-11 Thread xuyuqing
Bypass set jack because there is no jack on coachz. Create route for dmic. Signed-off-by: xuyuqing --- sound/soc/qcom/Kconfig | 1 + sound/soc/qcom/sc7180.c | 86 ++--- 2 files changed, 74 insertions(+), 13 deletions(-) diff --git a/sound/soc/qcom/Kconfig

[PATCH v2 0/2] Support SC7180 sound card variation without headset

2020-11-11 Thread xuyuqing
Use compatible string to let machine driver handle the case where ALC5682 headset codec is replaced with ADAU7002 dmic codec xuyuqing (2): ASoC: google: dt-bindings: add new compatible for sc7180-coachz ASoC: qcom: sc7180: Add machine driver for sound card .../bindings/sound/google,sc7180

[PATCH v2 1/2] ASoC: google: dt-bindings: add new compatible for sc7180-coachz

2020-11-11 Thread xuyuqing
Add devicetree bindings for coachz in documentation file Signed-off-by: xuyuqing --- .../devicetree/bindings/sound/google,sc7180-trogdor.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/sound/google,sc7180-trogdor.yaml b

[PATCH v1 0/2] Support SC7180 sound card variation without headset

2020-11-04 Thread xuyuqing
This series is based on patch [v5,2/2] ASoC: qcom: sc7180: Modify machine driver for 2mic Use compatible string to let machine driver handle the case where ALC5682 headset codec is replaced with ADAU7002 dmic codec xuyuqing (2): ASoC: google: dt-bindings: add new compatible for sc7180-coachz

[PATCH v1 1/2] ASoC: google: dt-bindings: add new compatible for sc7180-coachz

2020-11-04 Thread xuyuqing
Add devicetree bindings for coachz in documentation file Signed-off-by: xuyuqing --- .../devicetree/bindings/sound/google,sc7180-trogdor.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/sound/google,sc7180-trogdor.yaml b

[PATCH v1 2/2] ASoC: qcom: sc7180: Modify machine driver for adau7002

2020-11-04 Thread xuyuqing
Bypass set jack because there is no jack on coachz. Create route for dmic. Signed-off-by: xuyuqing --- sound/soc/qcom/Kconfig | 1 + sound/soc/qcom/sc7180.c | 119 2 files changed, 109 insertions(+), 11 deletions(-) diff --git a/sound/soc/qcom