Statistics
| Branch: | Revision:

root / hw / omap.h @ 93148aa5

History | View | Annotate | Download (34.8 kB)

# Date Author Comment
b9f7bc40 01/04/2012 03:41 pm Juha Riihimäki

hw/omap1.c: Separate dpll_ctl from omap_mpu_state

Signed-off-by: Juha Riihimäki <>
[Riku Voipio: Fixes and restructuring patchset]
Signed-off-by: Riku Voipio <>
[Peter Maydell: More fixes and cleanups for upstream submission]...

03759534 01/04/2012 03:41 pm Juha Riihimäki

hw/omap1.c: Separate PWT from omap_mpu_state

Signed-off-by: Juha Riihimäki <>
[Riku Voipio: Fixes and restructuring patchset]
Signed-off-by: Riku Voipio <>
[Peter Maydell: More fixes and cleanups for upstream submission]...

8717d88a 01/04/2012 12:35 pm Juha Riihimäki

hw/omap1.c: Separate PWL from omap_mpu_state

Signed-off-by: Juha Riihimäki <>
[Riku Voipio: Fixes and restructuring patchset]
Signed-off-by: Riku Voipio <>
[Peter Maydell: More fixes and cleanups for upstream submission]...

3b204c81 01/04/2012 12:35 pm Peter Maydell

hw/omap1.c: omap_mpuio_init() need not be public

omap_mpuio_init() is only used and defined in omap1.c, so make it static.

Signed-off-by: Peter Maydell <>

f44336c5 11/28/2011 03:40 pm Avi Kivity

omap_l4: rename omap_l4_attach_region() to omap_l4_attach()

Signed-off-by: Avi Kivity <>

30af1ec7 11/28/2011 03:38 pm Benoît Canet

omap_lcdc: convert to memory API

Signed-off-by: Benoît Canet <>
Signed-off-by: Avi Kivity <>

74878139 11/28/2011 03:38 pm Benoît Canet

omap_i2c: convert to memory API

Signed-off-by: Benoît Canet <>
Signed-off-by: Avi Kivity <>

a6dbd3c8 11/28/2011 03:38 pm Avi Kivity

omap_l4: remove omap_l4_attach()

No longer used.

Signed-off-by: Avi Kivity <>

3892f842 11/28/2011 03:38 pm Benoît Canet

omap_l4: convert to memory API

Signed-off-by: Benoît Canet <>
Signed-off-by: Avi Kivity <>

011a98a1 11/28/2011 03:38 pm Avi Kivity

omap2: convert to memory API (part II)

Signed-off-by: Avi Kivity <>

4852e5d8 11/28/2011 03:38 pm Avi Kivity

omap_dss: convert to memory API

Signed-off-by: Avi Kivity <>

0a9ee1a7 11/28/2011 03:38 pm Avi Kivity

omap_tap: convert to memory API

Signed-off-by: Avi Kivity <>

6a0148e7 11/28/2011 03:38 pm Avi Kivity

omap_sdrc: convert to memory API

Signed-off-by: Avi Kivity <>

7405165e 11/28/2011 03:38 pm Avi Kivity

omap_dma: convert to memory API

Signed-off-by: Avi Kivity <>

a56e423c 11/28/2011 03:38 pm Avi Kivity

omap: eliminate l4_register_io_memory

This is a trivial wrapper around cpu_register_io_memory(), adding
no value. Inline it into all callers.

Reviewed-by: Peter Maydell <>
Signed-off-by: Avi Kivity <>

f3226149 11/28/2011 03:38 pm Avi Kivity

omap_l4: add memory API variant of omap_l4_attach()

Also add omap_l4_region_size(), since memory API functions need
the size during initialization.

Reviewed-by: Peter Maydell <>
Signed-off-by: Avi Kivity <>

c304fed7 11/28/2011 03:38 pm Avi Kivity

omap_mmc: convert to memory API

Signed-off-by: Avi Kivity <>

aee39503 11/28/2011 03:38 pm Avi Kivity

omap_uart: convert to memory API

Signed-off-by: Avi Kivity <>

92c0bba9 11/28/2011 03:38 pm Avi Kivity

omap: remove L4_MUX_HACK

