From: Krzysztof Kozlowski <krzk@kernel.org>
To: syed saba kareem <ssabakar@amd.com>,
Mark Brown <broonie@kernel.org>,
Mario Limonciello <mario.limonciello@amd.com>
Cc: Syed Saba Kareem <Syed.SabaKareem@amd.com>,
alsa-devel@alsa-project.org, Vijendar.Mukunda@amd.com,
Basavaraj.Hiregoudar@amd.com, Sunil-kumar.Dommati@amd.com,
venkataprasad.potturu@amd.com, arungopal.kondaveeti@amd.com,
mastan.katragadda@amd.com, juan.martinez@amd.com,
Liam Girdwood <lgirdwood@gmail.com>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
Marian Postevca <posteuca@mutex.one>,
Alper Nebi Yasak <alpernebiyasak@gmail.com>,
Claudiu Beznea <claudiu.beznea@microchip.com>,
Gaosheng Cui <cuigaosheng1@huawei.com>,
Jarkko Nikula <jarkko.nikula@bitmer.com>,
open list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 09/13] ASoC: amd: acp: add machine driver support for pdm use case
Date: Sat, 28 Oct 2023 11:14:05 +0200 [thread overview]
Message-ID: <8d2d61b1-a273-4a7b-815b-9611a9823145@kernel.org> (raw)
In-Reply-To: <1f2943e2-f1f0-449d-a1f2-937bae6a0af9@amd.com>
On 27/10/2023 19:32, syed saba kareem wrote:
>
> On 10/27/23 21:53, Mark Brown wrote:
>> On Fri, Oct 27, 2023 at 10:54:47AM -0500, Mario Limonciello wrote:
>>
>>> What would actually go into MODULE_DEVICE_TABLE?
>>> The platform devices created are contingent upon what was found during the
>>> top level ACP driver probe. You don't want all the "child" platform drivers
>>> to load unless they're needed.
>> You want
>>
>> MODULE_DEVICE_TABLE(platform, board_ids);
>>
>> which is effectively the same as all the MODULE_ALIAS items you have
>> there (which can be removed).
>
> @krzk:as Mark Brown explained we can use platform device id table
>
> instead of MODULE_ALIAS. As effectively there is no difference between
>
> using platform device id table and MODULE_ALIAS.
There is a difference. MODULE_DEVICE_TABLE solves the problem and you do
not need to spread aliases all over. This code is not equivalent. What's
more, DEVICE_TABLE could be used for other purposes like dependency
detection or ordering or whatever. ALIAS not.
>
> If you are still expecting us to use platform id table instead of
> MODULE_ALIAS
Yes, I asked this first time.
>
> we will provide the changes as an incremental patch.
Fix existing driver before adding new aliases. Then don't add ALIAS, how
I asked already two times before.
Best regards,
Krzysztof
next prev parent reply other threads:[~2023-10-28 9:14 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-21 14:50 [PATCH 01/13] ASoC: amd: acp: Add acp6.3 pci legacy driver support Syed Saba Kareem
2023-10-21 14:50 ` [PATCH 02/13] ASoC: amd: acp: refactor acp i2s clock generation code Syed Saba Kareem
2023-10-23 7:37 ` Amadeusz Sławiński
2023-10-21 14:50 ` [PATCH 03/13] ASoC: amd: acp: add i2s clock generation support for acp6.3 based platforms Syed Saba Kareem
2023-10-21 14:50 ` [PATCH 04/13] ASoC: amd: acp: add machine driver support for acp6.3 platform Syed Saba Kareem
2023-10-21 14:50 ` [PATCH 05/13] ASoC: amd: acp: add Kconfig options for acp6.3 based platform driver Syed Saba Kareem
2023-10-21 14:50 ` [PATCH 06/13] ASoC: amd: acp: add code for scanning acp pdm controller Syed Saba Kareem
2023-10-21 14:50 ` [PATCH 07/13] ASoC: amd: acp: add platform and flag data to acp data structure Syed Saba Kareem
2023-10-21 14:50 ` [PATCH 08/13] ASoC: amd: acp: add condition check for i2s clock generation Syed Saba Kareem
2023-10-21 14:50 ` [PATCH 09/13] ASoC: amd: acp: add machine driver support for pdm use case Syed Saba Kareem
2023-10-27 8:49 ` Krzysztof Kozlowski
[not found] ` <3ec97548-1f91-49d0-adfb-4f8051ca9a97@amd.com>
[not found] ` <f8f8017c-4e76-4d70-918f-d7cb45186184@kernel.org>
[not found] ` <c0ea139c-9861-4ea1-b547-6e3c380301b3@amd.com>
[not found] ` <ZTvkCAYsrS62/82u@finisterre.sirena.org.uk>
2023-10-27 17:32 ` syed saba kareem
2023-10-28 9:14 ` Krzysztof Kozlowski [this message]
2023-10-21 14:50 ` [PATCH 10/13] ASoC: amd: acp: change acp-deinit function arguments Syed Saba Kareem
2023-10-21 14:50 ` [PATCH 11/13] ASoC: amd: acp: change acp power on mask macro value Syed Saba Kareem
2023-10-21 14:50 ` [PATCH 12/13] ASoC: amd: acp: Add pci legacy driver support for acp7.0 platform Syed Saba Kareem
2023-10-23 7:50 ` Amadeusz Sławiński
2023-10-26 10:04 ` syed saba kareem
2023-10-21 14:50 ` [PATCH 13/13] ASoC: amd: acp: add machine driver support for acp7.0 Syed Saba Kareem
2023-10-23 8:01 ` [PATCH 01/13] ASoC: amd: acp: Add acp6.3 pci legacy driver support Krzysztof Kozlowski
[not found] ` <12c8c0f3-8364-4f25-976e-8cca29b5e17f@amd.com>
2023-10-26 15:00 ` Krzysztof Kozlowski
2023-10-25 16:50 ` Mark Brown
2023-10-26 9:44 ` syed saba kareem
2023-10-26 15:12 ` 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=8d2d61b1-a273-4a7b-815b-9611a9823145@kernel.org \
--to=krzk@kernel.org \
--cc=Basavaraj.Hiregoudar@amd.com \
--cc=Sunil-kumar.Dommati@amd.com \
--cc=Syed.SabaKareem@amd.com \
--cc=Vijendar.Mukunda@amd.com \
--cc=alpernebiyasak@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=arungopal.kondaveeti@amd.com \
--cc=broonie@kernel.org \
--cc=claudiu.beznea@microchip.com \
--cc=cuigaosheng1@huawei.com \
--cc=jarkko.nikula@bitmer.com \
--cc=juan.martinez@amd.com \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mario.limonciello@amd.com \
--cc=mastan.katragadda@amd.com \
--cc=perex@perex.cz \
--cc=posteuca@mutex.one \
--cc=ssabakar@amd.com \
--cc=tiwai@suse.com \
--cc=venkataprasad.potturu@amd.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®