N900 Hardware Bus I2c

(Hardware)
(Bus 2: fixed)
 
(29 intermediate revisions not shown)
Line 1: Line 1:
-
=Hardware=
+
[[:wikipedia:I2C|I2C]] is a simple serial bus, used in many devices.
-
Bus 1.
+
==Hardware==
-
* 0x48 [[N900 Hardware Chipset|Gaia/chipset]]
+
-
dummy/1-004a
+
-
dummy/1-0049
+
-
dummy/1-004b
+
-
Bus 2.
+
===Bus 1===
 +
* 0x48 0x49 0x4a 0x4b [[N900 Hardware Chipset|Gaia/chipset]]
-
tsl2563/2-0029
+
===Bus 2===
-
smia-sensor/2-0010
+
* 0x18 0x19 [[N900 Hardware Audio Codec|Audio codec]]
* 0x18 0x19 [[N900 Hardware Audio Codec|Audio codec]]
 +
* 0x29 [[N900 light meter]]
* 0x30 [[N900 Hardware Flash Torch]]
* 0x30 [[N900 Hardware Flash Torch]]
-
* 0x63 [[N900 Hardware FM Receiver|FM receiver]]
 
-
tpa6130a2/2-0060
 
* 0x32 [[N900 Hardware LED]]
* 0x32 [[N900 Hardware LED]]
 +
* 0x60 [[N900 headphone amplifier]]
 +
* 0x63 [[N900 FM radio transmitter|FM radio transmitter]]
 +
* 0x55 [[N900 Hardware Charge Meter]]
 +
* 0x6B [[N900 Hardware Battery Charger]]
 +
* 0x10 [[N900 Front camera|Front VGA Camera (control)]]
-
Bus 3.
+
===Bus 3===
 +
* 0x0c [[N900 Hardware Autofocus|Lens focus ]]
 +
* 0x1d [[N900 accelerometer|Accelerometer]]
 +
* 0x22 [[N900 FM radio receiver|FM Receiver]]
 +
* 0x3e [[N900 camera sensor|Main Camera (control)]]
-
* 0x0c [[N900 Hardware Auto-focus|Lens focus control]]
+
===Bus ?===
-
* 0x3e [[N900 Hardware Camera Sensor|Front Camera (control)]]
+
* 0x? [[N900 Hardware GPS|GPS]]
-
* 0x1d [[N900 Hardware Accelerometer|Accelerometer]]
+
edit: GPS is connected to RAPUYAMA and available to application processor only via libisi / cellmo-proxy
-
/sys/bus/i2c/drivers# ls -d */*-*
+
==Software==
-
=Software=
+
The [[Nokia N900|N900]] software driving I2C comes in three flavors.
-
The n900 software driving I2C comes in three flavours.
+
Firstly, there are a large number of kernel drivers.
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.
+
Then, there are a small number of devices 'bit banged' through I2C ioctls - BME for example does this with the [[N900 Hardware Charge Meter|charge meter]] and [[N900 Hardware Battery Charger|battery charger]].
-
 
+
-
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).
+
 +
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).
[[Category:N900 Hardware]]
[[Category:N900 Hardware]]

Latest revision as of 12:42, 5 July 2016

I2C is a simple serial bus, used in many devices.

Contents

[edit] Hardware

[edit] Bus 1

[edit] Bus 2

[edit] Bus 3

[edit] Bus ?

edit: GPS is connected to RAPUYAMA and available to application processor only via libisi / cellmo-proxy

[edit] Software

The N900 software driving I2C comes in three flavors.

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 with the charge meter and battery charger.

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