This was introduced apparently to overcome a limitation on the number of
cpu_register_io_memory() calls. 477b24ef91175 (July 2008) removed use
of the hack, but retained the code. This patch removes the code as well.

Reviewed-by: Peter Maydell <>...

0919ac78 09/23/2011 12:44 pm Peter Maydell

omap_intc: Qdevify

Convert the omap_intc devices to qdev. This includes adding
a 'revision' property which will be needed for omap3.

The bulk of this patch is the replacement of "s->irq[x][y]"
with "qdev_get_gpio_in(s->ih[x], y)" now that the interrupt...

2654c962 09/21/2011 11:14 am Avi Kivity

omap1: convert to memory API (part VI)

Easy RAM stuff.

Acked-by: Peter Maydell <>
Signed-off-by: Avi Kivity <>

9898b79a 09/21/2011 11:14 am Avi Kivity

omap_lcdc: remove imif, emiff from structure

Not used.

Acked-by: Peter Maydell <>
Signed-off-by: Avi Kivity <>

60fe76e3 09/21/2011 11:14 am Avi Kivity

omap1: convert to memory API (part IV)

Acked-by: Peter Maydell <>
Signed-off-by: Avi Kivity <>

a4ebbd18 09/21/2011 11:14 am Avi Kivity

omap1: convert to memory API (part III)

Acked-by: Peter Maydell <>
Signed-off-by: Avi Kivity <>

e7aa0ae0 09/21/2011 11:14 am Avi Kivity

omap1: convert to memory API (part II)

Acked-by: Peter Maydell <>
Signed-off-by: Avi Kivity <>

4b3fedf3 09/21/2011 11:14 am Avi Kivity

omap1: convert to memory API (part I)

Acked-by: Peter Maydell <>
Signed-off-by: Avi Kivity <>

eee0a1c6 08/28/2011 07:37 pm Peter Maydell

omap: Wire up the DMA request line to the GPMC

Signed-off-by: Peter Maydell <>

07bc2f80 08/28/2011 07:37 pm Peter Maydell

omap_gpmc: Clean up omap_gpmc_attach MemoryRegion conversion

Now that all callers of omap_gpmc_attach pass in a MemoryRegion*,
we can remove the base_update and unmap function pointer arguments,
and the opaque pointer that was passed into these callbacks....

b5325c27 08/28/2011 07:37 pm Juha Riihimäki

omap_gpmc: Take omap_mpu_state* in omap_gpmc_init

Take a pointer to the omap mpu state struct in omap_gpmc_init.
Some details of GPMC behaviour depend on the OMAP version we
are a part of.

Signed-off-by: Juha Riihimäki <>
[Riku Voipio: Fixes and restructuring patchset]...

2a952feb 08/28/2011 07:37 pm Peter Maydell

omap_gpmc: Support NAND devices

Support accesses to NAND devices, both by mapping them into
the GPMC address space, and via the NAND_COMMAND, NAND_ADDRESS
and NAND_DATA GPMC registers.

Signed-off-by: Peter Maydell <>

f13e656e 08/28/2011 07:37 pm Peter Maydell

hw/omap.h: Add OMAP 3630 to omap_mpu_model enumeration

Add the OMAP 3630 to the omap_mpu_model enumeration, and add the
corresponding cpu_is_omap3630() function.

(OMAP3 isn't supported yet but this is useful in upgrading common
components to be "OMAP3 ready". We already have this for OMAP3430.)...

64066a8f 08/22/2011 06:21 pm Avi Kivity

omap_gpmc/nseries/tusb6010: convert to memory API

Somewhat clumsy since it needs a variable sized region.

Signed-off-by: Avi Kivity <>
Signed-off-by: Anthony Liguori <>

7267c094 08/21/2011 07:01 am Anthony Liguori

Use glib memory allocation and free functions

qemu_malloc/qemu_free no longer exist after this commit.

Signed-off-by: Anthony Liguori <>

77831c20 07/30/2011 07:00 am Juha Riihimäki

hw/omap_gpio.c: Convert to qdev

Convert the OMAP GPIO module to qdev.

Signed-off-by: Juha Riihimäki <>
[Riku Voipio: Fixes and restructuring patchset]
Signed-off-by: Riku Voipio <>
[Peter Maydell: More fixes and cleanups for upstream submission]...

f9049203 07/30/2011 07:00 am Juha Riihimäki

hw/omap_l4.c: Add helper function omap_l4_region_base

Add helper function omap_l4_region_base() to return the base address
of a particular region of an L4 target agent.

Signed-off-by: Juha Riihimäki <>
[Riku Voipio: Fixes and restructuring patchset]...

2507c12a 12/11/2010 05:24 pm Alexander Graf

Add endianness as io mem parameter

As stated before, devices can be little, big or native endian. The
target endianness is not of their concern, so we need to push things
down a level.

This patch adds a parameter to cpu_register_io_memory that allows a
device to choose its endianness. For now, all devices simply choose...

6a8aabd3 09/10/2010 02:55 am Stefan Weil

hw/omap: Fix default setup for OMAP UART devices

Character devices created by qemu_chr_open don't
allow duplicate device names, so naming all
UART devices "null" no longer works.

Running "qemu-system-arm -M n800" (and some other machines)
results in this error message:...

c1ff227b 06/30/2010 09:41 pm cmchao

hw/omap : make local function static and remove declaration from header

Signed-off-by: cmchao <>
Signed-off-by: Aurelien Jarno <>

7f132a21 06/30/2010 09:41 pm cmchao

hw/omap1.c : separate interrupt controller module

Signed-off-by: cmchao <>
Signed-off-by: Aurelien Jarno <>

2d08cc7c 06/30/2010 09:41 pm cmchao

hw/omap2.c : separate spi module

Signed-off-by: cmchao <>
Signed-off-by: Aurelien Jarno <>

2c1d9ecb 06/30/2010 09:41 pm cmchao

hw/omwp2.c : separate l4 interconnect module

Signed-off-by: cmchao <>
Signed-off-by: Aurelien Jarno <>

d82310f7 06/30/2010 09:41 pm cmchao

hw/omap2.c : separate gpio module

Signed-off-by: cmchao <>
Signed-off-by: Aurelien Jarno <>

c58d37cf 06/30/2010 09:41 pm cmchao

hw/omap2.c : separate gptimer module

Signed-off-by: cmchao <>
Signed-off-by: Aurelien Jarno <>

011d87d0 06/30/2010 09:41 pm cmchao

hw/omap2.c : separate synctimer module

Signed-off-by: cmchao <>
Signed-off-by: Aurelien Jarno <>

f3354b0e 06/30/2010 09:41 pm cmchao

hw/omap2.c : separate gpmc(general purpose memory controller)

Signed-off-by: cmchao <>
Signed-off-by: Aurelien Jarno <>

0bf43016 06/30/2010 09:41 pm cmchao

hw/omap2.c : separate sdrc (sdram controller)

Signed-off-by: cmchao <>
Signed-off-by: Aurelien Jarno <>

e5c6b25a 06/30/2010 09:41 pm cmchao

hw/omap1.c : separate gpio module

Signed-off-by: cmchao <>
Signed-off-by: Aurelien Jarno <>

c227f099 10/02/2009 12:12 am Anthony Liguori

Revert "Get rid of _t suffix"

In the very least, a change like this requires discussion on the list.

The naming convention is goofy and it causes a massive merge problem. Something
like this must be presented on the list first so people can provide input...

99a0949b 10/01/2009 09:45 pm malc

Get rid of _t suffix

Some not so obvious bits, slirp and Xen were left alone for the time
being.

Signed-off-by: malc <>

d60efc6b 08/25/2009 09:29 pm Blue Swirl

Make CPURead/WriteFunc structure 'const'

Signed-off-by: Blue Swirl <>

8167ee88 07/16/2009 11:47 pm Blue Swirl

Update to a hopefully more future proof FSF address

Signed-off-by: Blue Swirl <>

1eed09cb 06/16/2009 11:18 pm Avi Kivity

Remove io_index argument from cpu_register_io_memory()

The parameter is always zero except when registering the three internal
io regions (ROM, unassigned, notdirty). Remove the parameter to reduce
the API's power, thus facilitating future change.

Signed-off-by: Avi Kivity <>...

bc24a225 05/10/2009 03:44 am Paul Brook

Follow coding conventions

Remove explicit struct qualifiers and rename structure types.

Signed-off-by: Paul Brook <>

714fa308 04/01/2009 03:27 pm pbrook

