mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
Initial OMAP I^2C controller implementation (communication not tested).
Correct an i2c_start_transfer comment. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3514 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
f34c417ba6
commit
4a2c8ac2bc
3 changed files with 428 additions and 2 deletions
|
@ -475,6 +475,11 @@ struct omap_uwire_s *omap_uwire_init(target_phys_addr_t base,
|
|||
void omap_uwire_attach(struct omap_uwire_s *s,
|
||||
struct uwire_slave_s *slave, int chipselect);
|
||||
|
||||
struct omap_i2c_s;
|
||||
struct omap_i2c_s *omap_i2c_init(target_phys_addr_t base,
|
||||
qemu_irq irq, qemu_irq *dma, omap_clk clk);
|
||||
i2c_bus *omap_i2c_bus(struct omap_i2c_s *s);
|
||||
|
||||
/* omap_lcdc.c */
|
||||
struct omap_lcd_panel_s;
|
||||
void omap_lcdc_reset(struct omap_lcd_panel_s *s);
|
||||
|
@ -550,6 +555,8 @@ struct omap_mpu_state_s {
|
|||
omap_clk clk;
|
||||
} pwt;
|
||||
|
||||
struct omap_i2c_s *i2c;
|
||||
|
||||
/* MPU private TIPB peripherals */
|
||||
struct omap_intr_handler_s *ih[2];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue