Thread (12 messages) 12 messages, 5 authors, 2016-10-26
STALE3534d

[PATCH] mfd: axp20x-i2c: Add i2c-ids to fix module auto-loading

From: Lee Jones <hidden>
Date: 2016-10-24 10:09:38
Also in: linux-i2c, linux-pm

On Tue, 18 Oct 2016, Hans de Goede wrote:
On 18-10-16 07:25, Chen-Yu Tsai wrote:
quoted
On Wed, Oct 5, 2016 at 11:51 PM, Hans de Goede [off-list ref] wrote:
quoted
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 <redacted>
Signed-off-by: Hans de Goede <redacted>
Acked-by: Chen-Yu Tsai <redacted>

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help