Implement and use shared memory framebuffer device rendering reoutine.
Use DMA mapping API.

Signed-off-by: Paul Brook <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6965 c046a42c-6fe2-441c-8c8c-71466251a162

3023f332 01/16/2009 09:04 pm aliguori

graphical_console_init change (Stefano Stabellini)

Patch 5/7

This patch changes the graphical_console_init function to return an
allocated DisplayState instead of a QEMUConsole.

This patch contains just the graphical_console_init change and few other
modifications mainly in console.c and vl.c....

fad6cb1a 01/05/2009 12:05 am aurel32

Update FSF address in GPL/LGPL boilerplate

The attached patch updates the FSF address in the GPL/LGPL boilerplate
in most GPL/LGPLed files, and also in COPYING.LIB.

Signed-off-by: Stuart Brady <>
Signed-off-by: Aurelien Jarno <>...

8da3ff18 12/01/2008 08:59 pm pbrook

Change MMIO callbacks to use offsets, not absolute addresses.

Signed-off-by: Paul Brook <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5849 c046a42c-6fe2-441c-8c8c-71466251a162

75554a3c 09/20/2008 04:10 am balrog

Allow attaching devices to OMAP UARTs.

Also avoid two signedness warnings in hw/omap2.c.
The API to attach new devices to serials is fine, bu the implementation
is a hack.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5263 c046a42c-6fe2-441c-8c8c-71466251a162

afbb5194 07/21/2008 11:40 pm balrog

Handle on-chip DMA controllers in one place, convert OMAP DMA to use it.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4920 c046a42c-6fe2-441c-8c8c-71466251a162

99570a40 07/18/2008 10:50 am balrog

OMAP2 EAC module.

Not yet hooked up to any CODEC.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4886 c046a42c-6fe2-441c-8c8c-71466251a162

477b24ef 07/16/2008 04:06 pm balrog

Disable OMAP2 combined-io-entries hack now that more regions are allowed.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4879 c046a42c-6fe2-441c-8c8c-71466251a162

c66fb5bc 05/18/2008 03:14 pm balrog

Collapse omap peripherals on L4 bus into one io entry (temporarily).

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4489 c046a42c-6fe2-441c-8c8c-71466251a162

e927bb00 05/07/2008 05:30 pm balrog

Nokia N810 basic system emulation.

Add TSC2005 touchscreen controller.
Add N810 machine definition.
Unify N800 and N810 ATAG list generation.
Pass a word length parameter on every SPI transfer.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4374 c046a42c-6fe2-441c-8c8c-71466251a162

54585ffe 05/04/2008 06:26 pm balrog

OMAP STI/XTI console.

Add a dummy serial to receive the output from STI console (OMAP
debugging/emulation interface).
Add some more OMAP UART dummy registers.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4331 c046a42c-6fe2-441c-8c8c-71466251a162

a5d7eb65 04/15/2008 12:28 am balrog

Add TSC2301 touchscreen & keypad controller.

Add also a facility for setting up touchscreen calibration data per-board
based on calibration data generated by tslib.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4214 c046a42c-6fe2-441c-8c8c-71466251a162

827df9f3 04/15/2008 12:05 am balrog

Add basic OMAP2 chip support.

Add the OMAP242x (arm1136 core) initialisation with basic on-chip
peripherals and update OMAP1 peripherals which are re-used in OMAP2.
Make palmte.c and sd.c errors go to stderr.
Allow disabling SD chipselect.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4213 c046a42c-6fe2-441c-8c8c-71466251a162

b4e3104b 03/06/2008 11:07 pm balrog

Split OMAP DMA out to a file apart.
Rename omap files to better reflect OMAP1-specific parts.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4025 c046a42c-6fe2-441c-8c8c-71466251a162

29885477 02/10/2008 07:02 pm balrog

Make omap I2C controller work (previously untested). Implement post-OMAP1 changes. Introduce omap L4 abstraction.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3977 c046a42c-6fe2-441c-8c8c-71466251a162

089b7c0a 12/10/2007 12:32 am balrog

OMAP DMA 3.2 support by Lauro Ramos Venancio.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3786 c046a42c-6fe2-441c-8c8c-71466251a162

106627d0 12/05/2007 05:23 am balrog

