Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Mack <daniel@zonque.org>
To: broonie@kernel.org
Cc: Daniel Mack <daniel@zonque.org>,
	alsa-devel@alsa-project.org, robert.jarzmik@free.fr,
	lgirdwood@gmail.com, haojian.zhuang@gmail.com
Subject: [PATCH 6/7] ASoC: pxa: remove bindings from pxa2xx-pcm
Date: Wed, 27 Jun 2018 21:33:58 +0200	[thread overview]
Message-ID: <20180627193359.26631-7-daniel@zonque.org> (raw)
In-Reply-To: <20180627193359.26631-1-daniel@zonque.org>

This platform is no longer needed on DT boards, so let's remove them to
avoid confusion. DT bindings should use the CPU DAIs (I2S/SSP/AC97)
directly.

Signed-off-by: Daniel Mack <daniel@zonque.org>
---
 .../devicetree/bindings/sound/mrvl,pxa2xx-pcm.txt | 15 ---------------
 sound/soc/pxa/pxa2xx-pcm.c                        |  9 ---------
 2 files changed, 24 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/sound/mrvl,pxa2xx-pcm.txt

diff --git a/Documentation/devicetree/bindings/sound/mrvl,pxa2xx-pcm.txt b/Documentation/devicetree/bindings/sound/mrvl,pxa2xx-pcm.txt
deleted file mode 100644
index 551fbb8348c2..000000000000
--- a/Documentation/devicetree/bindings/sound/mrvl,pxa2xx-pcm.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-DT bindings for ARM PXA2xx PCM platform driver
-
-This is just a dummy driver that registers the PXA ASoC platform driver.
-It does not have any resources assigned.
-
-Required properties:
-
-	- compatible		'mrvl,pxa-pcm-audio'
-
-Example:
-
-	pxa_pcm_audio: snd_soc_pxa_audio {
-		compatible = "mrvl,pxa-pcm-audio";
-	};
-
diff --git a/sound/soc/pxa/pxa2xx-pcm.c b/sound/soc/pxa/pxa2xx-pcm.c
index a1df4ec76cbd..72eaaef1b426 100644
--- a/sound/soc/pxa/pxa2xx-pcm.c
+++ b/sound/soc/pxa/pxa2xx-pcm.c
@@ -32,18 +32,9 @@ static int pxa2xx_soc_platform_probe(struct platform_device *pdev)
 					       NULL, 0);
 }
 
-#ifdef CONFIG_OF
-static const struct of_device_id snd_soc_pxa_audio_match[] = {
-	{ .compatible   = "mrvl,pxa-pcm-audio" },
-	{ }
-};
-MODULE_DEVICE_TABLE(of, snd_soc_pxa_audio_match);
-#endif
-
 static struct platform_driver pxa_pcm_driver = {
 	.driver = {
 		.name = "pxa-pcm-audio",
-		.of_match_table = of_match_ptr(snd_soc_pxa_audio_match),
 	},
 
 	.probe = pxa2xx_soc_platform_probe,
-- 
2.17.1

  parent reply	other threads:[~2018-06-27 19:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-27 19:33 [PATCH 0/7] ASoC: pxa: code refactoring Daniel Mack
2018-06-27 19:33 ` [PATCH 1/7] ASoC: fold pxa2xx-pcm into its only user, pxa2xx-ac97 Daniel Mack
2018-06-29 11:07   ` Applied "ASoC: fold pxa2xx-pcm into its only user, pxa2xx-ac97" to the asoc tree Mark Brown
2018-06-27 19:33 ` [PATCH 2/7] ASoC: pxa: clean up function names in pxa2xx-lib Daniel Mack
2018-06-29 11:07   ` Applied "ASoC: pxa: clean up function names in pxa2xx-lib" to the asoc tree Mark Brown
2018-06-27 19:33 ` [PATCH 3/7] ASoC: pxa: move some functions to pxa2xx-lib Daniel Mack
2018-06-29 11:07   ` Applied "ASoC: pxa: move some functions to pxa2xx-lib" to the asoc tree Mark Brown
2018-06-27 19:33 ` [PATCH 4/7] ASoC: pxa2xx-pcm-lib: fix indenting Daniel Mack
2018-06-29 11:07   ` Applied "ASoC: pxa2xx-pcm-lib: fix indenting" to the asoc tree Mark Brown
2018-06-27 19:33 ` [PATCH 5/7] ASoC: pxa: provide PCM ops for ssp, i2s and ac97 components Daniel Mack
2018-06-27 19:33 ` Daniel Mack [this message]
2018-06-29 11:07   ` Applied "ASoC: pxa: remove bindings from pxa2xx-pcm" to the asoc tree Mark Brown
2018-06-27 19:33 ` [PATCH 7/7] ASoC: pxa: make SND_PXA2XX_SOC_I2S selectable Daniel Mack
2018-06-29 11:07   ` Applied "ASoC: pxa: make SND_PXA2XX_SOC_I2S selectable" to the asoc tree Mark Brown

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=20180627193359.26631-7-daniel@zonque.org \
    --to=daniel@zonque.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=haojian.zhuang@gmail.com \
    --cc=lgirdwood@gmail.com \
    --cc=robert.jarzmik@free.fr \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox