Skip to contentSkip to conversation

[4886] OMAP2 EAC module.

Qemu-devel Andrzej Zaborowski 1 participant 1 message Jul 18, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 4886

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4886
Author:   balrog
Date:     2008-07-18 07:50:20 +0000 (Fri, 18 Jul 2008)

Log Message:
-----------
OMAP2 EAC module.

Not yet hooked up to any CODEC.

Modified Paths:
--------------
trunk/hw/nseries.c
trunk/hw/omap.h
trunk/hw/omap2.c

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

hw/nseries.c +3 -2
@@ -57,7 +57,7 @@
 #define N800_MMC2_WP_GPIO		8
 #define N800_UNKNOWN_GPIO0		9	/* out */
 #define N810_MMC2_VIOSD_GPIO		9
-#define N800_UNKNOWN_GPIO1		10	/* out */
+#define N810_HEADSET_AMP_GPIO		10
 #define N800_CAM_TURN_GPIO		12
 #define N810_GPS_RESET_GPIO		12
 #define N800_BLIZZARD_POWERDOWN_GPIO	15
@@ -82,7 +82,7 @@
 #define N8X0_MMC_CS_GPIO		96
 #define N8X0_WLAN_PWR_GPIO		97
 #define N8X0_BT_HOST_WKUP_GPIO		98
-#define N800_UNKNOWN_GPIO3		101	/* out */
+#define N810_SPEAKER_AMP_GPIO		101
 #define N810_KB_LOCK_GPIO		102
 #define N800_TSC_TS_GPIO		103
 #define N810_TSC_TS_GPIO		106
@@ -96,6 +96,7 @@
 #define N800_UNKNOWN_GPIO4		112	/* out */
 #define N810_SLEEPX_LED_GPIO		112
 #define N800_TSC_RESET_GPIO		118	/* ? */
+#define N810_AIC33_RESET_GPIO		118
 #define N800_TSC_UNKNOWN_GPIO		119	/* out */
 #define N8X0_TMP105_GPIO		125
 

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

hw/omap.h +6 -0
@@ -738,6 +738,10 @@
 void omap_tap_init(struct omap_target_agent_s *ta,
                 struct omap_mpu_state_s *mpu);
 
+struct omap_eac_s;
+struct omap_eac_s *omap_eac_init(struct omap_target_agent_s *ta,
+                qemu_irq irq, qemu_irq *drq, omap_clk fclk, omap_clk iclk);
+
 /* omap_lcdc.c */
 struct omap_lcd_panel_s;
 void omap_lcdc_reset(struct omap_lcd_panel_s *s);
@@ -957,6 +961,8 @@
     struct omap_mcspi_s *mcspi[2];
 
     struct omap_dss_s *dss;
+
+    struct omap_eac_s *eac;
 };
 
 /* omap1.c */

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

hw/omap2.c +547 -2

589 lines not on this page · raw message