Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1167655
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Paul Bolle <pebolle@tiscali.nl> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] driver/i2c/mux: Add register based mux i2c-mux-reg |
| Date | Thu, 18 Jun 2015 10:10:01 +0200 |
| Message-ID | <pCD3z-2zn-5@gated-at.bofh.it> (permalink) |
| References | <pC2Qr-GT-31@gated-at.bofh.it> <pChmr-4R0-23@gated-at.bofh.it> <pCn8u-4W5-13@gated-at.bofh.it> <pCo4y-6h7-23@gated-at.bofh.it> <pCCKe-1XC-17@gated-at.bofh.it> |
| X-Original-To | Alexander Sverdlin <alexander.sverdlin@nokia.com> |
| Content-Type | text/plain; charset="UTF-8" |
| X-Mailer | Evolution 3.10.4 (3.10.4-4.fc20) |
| MIME-Version | 1.0 |
| Content-Transfer-Encoding | 7bit |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 34 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | York Sun <yorksun@freescale.com>, wsa@the-dreams.de, linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, Peter Korsgaard <peter.korsgaard@barco.com> |
| X-Original-Date | Thu, 18 Jun 2015 10:08:21 +0200 |
| X-Original-Message-ID | <1434614901.2385.27.camel@x220> |
| X-Original-References | <1434475692-4611-1-git-send-email-yorksun@freescale.com> <1434531244.2069.111.camel@x220> <55818BAB.5090605@nokia.com> <1434556990.2400.16.camel@x220> <558275F1.5020100@nokia.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | aioe.org linux.kernel:1167655 |
Show key headers only | View raw
Hi Alexander,
On Thu, 2015-06-18 at 09:40 +0200, Alexander Sverdlin wrote:
> On 17/06/15 18:03, ext Paul Bolle wrote:
> >> You do not see the platform_device, because there are no users yet, put
> >> > this MODULE_ALIAS() is perfectly fine, it will allow automatic module loading
> >> > in non-DT case.
> > Do you mean that it will allow automatic module loading once the patch
> > that adds a struct platform_device with a "i2c-mux-reg" name lands?
>
> Any platform code which will register the platform_device will trigger uevent and
> udevd will be able to find the module with this macro. This is a legacy alternative
> to device-tree approach.
That means I've correctly figured out the purpose of this
MODULE_ALIAS("platform:" stuff. Because it might actually be documented
somewhere but I managed to not stumble on that documentation.
With that out of the way: am I right in thinking there's currently no
platform code that triggers that uevent for
"MODALIAS=platform:i2c-mux-reg"? Because if there's no struct
platform_device taking care of that I think this MODULE_ALIAS() should
not be added, not yet.
Thanks,
Paul Bolle
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] driver/i2c/mux: Add register based mux i2c-mux-reg York Sun <yorksun@freescale.com> - 2015-06-16 19:30 +0200
Re: [PATCH] driver/i2c/mux: Add register based mux i2c-mux-reg Alexander Sverdlin <alexander.sverdlin@nokia.com> - 2015-06-18 09:50 +0200
Re: [PATCH] driver/i2c/mux: Add register based mux i2c-mux-reg Paul Bolle <pebolle@tiscali.nl> - 2015-06-18 10:10 +0200
Re: [PATCH] driver/i2c/mux: Add register based mux i2c-mux-reg Alexander Sverdlin <alexander.sverdlin@nokia.com> - 2015-06-18 10:00 +0200
csiph-web