public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot]  i2c: mxc: refactor i2c driver and support dm
@ 2016-10-17 11:17 Jagan Teki
  2016-10-18  5:03 ` Peng Fan
  2016-10-18 11:30 ` Jagan Teki
  0 siblings, 2 replies; 3+ messages in thread
From: Jagan Teki @ 2016-10-17 11:17 UTC (permalink / raw)
  To: u-boot

Hi Peng/all,

Observed an issue while setting the bus on mxc_i2c driver
addr = dev_get_addr(bus); is getting failed to get invalid address.

Commit details:
"i2c: mxc: refactor i2c driver and support dm"
(sha1: 71204e95ce13228a0c742cce137c3238f64581d8)

Log:
icorem6qdl> i2c bus
Bus 0:  i2c at 021a0000
Bus 1:  i2c at 021a4000
icorem6qdl> i2c dev 0
Setting bus to 0
cmd_i2c_set_bus_num: Trying bus 0
mxc_i2c_probe
0. mxc_i2c_probe
dev_get_addr_index: OF_TRANSLATE
dev_get_addr_index: i2c at 021a0000 - 0xffffffff
cmd_i2c_set_bus_num: No bus 0
Failure changing bus number (-19)

Any help? did you tested on any board?

thanks!
-- 
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-10-18 11:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-17 11:17 [U-Boot] i2c: mxc: refactor i2c driver and support dm Jagan Teki
2016-10-18  5:03 ` Peng Fan
2016-10-18 11:30 ` Jagan Teki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox