android_kernel_xiaomi_sm8350/arch/arm/plat-omap
Jean Pihet 58cda884ec OMAP3 SDRC: add support for 2 SDRAM chip selects
Some OMAP3 boards (Beagle Cx, Overo, RX51, Pandora) have 2
SDRAM parts connected to the SDRC.

This patch adds the following:
- add a new argument of type omap_sdrc_params struct*
to omap2_init_common_hw and omap2_sdrc_init for the 2nd CS params
- adapted the OMAP boards files to the new prototype of
omap2_init_common_hw
- add the SDRC 2nd CS registers offsets defines
- adapt the sram sleep code to configure the SDRC for the 2nd CS

Note: If the 2nd param to omap2_init_common_hw is NULL, then the
parameters are not programmed into the SDRC CS1 registers

Tested on 3430 SDP and Beagleboard rev C2 and B5, with
suspend/resume and frequency changes (cpufreq).

Signed-off-by: Jean Pihet <jpihet@mvista.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
2009-07-24 19:43:25 -06:00
..
include/mach OMAP3 SDRC: add support for 2 SDRAM chip selects 2009-07-24 19:43:25 -06:00
clock.c Merge branch 'omap4' into for-next 2009-05-28 15:45:14 -07:00
common.c Merge branch 'omap4' into for-next 2009-05-28 15:45:14 -07:00
cpu-omap.c [ARM] OMAP2: Implement CPUfreq frequency table based on PRCM table 2009-02-08 17:50:28 +00:00
debug-devices.c
debug-leds.c
devices.c ARM: OMAP4: Add minimal support for omap4 2009-05-28 14:16:04 -07:00
dma.c OMAP3: DMA: Enable idlemodes for DMA OCP 2009-06-23 13:30:24 +03:00
dmtimer.c ARM: OMAP4: Add minimal support for omap4 2009-05-28 14:16:04 -07:00
fb.c ARM: OMAP: Fix printing of reserved memory for frambuffer 2009-05-11 09:58:19 -07:00
gpio.c OMAP2/3: Initialize gpio debounce register 2009-06-23 13:30:25 +03:00
i2c.c ARM: OMAP: Update contact address of I2C registration helper 2009-05-25 11:08:43 -07:00
io.c ARM: OMAP4: Add minimal support for omap4 2009-05-28 14:16:04 -07:00
iommu.c OMAP: IOMMU: function flush_iotlb_page is not flushing correct entry 2009-06-23 13:30:25 +03:00
iopgtable.h omap iommu: tlb and pagetable primitives 2009-05-05 14:52:39 +03:00
iovmm.c omap iommu: simple virtual address space management 2009-05-19 08:23:49 +03:00
Kconfig [ARM] Kconfig: remove 'default n' 2009-05-31 15:12:25 +01:00
mailbox.c block: implement and enforce request peek/start/fetch 2009-05-11 09:52:18 +02:00
Makefile omap iommu: entries for Kconfig and Makefile 2009-05-22 10:16:36 +03:00
mcbsp.c ARM: OMAP: McBSP: Fix legacy interrupts to clear their status 2009-05-25 11:08:42 -07:00
mux.c ARM: OMAP4: Add minimal support for omap4 2009-05-28 14:16:04 -07:00
ocpi.c
sram.c OMAP3 SDRC: add support for 2 SDRAM chip selects 2009-07-24 19:43:25 -06:00
usb.c ARM: OMAP: get rid of OMAP_TAG_USB, v2 2009-03-23 18:51:20 -07:00