N900 Hardware Bus I2c

(Hardware)
(Hardware)
Line 13: Line 13:
* 0x60 [[N900 Headphone Amplifier]]
* 0x60 [[N900 Headphone Amplifier]]
* 0x32 [[N900 Hardware LED]]
* 0x32 [[N900 Hardware LED]]
 +
* 0x6B [[N900 Hardware Battery Charger]]
 +
* 0x55 [[N900 Hardware Charge Meter]]
Bus 3.
Bus 3.

Revision as of 16:27, 7 June 2010

Hardware

Bus 1.

Bus 2.

smia-sensor/2-0010

Bus 3.

/sys/bus/i2c/drivers# ls -d */*-*

Software

The n900 software driving I2C comes in three flavours.

Firstly, there are a large number of kernel drivers.

Then, there are a small number of devices 'bit banged' through I2C ioctls - BME for example does this.

Finally, there are probably some I2C components in the Rapuyama and assorted cellphone/GPS hardware. These are not visible to the casual developer. (you have to open the n900 and probe stuff, or hack the phone firmware).