* Re: [PATCH] mfd: axp20x-i2c: Add i2c-ids to fix module auto-loading [not found] ` <20161005155112.13774-2-hdegoede@redhat.com> @ 2016-10-18 5:25 ` Chen-Yu Tsai 2016-10-18 10:25 ` Hans de Goede 0 siblings, 1 reply; 7+ messages in thread From: Chen-Yu Tsai @ 2016-10-18 5:25 UTC (permalink / raw) To: Hans de Goede Cc: Lee Jones, Sebastian Reichel, Dennis Gilmore, Maxime Ripard, Chen-Yu Tsai, open list:THERMAL, linux-arm-kernel, Wolfram Sang, linux-i2c On Wed, Oct 5, 2016 at 11:51 PM, Hans de Goede <hdegoede@redhat.com> wrote: > The i2c subsys does not load modules by compatible, only by > i2c-id, with e.g. a modalias of: "i2c:axp209". > > Populate the axp20x_i2c_id[] table with supported ids, so that > module auto-loading will work. > > Reported-by: Dennis Gilmore <dennis@ausil.us> > Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Chen-Yu Tsai <wens@csie.org> Even though axp20x-i2c seems to be the only "DT only" i2c client, would it make sense to add DT-based module autoloading to the i2c core? This also made me realize we probably don't have module auto-loading for sunxi-rsb either. Both should be doable with Stephen Boyd's "of: device: Export of_device_{get_modalias, uvent_modalias} to modules" patch. Regards ChenYu ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] mfd: axp20x-i2c: Add i2c-ids to fix module auto-loading 2016-10-18 5:25 ` [PATCH] mfd: axp20x-i2c: Add i2c-ids to fix module auto-loading Chen-Yu Tsai @ 2016-10-18 10:25 ` Hans de Goede 2016-10-24 10:09 ` Lee Jones 0 siblings, 1 reply; 7+ messages in thread From: Hans de Goede @ 2016-10-18 10:25 UTC (permalink / raw) To: Chen-Yu Tsai Cc: Lee Jones, Sebastian Reichel, Dennis Gilmore, Maxime Ripard, open list:THERMAL, linux-arm-kernel, Wolfram Sang, linux-i2c Hi, On 18-10-16 07:25, Chen-Yu Tsai wrote: > On Wed, Oct 5, 2016 at 11:51 PM, Hans de Goede <hdegoede@redhat.com> wrote: >> The i2c subsys does not load modules by compatible, only by >> i2c-id, with e.g. a modalias of: "i2c:axp209". >> >> Populate the axp20x_i2c_id[] table with supported ids, so that >> module auto-loading will work. >> >> Reported-by: Dennis Gilmore <dennis@ausil.us> >> Signed-off-by: Hans de Goede <hdegoede@redhat.com> > > Acked-by: Chen-Yu Tsai <wens@csie.org> > > Even though axp20x-i2c seems to be the only "DT only" i2c client, > would it make sense to add DT-based module autoloading to the i2c > core? If it is not too invasive, then yes that would be a sensible addition IMHO. Regards, Hans ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] mfd: axp20x-i2c: Add i2c-ids to fix module auto-loading 2016-10-18 10:25 ` Hans de Goede @ 2016-10-24 10:09 ` Lee Jones 2016-10-24 10:17 ` Wolfram Sang 0 siblings, 1 reply; 7+ messages in thread From: Lee Jones @ 2016-10-24 10:09 UTC (permalink / raw) To: Hans de Goede Cc: Chen-Yu Tsai, Sebastian Reichel, Dennis Gilmore, Maxime Ripard, open list:THERMAL, linux-arm-kernel, Wolfram Sang, linux-i2c On Tue, 18 Oct 2016, Hans de Goede wrote: > On 18-10-16 07:25, Chen-Yu Tsai wrote: > > On Wed, Oct 5, 2016 at 11:51 PM, Hans de Goede <hdegoede@redhat.com> wrote: > > > The i2c subsys does not load modules by compatible, only by > > > i2c-id, with e.g. a modalias of: "i2c:axp209". > > > > > > Populate the axp20x_i2c_id[] table with supported ids, so that > > > module auto-loading will work. > > > > > > Reported-by: Dennis Gilmore <dennis@ausil.us> > > > Signed-off-by: Hans de Goede <hdegoede@redhat.com> > > > > Acked-by: Chen-Yu Tsai <wens@csie.org> > > > > Even though axp20x-i2c seems to be the only "DT only" i2c client, > > would it make sense to add DT-based module autoloading to the i2c > > core? > > If it is not too invasive, then yes that would be a sensible addition IMHO. If I understand you correctly, I already have a patch-set on the ML that does this. -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] mfd: axp20x-i2c: Add i2c-ids to fix module auto-loading 2016-10-24 10:09 ` Lee Jones @ 2016-10-24 10:17 ` Wolfram Sang 2016-10-24 10:34 ` Lee Jones 0 siblings, 1 reply; 7+ messages in thread From: Wolfram Sang @ 2016-10-24 10:17 UTC (permalink / raw) To: Lee Jones Cc: Hans de Goede, Chen-Yu Tsai, Sebastian Reichel, Dennis Gilmore, Maxime Ripard, open list:THERMAL, linux-arm-kernel, linux-i2c [-- Attachment #1: Type: text/plain, Size: 416 bytes --] > > > Even though axp20x-i2c seems to be the only "DT only" i2c client, > > > would it make sense to add DT-based module autoloading to the i2c > > > core? > > > > If it is not too invasive, then yes that would be a sensible addition IMHO. > > If I understand you correctly, I already have a patch-set on the ML > that does this. Incomplete, though. But we will see if Kieran finds time somewhen... [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] mfd: axp20x-i2c: Add i2c-ids to fix module auto-loading 2016-10-24 10:17 ` Wolfram Sang @ 2016-10-24 10:34 ` Lee Jones 2016-10-24 10:47 ` Wolfram Sang 0 siblings, 1 reply; 7+ messages in thread From: Lee Jones @ 2016-10-24 10:34 UTC (permalink / raw) To: Wolfram Sang Cc: Hans de Goede, Chen-Yu Tsai, Sebastian Reichel, Dennis Gilmore, Maxime Ripard, open list:THERMAL, linux-arm-kernel, linux-i2c On Mon, 24 Oct 2016, Wolfram Sang wrote: > > > > > Even though axp20x-i2c seems to be the only "DT only" i2c client, > > > > would it make sense to add DT-based module autoloading to the i2c > > > > core? > > > > > > If it is not too invasive, then yes that would be a sensible addition IMHO. > > > > If I understand you correctly, I already have a patch-set on the ML > > that does this. > > Incomplete, though. But we will see if Kieran finds time somewhen... I was under the impression it was all but ready. What are you waiting on? -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] mfd: axp20x-i2c: Add i2c-ids to fix module auto-loading 2016-10-24 10:34 ` Lee Jones @ 2016-10-24 10:47 ` Wolfram Sang 2016-10-26 14:00 ` Lee Jones 0 siblings, 1 reply; 7+ messages in thread From: Wolfram Sang @ 2016-10-24 10:47 UTC (permalink / raw) To: Lee Jones Cc: Hans de Goede, Chen-Yu Tsai, Sebastian Reichel, Dennis Gilmore, Maxime Ripard, open list:THERMAL, linux-arm-kernel, linux-i2c [-- Attachment #1: Type: text/plain, Size: 193 bytes --] > I was under the impression it was all but ready. Then, I would have applied it. > What are you waiting on? Lee, I don't want to explain it *again*. Please re-read Kieran's last attempt. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 819 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] mfd: axp20x-i2c: Add i2c-ids to fix module auto-loading 2016-10-24 10:47 ` Wolfram Sang @ 2016-10-26 14:00 ` Lee Jones 0 siblings, 0 replies; 7+ messages in thread From: Lee Jones @ 2016-10-26 14:00 UTC (permalink / raw) To: Wolfram Sang Cc: Hans de Goede, Chen-Yu Tsai, Sebastian Reichel, Dennis Gilmore, Maxime Ripard, open list:THERMAL, linux-arm-kernel, linux-i2c On Mon, 24 Oct 2016, Wolfram Sang wrote: > > > I was under the impression it was all but ready. > > Then, I would have applied it. > > > What are you waiting on? > > Lee, I don't want to explain it *again*. Please re-read Kieran's last > attempt. I met with Kieran. He's submitted a new version. Here's hoping! ;) -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2016-10-26 13:58 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <20161005155112.13774-1-hdegoede@redhat.com> [not found] ` <20161005155112.13774-2-hdegoede@redhat.com> 2016-10-18 5:25 ` [PATCH] mfd: axp20x-i2c: Add i2c-ids to fix module auto-loading Chen-Yu Tsai 2016-10-18 10:25 ` Hans de Goede 2016-10-24 10:09 ` Lee Jones 2016-10-24 10:17 ` Wolfram Sang 2016-10-24 10:34 ` Lee Jones 2016-10-24 10:47 ` Wolfram Sang 2016-10-26 14:00 ` Lee Jones
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).