All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jiaxin Yu <jiaxin.yu@mediatek.com>
To: <broonie@kernel.org>, <matthias.bgg@gmail.com>,
	<robh+dt@kernel.org>, <tiwai@suse.com>,
	<linux-kernel@vger.kernel.org>
Cc: <alsa-devel@alsa-project.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-mediatek@lists.infradead.org>, <howie.huang@mediatek.com>,
	<tzungbi@google.com>, <eason.yen@mediatek.com>,
	<shane.chien@mediatek.com>, Jiaxin Yu <jiaxin.yu@mediatek.com>
Subject: [PATCH v2 0/2] Add mediatek codec mt6359 driver
Date: Mon, 10 Aug 2020 11:05:52 +0800	[thread overview]
Message-ID: <1597028754-7732-1-git-send-email-jiaxin.yu@mediatek.com> (raw)

Add mediatek codec (MT6359) driver

MT6359 support playback and capture feature.

On downlink path, it includes three DACs for handset, headset,
and lineout path. On unlink path, it includeds three ADCs for
main mic, second mic, 3rd mic, and headset mic.

By scenario, select *_MUX widget to create damp path.
And by select mic_type_mux to choose DMIC/AMIC/....

For example, select these MUX widget to create headset path
(1) DAC In Mux --> "Normal Path"
(2) HPL Mux --> "Audio Playback"
(3) HPR Mux --> "Audio Playback"

v2 changes:
	1. Move playback_gpio/capture_gpio to the machine driver.
	2. Fix mic_type(ACC/DMIC/DCC/DCC_*) at init stage.
	3. Move devm_regulor_get to mt6359_platform_driver_probe.
	4. Add relulator_disable in remove function.
	5. Use stereo controls to the volume control.
	6. Use SOC_ENUM_SINGLE_DECL instead of SOC_VALUE_ENUM_SINGLE_DECL.
	7. Cleanup unused code.

v1 changes:
	1.lkml link:
		https://lkml.org/lkml/2020/3/5/1257

Jiaxin Yu (2):
  ASoC: mediatek: mt6359: add codec driver
  dt-bindings: mediatek: mt6359: add codec document

 .../devicetree/bindings/sound/mt6359.yaml          |   68 +
 sound/soc/codecs/Kconfig                           |    8 +
 sound/soc/codecs/Makefile                          |    2 +
 sound/soc/codecs/mt6359.c                          | 2966 ++++++++++++++++++++
 sound/soc/codecs/mt6359.h                          | 2653 +++++++++++++++++
 5 files changed, 5697 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/mt6359.yaml
 create mode 100644 sound/soc/codecs/mt6359.c
 create mode 100644 sound/soc/codecs/mt6359.h

-- 
1.8.1.1.dirty

WARNING: multiple messages have this Message-ID (diff)
From: Jiaxin Yu <jiaxin.yu@mediatek.com>
To: <broonie@kernel.org>, <matthias.bgg@gmail.com>,
	<robh+dt@kernel.org>, <tiwai@suse.com>,
	<linux-kernel@vger.kernel.org>
Cc: alsa-devel@alsa-project.org, shane.chien@mediatek.com,
	howie.huang@mediatek.com, Jiaxin Yu <jiaxin.yu@mediatek.com>,
	tzungbi@google.com, linux-mediatek@lists.infradead.org,
	eason.yen@mediatek.com, linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 0/2] Add mediatek codec mt6359 driver
Date: Mon, 10 Aug 2020 11:05:52 +0800	[thread overview]
Message-ID: <1597028754-7732-1-git-send-email-jiaxin.yu@mediatek.com> (raw)

Add mediatek codec (MT6359) driver

MT6359 support playback and capture feature.

On downlink path, it includes three DACs for handset, headset,
and lineout path. On unlink path, it includeds three ADCs for
main mic, second mic, 3rd mic, and headset mic.

By scenario, select *_MUX widget to create damp path.
And by select mic_type_mux to choose DMIC/AMIC/....

For example, select these MUX widget to create headset path
(1) DAC In Mux --> "Normal Path"
(2) HPL Mux --> "Audio Playback"
(3) HPR Mux --> "Audio Playback"

v2 changes:
	1. Move playback_gpio/capture_gpio to the machine driver.
	2. Fix mic_type(ACC/DMIC/DCC/DCC_*) at init stage.
	3. Move devm_regulor_get to mt6359_platform_driver_probe.
	4. Add relulator_disable in remove function.
	5. Use stereo controls to the volume control.
	6. Use SOC_ENUM_SINGLE_DECL instead of SOC_VALUE_ENUM_SINGLE_DECL.
	7. Cleanup unused code.

