aboutsummaryrefslogtreecommitdiff
path: root/arch/arm
AgeCommit message (Collapse)AuthorFilesLines
2011-03-12ARM: EXYNOS4: Suspend to RAM SupportJaecheol Lee5-0/+547
This patch adds support suspend to ram for EXYNOS4210. As a note, this includes function of outer cache flush because it is used before entering PM. Signed-off-by: Jaecheol Lee <[email protected]> Signed-off-by: Kukjin Kim <[email protected]>
2011-03-12ARM: EXYNOS4: Add PMU and CMU Registers for PMJaecheol Lee2-11/+154
This patch adds definitions of PMU and CMU registers for EXYNOS4 PM. Signed-off-by: Jaecheol Lee <[email protected]> Signed-off-by: Kukjin Kim <[email protected]>
2011-03-12Merge branch 'next-exynos4' into next-exynos4-pmKukjin Kim75-1528/+3060
2011-03-12ARM: S5P: Add platform definitions for FIMC3Sylwester Nawrocki8-0/+76
Add support for fourth FIMC platform device definition and define resources for FIMC modules on EXYNOS4 machines. Signed-off-by: Sylwester Nawrocki <[email protected]> Signed-off-by: Kyungmin Park <[email protected]> Signed-off-by: Marek Szyprowski <[email protected]> Signed-off-by: Kukjin Kim <[email protected]>
2011-03-12ARM: S5P: Update defconfig for HRT supportSangbeom Kim6-2/+16
This patch updates s5pv210_defconfig and s5p64x0_defconfig for HRT support and CONFIG_S5P_HRT is used for its configuration. Signed-off-by: Sangbeom Kim <[email protected]> Signed-off-by: Kukjin Kim <[email protected]>
2011-03-12ARM: S5P: Update machine of S5P64X0 and S5PV210 for HRTSangbeom Kim7-7/+21
This patch adds support HRT for machines of S5P64X0 and S5PV210. Basically, PWM Timer3 is used for clockevent and PWM Timer4 is used for clocksource. Since PWM Timer3 is used for other purpose, PWM Timer2 is used on SMDKV210. Signed-off-by: Sangbeom Kim <[email protected]> Signed-off-by: Kukjin Kim <[email protected]>
2011-03-12ARM: S5P: HRT supportSangbeom Kim3-0/+489
This patch adds support HR-Timer(High Resolution Timer) and dynamic tick system for S5P SoCs. There are many clock sources for HR-Timer on S5P SoCs. The PWM timer, RTC, System Timer, and MCT can be used for clock source. This patch can only support PWM timer for clock source of S5P64X0 and S5PV210. Signed-off-by: Sangbeom Kim <[email protected]> Signed-off-by: Kukjin Kim <[email protected]>
2011-03-11ARM: tegra: Add support for Tegra USB PHYsBenoit Goby4-0/+885
Interface used by Tegra's gadget driver and ehci driver to power on and configure the USB PHYs. Signed-off-by: Benoit Goby <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-03-11omap2+: mux: Fix compile when CONFIG_OMAP_MUX is not selectedTony Lindgren3-0/+6
Fix compile when CONFIG_OMAP_MUX is not selected Signed-off-by: Tony Lindgren <[email protected]>
2011-03-11omap4: board-omap4panda: Initialise the serial padsR Sricharan1-1/+68
Use the mux framework to initialise the serial pads. Signed-off-by: sricharan <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
2011-03-11omap3: board-3430sdp: Initialise the serial padsR Sricharan1-1/+101
Use the mux framework to initialise the serial pads. Signed-off-by: sricharan <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
2011-03-11omap4: board-4430sdp: Initialise the serial padsR Sricharan1-2/+69
Use the mux framework to initialise the serial pads. Signed-off-by: sricharan <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
2011-03-11omap2+: mux: Add macro for configuring static with omap_hwmod_mux_initTony Lindgren1-0/+6
Add macro for defining static pins in the board file. We can now start implementing pin multiplexing in the platform init code for devices that call omap_hwmod_mux_init. Currently that is only implemented for serial.c. Signed-off-by: Tony Lindgren <[email protected]>
2011-03-11omap2+: mux: Remove the use of IDLE flagR Sricharan2-13/+7
Currently OMAP_DEVICE_PAD_IDLE flag is used to mux pins dynamically. This can be simplified by using the enabled state variable of each pad. This also fixes the issue of the static pads not getting muxed after idling and disable/enable state transitions. Signed-off-by: sricharan <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
2011-03-11omap2+: Add separate list for dynamic pads to muxTony Lindgren4-16/+83
This avoids going through the list unnecessarily when idling devices for runtime PM. Based on an earlier patch by sricharan <[email protected]>. Signed-off-by: sricharan <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
2011-03-11davinci: macro rename DA8XX_LPSC0_DMAX to DA8XX_LPSC0_PRUSS.Subhasish Ghosh2-2/+2
DMAX is an internal name for the module which is known as PRUSS in TI public documentation. This patch just gets the code in sync with TI documentation. Signed-off-by: Subhasish Ghosh <[email protected]> Acked-by: Sekhar Nori <[email protected]> Signed-off-by: Kevin Hilman <[email protected]>
2011-03-11davinci: DA850 EVM: kill useless variableSergei Shtylyov1-4/+1
Commit 75e2ea643fe43d5aa836475acee5bd97cd9ea4bf (davinci: DA850/OMAP-L138 EVM expander setup and UI card detection) introduced a useless variable: it's always set to 1 before it's checked in da850_evm_setup_nor_nand()... Signed-off-by: Sergei Shtylyov <[email protected]> Acked-by: Sekhar Nori <[email protected]> Signed-off-by: Kevin Hilman <[email protected]>
2011-03-11davinci: add spi devices support for da830/omap-l137/am17x evmSekhar Nori1-0/+67
This patch adds the on-board SPI flash device to the DA830/OMAP-L137/AM17x EVM. It also registers the SPI flash device to the MTD subsystem. Based on SPI flash device support for MityDSP-L138F platform. Signed-off-by: Sekhar Nori <[email protected]> [[email protected]: moved da830evm_spi0_pdata to devices-da8xx.c] [[email protected]: moved da830evm_init_spi0 to devices-da8xx.c] Signed-off-by: Michael Williamson <[email protected]> Signed-off-by: Kevin Hilman <[email protected]>
2011-03-11davinci: add spi devices support for da850/omap-l138/am18x evmSekhar Nori1-0/+73
This patch adds the on-board SPI flash device to the DA850/OMAP-L138/AM18x EVM. It also registers the SPI flash device to the MTD subsystem. Based on SPI flash device support for MityDSP-L138F platform. Signed-off-by: Sekhar Nori <[email protected]> [[email protected]: moved da850_evm_spi1_pdata to devices-da8xx.c] [[email protected]: moved da850evm_init_spi1 to devices-da8xx.c] Signed-off-by: Michael Williamson <[email protected]> Signed-off-by: Kevin Hilman <[email protected]>
2011-03-11davinci: add spi devices support for MityDSP-L138/MityARM-1808 platformMichael Williamson1-0/+84
This patch adds support for accessing the on board SPI NOR FLASH device for MityDSP-L138 and MityARM-1808 SoMs. Signed-off-by: Michael Williamson <[email protected]> Tested-by: Michael Williamson <[email protected]> Acked-by: Sekhar Nori <[email protected]> Signed-off-by: Kevin Hilman <[email protected]>
2011-03-11davinci: da8xx: add spi resources and registration routineMichael Williamson2-0/+108
Add IO resource structures, platform data, and a registration routine in order to support spi device on DA850/OMAP-L138/AM18x and DA830/OMAP-L137/AM17x platforms. Signed-off-by: Michael Williamson <[email protected]> Acked-by: Sekhar Nori <[email protected]> Signed-off-by: Kevin Hilman <[email protected]>
2011-03-11davinci: da850: add spi device clock definitionsMichael Williamson1-0/+16
Add spi clock information for da850. Signed-off-by: Michael Williamson <[email protected]> Acked-by: Sekhar Nori <[email protected]> Signed-off-by: Kevin Hilman <[email protected]>
2011-03-11davinci: da830: fix driver name for spi clocksMichael Williamson1-2/+2
The spi driver name called out for the da830 spi clock list is not correct, fix it. Signed-off-by: Michael Williamson <[email protected]> Acked-by: Sekhar Nori <[email protected]> Signed-off-by: Kevin Hilman <[email protected]>
2011-03-11davinci: da8xx: clean up magic numbers in devices-da8xx.cMichael Williamson1-8/+13
Extract magic numbers from DMA resource initializers to #defines. Signed-off-by: Michael Williamson <[email protected]> Acked-by: Sekhar Nori <[email protected]> Signed-off-by: Kevin Hilman <[email protected]>
2011-03-11davinci: remove unused DA830_edma_ch enumMichael Williamson1-36/+0
The DA830_edma_ch enum set is not used. Remove it. Signed-off-by: Michael Williamson <[email protected]> Acked-by: Sekhar Nori <[email protected]> Signed-off-by: Kevin Hilman <[email protected]>
2011-03-11Merge branch 'for_2.6.39/pm-integration' of ↵Tony Lindgren5-44/+84
ssh://master.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm into omap-for-linus
2011-03-11Merge branch 'integration-2.6.39-for-tony' of ↵Tony Lindgren72-1939/+3527
git://git.pwsan.com/linux-integration into omap-for-linus Conflicts: arch/arm/mach-omap2/pm34xx.c
2011-03-11perf: add OMAP support for the new power eventsJean Pihet3-5/+39
The patch adds the new power management trace points for the OMAP architecture. The trace points are for: - default idle handler. Since the cpuidle framework is instrumented in the generic way there is no need to add trace points in the OMAP specific cpuidle handler; - SoC clocks changes (enable, disable, set_rate), - power domain states: the desired target state and -if different- the actually hit state. Because of the generic nature of the changes, OMAP3 and OMAP4 are supported. Tested on OMAP3 with suspend/resume, cpuidle, basic DVFS. Signed-off-by: Jean Pihet <[email protected]> Acked-by: Paul Walmsley <[email protected]> Signed-off-by: Kevin Hilman <[email protected]>
2011-03-11OMAP4: Add IVA OPP enteries.Shweta Gulati1-1/+7
This Patch adds OPP enteries for IVA in OMAP4 OPP Table Tested on OMAP4430 SDP Board. Signed-off-by: Shweta Gulati <[email protected]> Acked-by: Nishanth Menon <[email protected]> Signed-off-by: Kevin Hilman <[email protected]>
2011-03-11OMAP4: Update Voltage Rail Values for MPU, IVA and COREShweta Gulati1-9/+9
Update MPU, IVA and CORE voltage Rail values obtained from OMAP4430 Data Manual Operating Condition Addendum_v0.4. Tested on OMAP4430 SDP Board. Signed-off-by: Shweta Gulati <[email protected]> Acked-by: Nishanth Menon <[email protected]> Signed-off-by: Kevin Hilman <[email protected]>
2011-03-11OMAP4: Enable 800 MHz and 1 GHz MPU-OPPShweta Gulati1-2/+2
Almost all OMAP4 boards support OPP 800 MHz and OPP 1 GHz. Enable them in OPP Table. For small minority of boards which use OMAP4430-800 MHz device OPP 1GHz is not supported, OPP 1GHz should be disabled from board file. Signed-off-by: Shweta Gulati <[email protected]> Acked-by: Nishanth Menon <[email protected]> Signed-off-by: Kevin Hilman <[email protected]>
2011-03-11OMAP3+: OPP: Replace voltage values with MacrosVishwanath BS2-29/+29
Since all voltage data is now centralized in oppxxx_data.c, we can replace the values in the opp table with the macros used for voltage values. This will avoid opp table and voltage layer having conflicting values. Signed-off-by: Vishwanath BS <[email protected]> Signed-off-by: Nishanth Menon <[email protected]> Signed-off-by: Kevin Hilman <[email protected]>
2011-03-11OMAP: Add gpio-keys support for OveroSteve Sakoman1-0/+42
This patch adds support for the standard push buttons available on Overo expansion boards. Signed-off-by: Steve Sakoman <[email protected]> Acked-by: Tony Lindgren <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2011-03-11OMAP: Add gpio-leds support for OveroSteve Sakoman1-0/+53
This patch adds support for the standard LEDs on the Overo COM and expansion boards Signed-off-by: Steve Sakoman <[email protected]> Acked-by: Tony Lindgren <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2011-03-11omap: overo: Add regulator for ads7846Steve Sakoman1-0/+31
The ads7846 driver now requires a regulator. This patch adds the necessary regulator to the overo board file. Without it, the following error occurs (and the touchscreen will not function): ads7846 spi1.0: unable to get regulator: -19 Signed-off-by: Steve Sakoman <[email protected]> Acked-by: Tony Lindgren <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2011-03-11OMAP: DSS2: Add DSS2 support for OveroSteve Sakoman1-37/+200
This patch adds DSS2 support for DVI, S-video, the 480x272 Samsung LTE430WQ-F0C panel, and the 320x240 LG.Philips LB035Q02 panel. Signed-off-by: Steve Sakoman <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2011-03-11OMAP: DSS2: Functions to request/release DSI VCsArchit Taneja1-0/+3
Introduce functions which request and release VC's. This will be used in panel drivers in their probes. omap_dsi_request_vc() takes in the pointer to the omap_dss_device, the VC_ID parameter which goes into the header of the DSI packets, and returns a Virtual channel number (or virtual channel register set) which it can use. omap_dsi_set_vc_id() takes the omap_dss_device pointer, the Virtual Channel number and the VC_ID that needs to be set for the specifed Virtual Channel. omap_dsi_release_vc() takes the omap_dss_device pointer and the Virtual Channel number that needs to be made free. Initialisation of VC parameters is done in dsi_init(). Signed-off-by: Archit Taneja <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2011-03-11OMAP2PLUS: DSS2: DSI: Generalize DSI PLL Clock NamingArchit Taneja1-2/+2
DSI PLL output clock names have been made more generic. The clock name describes what the source of the clock and what clock is used for. Some of DSI PLL parameters like dividers and DSI PLL source have also been made more generic. dsi1_pll_fclk and dsi2_pll_fclk have been changed as dsi_pll_hsdiv_dispc_clk and dsi_pll_hsdiv_dsi_clk respectively. Also, the hsdividers are now named regm_dispc and regm_dsi instead of regm3 and regm4. Functions and macros named on the basis of these clock names have also been made generic. Signed-off-by: Archit Taneja <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2011-03-11OMAP2PLUS:DSS2: add opt_clock_available in pdataSemwal, Sumit2-0/+24
Provide a function in pdata to allow dss submodules to check if a given clock is available on a platform as an optional clock. Signed-off-by: Senthilvadivu Guruswamy <[email protected]> (based on implementation from Senthil) Signed-off-by: Sumit Semwal <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2011-03-11OMAP2/3/4: DSS2: Enable Display SubSystem as modulesSamreen1-0/+11
Enabling all the display interface options to be built as module And enabling all the display panels to be built as modules. Signed-off-by: Samreen <[email protected]> Acked-by: Tony Lindgren <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2011-03-11OMAP: DSS2: Have separate irq handlers for DISPC and DSIarchit taneja3-22/+24
Currently, the core DSS platform device requests for an irq line for OMAP2 and OMAP3. Make DISPC and DSI platform devices request for a shared IRQ line. On OMAP3, the logical OR of DSI and DISPC interrupt lines goes to the MPU. There is a register DSS_IRQSTATUS which tells if the interrupt came from DISPC or DSI. On OMAP2, there is no DSI, only DISPC interrupts goto the MPU. There is no DSS_IRQSTATUS register. Hence, it makes more sense to have separate irq handlers corresponding to the DSS sub modules instead of having a common handler. Since on OMAP3 the logical OR of the lines goes to MPU, the irq line is shared among the IRQ handlers. The hwmod irq info has been removed for DSS to DISPC and DSI for OMAP2 and OMAP3 hwmod databases. The Probes of DISPC and DSI now request for irq handlers. Signed-off-by: Archit Taneja <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2011-03-11OMAP4: DSS2: Add hwmod device names for OMAP4.Mayuresh Janorkar1-7/+13
Add hwmod device names for OMAP4; this enables device build for omap4 dss hwmod IPs. Signed-off-by: Sumit Semwal <[email protected]> Signed-off-by: Mayuresh Janorkar <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2011-03-11OMAP4: DSS2: clocks: Add ick as dummy clockSumit Semwal1-0/+5
DSS code uses ick as one of the clocks in clk_get/clk_put. OMAP4 clock database doesn't have ick for DSS, so adding ick as dummy clock. This is needed for backward compatibility with OMAP2/3. Once pm_runtime* APIs get introduced in DSS, this will be revisited. Signed-off-by: Sumit Semwal <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2011-03-11OMAP2PLUS: clocks: Align DSS clock names and rolesSumit Semwal5-17/+17
Currently, clock database has <dev, clock-name> tuples for DSS2. Because of this, the clock names are different across different OMAP platforms. This patch aligns the DSS2 clock names and roles across OMAP 2420, 2430, 3xxx, 44xx platforms in the clock databases, hwmod databases for opt-clocks, and DSS clock handling. This ensures that clk_get/put/enable/disable APIs in DSS can use uniform role names. Signed-off-by: Sumit Semwal <[email protected]> Acked-by: Paul Walmsley <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2011-03-11OMAP2, 3: DSS2: DSI: create platform_driver, move init, exit to driverSenthilvadivu Guruswamy8-24/+38
Hwmod adaptation design requires each of the DSS HW IP to be a platform driver. So a platform_driver for DSI is created and init exit methods are moved from core.c to its driver probe,remove. pdev member has to be maintained by its own drivers. Also, vdds_dsi regulator handling is copied to dsi.c, since vdds_dsi regulator is needed by dpi_init() too. Board files are updated accordingly to add 2 instances of vdds_dsi regulator. DSI platform driver is registered from inside omap_dss_probe, in the order desired. Signed-off-by: Senthilvadivu Guruswamy <[email protected]> Signed-off-by: Sumit Semwal <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2011-03-11OMAP2, 3: DSS2: VENC: create platform_driver, move init, exit to driverSenthilvadivu Guruswamy9-9/+9
Hwmod adaptation design requires each of the DSS HW IP to be a platform driver. So a platform_driver for VENC is created and init exit methods are moved from core.c to its driver probe,remove. pdev member has to be maintained by its own drivers. Also, venc_vdda_dac reading is moved to venc.c. VENC platform driver is registered from inside omap_dss_probe, in the order desired. Signed-off-by: Senthilvadivu Guruswamy <[email protected]> Signed-off-by: Sumit Semwal <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2011-03-11OMAP2, 3: DSS2: Move clocks from core driver to dss driverSenthilvadivu Guruswamy3-15/+15
All clock management is moved to dss platform driver. clk_get/put APIs use dss device instead of core platform device. Hwmod adaptation design requires each of the DSS HW IP to be a platform driver. So the device name is changed from omapdss to omapdss_dss in 2420, 2430, 3xxx clock database files. Now the core driver "omapdss" only takes care of panel registration with the custom bus. core driver also uses the clk_enable() / clk_disable() APIs exposed by DSS for clock management. DSS driver would do clock management of clocks needed by DISPC, RFBI, DSI, VENC TODO: The clock content would be adapted to omap_hwmod in a seperate series. Signed-off-by: Senthilvadivu Guruswamy <[email protected]> Signed-off-by: Sumit Semwal <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2011-03-11OMAP2,3: DSS2: Build omap_device for each DSS HWIPSenthilvadivu Guruswamy2-0/+57
Looks up the hwmod database for each of the given DSS HW IP and builds omap_device which inturn does the platform device register for each of DSS HW IP Signed-off-by: Senthilvadivu Guruswamy <[email protected]> Signed-off-by: Sumit Semwal <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
2011-03-11OMAP: 3430SDP: Remove unused vdda_dac supplyTomi Valkeinen1-3/+0
Remove extra vdda_dac supply definition. It was a leftover from conflict resolution. Signed-off-by: Tomi Valkeinen <[email protected]>
2011-03-11ASoC: mini2440: Fix uda134x codec problem.Marek Belisko1-0/+7
ASoC audio for mini2440 platform in current kenrel doesn't work. First problem is samsung_asoc_dma device is missing in initialization. Next problem is with codec. Codec is initialized but never probed because no platform_device exist for codec driver. It leads to errors during codec binding to asoc dai. Next problem was platform data which was passed from board to asoc main driver but not passed to codec when called codec_soc_probe(). Following patch should fix issues. But not sure if in correct way. Please review. Signed-off-by: Marek Belisko <[email protected]> Acked-by: Liam Girdwood <[email protected]> Signed-off-by: Mark Brown <[email protected]> Cc: [email protected]