From: Bhushan Shah <bhushan.shah@machinesoul.in>
To: Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>,
Takashi Iwai <tiwai@suse.com>,
Bharadwaj Raju <bharadwaj.raju@machinesoul.in>,
Alexandre Ferrieux <alexandre.ferrieux@orange.com>,
Luca Weiss <luca.weiss@fairphone.com>
Cc: ~postmarketos/upstreaming@lists.sr.ht,
phone-devel@vger.kernel.org, linux-sound@vger.kernel.org,
linux-kernel@vger.kernel.org,
Luca Weiss <luca.weiss@fairphone.com>
Subject: Re: [PATCH 2/2] ASoC: codecs: aw88261: Add devicetree support
Date: Sat, 10 Jan 2026 10:57:45 +0530 [thread overview]
Message-ID: <5862699.31r3eYUQgx@antlia> (raw)
In-Reply-To: <20260109-aw88261-dt-v1-2-45840c7632a3@fairphone.com>
On Friday, 9 January 2026 20:32:06 IST Luca Weiss wrote:
> Add the compatible "awinic,aw88261" so that module autoloading will work
> based on the compatible from devicetree.
>
> Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Tested-by: Bhushan Shah <bhushan.shah@machinesoul.in>
> ---
> sound/soc/codecs/aw88261.c | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/sound/soc/codecs/aw88261.c b/sound/soc/codecs/aw88261.c
> index ceea0c8c60b1..810c90f5e783 100644
> --- a/sound/soc/codecs/aw88261.c
> +++ b/sound/soc/codecs/aw88261.c
> @@ -1269,9 +1269,16 @@ static const struct i2c_device_id aw88261_i2c_id[] =
> { };
> MODULE_DEVICE_TABLE(i2c, aw88261_i2c_id);
>
> +static const struct of_device_id aw88261_of_table[] = {
> + { .compatible = "awinic,aw88261" },
> + { }
> +};
> +MODULE_DEVICE_TABLE(of, aw88261_of_table);
> +
> static struct i2c_driver aw88261_i2c_driver = {
> .driver = {
> .name = "aw88261",
> + .of_match_table = aw88261_of_table,
> },
> .probe = aw88261_i2c_probe,
> .id_table = aw88261_i2c_id,
next prev parent reply other threads:[~2026-01-10 5:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-09 15:02 [PATCH 0/2] Add devicetree support for aw88261 amplifier driver & minor cleanup Luca Weiss
2026-01-09 15:02 ` [PATCH 1/2] ASoC: codecs: aw88261: Remove AW88261_I2C_NAME macro Luca Weiss
2026-01-09 15:02 ` [PATCH 2/2] ASoC: codecs: aw88261: Add devicetree support Luca Weiss
2026-01-10 5:27 ` Bhushan Shah [this message]
2026-01-13 13:49 ` [PATCH 0/2] Add devicetree support for aw88261 amplifier driver & minor cleanup 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=5862699.31r3eYUQgx@antlia \
--to=bhushan.shah@machinesoul.in \
--cc=alexandre.ferrieux@orange.com \
--cc=bharadwaj.raju@machinesoul.in \
--cc=broonie@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=luca.weiss@fairphone.com \
--cc=perex@perex.cz \
--cc=phone-devel@vger.kernel.org \
--cc=tiwai@suse.com \
--cc=~postmarketos/upstreaming@lists.sr.ht \
/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