Rework OMAP1 interrupt handling to allow multiple interrupt banks, by Lauro Ramos Venancio.
Add irq pulse shortcut, by Lauro Ramos Venancio.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3774 c046a42c-6fe2-441c-8c8c-71466251a162

f9d43072 11/20/2007 01:15 pm balrog

OMAP LPGs (LED pulse generators).
OMAP MPUI bridge config register.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3710 c046a42c-6fe2-441c-8c8c-71466251a162

73560bc8 11/19/2007 05:43 am balrog

Clean-up/rewrite audio over I^2S support.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3704 c046a42c-6fe2-441c-8c8c-71466251a162

9596ebb7 11/18/2007 03:44 am pbrook

Add statics and missing #includes for prototypes.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3683 c046a42c-6fe2-441c-8c8c-71466251a162

87ecb68b 11/17/2007 07:14 pm pbrook

Break up vl.h.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3674 c046a42c-6fe2-441c-8c8c-71466251a162

d8f699cb 11/05/2007 12:53 am balrog

Zeroing ITR shouldn't ack irq zero.
Fix PWT & PWL clocks, fix user refcounting for clocks, add 'hsab_ck' and 'usb_w2fc_ck'.
Fix TCMI register addresses.
Implement OMAP McBSP controller and connection to I2S-compatible CODECs.
Add audio support for TSC2102 as an I2S CODEC....

cf965d24 11/04/2007 02:19 pm balrog

Add register mappings in DSP space (must be accessible for MPU too).
Don't set microwire CSR-busy bit too early.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3530 c046a42c-6fe2-441c-8c8c-71466251a162

b854bc19 11/04/2007 01:42 pm balrog

Make accesses with wrong width also work as apparently real hardware allows them when the fault is disabled.
Fix DMA register writes if target_phys_addr_t is 64-bit.
Make more functions static.
A timer hack to make PalmOS run in finite time (uses very short timer periods, much shorter than clocksource tick)....

02645926 11/03/2007 02:50 pm balrog

Split I^2C controller out of hw/omap.c.
Insert a list of missing memory mappings from OMAP310 datasheet.
Add missing "rtc" field for RTC.
Correct PWL and PWT register read/write handler pointers.
Add a Changelog entry about OMAP emulation.
Add a qemu-doc snippet about Palm T|E platform....

5c1c390f 11/03/2007 02:44 pm balrog

Implement OMAP on-chip RTC (Linux guest date/time now matches with host).

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3515 c046a42c-6fe2-441c-8c8c-71466251a162

4a2c8ac2 11/03/2007 02:51 am balrog

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

f34c417b 11/03/2007 02:48 am balrog

Add OMAP Pulse-width Tone module.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3513 c046a42c-6fe2-441c-8c8c-71466251a162

66450b15 11/03/2007 02:46 am balrog

Implement OMAP PWL (backlight) module.
Fix GPIO clock name and output level change notifications.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3512 c046a42c-6fe2-441c-8c8c-71466251a162

d951f6ff 10/29/2007 03:50 am balrog

Implement OMAP MicroWire controller.
Fix GPIO interrupt number.
Reorder a couple of variables.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3477 c046a42c-6fe2-441c-8c8c-71466251a162

64330148 10/28/2007 11:02 pm balrog

Add OMAP Shared GPIO module.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3473 c046a42c-6fe2-441c-8c8c-71466251a162

8e129e07 10/28/2007 09:24 pm balrog

Handle MMC card insertion/removal/readonly signals.
Hook them up to Palm T|E GPIOs.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3471 c046a42c-6fe2-441c-8c8c-71466251a162

fe71e81a 10/28/2007 06:45 pm balrog

Implement OMAP1 MPU I/O module.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3469 c046a42c-6fe2-441c-8c8c-71466251a162

5fafdf24 09/17/2007 12:08 am ths

find -type f | xargs sed -i 's/[\t ]$//g' # on most files

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3173 c046a42c-6fe2-441c-8c8c-71466251a162

b30bb3a2 07/31/2007 04:45 am balrog

Add OMAP MMC/SD host controller.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3097 c046a42c-6fe2-441c-8c8c-71466251a162

c3d2689d 07/29/2007 08:57 pm balrog

Basic OMAP310 support. Basic Palm Tungsten|E machine emulation.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3091 c046a42c-6fe2-441c-8c8c-71466251a162