Skip to contentSkip to conversation

[4400] Add the LM8323-based keyboard of N810.

Qemu-devel Andrzej Zaborowski 1 participant 1 message May 9, 2008 Kbuild

lore
Share & tools
lore
#0 lore raw

Revision: 4400

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4400
Author:   balrog
Date:     2008-05-09 22:16:11 +0000 (Fri, 09 May 2008)

Log Message:
-----------
Add the LM8323-based keyboard of N810.

Modified Paths:
--------------

    trunk/Makefile
    trunk/hw/i2c.h
    trunk/hw/nseries.c

Added Paths:
-----------

    trunk/hw/lm832x.c

Modified: trunk/Makefile
===================================================================

Makefile +1 -1
@@ -52,7 +52,7 @@
 OBJS+=irq.o
 OBJS+=i2c.o smbus.o smbus_eeprom.o max7310.o max111x.o wm8750.o
 OBJS+=ssd0303.o ssd0323.o ads7846.o stellaris_input.o twl92230.o
-OBJS+=tmp105.o
+OBJS+=tmp105.o lm832x.o
 OBJS+=scsi-disk.o cdrom.o
 OBJS+=scsi-generic.o
 OBJS+=usb.o usb-hub.o usb-linux.o usb-hid.o usb-msd.o usb-wacom.o usb-serial.o

Modified: trunk/hw/i2c.h
===================================================================

hw/i2c.h +4 -0
@@ -84,4 +84,8 @@
 void tmp105_reset(i2c_slave *i2c);
 void tmp105_set(i2c_slave *i2c, int temp);
 
+/* lm832x.c */
+struct i2c_slave *lm8323_init(i2c_bus *bus, qemu_irq nirq);
+void lm832x_key_event(struct i2c_slave *i2c, int key, int state);
+
 #endif

Added: trunk/hw/lm832x.c
===================================================================

hw/lm832x.c +535 -0

535 lines not on this page · raw message

Modified: trunk/hw/nseries.c
===================================================================

hw/nseries.c +118 -8

166 lines not on this page · raw message