diff options
author | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-04-14 21:57:44 +0000 |
---|---|---|
committer | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-04-14 21:57:44 +0000 |
commit | c06bfc487f2bd0b77690b3d4d31ea0d8eb7f4139 (patch) | |
tree | d7f37d6f4f29e47f7a5bd67086dbb76aa38f4f7d /hw/i2c.h | |
parent | 07881a27b42c85ebfbb5e6a21bc07b4a8b016e05 (diff) | |
download | qemu-c06bfc487f2bd0b77690b3d4d31ea0d8eb7f4139.tar.gz qemu-c06bfc487f2bd0b77690b3d4d31ea0d8eb7f4139.tar.bz2 qemu-c06bfc487f2bd0b77690b3d4d31ea0d8eb7f4139.zip |
Nokia N800 machine support (ARM).
Also add various peripherals: two miscellaneous Nokia CBUS chips,
EPSON S1D13745 LCD/TV remote-framebuffer controller,
TWL92230 - standard OMAP2 power management companion chip on i2c.
Generic OneNAND flash memory,
TMP105 temperature sensor on i2c.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4215 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/i2c.h')
-rw-r--r-- | hw/i2c.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -71,4 +71,14 @@ uint32_t wm8750_adc_dat(void *opaque); /* ssd0303.c */ void ssd0303_init(DisplayState *ds, i2c_bus *bus, int address); +/* twl92230.c */ +i2c_slave *twl92230_init(i2c_bus *bus, qemu_irq irq); +qemu_irq *twl92230_gpio_in_get(i2c_slave *i2c); +void twl92230_gpio_out_set(i2c_slave *i2c, int line, qemu_irq handler); + +/* tmp105.c */ +struct i2c_slave *tmp105_init(i2c_bus *bus, qemu_irq alarm); +void tmp105_reset(i2c_slave *i2c); +void tmp105_set(i2c_slave *i2c, int temp); + #endif |