On 02/16/2017 08:28 AM, Sascha Hauer wrote:
On Wed, Feb 15, 2017 at 03:34:55PM +0100, gianluca wrote:
First of all hdmi and ldb node are "disabled" by default.
Then I am looking for any eeprom in the lvds connector I have.
If it is found, check the phandle "native-mode" of the display-timings node
to match the value found in eeprom. If not matches the native-mode, it
If no eeprom is found activate the status of the hdmi node from "disabled"
to "okay". So with the same algorithm as above,
Those operations will be done in the coredevice_initcall() level. Is this
Sounds like a plan. I'm not sure though if you find your EEPROM at
Now I will check. In the worst case I will do a first-gpio-based (no
device-tree based) i2c bus access, then when the i2c driver will get
probed, I will do any other operation.
I will keep you informed.
Eurek s.r.l. |
Electronic Engineering | http://www.eurek.it
via Celletta 8/B, 40026 Imola, Italy | Phone: +39-(0)542-609120
p.iva 00690621206 - c.f. 04020030377 | Fax: +39-(0)542-609212
barebox mailing list