v1 changes:
	1.lkml link:
		https://lkml.org/lkml/2020/3/5/1257

Jiaxin Yu (2):
  ASoC: mediatek: mt6359: add codec driver
  dt-bindings: mediatek: mt6359: add codec document

 .../devicetree/bindings/sound/mt6359.yaml          |   68 +
 sound/soc/codecs/Kconfig                           |    8 +
 sound/soc/codecs/Makefile                          |    2 +
 sound/soc/codecs/mt6359.c                          | 2966 ++++++++++++++++++++
 sound/soc/codecs/mt6359.h                          | 2653 +++++++++++++++++
 5 files changed, 5697 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/mt6359.yaml
 create mode 100644 sound/soc/codecs/mt6359.c
 create mode 100644 sound/soc/codecs/mt6359.h

-- 
1.8.1.1.dirty

WARNING: multiple messages have this Message-ID (diff)
From: Jiaxin Yu <jiaxin.yu@mediatek.com>
To: <broonie@kernel.org>, <matthias.bgg@gmail.com>,
	<robh+dt@kernel.org>, <tiwai@suse.com>,
	<linux-kernel@vger.kernel.org>
Cc: alsa-devel@alsa-project.org, shane.chien@mediatek.com,
	howie.huang@mediatek.com, Jiaxin Yu <jiaxin.yu@mediatek.com>,
	tzungbi@google.com, linux-mediatek@lists.infradead.org,
	eason.yen@mediatek.com, linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 0/2] Add mediatek codec mt6359 driver
Date: Mon, 10 Aug 2020 11:05:52 +0800	[thread overview]
Message-ID: <1597028754-7732-1-git-send-email-jiaxin.yu@mediatek.com> (raw)

Add mediatek codec (MT6359) driver

MT6359 support playback and capture feature.

On downlink path, it includes three DACs for handset, headset,
and lineout path. On unlink path, it includeds three ADCs for
main mic, second mic, 3rd mic, and headset mic.

By scenario, select *_MUX widget to create damp path.
And by select mic_type_mux to choose DMIC/AMIC/....

For example, select these MUX widget to create headset path
(1) DAC In Mux --> "Normal Path"
(2) HPL Mux --> "Audio Playback"
(3) HPR Mux --> "Audio Playback"

v2 changes:
	1. Move playback_gpio/capture_gpio to the machine driver.
	2. Fix mic_type(ACC/DMIC/DCC/DCC_*) at init stage.
	3. Move devm_regulor_get to mt6359_platform_driver_probe.
	4. Add relulator_disable in remove function.
	5. Use stereo controls to the volume control.
	6. Use SOC_ENUM_SINGLE_DECL instead of SOC_VALUE_ENUM_SINGLE_DECL.
	7. Cleanup unused code.

v1 changes:
	1.lkml link:
		https://lkml.org/lkml/2020/3/5/1257

Jiaxin Yu (2):
  ASoC: mediatek: mt6359: add codec driver
  dt-bindings: mediatek: mt6359: add codec document

 .../devicetree/bindings/sound/mt6359.yaml          |   68 +
 sound/soc/codecs/Kconfig                           |    8 +
 sound/soc/codecs/Makefile                          |    2 +
 sound/soc/codecs/mt6359.c                          | 2966 ++++++++++++++++++++
 sound/soc/codecs/mt6359.h                          | 2653 +++++++++++++++++
 5 files changed, 5697 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/mt6359.yaml
 create mode 100644 sound/soc/codecs/mt6359.c
 create mode 100644 sound/soc/codecs/mt6359.h

-- 
1.8.1.1.dirty
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

WARNING: multiple messages have this Message-ID (diff)
From: Jiaxin Yu <jiaxin.yu@mediatek.com>
To: <broonie@kernel.org>, <matthias.bgg@gmail.com>,
	<robh+dt@kernel.org>, <tiwai@suse.com>,
	<linux-kernel@vger.kernel.org>
Cc: alsa-devel@alsa-project.org, shane.chien@mediatek.com,
	howie.huang@mediatek.com, Jiaxin Yu <jiaxin.yu@mediatek.com>,
	tzungbi@google.com, linux-mediatek@lists.infradead.org,
	eason.yen@mediatek.com, linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 0/2] Add mediatek codec mt6359 driver
Date: Mon, 10 Aug 2020 11:05:52 +0800	[thread overview]
Message-ID: <1597028754-7732-1-git-send-email-jiaxin.yu@mediatek.com> (raw)

Add mediatek codec (MT6359) driver

MT6359 support playback and capture feature.

