[PATCH 2/2] ARM: Kirkwood: topkick: Enable i2c bus.
Sebastian Hesselbarth
sebastian.hesselbarth at gmail.com
Sat Jan 26 13:51:55 EST 2013
On 01/26/2013 07:24 PM, Andrew Lunn wrote:
> # i2cdump 0 0x36
> No size specified (using byte-data access)
> WARNING! This program can confuse your I2C bus, cause data loss and worse!
> I will probe file /dev/i2c-0, address 0x36, mode byte
> Continue? [Y/n] y
> 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
> 00: 3d 00 00 87 47 0c 00 08 00 13 00 00 10 00 00 00 =..?G?.?.?..?...
> 10: ff ff 00 6c 09 02 ff ff ff ff ff ff ff ff ff ff ...l??..........
> 20: 88 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ?...............
>
> ...
>
> Humm. A thought. 6282 has two i2c busses. I had noticed that uboot had
> configured the pin multiplexer such that they could be used for
> i2c. But maybe the NCT3012S is on the other i2c bus? Need to go look
> and see, but that will probably happen tomorrow....
0x36 (=0x6c >> 1) is the nuvoton pmic. Register values match what is
written in that very short datasheet.
Sebastian
More information about the linux-arm-kernel
mailing list