N900 Hardware Bus I2c

(Hardware)
Line 16: Line 16:
* 0x63 [[N900 Hardware FM Retriever|FM receiver]]
* 0x63 [[N900 Hardware FM Retriever|FM receiver]]
tpa6130a2/2-0060
tpa6130a2/2-0060
-
lp5523/2-0032
+
* 0x32 [[N900 Hardware LED]]
Bus 3.
Bus 3.
-
ad5820/3-000c
+
* 0x0c [[N900 Hardware Autofocus|Lens focus control]]
-
et8ek8/3-003e
+
* 0x3e [[N900 Hardware Camera Sensor|Front Camera (control)]]
-
lis302dl/3-001d
+
* 0x1d [[N900 Hardware Accelerometer|Accelerometer]]
  /sys/bus/i2c/drivers# ls -d */*-*
  /sys/bus/i2c/drivers# ls -d */*-*

Revision as of 15:50, 7 June 2010

Hardware

Bus 1.

dummy/1-004a dummy/1-0049 dummy/1-004b

Bus 2.

tsl2563/2-0029 smia-sensor/2-0010 aic3x I2C Codec/2-0018 aic34b_dummy/2-0019

adp1653/2-0030  

tpa6130a2/2-0060

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).