On downlink path, it includes three DACs for handset, headset,
and lineout path. On unlink path, it includeds three ADCs for
main mic, second mic, 3rd mic, and headset mic.

By scenario, select *_MUX widget to create damp path.
And by select mic_type_mux to choose DMIC/AMIC/....

For example, select these MUX widget to create headset path
(1) DAC In Mux --> "Normal Path"
(2) HPL Mux --> "Audio Playback"
(3) HPR Mux --> "Audio Playback"

v2 changes:
	1. Move playback_gpio/capture_gpio to the machine driver.
	2. Fix mic_type(ACC/DMIC/DCC/DCC_*) at init stage.
	3. Move devm_regulor_get to mt6359_platform_driver_probe.
	4. Add relulator_disable in remove function.
	5. Use stereo controls to the volume control.
	6. Use SOC_ENUM_SINGLE_DECL instead of SOC_VALUE_ENUM_SINGLE_DECL.
	7. Cleanup unused code.

v1 changes:
	1.lkml link:
		https://lkml.org/lkml/2020/3/5/1257

Jiaxin Yu (2):
  ASoC: mediatek: mt6359: add codec driver
  dt-bindings: mediatek: mt6359: add codec document

 .../devicetree/bindings/sound/mt6359.yaml          |   68 +
 sound/soc/codecs/Kconfig                           |    8 +
 sound/soc/codecs/Makefile                          |    2 +
 sound/soc/codecs/mt6359.c                          | 2966 ++++++++++++++++++++
 sound/soc/codecs/mt6359.h                          | 2653 +++++++++++++++++
 5 files changed, 5697 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/mt6359.yaml
 create mode 100644 sound/soc/codecs/mt6359.c
 create mode 100644 sound/soc/codecs/mt6359.h

-- 
1.8.1.1.dirty
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

             reply	other threads:[~2020-08-10  3:17 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-10  3:05 Jiaxin Yu [this message]
2020-08-10  3:05 ` [PATCH v2 0/2] Add mediatek codec mt6359 driver Jiaxin Yu
2020-08-10  3:05 ` Jiaxin Yu
2020-08-10  3:05 ` Jiaxin Yu
2020-08-10  3:05 ` [PATCH v2 1/2] ASoC: mediatek: mt6359: add codec driver Jiaxin Yu
2020-08-10  3:05   ` Jiaxin Yu
2020-08-10  3:05   ` Jiaxin Yu
2020-08-10  8:13   ` Tzung-Bi Shih
2020-08-10  8:13     ` Tzung-Bi Shih
2020-08-10  8:13     ` Tzung-Bi Shih
2020-08-10  8:13     ` Tzung-Bi Shih
2020-08-10 18:59   ` Mark Brown
2020-08-10 18:59     ` Mark Brown
2020-08-10 18:59     ` Mark Brown
2020-08-10 18:59     ` Mark Brown
2020-08-12  7:29     ` Jiaxin Yu
2020-08-12  7:29       ` Jiaxin Yu
2020-08-12  7:29       ` Jiaxin Yu
2020-08-12  7:29       ` Jiaxin Yu
2020-08-12 12:05       ` Mark Brown
2020-08-12 12:05         ` Mark Brown
2020-08-12 12:05         ` Mark Brown
2020-08-12 12:05         ` Mark Brown
2020-08-13 15:40         ` Jiaxin Yu
2020-08-13 15:40           ` Jiaxin Yu
2020-08-13 15:40           ` Jiaxin Yu
2020-08-13 15:40           ` Jiaxin Yu
2020-08-13 15:44           ` Mark Brown
2020-08-13 15:44             ` Mark Brown
2020-08-13 15:44             ` Mark Brown
2020-08-13 15:44             ` Mark Brown
2020-08-14 10:27             ` Jiaxin Yu
2020-08-14 10:27               ` Jiaxin Yu
2020-08-14 10:27               ` Jiaxin Yu
2020-08-14 10:27               ` Jiaxin Yu
2020-08-10  3:05 ` [PATCH v2 2/2] dt-bindings: mediatek: mt6359: add codec document Jiaxin Yu
2020-08-10  3:05   ` Jiaxin Yu
2020-08-10  3:05   ` Jiaxin Yu
2020-08-10  3:05   ` Jiaxin Yu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1597028754-7732-1-git-send-email-jiaxin.yu@mediatek.com \
    --to=jiaxin.yu@mediatek.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=eason.yen@mediatek.com \
    --cc=howie.huang@mediatek.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=matthias.bgg@gmail.com \
    --cc=robh+dt@kernel.org \
    --cc=shane.chien@mediatek.com \
    --cc=tiwai@suse.com \
    --cc=tzungbi@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.