login
Header Space

 
 

Re: iic(4) device discovery

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jason Thorpe <thorpej@...>
Cc: Martin Husemann <martin@...>, Marco Trillo <marcotrillo@...>, <tech-kern@...>
Date: Saturday, October 20, 2007 - 5:12 am

# Jason Thorpe 2007-10-20:

This could be implemented by providing an autoconf(9) API to register
new cfdata entries before device discovery is started. If the arch knows
the list of devices and their addresses, it would simply convert firmware
device table into cfdata dictionaries and indirect-search iic(4) would
then use it transparently.

The same could be done at runtime, via drvctl(8) ideally, for cases where
the machine itself doesn't have the knowledge, but the administrator does
and doesn't want to maintain a custom kernel config just to get devices
working. This assumes the bus in question provides ca_rescan hook.

My SoC contains some prerequisities for this to work, but I'm still busy
catching up with HEAD...

	-- Jachym
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
iic(4) device discovery, Marco Trillo, (Fri Oct 19, 6:43 pm)
Re: iic(4) device discovery, Martin Husemann, (Fri Oct 19, 7:53 pm)
Re: iic(4) device discovery, Jason Thorpe, (Fri Oct 19, 7:56 pm)
Re: iic(4) device discovery, Marco Trillo, (Sat Oct 20, 4:42 am)
Re: iic(4) device discovery, Michael Lorenz, (Sat Oct 20, 11:07 am)
Re: iic(4) device discovery, Jachym Holecek, (Sat Oct 20, 5:12 am)
Re: iic(4) device discovery, Marco Trillo, (Sat Oct 20, 7:37 am)
Re: iic(4) device discovery, Michael Lorenz, (Sat Oct 20, 10:59 am)
Re: iic(4) device discovery, Jachym Holecek, (Sat Oct 20, 9:30 am)
Re: iic(4) device discovery, Quentin Garnier, (Sat Oct 20, 10:09 am)
Re: iic(4) device discovery, Martin Husemann, (Fri Oct 19, 8:04 pm)
speck-geostationary