* [PATCH 0/2] ASoC: codec: add DT support to dmic codec
@ 2017-07-25 8:48 Arnaud Pouliquen
2017-07-25 8:48 ` [PATCH 1/2] ASoC: Add bindings for DMIC codec driver Arnaud Pouliquen
[not found] ` <1500972494-10696-1-git-send-email-arnaud.pouliquen-qxv4g6HH51o@public.gmane.org>
0 siblings, 2 replies; 5+ messages in thread
From: Arnaud Pouliquen @ 2017-07-25 8:48 UTC (permalink / raw)
To: alsa-devel, devicetree
Cc: Mark Rutland, Rob Herring, Takashi Iwai, Arnaud Pouliquen,
lgirdwood, broonie
These patches add of_table description in dmic codec to support DT probing.
As this codec is a generic code to support simple digital microphone,
compatibility field is generic.
Arnaud Pouliquen (2):
ASoC: Add bindings for DMIC codec driver
ASoC: codec: add DT support in dmic codec
Documentation/devicetree/bindings/sound/dmic.txt | 12 ++++++++++++
sound/soc/codecs/dmic.c | 6 ++++++
2 files changed, 18 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/dmic.txt
--
2.7.4
^ permalink raw reply [flat|nested] 5+ messages in thread* [PATCH 1/2] ASoC: Add bindings for DMIC codec driver 2017-07-25 8:48 [PATCH 0/2] ASoC: codec: add DT support to dmic codec Arnaud Pouliquen @ 2017-07-25 8:48 ` Arnaud Pouliquen [not found] ` <1500972494-10696-2-git-send-email-arnaud.pouliquen-qxv4g6HH51o@public.gmane.org> [not found] ` <1500972494-10696-1-git-send-email-arnaud.pouliquen-qxv4g6HH51o@public.gmane.org> 1 sibling, 1 reply; 5+ messages in thread From: Arnaud Pouliquen @ 2017-07-25 8:48 UTC (permalink / raw) To: alsa-devel, devicetree Cc: Mark Rutland, Rob Herring, Takashi Iwai, Arnaud Pouliquen, lgirdwood, broonie This patch adds documentation of device tree bindings for audio DMIC codec. Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com> --- Documentation/devicetree/bindings/sound/dmic.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/dmic.txt diff --git a/Documentation/devicetree/bindings/sound/dmic.txt b/Documentation/devicetree/bindings/sound/dmic.txt new file mode 100644 index 0000000..a0c58f2 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/dmic.txt @@ -0,0 +1,12 @@ +Device-Tree bindings for Digital microphone (DMIC) codec + +This device support generic PDM digital microphone. + +Required properties: + - compatible: should be "dmic-codec". + +Example node: + + dmic_codec: dmic@0 { + compatible = "dmic-codec"; + }; -- 2.7.4 ^ permalink raw reply related [flat|nested] 5+ messages in thread
[parent not found: <1500972494-10696-2-git-send-email-arnaud.pouliquen-qxv4g6HH51o@public.gmane.org>]
* Applied "ASoC: Add bindings for DMIC codec driver" to the asoc tree [not found] ` <1500972494-10696-2-git-send-email-arnaud.pouliquen-qxv4g6HH51o@public.gmane.org> @ 2017-08-02 17:30 ` Mark Brown 0 siblings, 0 replies; 5+ messages in thread From: Mark Brown @ 2017-08-02 17:30 UTC (permalink / raw) To: Arnaud Pouliquen Cc: Mark Brown, alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw, devicetree-u79uwXL29TY76Z2rM5mHXA, Mark Rutland, Rob Herring, Takashi Iwai, lgirdwood-Re5JQEeQqe8AvxtiuMwx3w The patch ASoC: Add bindings for DMIC codec driver has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark >From 5863e57c22b0e201a88679cd534f95f4338e7769 Mon Sep 17 00:00:00 2001 From: Arnaud Pouliquen <arnaud.pouliquen-qxv4g6HH51o@public.gmane.org> Date: Tue, 25 Jul 2017 10:48:13 +0200 Subject: [PATCH] ASoC: Add bindings for DMIC codec driver This patch adds documentation of device tree bindings for audio DMIC codec. Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen-qxv4g6HH51o@public.gmane.org> Signed-off-by: Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> --- Documentation/devicetree/bindings/sound/dmic.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/dmic.txt diff --git a/Documentation/devicetree/bindings/sound/dmic.txt b/Documentation/devicetree/bindings/sound/dmic.txt new file mode 100644 index 000000000000..a0c58f2a162a --- /dev/null +++ b/Documentation/devicetree/bindings/sound/dmic.txt @@ -0,0 +1,12 @@ +Device-Tree bindings for Digital microphone (DMIC) codec + +This device support generic PDM digital microphone. + +Required properties: + - compatible: should be "dmic-codec". + +Example node: + + dmic_codec: dmic@0 { + compatible = "dmic-codec"; + }; -- 2.13.2 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 5+ messages in thread
[parent not found: <1500972494-10696-1-git-send-email-arnaud.pouliquen-qxv4g6HH51o@public.gmane.org>]
* [PATCH 2/2] ASoC: codec: add DT support in dmic codec [not found] ` <1500972494-10696-1-git-send-email-arnaud.pouliquen-qxv4g6HH51o@public.gmane.org> @ 2017-07-25 8:48 ` Arnaud Pouliquen [not found] ` <1500972494-10696-3-git-send-email-arnaud.pouliquen-qxv4g6HH51o@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: Arnaud Pouliquen @ 2017-07-25 8:48 UTC (permalink / raw) To: alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw, devicetree-u79uwXL29TY76Z2rM5mHXA Cc: broonie-DgEjT+Ai2ygdnm+yROfE0A, lgirdwood-Re5JQEeQqe8AvxtiuMwx3w, Jaroslav Kysela, Mark Rutland, Takashi Iwai, Rob Herring, Arnaud Pouliquen Add of_table to allows DT probing. Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen-qxv4g6HH51o@public.gmane.org> --- sound/soc/codecs/dmic.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sound/soc/codecs/dmic.c b/sound/soc/codecs/dmic.c index c82b9dc..d50f142 100644 --- a/sound/soc/codecs/dmic.c +++ b/sound/soc/codecs/dmic.c @@ -73,9 +73,15 @@ static int dmic_dev_remove(struct platform_device *pdev) MODULE_ALIAS("platform:dmic-codec"); +static const struct of_device_id dmic_dev_match[] = { + {.compatible = "dmic-codec"}, + {} +}; + static struct platform_driver dmic_driver = { .driver = { .name = "dmic-codec", + .of_match_table = dmic_dev_match, }, .probe = dmic_dev_probe, .remove = dmic_dev_remove, -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 5+ messages in thread
[parent not found: <1500972494-10696-3-git-send-email-arnaud.pouliquen-qxv4g6HH51o@public.gmane.org>]
* Applied "ASoC: codec: add DT support in dmic codec" to the asoc tree [not found] ` <1500972494-10696-3-git-send-email-arnaud.pouliquen-qxv4g6HH51o@public.gmane.org> @ 2017-08-02 17:30 ` Mark Brown 0 siblings, 0 replies; 5+ messages in thread From: Mark Brown @ 2017-08-02 17:30 UTC (permalink / raw) To: Arnaud Pouliquen Cc: Mark Brown, alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw, devicetree-u79uwXL29TY76Z2rM5mHXA, Mark Rutland, Rob Herring, Takashi Iwai, lgirdwood-Re5JQEeQqe8AvxtiuMwx3w The patch ASoC: codec: add DT support in dmic codec has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark >From 29685e207b37ad7f415e4bf21320076c025f3df1 Mon Sep 17 00:00:00 2001 From: Arnaud Pouliquen <arnaud.pouliquen-qxv4g6HH51o@public.gmane.org> Date: Tue, 25 Jul 2017 10:48:14 +0200 Subject: [PATCH] ASoC: codec: add DT support in dmic codec Add of_table to allows DT probing. Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen-qxv4g6HH51o@public.gmane.org> Signed-off-by: Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> --- sound/soc/codecs/dmic.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sound/soc/codecs/dmic.c b/sound/soc/codecs/dmic.c index c82b9dc41e9a..d50f142e2972 100644 --- a/sound/soc/codecs/dmic.c +++ b/sound/soc/codecs/dmic.c @@ -73,9 +73,15 @@ static int dmic_dev_remove(struct platform_device *pdev) MODULE_ALIAS("platform:dmic-codec"); +static const struct of_device_id dmic_dev_match[] = { + {.compatible = "dmic-codec"}, + {} +}; + static struct platform_driver dmic_driver = { .driver = { .name = "dmic-codec", + .of_match_table = dmic_dev_match, }, .probe = dmic_dev_probe, .remove = dmic_dev_remove, -- 2.13.2 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-08-02 17:30 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-25 8:48 [PATCH 0/2] ASoC: codec: add DT support to dmic codec Arnaud Pouliquen
2017-07-25 8:48 ` [PATCH 1/2] ASoC: Add bindings for DMIC codec driver Arnaud Pouliquen
[not found] ` <1500972494-10696-2-git-send-email-arnaud.pouliquen-qxv4g6HH51o@public.gmane.org>
2017-08-02 17:30 ` Applied "ASoC: Add bindings for DMIC codec driver" to the asoc tree Mark Brown
[not found] ` <1500972494-10696-1-git-send-email-arnaud.pouliquen-qxv4g6HH51o@public.gmane.org>
2017-07-25 8:48 ` [PATCH 2/2] ASoC: codec: add DT support in dmic codec Arnaud Pouliquen
[not found] ` <1500972494-10696-3-git-send-email-arnaud.pouliquen-qxv4g6HH51o@public.gmane.org>
2017-08-02 17:30 ` Applied "ASoC: codec: add DT support in dmic codec" to the asoc tree Mark Brown
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox