All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tzung-Bi Shih <tzungbi@google.com>
To: broonie@kernel.org, robh+dt@kernel.org
Cc: alsa-devel@alsa-project.org, devicetree@vger.kernel.org,
	tzungbi@google.com
Subject: [PATCH 1/2] ASoC: max98357a: add compatible string for MAX98360A
Date: Fri,  5 Jun 2020 11:49:30 +0800	[thread overview]
Message-ID: <20200605034931.107713-2-tzungbi@google.com> (raw)
In-Reply-To: <20200605034931.107713-1-tzungbi@google.com>

Maxim MAX98360A audio amplifier is functionally identical to MAX98357A.
Adds compatible string "maxim,max98360a" for driver reuse.

Signed-off-by: Tzung-Bi Shih <tzungbi@google.com>
---
 sound/soc/codecs/max98357a.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/codecs/max98357a.c b/sound/soc/codecs/max98357a.c
index a8bd793a7867..4f431133d0bb 100644
--- a/sound/soc/codecs/max98357a.c
+++ b/sound/soc/codecs/max98357a.c
@@ -125,6 +125,7 @@ static int max98357a_platform_probe(struct platform_device *pdev)
 #ifdef CONFIG_OF
 static const struct of_device_id max98357a_device_id[] = {
 	{ .compatible = "maxim,max98357a" },
+	{ .compatible = "maxim,max98360a" },
 	{}
 };
 MODULE_DEVICE_TABLE(of, max98357a_device_id);
-- 
2.27.0.278.ge193c7cf3a9-goog


WARNING: multiple messages have this Message-ID (diff)
From: Tzung-Bi Shih <tzungbi@google.com>
To: broonie@kernel.org, robh+dt@kernel.org
Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org,
	tzungbi@google.com
Subject: [PATCH 1/2] ASoC: max98357a: add compatible string for MAX98360A
Date: Fri,  5 Jun 2020 11:49:30 +0800	[thread overview]
Message-ID: <20200605034931.107713-2-tzungbi@google.com> (raw)
In-Reply-To: <20200605034931.107713-1-tzungbi@google.com>

Maxim MAX98360A audio amplifier is functionally identical to MAX98357A.
Adds compatible string "maxim,max98360a" for driver reuse.

Signed-off-by: Tzung-Bi Shih <tzungbi@google.com>
---
 sound/soc/codecs/max98357a.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/codecs/max98357a.c b/sound/soc/codecs/max98357a.c
index a8bd793a7867..4f431133d0bb 100644
--- a/sound/soc/codecs/max98357a.c
+++ b/sound/soc/codecs/max98357a.c
@@ -125,6 +125,7 @@ static int max98357a_platform_probe(struct platform_device *pdev)
 #ifdef CONFIG_OF
 static const struct of_device_id max98357a_device_id[] = {
 	{ .compatible = "maxim,max98357a" },
+	{ .compatible = "maxim,max98360a" },
 	{}
 };
 MODULE_DEVICE_TABLE(of, max98357a_device_id);
-- 
2.27.0.278.ge193c7cf3a9-goog


  reply	other threads:[~2020-06-05  3:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-05  3:49 [PATCH 0/2] ASoC: max98357a: support MAX98360A in OF Tzung-Bi Shih
2020-06-05  3:49 ` Tzung-Bi Shih
2020-06-05  3:49 ` Tzung-Bi Shih [this message]
2020-06-05  3:49   ` [PATCH 1/2] ASoC: max98357a: add compatible string for MAX98360A Tzung-Bi Shih
2020-06-05  3:49 ` [PATCH 2/2] ASoC: dt-bindings: " Tzung-Bi Shih
2020-06-05  3:49   ` Tzung-Bi Shih
2020-06-15 17:35   ` Rob Herring
2020-06-15 17:35     ` Rob Herring
2020-06-15 23:40 ` [PATCH 0/2] ASoC: max98357a: support MAX98360A in OF Mark Brown
2020-06-15 23:40   ` 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=20200605034931.107713-2-tzungbi@google.com \
    --to=tzungbi@google.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    /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.