On Thu, Dec 31, 2015 at 5:31 PM, Bit Pusher <[email protected]> wrote: > Under 3.8.13: >> uname -r > 3.8.13-bone77 >> sudo i2cdetect -l > i2c-0 i2c OMAP I2C adapter I2C adapter > i2c-1 i2c OMAP I2C adapter I2C adapter >> > Under 4.1.115: > > uname -r > 4.1.15-bone17 >> sudo i2cdetect -l > i2c-0 i2c OMAP I2C adapter I2C adapter > i2c-2 i2c OMAP I2C adapter I2C adapter >> > > Has the I2C smbus at address 1 changed to address 2 as indicated by the > second '2' in i2c-2i2c? I'm assuming this is the second I2C bus at > pins P9_19 and P9_20? If so, would anyone know why? > > Back in 4.1.15 with a cape attached: >> sudo i2cdetect -y -r 2 > 0 1 2 3 4 5 6 7 8 9 a b c d e f > 00: -- -- -- -- -- -- -- -- -- -- -- -- -- > 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > 20: 20 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > 40: -- -- -- -- -- -- -- -- 48 -- -- -- -- -- -- -- > 50: -- -- -- -- UU UU UU UU -- -- -- -- -- -- -- -- > 60: -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- -- > 70: 70 -- -- -- -- -- -- -- > > and in 3.8.13 with no cape: >> sudo i2cdetect -y -r 1 > 0 1 2 3 4 5 6 7 8 9 a b c d e f > 00: -- -- -- -- -- -- -- -- -- -- -- -- -- > 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > 50: -- -- -- -- UU UU UU UU -- -- -- -- -- -- -- -- > 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > 70: -- -- -- -- -- -- -- -- >> > The similarity is enough to make me think the bus address has changed?
See commit: ARM: dts: AM33xx+: Add i2c aliases Provide alias to allow ordering the i2c devices correctly. https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6a96867844895008558810853c7838af39dd317c Consider 4.1.x to be the 'correct' way 3.8 should have been done.. Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
