aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'p-ti-android-3.8.y-video'HEADmasterSundar Raman2013-07-266-19/+95
|\
| * Merge branch 'ion' into p-ti-android-3.8.y-videoSundar Raman2013-07-266-19/+95
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This contains the ION cleanup series and caching changes * ion: gpu: ion: add support for more cache operations gpu: ion: DRA7: ensure TILER 2d mappings are shared device ARM: dts: DRA7/OMAP5: reserve carveout buffers & fix carveout size gpu: ion: fix omap_ion_share_fd_to_buffers api gpu: ion: omap: add checks for carveout addresses and sizes gpu: ion: omap: Fix TILER secure heap base address gpu: ion: omap: re-populate flags parameters into buffer Signed-off-by: Sundar Raman <a0393242@ti.com>
| | * gpu: ion: add support for more cache operationsSundar Raman2013-07-262-4/+28
| | | | | | | | | | | | | | | | | | | | | Enhance ion_sync_for_device to take in cache direction Change-Id: I78bef9c2b5cc461b5f49c6019d031a15ce1a36de Signed-off-by: Sundar Raman <a0393242@ti.com>
| | * gpu: ion: DRA7: ensure TILER 2d mappings are shared deviceSundar Raman2013-07-261-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Write combined mappings are not supported for TILER 2D on DRA7 similar to OMAP5 due to h/w issue. So, shared mappings should be used. Added the check which was missing for DRA7. Change-Id: I8ba9bd676f2942dd6a8bd5737bab8e25c8f1cbd3 Signed-off-by: Sundar Raman <a0393242@ti.com>
| | * ARM: dts: DRA7/OMAP5: reserve carveout buffers & fix carveout sizeSundar Raman2013-07-262-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Carveout buffers were initialized but not reserved for DRA7. This patch adds the missing memreserves without which there could be data corruption in highmem region. In addition, the carveout size for TILER secure heap was programmed wrongly to 96MB whereas it should have been 81 MB. This patch fixes this and re-adjusts the carveout base addresses. Change-Id: I151bd37f089aa7fbf590035ea4f612f1da12f53a Signed-off-by: Sundar Raman <a0393242@ti.com>
| | * gpu: ion: fix omap_ion_share_fd_to_buffers apiSundar Raman2013-07-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the output value from ion_share_dma_buf is a dma buf fd buffers array was filled mistakenly as the code was ported from k3.4 where the equivalent function ion_share used to return pointer to ion_buffer. updated the code to upref using ion_share_dma_buf() and get the handle to buffer using ion_handle_buffer(). Change-Id: I3bb39f918a9dde8ee78ffa3adcab447589295fdf Signed-off-by: Sundar Raman <a0393242@ti.com>
| | * gpu: ion: omap: add checks for carveout addresses and sizesSundar Raman2013-07-261-6/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds sanity checks on the carveout and size parameters read from the device tree file and returns error. It also checks if the device tree is populated and returns error accordingly. Change-Id: Ic1f4e9d7c5f7e9361d9fe922544f9dbc105d99c3 Signed-off-by: Sundar Raman <a0393242@ti.com>
| | * gpu: ion: omap: Fix TILER secure heap base addressSundar Raman2013-07-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Access to ION TILER buffers were resulting in data aborts because of incorrect heap base address initialization. The omap_ion_heap_tiler_base variable was not being initialized. With this patch the ION tests pass. Change-Id: Ic072767a5b70b1eab37caf0a7fadb96f1da97b34 Signed-off-by: Sundar Raman <a0393242@ti.com>
| | * gpu: ion: omap: re-populate flags parameters into bufferSundar Raman2013-07-261-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the flags function param of omap_tiler_heap_allocate is used to pass the omap_tiler_info struct, pass the actual flags param from the client inside omap_tiler_info struct and re-populate it into the buffer struct. Change-Id: I06f3b6125c2760f7b4bcc7f174458139d80ec000 Signed-off-by: Sundar Raman <a0393242@ti.com>
* | | Merge branch 'p-ti-android-3.8.y-video'Sundar Raman2013-07-260-0/+0
|\| |
| * | Merge branch 'p-ti-android-3.8.y-video' of ↵Praneeth Bajjuri2013-07-2517-37/+499
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.ti.com/android-sdk/kernel-video into p-ti-android-3.8.y * 'p-ti-android-3.8.y-video' of git://git.ti.com/android-sdk/kernel-video: ARM: OMAP5/DRA7: hwmod: add ADDR_TYPE_RT to bb2d address flags gc320: gcx: [WA] Allocate MMU page tables as non cached gc320: Added missing programming of MTLB base second time gc320: Increase VRAM buffers to 4 gc320: adding gcxxx support in Makefiles gc320: Adapt GC320 driver for K3.8 devices: Initialize GC320 as part of devices init platform_data: Added platform data for GC320 gc320: OMAP4: Adding cache-2dmanager Change-Id: I7b240582c78cb9ba0c5d77e56ab0cf06d29a64a4 Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
| | * \ Merge remote-tracking branch 'origin/omaplfb' into p-ti-android-3.8.y-videoPraneeth Bajjuri2013-07-2517-37/+499
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This contains GC320 series * origin/omaplfb: ARM: OMAP5/DRA7: hwmod: add ADDR_TYPE_RT to bb2d address flags gc320: gcx: [WA] Allocate MMU page tables as non cached gc320: Added missing programming of MTLB base second time gc320: Increase VRAM buffers to 4 gc320: adding gcxxx support in Makefiles gc320: Adapt GC320 driver for K3.8 devices: Initialize GC320 as part of devices init platform_data: Added platform data for GC320 gc320: OMAP4: Adding cache-2dmanager Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
| | | * | ARM: OMAP5/DRA7: hwmod: add ADDR_TYPE_RT to bb2d address flagsSundar Raman2013-07-252-7/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is required so that the omap_hwmod_get_mpu_rt_va() api returns a virtual register base address for the IP. Change-Id: I29aff07f34653c552b3eac3a1ac3f10e36b7efbb Signed-off-by: Sundar Raman <a0393242@ti.com>
* | | | | Merge branch 'p-ti-android-3.8.y-video'Sundar Raman2013-07-25179-1097/+48368
|\ \ \ \ \
| * \ \ \ \ Merge branch 'omaplfb' into p-ti-android-3.8.y-videoSundar Raman2013-07-2515-30/+477
| |\ \ \ \ \ | | | |_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | Enabled GC320 as of this commit on J6 EVM and validated via HWC Need to cherrypick http://review.omapzoom.org/#/c/33221/7 in addition.
| | * | | | gc320: gcx: [WA] Allocate MMU page tables as non cachedSundar Raman2013-07-252-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In K3.8, the cache flushing APIs for the MMU page tables are not working correctly. Changed the allocations to non cached to workaround the problem until the correct root cause is found. Change-Id: Id87497b86d3d93941926f4fc417a4f8d81a5d570 Signed-off-by: Sundar Raman <a0393242@ti.com>
| | * | | | gc320: Added missing programming of MTLB base second timeAlexei Shlychkov2013-07-251-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes a crash when running the bvtest test case second time around. The MTLB base address was not programmed second time around leading to a bad MMU state. This patch ensures that the MTLB base is programmed correctly. Change-Id: Iab33425bc61c1e1618c78bdb17f64cbb9d7b4309 Signed-off-by: Alexei Shlychkov <shlychkov@gmail.com> Signed-off-by: Sundar Raman <a0393242@ti.com>
| | * | | | gc320: Increase VRAM buffers to 4Sundar Raman2013-07-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With GC320 driver integrated and LCD/HDMI output using VRAM buffers for SGX composition, it is necessary to increase the number of VRAM buffers to 4 inorder to allow GC320 to use 2 buffers for composition output. Change-Id: I2a481ab9c5c16cd26ac5635b543f41e8c5929fdf Signed-off-by: Sundar Raman <a0393242@ti.com>
| | * | | | gc320: adding gcxxx support in MakefilesDavid Sin2013-07-252-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ported from k3.0, commit Id 6c14dfc5c011ce3 [ David Sin <davidsin@ti.com> ] Change-Id: Ie3b211ff273c9257b596560b6260058466152b35 Signed-off-by: Volodymyr Mieshkov <volodymyr.mieshkov@ti.com> Signed-off-by: Sundar Raman <sunds@ti.com>
| | * | | | gc320: Adapt GC320 driver for K3.8Sundar Raman2013-07-254-28/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modified SOC checks and a few other minor changes. Change-Id: I426c2f017bea0384c7602dd50c0b558329d79b1a Signed-off-by: Sundar Raman <a0393242@ti.com>
| | * | | | devices: Initialize GC320 as part of devices initSundar Raman2013-07-251-0/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With K3.8, devices.c is used to initialize platform devices. Added GC320 initialization here so that it is done as part of bootup. Change-Id: I45d3e3b18fb4b419f7a5aabfa7cea54460ffe46a Signed-off-by: Sundar Raman <a0393242@ti.com>
| | * | | | platform_data: Added platform data for GC320Sundar Raman2013-07-251-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The omap_gcx.h file which contains platform specific structures for gc320 IP is being added as part of this patch Change-Id: I4889333139bb8cd3724ec99ad3e108952e585ed1 Signed-off-by: Sundar Raman <a0393242@ti.com>
| | * | | | gc320: OMAP4: Adding cache-2dmanagerJack Yen2013-07-254-0/+279
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on k3.0 commit: p-android-omap-3.0: 43eb373199a [Jack Yen <jyen@ti.com>] Change-Id: I7e43de75a20a1cead49e902a7fedad9d4f568855 Signed-off-by: Jack Yen <jyen@ti.com> Signed-off-by: Volodymyr Mieshkov <volodymyr.mieshkov@ti.com> Signed-off-by: Sundar Raman <sunds@ti.com>
| * | | | | Merge remote-tracking branch 'omapzoom/p-ti-android-3.8.y' into ↵Sundar Raman2013-07-2543-614/+1883
| |\ \ \ \ \ | | | |/ / / | | |/| / / | | |_|/ / | |/| | | p-ti-android-3.8.y-video
| | * | | defconfig: android: Enable dra7-evm sound supportMisael Lopez Cruz2013-07-221-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable ALSA and dra7-evm sound support as built-in features. Change-Id: Ia3576d802f9445870e2b4cb257fa2862df47e0a7 Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
| | * | | Merge branch 'p-ti-linux-3.8.y' into p-ti-android-3.8.yPraneeth Bajjuri2013-07-221-8/+15
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * p-ti-linux-3.8.y: ARM: OMAP: omap2plus_defconfig: disable USB debug flags ARM: omap2plus_defconfig: Enable dra7-evm sound support Change-Id: I45384b836e98f8b8a5ef44fd215ee664e84303bf Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
| | | * | | ARM: OMAP: omap2plus_defconfig: disable USB debug flagsVishal Mahaveer2013-07-221-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Disable USB debug flags from omap2plus_defconfig Change-Id: Icfa01952faae6992d5bfc97ce8ae27f79f977e3c Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
| | | * | | ARM: omap2plus_defconfig: Enable dra7-evm sound supportMisael Lopez Cruz2013-07-221-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable ALSA and dra7-evm sound support as built-in features. Change-Id: I3d00f20e7aeeee3a6d298183969de21e32d264b8 Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
| | * | | | defconfig: android: disable USB debug flagVishal Mahaveer2013-07-221-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Disabling USB debug flag from android defconfig Change-Id: I4e869c4aa44ae11815808991c05a7fe3295aa8aa Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
| | * | | | Merge branch 'p-ti-linux-3.8.y' into p-ti-android-3.8.yPraneeth Bajjuri2013-07-2219-130/+1370
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * p-ti-linux-3.8.y: (30 commits) ARM: dts: dra7-evm: Add HDMI sound node OMAPDSS: HDMI: Fix GPA Channel Setting and Channel Allocation for 6-Channels OMAPDSS: OMAP5: HDMI: Audio InfoFrame DB1 field offsets ASoC: omap-hdmi-card: Remove redundant print ARM: DRA7: hwmod: Fix HDMI irq number ARM: DRA7: clocks: Fix HDMI sys_clk mux register ASoC: DRA7: dra7-evm: HACK: Set McASP DMA reqs in sDMA crossbar ARM: dts: dra7-evm: Add sound card node ARM: dts: dra7: Add ATL node ARM: dts: dra7: Add McASP nodes ARM: dts: dra7-evm: Add audio pinctrl ASoC: DRA7: dra7-evm: Add initial support for DRA7 EVM ASoC: DRA7: atl: Add initial support for Audio Tracking Logic ARM: DRA7: clocks: Append _ck to atl_clkin* and ref_clkin* ARM: DRA7: clock: Fix the wrong ABE PLL lock frequency ARM: DRA7: hwmod: Disable smart-idle for McASP ASoC: davinci-mcasp: Add hw_rule for buffer_size when using AFIFO ASoC: davinci-mcasp: Add support for using McASP DATA port ASoC: davinci-mcasp: HACK: Add MCASP_VERSION_4 support ASoC: davinci-mcasp: Add support for 1-channel ... Conflicts: arch/arm/boot/dts/dra7-evm.dts Change-Id: I6134724d21801c94afeae8fb369f171bae901db6 Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
| | | * | | ARM: dts: dra7-evm: Add HDMI sound nodeMisael Lopez Cruz2013-07-221-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add HDMI audio node. Change-Id: I220e56b5a45716a7f7d6bd0b32df102f16746d16 Signed-off-by: Dandawate Saket <dsaket@ti.com> Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
| | | * | | OMAPDSS: HDMI: Fix GPA Channel Setting and Channel Allocation for 6-ChannelsAngela Stegmaier2013-07-222-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable channels 0 to 5 in GPA configuration (GP_CONF1) for the 6 channels case. This fixes an issue where the Audio Sample Packet was carrying 8 channels instead of 6 channels. The new GPA configuration sets the sample_present.sp3 bit to 0, then 0x13 is not a valid channel allocation. So, the channel allocation is set to a valid value (0xb), when the number of channels is 6. Also a typo is fixed in the comments for the eight channel case. Change-Id: I3c987a4efdaf9f9594c99dc1fca1470b53a59355 Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
| | | * | | OMAPDSS: OMAP5: HDMI: Audio InfoFrame DB1 field offsetsMisael Lopez Cruz2013-07-221-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CHNL_COUNT is in bits 6:4 and CODING_TYPE in bits 3:0 of HDMI_CORE_FC_AUDICONF0 register, while in the CEA-861 definition DB1CC is in bits 2:0 and DB1CT in bits 7:4. Change-Id: Ifd6ca2c91209b7fcf31dfdc921707c0ad5c9378a Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
| | | * | | ASoC: omap-hdmi-card: Remove redundant printMisael Lopez Cruz2013-07-221-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | HDMI card name is already printed when card is registered in ALSA, no need to print it again. Change-Id: I4bbe1acc45ab647a6a28824f3cb86a14163ba054 Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
| | | * | | ARM: DRA7: hwmod: Fix HDMI irq numberMisael Lopez Cruz2013-07-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | HDMI_IRQ is connected to IRQ_CROSSBAR_96 in DRA7, previous IRQ number was for OMAP5. Change-Id: Iedff41b2e2dc253be7f6aa8a18c0c0d23a7f989d Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
| | | * | | ARM: DRA7: clocks: Fix HDMI sys_clk mux registerMisael Lopez Cruz2013-07-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | HDMI sys_clk mux uses CM_CLKSEL_HDMI_PLL_SYS register for source selection. Change-Id: I3c762b2ff4e845978b69482ec3422dcbc736e49c Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
| | | * | | ASoC: DRA7: dra7-evm: HACK: Set McASP DMA reqs in sDMA crossbarMisael Lopez Cruz2013-07-222-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | McASP3 and McASP6 don't have default DMA reqs assigned in sDMA crossbar. In the meantime, McASP3 TX/RX DMA reqs are reassigned to sDMA_78 and 79, and McASP6 TX/RX to sDMA_62 and 63. Change-Id: I079e181cfeccd12a121ea3f864bd8905609d09ad Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
| | | * | | ARM: dts: dra7-evm: Add sound card nodeMisael Lopez Cruz2013-07-221-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add node for McASP-based sound card which consists of the media DAI link that connects McASP3 and tlv320aic3106. This DAI link in I2S mode with a bit clock of 5.6448 MHz that allows 44.1kHz, 16-bits/sample. Change-Id: I46aaa94a68c6b3c89069b9030edf96d57d2476ef Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
| | | * | | ARM: dts: dra7: Add ATL nodeMisael Lopez Cruz2013-07-221-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ATL1 and ATL2 are the only instances enabled. ATL1 is used to supply the audio clock for the 16-slots TDM DAI link, so it requires an output freq of 11.2896 MHz. ATL2 is used for the I2S DAI link and is configured to 5.6448 MHz. Change-Id: I4cf5ed86e75aa517e1ab3dbb3de8e9227013311b Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
| | | * | | ARM: dts: dra7: Add McASP nodesMisael Lopez Cruz2013-07-221-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | McASP3 is configured in I2S mode with AXR0 as TX and AXR1 as RX. McASP6 is configured in TDM mode (uses same op-mode property value than I2S) with 8-slots, AXR0 is used for TX and AXR1 for RX. Interrupt property in both nodes is using McASP1's in the meantime since McASP3 and McASP6 don't have default interrupt lines and have to be assigned through IRQ crossbar. Change-Id: I766dcbea9190083c6fe0e01501104226d480a22f Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
| | | * | | ARM: dts: dra7-evm: Add audio pinctrlMisael Lopez Cruz2013-07-221-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add pinctrl entries for McASP3, McASP6 and ATL. McASP pins are configured so that McASPs are masters in their corresponding audio links. Change-Id: I507ad5941cf679a4afab98fcca7cbeba5fe5cad8 Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
| | | * | | ASoC: DRA7: dra7-evm: Add initial support for DRA7 EVMMisael Lopez Cruz2013-07-224-0/+387
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add initial support for DRA7 EVM, it includes the media DAI link that connects McASP3 and tlv320aic3106 in I2S mode. DRA7xx is a high-performance, infotainment application device, based on enhanced OMAP architecture integrated on a 28-nm technology. Change-Id: I3be3e94e2f9c5736f236e965297d3cb9d646c7fc Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
| | | * | | ASoC: DRA7: atl: Add initial support for Audio Tracking LogicMisael Lopez Cruz2013-07-224-0/+364
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add initial version of Audio Tracking Logic (ATL) driver. ATL is used to synchronize the digital audio output to the baseband clock. ATL produces a timing signal at the top of the audio clock tree. Change-Id: I123ff440b8e478c12e28ff4db42d1196f0ae4f6b Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
| | | * | | ARM: DRA7: clocks: Append _ck to atl_clkin* and ref_clkin*Misael Lopez Cruz2013-07-221-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Suffix 'ck' is missing for 'atl_clkin*' and 'ref_clkin*' clocks in mcasp and timer parent clock names list. Fix also a missing "_" in 'atl_clkin3_ck'. Change-Id: I0d1ced5c61b08c63577872a38b16390f506c9cba Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
| | | * | | ARM: DRA7: clock: Fix the wrong ABE PLL lock frequencyRajendra Nayak2013-07-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ABE PLL (used by ATL) was wrongly locked at twice the frequency. Fix it and also set the dpll_abe_m2x2_ck rate explicitely so that we have m2 set to 1. Change-Id: I5efc593c46ee7b31f06326b361a85f27dd3310ec Signed-off-by: Rajendra Nayak <rnayak@ti.com>
| | | * | | ARM: DRA7: hwmod: Disable smart-idle for McASPMisael Lopez Cruz2013-07-221-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per TRM, wakeup schema is not supported by McASP, so it's recommended to use no-idle after McASP is enabled, and smart-idle after it's disabled. Change-Id: Ia20eff9238b996dbcac4b534b4645ec93fd8bafb Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
| | | * | | ASoC: davinci-mcasp: Add hw_rule for buffer_size when using AFIFOAngela Stegmaier2013-07-221-1/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The AFIFO threshold imposes a limiation on the buffer size. When the AFIFO is used, the buffer size (in samples) needs to be an integer multiple of the AFIFO threshold value (wnumevt, rnumevt). This patch adds a hw_rule to the McASP driver for version 4 of the McASP to account for the limitation on the buffer size. Change-Id: I3bd320130b10a55d3d84defd99572526ad6469fb Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
| | | * | | ASoC: davinci-mcasp: Add support for using McASP DATA portAngela Stegmaier2013-07-222-4/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By default the CFG port is used for data transfer. It is desireable to use the DATA port so that the AFIFO can be used on DRA7XX. To enable DATA port usage, during the probe a check for an IORESOURCE_MEM named "dat" is done. If the resource is found, the data port will be used. If it is not found, the driver will fall back to using the cfg port. Change-Id: I42c3cc04621354ef1fd7546f9feff003cf6b38ce Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
| | | * | | ASoC: davinci-mcasp: HACK: Add MCASP_VERSION_4 supportMisael Lopez Cruz2013-07-225-52/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | McASP IP found in DRA7xx devices is similar to the one described by VERSION_3 (TI81xx, AM33xx), except that a different DMA mechanism is used. A new version is introduced to use DMA4 instead (OMAP's). Long term plan is to keep McASP driver totally agnostic of the DMA module (sDMA or eDMA). Change-Id: I47a2fd117b3647a5ed6562cbaa00211cb95dea3a Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
| | | * | | ASoC: davinci-mcasp: Add support for 1-channelMisael Lopez Cruz2013-07-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | McASP doesn't support 1-slot TDM mode needed for mono, however mono can still be achieved by using 2-slots (or more) and transferring data only in one slot. Change-Id: Ic8420cf2d6cc1ee9b9c163ab592cfa347a679340 Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>