Home
last modified time | relevance | path

Searched hist:"0 f5b461b9bf028c5ce8fd22e8bd45d8c1234e2fd" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/i2c/
H A Dlpc32xx_i2c.c0f5b461b9bf028c5ce8fd22e8bd45d8c1234e2fd Tue Mar 14 15:24:45 UTC 2017 Liam Beguin <lbeguin@tycoint.com> i2c: lpc32xx: Force consistent bus numbering

Normally, this would probably be done by adding devicetree aliases
to the main dtsi file for the lpc32xx and using bus->req_seq instead.

Since we want to have consistent i2c numbering, we cannot force the
bus->req_seq because. If for instance we have 3 buses numbered
from 0 to 2 with i2c0 enabled, i2c1 disabled and i2c2 enabled;
i2c2 can be selected using 'i2c dev 1' and 'i2c dev 2' commands
because a bus can be probed using req_seq or seq interchangeably.

Signed-off-by: Liam Beguin <lbeguin@tycoint.com>
Signed-off-by: Sylvain Lemieux <slemieux@tycoint.com>