android-sdk/kernel-video.git
7 years agozebu: drivers: gpu: Add pvr km source zebu
Hemant Hariyani [Sun, 16 Mar 2014 18:44:37 +0000 (13:44 -0500)]
zebu: drivers: gpu: Add pvr km source

1.12 DDK

Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
7 years agozebu: Add gpu build to kernel
Hemant Hariyani [Fri, 7 Mar 2014 17:33:53 +0000 (11:33 -0600)]
zebu: Add gpu build to kernel

Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
7 years agozebu: Add DRA7 zebu minimal defconfig
Hemant Hariyani [Sun, 16 Mar 2014 18:35:44 +0000 (13:35 -0500)]
zebu: Add DRA7 zebu minimal defconfig

Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
7 years agozebu: Disable init of devices not needed for zebu
Hemant Hariyani [Sun, 16 Mar 2014 18:18:46 +0000 (13:18 -0500)]
zebu: Disable init of devices not needed for zebu

Devices should be enabled as needed.

Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
7 years agoarm: dts: Add dta7 zebu device tree
Hemant Hariyani [Sun, 16 Mar 2014 18:12:36 +0000 (13:12 -0500)]
arm: dts: Add dta7 zebu device tree

Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
7 years agozebu: HACK: remove hdmi audio dependency
Hemant Hariyani [Tue, 4 Mar 2014 03:29:47 +0000 (21:29 -0600)]
zebu: HACK: remove hdmi audio dependency

Ideally there should be config dependency. Needs to be fixed.

7 years agozebu: reduce power domain transition timeout
Hemant Hariyani [Tue, 4 Mar 2014 01:45:56 +0000 (19:45 -0600)]
zebu: reduce power domain transition timeout

Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
7 years agopmd: Change base address and size
Hemant Hariyani [Tue, 4 Mar 2014 01:45:30 +0000 (19:45 -0600)]
pmd: Change base address and size

7 years agoblock: Physical mem disk
Hemant Hariyani [Wed, 27 Feb 2013 04:10:45 +0000 (22:10 -0600)]
block: Physical mem disk

Adds Physical Mem Disk (PMD) driver.

PMD is a simple block driver to access filesystems loaded at a particular
physcal address in place. This is required for test platforms like pre-silicon
systems where loading of ramdisk is unacceptable.

Change-Id: Ifa9972e211406dc4080a971ed8fa6fb6864e1486
Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
7 years agoEMIF2 is removed here
Subhajit Paul [Thu, 16 Jan 2014 15:19:39 +0000 (20:49 +0530)]
EMIF2 is removed here

Signed-off-by: Subhajit Paul <subhajit_paul@ti.com>
7 years agotty0 bps pumped up to 3000000
Subhajit Paul [Thu, 16 Jan 2014 13:23:03 +0000 (18:53 +0530)]
tty0 bps pumped up to 3000000

Signed-off-by: Subhajit Paul <subhajit_paul@ti.com>
7 years agohwmod is not required now. vanilla kernel
Subhajit Paul [Thu, 16 Jan 2014 13:22:32 +0000 (18:52 +0530)]
hwmod is not required now. vanilla kernel

Signed-off-by: Subhajit Paul <subhajit_paul@ti.com>
7 years agoEarly printk
Subhajit Paul [Thu, 26 Dec 2013 08:57:34 +0000 (14:27 +0530)]
Early printk

Signed-off-by: Subhajit Paul <subhajit_paul@ti.com>
7 years agoMerge branch 'ti2013.04.02-rpmsg-3.8.y' of git://git.ti.com/rpmsg/rpmsg into p-ti...
Praneeth Bajjuri [Fri, 21 Feb 2014 21:53:14 +0000 (15:53 -0600)]
Merge branch 'ti2013.04.02-rpmsg-3.8.y' of git://git.ti.com/rpmsg/rpmsg into p-ti-linux-3.8.y

* 'ti2013.04.02-rpmsg-3.8.y' of git://git.ti.com/rpmsg/rpmsg:
  rpmsg: rpc: cleanup the dma-buf idr completely at filp release
  ARM: DRA7: hwmod_data: correct main clk for IPU1
  ARM: DRA7: hwmod data: add bus-error back flag to ipu iommu attrs
  ARM: OMAP5: hwmod data: add bus-error back flag to ipu iommu attrs
  ARM: OMAP4: hwmod data: add bus-error back flag to ipu iommu attrs
  iommu/omap: enable bus-error back on supported iommus
  ARM: DRA7: clock: source IPU1 functional clock from CORE DPLL
  ARM: DRA7: hwmod_data: correct main clk for IPU1 MMU

Change-Id: Ifa4d8f7f43aede1baae1aa3adf434db9d7955e87
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
7 years agoMerge branch 'rpmsg-linux-3.8.y' of git://git.ti.com/rpmsg/rpmsg into ti2013.04.02...
Suman Anna [Fri, 21 Feb 2014 20:40:43 +0000 (14:40 -0600)]
Merge branch 'rpmsg-linux-3.8.y' of git://git.ti.com/rpmsg/rpmsg into ti2013.04.02-rpmsg-3.8.y

Pull in a minor rpmsg-rpc patch, that fixes a memory leak.

* 'rpmsg-linux-3.8.y' of git://git.ti.com/rpmsg/rpmsg:
  rpmsg: rpc: cleanup the dma-buf idr completely at filp release

Signed-off-by: Suman Anna <s-anna@ti.com>
7 years agorpmsg: rpc: cleanup the dma-buf idr completely at filp release
Subhajit Paul [Fri, 21 Feb 2014 04:39:52 +0000 (10:09 +0530)]
rpmsg: rpc: cleanup the dma-buf idr completely at filp release

The idr library allocates certain number of cached idr_layers in
idr_pre_get() which are not freed during a regular idr_remove. A
complete cleanup of objects stored in an idr tree will require an
idr_remove_all() to remove all id mappings, and an idr_destroy()
to free all the cached idr_layers, in addition to the freeing of
all the objects using an idr_for_each() loop.

The current dma-buf idr cleanup has been cleaning up only the
regular objects, leading to a memory leak in the amount of the
cached idr_layers. Cleanup this dma-buf idr completely when
closing the file handle.

Signed-off-by: Subhajit Paul <subhajit_paul@ti.com>
[s-anna@ti.com: revise commit log]
Signed-off-by: Suman Anna <s-anna@ti.com>
7 years agocclock7xx_data.c: Add support for IVA_HIGH_OPP
Sunita Nadampalli [Thu, 20 Feb 2014 16:29:24 +0000 (10:29 -0600)]
cclock7xx_data.c: Add support for IVA_HIGH_OPP

IVA HIGH OPP configuration is defined in cclock data file.
menuconfig entry has been added to enable/disable this feature.

Change-Id: I24131403d0e842831c71a8c30477c577e4ed484b
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
7 years agoMerge branch 'p-ti-linux-3.8.y-video' of git://git.ti.com/android-sdk/kernel-video...
Praneeth Bajjuri [Fri, 14 Feb 2014 18:48:51 +0000 (12:48 -0600)]
Merge branch 'p-ti-linux-3.8.y-video' of git://git.ti.com/android-sdk/kernel-video into p-ti-linux-3.8.y

* 'p-ti-linux-3.8.y-video' of git://git.ti.com/android-sdk/kernel-video:
  omapdss: TFCS panel: fix pixel clock polarity

Change-Id: I5a5282af9580677776c39a224e2d8f5318352c7d
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
7 years agoMerge remote-tracking branch 'origin/dss' into p-ti-linux-3.8.y-video
Praneeth Bajjuri [Fri, 14 Feb 2014 18:43:27 +0000 (12:43 -0600)]
Merge remote-tracking branch 'origin/dss' into p-ti-linux-3.8.y-video

* origin/dss:
  omapdss: TFCS panel: fix pixel clock polarity

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
7 years agoomapdss: TFCS panel: fix pixel clock polarity
Subramaniam Chanderashekarapuram [Mon, 10 Feb 2014 21:20:34 +0000 (15:20 -0600)]
omapdss: TFCS panel: fix pixel clock polarity

Fixed the pixel clock polarity so that the HSYNC and VSYNC
are driven on rising edge of pixel clock. For this panel
the HSYNC and VSYNC should be drivern on the rising edge
and not on the falling edge of the clock.

Change-Id: Ib01edb3f5a19907ff37d0f55af51447dc2a5c3b3
Signed-off-by: Subramaniam Chanderashekarapuram <subramaniam.ca@ti.com>
7 years agoti-st: Fix missing CONFIG_DEBUG_FS guards
Misael Lopez Cruz [Thu, 6 Feb 2014 19:29:19 +0000 (13:29 -0600)]
ti-st: Fix missing CONFIG_DEBUG_FS guards

debugfs functions were used without the ifdef CONFIG_DEBUG_FS
guards which caused the driver to fail during probe().

Change-Id: I4fe2ac35ac70541a9d9bdb226db2fc588df61eb3
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
7 years agoMerge branch 'p-ti-linux-3.8.y-video' of git://git.ti.com/android-sdk/kernel-video...
Praneeth Bajjuri [Wed, 12 Feb 2014 22:40:45 +0000 (16:40 -0600)]
Merge branch 'p-ti-linux-3.8.y-video' of git://git.ti.com/android-sdk/kernel-video into p-ti-linux-3.8.y

* 'p-ti-linux-3.8.y-video' of git://git.ti.com/android-sdk/kernel-video:
  SERLINK: Add support for ds90ub913aq
  DESERLINK: Add support for ds90ub914aq
  v4l: ti-vps: vip: code cleanup to remove compiler warnings
  v4l: ti-vps: vip: earlycam: added data tag to vip of_device_id
  v4l: ti-vps: vpdma: correct write desc mask
  HACK: i2c: ov1063x: Set the pixel clock to 96MHz
  i2c: ov1063x: Write actual i2c address to 0x300c register
  v4l: ti-vps: vip: Get subdevice from device tree
  v4l: ti-vps: vip: Make driver compatible to vip2,3
  i2c: ov1063x: Select muxes based on the connector
  i2c: ov1063x: Configure serializer and deserializer through sensor
  i2c: dra7xx: dummy driver for i2c expander
  arm: dts: dra7xx: Update VIP2 and VIP3 interrupts
  arm: dts: dra7xx: Added pinmux for Vin3a and Vin5a
  arm: dts: dra7xx: Added i2c nodes for serdes

Change-Id: I0f6a1c3a9f9cfc3de1068dc6829a03e31625c189
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
7 years agoMerge branch 'vip' into p-ti-linux-3.8.y-video
Arthur Philpott [Wed, 12 Feb 2014 22:01:28 +0000 (16:01 -0600)]
Merge branch 'vip' into p-ti-linux-3.8.y-video

* vip:
  v4l: ti-vps: vip: code cleanup to remove compiler warnings
  v4l: ti-vps: vip: earlycam: added data tag to vip of_device_id
  v4l: ti-vps: vpdma: correct write desc mask
  HACK: i2c: ov1063x: Set the pixel clock to 96MHz
  i2c: ov1063x: Write actual i2c address to 0x300c register
  v4l: ti-vps: vip: Get subdevice from device tree
  v4l: ti-vps: vip: Make driver compatible to vip2,3
  i2c: ov1063x: Select muxes based on the connector
  i2c: ov1063x: Configure serializer and deserializer through sensor
  i2c: dra7xx: dummy driver for i2c expander
  arm: dts: dra7xx: Update VIP2 and VIP3 interrupts
  arm: dts: dra7xx: Added pinmux for Vin3a and Vin5a
  arm: dts: dra7xx: Added i2c nodes for serdes

Conflicts:
arch/arm/boot/dts/dra7-evm.dts

Change-Id: I3ce703278f14a98b02f6613e21e66d1e586f6a6c

7 years agoMerge branch 'fpdlink' into p-ti-linux-3.8.y-video
Arthur Philpott [Wed, 12 Feb 2014 22:00:49 +0000 (16:00 -0600)]
Merge branch 'fpdlink' into p-ti-linux-3.8.y-video

* fpdlink:
  SERLINK: Add support for ds90ub913aq
  DESERLINK: Add support for ds90ub914aq

7 years agoSERLINK: Add support for ds90ub913aq
Nikhil Devshatwar [Tue, 26 Nov 2013 14:15:28 +0000 (19:45 +0530)]
SERLINK: Add support for ds90ub913aq

Add support for serializer for cameras connected through serdes setup.
Adds a new command SER_SETUP_MULTIDES which does following:
- Reset the chip
- Configure config0 register
- Enable GPIO0

Change-Id: I53129a0060d6ebcb698fbef098ff7ebd2a9da1c1
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
7 years agoDESERLINK: Add support for ds90ub914aq
Nikhil Devshatwar [Tue, 26 Nov 2013 16:36:56 +0000 (22:06 +0530)]
DESERLINK: Add support for ds90ub914aq

Add support for deserializer for cameras connected through serdes setup.
Check against a set of supported deserializer addresses
Adds a new command DSER_SETUP_MULTIDES which does following:
- Reset the chip - enable back channel
- Configure config1 register
- Setup serializer and sensor alias

Change-Id: I06c4c39007f0c022d27a26ecad6a13c74848f6e8
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
7 years agov4l: ti-vps: vip: code cleanup to remove compiler warnings
Arthur Philpott [Mon, 10 Feb 2014 21:28:39 +0000 (15:28 -0600)]
v4l: ti-vps: vip: code cleanup to remove compiler warnings

This patch provides code cleanup in order to remove
compiler warnings caused by VIP.

Change-Id: I483fcb32e1d1b424f7624f68beba1377680367bb
Signed-off-by: Arthur Philpott <arthur.philpott@ti.com>
7 years agov4l: ti-vps: vip: earlycam: added data tag to vip of_device_id
Arthur Philpott [Mon, 10 Feb 2014 20:20:15 +0000 (14:20 -0600)]
v4l: ti-vps: vip: earlycam: added data tag to vip of_device_id

Added data tag to vip of_device_id. This data tag
is used to allocate the early_dev and early_stream
exptected by the earlycamera driver only on VIP1
instance.

Change-Id: I474bb5ba2ad0c52d5c3260de6fb2aaa37511e20d
Signed-off-by: Arthur Philpott <arthur.philpott@ti.com>
7 years agov4l: ti-vps: vpdma: correct write desc mask
Nikhil Devshatwar [Mon, 6 Jan 2014 18:59:15 +0000 (00:29 +0530)]
v4l: ti-vps: vpdma: correct write desc mask

Write descriptor start address should be masked with [31:5] bits
instead of shifting the address

Change-Id: I7a5653134607a4305f60cad85e36b3f71e11b4f3
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
7 years agoHACK: i2c: ov1063x: Set the pixel clock to 96MHz
Sathishkumar S [Mon, 6 Jan 2014 09:57:50 +0000 (15:27 +0530)]
HACK: i2c: ov1063x: Set the pixel clock to 96MHz

The LVDS camera pixel clock is pushed to 96Mhz in case
of 1280x720 capture. The PLL settings are hard-coded
for now. The same settings work for 1280x720 onboard
camera capture as well.

Change-Id: Id2bd8b9e7d783e4632f714962fe7009bebccb5b9
Signed-off-by: Sathishkumar S <x0203598@ti.com>
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
7 years agoi2c: ov1063x: Write actual i2c address to 0x300c register
Nikhil Devshatwar [Tue, 24 Dec 2013 11:01:23 +0000 (16:31 +0530)]
i2c: ov1063x: Write actual i2c address to 0x300c register

0x300c should be written with actual i2c address.
Generally it is hard coded in the sensors
0x30 for OV10635 and 0x37 for OV10633

client->addr is just the alias, sensor doesn't know
about aliased i2c address

Change-Id: If58164b71067e0b1c0549f67293af7ca332907f2
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
7 years agov4l: ti-vps: vip: Get subdevice from device tree
Nikhil Devshatwar [Fri, 7 Feb 2014 16:16:03 +0000 (10:16 -0600)]
v4l: ti-vps: vip: Get subdevice from device tree

Instead of hard-coding VIP slice and sensor mapping,
Get it from device tree.
Parse 'sensor0' property and get the list of I2C clients.
Use the I2C client addresses for v4l2 subdev async notification.

Added subdev list in vip_dev node
- vip_of_probe parses all the i2c phandles
- Use the order of list as priority when multiple devices notify

Change-Id: I34068fb75a52fc86274d08e84bb319b35420dfe8
Signed-off-by: Arthur Philpott <arthur.philpott@ti.com>
7 years agov4l: ti-vps: vip: Make driver compatible to vip2,3
Nikhil Devshatwar [Fri, 7 Feb 2014 16:12:58 +0000 (10:12 -0600)]
v4l: ti-vps: vip: Make driver compatible to vip2,3

VIP registers should be initialized once per device
- Remove static flag and use a per device flag
Fix kernel crash in release
- Call stop streaming to free all active buffers before releasing
Fix kernel crash in interrupt handler
- IRQs should be disabled in STREAMOFF and should be enabled again
Select pinmux explicitly to default

Change-Id: I2fd9b2b3783edf6de16b3b91732dee6203e0f3d2
Signed-off-by: Arthur Philpott <arthur.philpott@ti.com>
7 years agoi2c: ov1063x: Select muxes based on the connector
Nikhil Devshatwar [Thu, 5 Dec 2013 18:13:37 +0000 (23:43 +0530)]
i2c: ov1063x: Select muxes based on the connector

Don't select muxing GPIOs from sensor name
- Removed sensor_name from private data
Detect sensor connector from the I2C slave address
Request all GPIOs only once and set them before s_fmt
- Static flag to avoid multiple requests

Change-Id: Ic83e3b4d14d2fd423a709b4906212f71c4266cc3
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
7 years agoi2c: ov1063x: Configure serializer and deserializer through sensor
Nikhil Devshatwar [Tue, 26 Nov 2013 16:40:25 +0000 (22:10 +0530)]
i2c: ov1063x: Configure serializer and deserializer through sensor

Parse serializer and deserializer i2c nodes for the sensor
Configure serdes using these i2c clients
Get gpios before calling video_probe
First setup deserializer, then power up sensor (init_sensor)
and then setup serializer

MUX changes to route serdes camera to Vin1a

Change-Id: I6528a3d8d730ad7586dbfe8054dd51e92c2f9a79
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
7 years agoi2c: dra7xx: dummy driver for i2c expander
Nikhil Devshatwar [Thu, 28 Nov 2013 10:11:35 +0000 (15:41 +0530)]
i2c: dra7xx: dummy driver for i2c expander

Dummy Driver for enabling i2c expanders on vision board
I2C expander addresses conflict with HDMI receiver, so
Parse HDMI receiver node and resolve conflict

Change-Id: I932ae7b725c80a8a467382a636f565ac4c5f935c
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
7 years agoarm: dts: dra7xx: Update VIP2 and VIP3 interrupts
Nikhil Devshatwar [Wed, 27 Nov 2013 10:46:12 +0000 (16:16 +0530)]
arm: dts: dra7xx: Update VIP2 and VIP3 interrupts

Update interrupts for both slices of VIP2 and VIP3
Add reg property (Overrides hwmod values)

Change-Id: Ia4ab51fa423c8e5ede2babf8fc67df8807f1e2b3
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
7 years agoarm: dts: dra7xx: Added pinmux for Vin3a and Vin5a
Nikhil Devshatwar [Fri, 7 Feb 2014 16:06:00 +0000 (10:06 -0600)]
arm: dts: dra7xx: Added pinmux for Vin3a and Vin5a

Don't add pinmux nodes to dra7_pmx_core directly
Add pinmux to pinctrl-0 of each VIP node

Added a new propery 'sensor0' to hold the phandle for the I2C device
of the sensor. This will be parsed for an I2C client corresponding to
the sensor used for capture.

Change-Id: Iade003ccef83d2dff41d002ad66ccf2047fef62d
Signed-off-by: Arthur Philpott <arthur.philpott@ti.com>
7 years agoarm: dts: dra7xx: Added i2c nodes for serdes
Nikhil Devshatwar [Fri, 7 Feb 2014 16:04:07 +0000 (10:04 -0600)]
arm: dts: dra7xx: Added i2c nodes for serdes

Added i2c slaves for
- Deserializer chip
- Serializer chip
- OV cameras connected through serdes
- I2C expander

All these are slaves on vision board and serdes daughter card.

Change-Id: Id29c1ea6e4d401633bc849a9c0d4383940103373
Signed-off-by: Arthur Philpott <arthur.philpott@ti.com>
7 years agoMerge branch 'p-ti-linux-3.8.y-video' of git://git.ti.com/android-sdk/kernel-video...
Praneeth Bajjuri [Mon, 10 Feb 2014 22:45:59 +0000 (16:45 -0600)]
Merge branch 'p-ti-linux-3.8.y-video' of git://git.ti.com/android-sdk/kernel-video into p-ti-linux-3.8.y

* 'p-ti-linux-3.8.y-video' of git://git.ti.com/android-sdk/kernel-video:
  Revert "OMAPDSS:HDMI: Change PLL calculations"

Change-Id: I2ed2eea5e35de24f37b2811f5ff087e78416f445
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
7 years agoMerge branch 'hdmi-linux' into p-ti-linux-3.8.y-video
srinivas pulukuru [Mon, 10 Feb 2014 20:14:31 +0000 (14:14 -0600)]
Merge branch 'hdmi-linux' into p-ti-linux-3.8.y-video

7 years agoRevert "OMAPDSS:HDMI: Change PLL calculations"
srinivas pulukuru [Mon, 10 Feb 2014 19:41:19 +0000 (13:41 -0600)]
Revert "OMAPDSS:HDMI: Change PLL calculations"

This reverts commit 4ebcade90a3cd164de43cb96cda1fe6f319c58bc.
This patch revert fixes the HDMI PLL lock issue.

Change-Id: Ia18f458ddfbbbc9b13258c99eb8943f1893746f1
Signed-off-by: srinivas pulukuru <srinivas.pulukuru@ti.com>
7 years agoARM: dts: dra7-evm: Errata DRA7xxINC0056 for McASP pins
Misael Lopez Cruz [Mon, 2 Dec 2013 18:24:55 +0000 (12:24 -0600)]
ARM: dts: dra7-evm: Errata DRA7xxINC0056 for McASP pins

Implement errata DRA7xxINC0056 for McASP3, McASP6 and McASP7
as they operate in synchronous mode which is impacted by the
hardware defect.

Change-Id: I451083087c63f6b1c218a8c47da4024f03ce3965
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
7 years agoMakefile: Move up devices in initialization sequence
Arthur Philpott [Mon, 20 Jan 2014 19:09:42 +0000 (13:09 -0600)]
Makefile: Move up devices in initialization sequence

Move up i2c, media, and misc devices up the
initialization sequence ladder in order to support
early camera usecase

Change-Id: I746299033cadf57890bf7858f35aea6e04adbabb
Signed-off-by: Sundar Raman <sunds@ti.com>
Signed-off-by: Arthur Philpott <arthur.philpott@ti.com>
Conflicts:

drivers/video/omap2/Makefile

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
7 years agoMerge branch 'rproc-linux-3.8.y' of git://git.ti.com/rpmsg/remoteproc into ti2013...
Suman Anna [Wed, 5 Feb 2014 23:36:45 +0000 (17:36 -0600)]
Merge branch 'rproc-linux-3.8.y' of git://git.ti.com/rpmsg/remoteproc into ti2013.04.02-rpmsg-3.8.y

Merge in DRA7 IPU1 clock fixes and OMAP4/OMAP5/DRA7 IOMMU bus error
back response support patches.

* 'rproc-linux-3.8.y' of git://git.ti.com/rpmsg/remoteproc:
  ARM: DRA7: hwmod_data: correct main clk for IPU1
  ARM: DRA7: hwmod data: add bus-error back flag to ipu iommu attrs
  ARM: OMAP5: hwmod data: add bus-error back flag to ipu iommu attrs
  ARM: OMAP4: hwmod data: add bus-error back flag to ipu iommu attrs
  iommu/omap: enable bus-error back on supported iommus
  ARM: DRA7: clock: source IPU1 functional clock from CORE DPLL
  ARM: DRA7: hwmod_data: correct main clk for IPU1 MMU

Signed-off-by: Suman Anna <s-anna@ti.com>
7 years agoMerge branch 'iommu-linux-3.8.y' of git://git.ti.com/rpmsg/iommu into rproc-linux...
Suman Anna [Wed, 5 Feb 2014 23:33:20 +0000 (17:33 -0600)]
Merge branch 'iommu-linux-3.8.y' of git://git.ti.com/rpmsg/iommu into rproc-linux-3.8.y

Merge in the changes from iommu feature tree that enables the
bus error response back to the IPU cores on MMU faults on OMAP4,
OMAP5 and DRA7 SoCs.

* 'iommu-linux-3.8.y' of git://git.ti.com/rpmsg/iommu:
  ARM: DRA7: hwmod data: add bus-error back flag to ipu iommu attrs
  ARM: OMAP5: hwmod data: add bus-error back flag to ipu iommu attrs
  ARM: OMAP4: hwmod data: add bus-error back flag to ipu iommu attrs
  iommu/omap: enable bus-error back on supported iommus

Signed-off-by: Suman Anna <s-anna@ti.com>
7 years agoARM: DRA7: hwmod_data: correct main clk for IPU1
Suman Anna [Wed, 5 Feb 2014 23:15:19 +0000 (17:15 -0600)]
ARM: DRA7: hwmod_data: correct main clk for IPU1

The IPU1 functional clock is currently misconfigured to have the
dpll_core_h22x2_mux clock as the main clock, but it is actually
the output of a mux clock, ipu1_gfclk_mux. Correct the hwmod data
appropriately to use this mux clock as the main clock. The mux clock
in turn will be configured to be sourced from the dpll_core_h22x2_ck,
and this ensures both IPU1 and IPU2 to be running from the same
clock source and at the same clock frequency.

Signed-off-by: Suman Anna <s-anna@ti.com>
7 years agoMerge branch 'iommu-linux-3.8.y' of git://git.ti.com/rpmsg/iommu into rproc-linux...
Suman Anna [Wed, 5 Feb 2014 23:31:27 +0000 (17:31 -0600)]
Merge branch 'iommu-linux-3.8.y' of git://git.ti.com/rpmsg/iommu into rproc-linux-3.8.y

Merge in the IPU1 clock fixes from the iommu tree into the remoteproc
tree.

* 'iommu-linux-3.8.y' of git://git.ti.com/rpmsg/iommu:
  ARM: DRA7: clock: source IPU1 functional clock from CORE DPLL
  ARM: DRA7: hwmod_data: correct main clk for IPU1 MMU

Signed-off-by: Suman Anna <s-anna@ti.com>
7 years agoARM: DRA7: hwmod data: add bus-error back flag to ipu iommu attrs
Suman Anna [Wed, 5 Feb 2014 23:12:47 +0000 (17:12 -0600)]
ARM: DRA7: hwmod data: add bus-error back flag to ipu iommu attrs

The bus-error back response flag information has been added to
the iommu device attributes for IPU processor on DRA7. This raises
a bus error to the IPU processor, which can give out additional
stack trace of the MMU fault.

NOTE: This register is defined for the DSP MMUs as well, but
enabling it for DSPs suppresses the MMU fault address being
reported properly in the MMU_FAULT_AD register. The MMU_FAULT_PC
and MMU_FAULT_STATUS registers are not functional already on the
new C66 DSPs in DRA7. The MMU_FAULT_AD suppression also happens
for IPU, but the stack trace from the BIOS-side gives out the
necessary information.

Signed-off-by: Suman Anna <s-anna@ti.com>
7 years agoARM: OMAP5: hwmod data: add bus-error back flag to ipu iommu attrs
Suman Anna [Wed, 5 Feb 2014 23:11:29 +0000 (17:11 -0600)]
ARM: OMAP5: hwmod data: add bus-error back flag to ipu iommu attrs

The bus-error back response flag information has been added to
the iommu device attributes for IPU processor on OMAP4. This flag
is not relevant for DSP.

Signed-off-by: Subramaniam Chanderashekarapuram <subramaniam.ca@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
7 years agoARM: OMAP4: hwmod data: add bus-error back flag to ipu iommu attrs
Suman Anna [Tue, 4 Feb 2014 17:35:01 +0000 (11:35 -0600)]
ARM: OMAP4: hwmod data: add bus-error back flag to ipu iommu attrs

The bus-error back response flag information has been added to
the iommu device attributes for IPU processor on OMAP4. This flag
is not relevant for DSP.

Signed-off-by: Subramaniam Chanderashekarapuram <subramaniam.ca@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
7 years agoiommu/omap: enable bus-error back on supported iommus
Suman Anna [Tue, 4 Feb 2014 17:28:23 +0000 (11:28 -0600)]
iommu/omap: enable bus-error back on supported iommus

The remoteproc MMUs in OMAP4+ SoCs have some additional debug
registers that can give out the PC value in addition to the
MMU fault address. The PC value can be extracted properly only
on the DSP cores, and is not available on the ARM processors
within the IPU sub-systems. Instead, the MMUs have been enhanced
to throw a bus-error response back to the IPU processors.

This functionality is programmable through the MMU_GP_REG register.
The cores are simply stalled if the MMU_GP_REG.BUS_ERR_BACK_EN bit
is not set. When set, a bus-error exception is raised allowing the
processor to handle it as a bus fault and provide additional debug
information. This feature is turned on by default by the driver on
iommus supporting it.

Signed-off-by: Subramaniam Chanderashekarapuram <subramaniam.ca@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
7 years agoARM: DRA7: clock: source IPU1 functional clock from CORE DPLL
Suman Anna [Wed, 5 Feb 2014 23:08:35 +0000 (17:08 -0600)]
ARM: DRA7: clock: source IPU1 functional clock from CORE DPLL

The IPU1 functional clock is actually the output of a mux clock,
ipu1_gfclk_mux. The mux clock is sourced by default from the
DPLL_ABE_X2_CLK, and this results in a rather odd clock frequency
(361 MHz) for the IPU1 functional clock. Reconfigure the mux clock
to be sourced from CORE_IPU_ISS_BOOST_CLK (dpll_core_h22x2_ck), so
that both the IPU1 and IPU2 are running from the same clock and
clocked at the same nominal frequency of 425 MHz.

Signed-off-by: Suman Anna <s-anna@ti.com>
7 years agoARM: DRA7: hwmod_data: correct main clk for IPU1 MMU
Suman Anna [Wed, 5 Feb 2014 23:04:33 +0000 (17:04 -0600)]
ARM: DRA7: hwmod_data: correct main clk for IPU1 MMU

The IPU1 functional clock is currently misconfigured to be
sourced from dpll_core_h22x2_ck. While this is true for IPU2,
there is a mux clock in between dpll_core_h22x2_ck and the
IPU1_GFCLK. Correct the hwmod data for the IPU1 MMU accordingly.
The mux clock is expected to be configured to be sourced from
the dpll_core_h22x2_ck in turn, so that both IPU1 and IPU2
are running at the same clock frequency.

Signed-off-by: Suman Anna <s-anna@ti.com>
7 years agoMerge branch 'p-ti-linux-3.8.y-video' of git://git.ti.com/android-sdk/kernel-video...
Praneeth Bajjuri [Wed, 5 Feb 2014 23:10:46 +0000 (17:10 -0600)]
Merge branch 'p-ti-linux-3.8.y-video' of git://git.ti.com/android-sdk/kernel-video into p-ti-linux-3.8.y

* 'p-ti-linux-3.8.y-video' of git://git.ti.com/android-sdk/kernel-video:
  arm: dts: dra7_evm: initialize n_latch for reverse gpio to 1
  ti-ec: remove the delay after gpio event
  VIP: Early-Cam: Resolves empty buffer issue
  Revert "VIP: Added support for early camera usecase"
  ti-ec: Add GPIO detection for reverse gear
  ti-ec: Implement sensor detection
  VIP: Add an early sensor detect api
  VIP: Misc fixes for early interface
  VIP: Disable irqs after vip release
  ti-ec: Add early camera module
  VIP: Added support for early camera usecase
  OMAPDSS: DSS_DPLL: fix mux ctrl bits for selecting DPLL_VIDEO2
  VIP: Added support for early camera usecase

Conflicts:
arch/arm/boot/dts/dra7-evm.dts

Change-Id: I3a215db906a9081798ef3c32ee5c6843a88e1775
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
7 years agoMerge branch 'vip' into p-ti-linux-3.8.y-video
Sundar Raman [Wed, 5 Feb 2014 00:45:50 +0000 (18:45 -0600)]
Merge branch 'vip' into p-ti-linux-3.8.y-video

Few fixes for early camera

* vip:
  arm: dts: dra7_evm: initialize n_latch for reverse gpio to 1
  ti-ec: remove the delay after gpio event
  VIP: Early-Cam: Resolves empty buffer issue

Change-Id: I88b88054dc10b5c68fdb615f4b770119f9e975d4
Signed-off-by: Sundar Raman <sunds@ti.com>
7 years agoarm: dts: dra7_evm: initialize n_latch for reverse gpio to 1
Sundar Raman [Tue, 4 Feb 2014 15:25:50 +0000 (09:25 -0600)]
arm: dts: dra7_evm: initialize n_latch for reverse gpio to 1

Set the n_latch value for reverse gear gpio such that logic 1
is output during bootup since this is an input gpio

Resolves an issue with not detecting reverse gear if the
gpio is pressed before board reset

Change-Id: I115dddcd9519c56853ba23afae18be1e2045bfee
Signed-off-by: Sundar Raman <sunds@ti.com>
7 years agoti-ec: remove the delay after gpio event
Sundar Raman [Tue, 4 Feb 2014 15:14:23 +0000 (09:14 -0600)]
ti-ec: remove the delay after gpio event

The issue with vip has been resolved and this
delay is no longer needed

Change-Id: I7f6be3f19e5a75d318c852121c74651c25c2c359
Signed-off-by: Sundar Raman <sunds@ti.com>
7 years agoVIP: Early-Cam: Resolves empty buffer issue
Arthur Philpott [Thu, 30 Jan 2014 20:31:57 +0000 (14:31 -0600)]
VIP: Early-Cam: Resolves empty buffer issue

During bootup, the early camera driver was
competing with Android to open up an instance
of the VIP module. This patch eliminates that
race condition. It also adds a delay in the
vip_buf_prepare function in order for the buffers
to be populated on rapid triggering of the GPIO
interrupt pin.

Change-Id: Ib1a4dc8e9b4242b00dcb035ba1712197be132943
Signed-off-by: Arthur Philpott <arthur.philpott@ti.com>
7 years agoMerge branch 'vip' into p-ti-linux-3.8.y-video
Sundar Raman [Fri, 31 Jan 2014 01:57:10 +0000 (19:57 -0600)]
Merge branch 'vip' into p-ti-linux-3.8.y-video

This patch series contains patches for A15 based
early camera

* vip:
  ti-ec: Add GPIO detection for reverse gear
  ti-ec: Implement sensor detection
  VIP: Add an early sensor detect api
  VIP: Misc fixes for early interface
  VIP: Disable irqs after vip release
  ti-ec: Add early camera module
  VIP: Added support for early camera usecase

Change-Id: I50b52abdbfca81e6738cfee3e30f9e6a543b2b80
Signed-off-by: Sundar Raman <sunds@ti.com>
7 years agoRevert "VIP: Added support for early camera usecase"
Sundar Raman [Fri, 31 Jan 2014 01:56:39 +0000 (19:56 -0600)]
Revert "VIP: Added support for early camera usecase"

This reverts commit af74d140323674e5326633e88a073b407e7a69b4.

7 years agoti-ec: Add GPIO detection for reverse gear
Sundar Raman [Wed, 29 Jan 2014 03:42:22 +0000 (21:42 -0600)]
ti-ec: Add GPIO detection for reverse gear

This patch adds in GPIO detection to simulate the
reverse gear engage and dis-enagage actions to launch
and close down the camera preview.

This currently uses a polling mechanism for getting to
known when the user pressed or release the gpio which
should be replaced by an interrupt based mechanism
later

Also, the VIP driver seems to be having issues in
closing and re-launching. It takes a long time to
shut down and restart. So, if we wait and re-launch
the camera, then it works properly. Otherwise, it
doesn't work.

Change-Id: Ia56d84673d2028c2bd8eb3089faa987de98ab72f
Signed-off-by: Sundar Raman <sunds@ti.com>
7 years agoti-ec: Implement sensor detection
Sundar Raman [Thu, 30 Jan 2014 06:40:25 +0000 (00:40 -0600)]
ti-ec: Implement sensor detection

Detect if the sensor is present by querying
the VIP driver and proceed with the use-case.

Change-Id: I3919f844f6ad378ede6319ae17acaf1e29c3535c
Signed-off-by: Sundar Raman <sunds@ti.com>
7 years agoVIP: Add an early sensor detect api
Sundar Raman [Thu, 30 Jan 2014 06:35:11 +0000 (00:35 -0600)]
VIP: Add an early sensor detect api

Sensor detection is required for early camera
as certain key resources such as pipeline and
the VIP are kept reserved for the early camera
use-case. In case the sensor is not present on
the board, we will have to detect that and bail
out without acquiring these resources. This patch
adds a sensor detection api for early camera
driver to query the presence of the sensor. It
does this by simply checking if the subdev
device pointer is populated in the device
structure and returning a boolean value to the
caller.

Change-Id: I2228517f0001decb486b5fa99f72d15428aad97e
Signed-off-by: Sundar Raman <sunds@ti.com>
7 years agoVIP: Misc fixes for early interface
Sundar Raman [Thu, 30 Jan 2014 03:58:13 +0000 (21:58 -0600)]
VIP: Misc fixes for early interface

The address variables should be reset to NULL upon release.
vpdma list descriptor should be freed upon port closure.

Change-Id: I9b72eafc4759ab4e53bcb2d816a65788cbd45f63
Signed-off-by: Sundar Raman <sunds@ti.com>
7 years agoVIP: Disable irqs after vip release
Sundar Raman [Thu, 30 Jan 2014 01:57:08 +0000 (19:57 -0600)]
VIP: Disable irqs after vip release

disable_irqs should be called to prevent any irqs
from occuring after the vip has been released.
This resolved a crash seen after early_release
was called due to a pending VIP interrupt.

Change-Id: I1a45538fa3672fd06e1c238a12a2f1d5248e2e79
Signed-off-by: Sundar Raman <sunds@ti.com>
7 years agoti-ec: Add early camera module
Sundar Raman [Thu, 26 Dec 2013 19:24:26 +0000 (13:24 -0600)]
ti-ec: Add early camera module

This patch adds the early camera kernel module. This
launches early during bootup (<2s) and configures the
VIP and DSS to show camera preview intended to be used
as rear view camera in a car. This module uses VIP
kernel export APIs for configuring VIP and uses
multiple buffers for camera frames. It also uses the
DSS2 apis directly, and the VID3 pipe for posting
camera frames to the display.

This module currently displays around 1000 frames
and runs all the way into the android bootup which
happens in the background and shuts itself off
after it's done.

This will be further enhanced to add a GPIO to
launch the rearview camera on-demand.

Change-Id: I3d55fe6e2b0abebe19dcf4781d4d244ce737185f
Signed-off-by: Arthur Philpott <arthur.philpott@ti.com>
Signed-off-by: Sundar Raman <sunds@ti.com>
7 years agoVIP: Added support for early camera usecase
Arthur Philpott [Mon, 20 Jan 2014 19:11:15 +0000 (13:11 -0600)]
VIP: Added support for early camera usecase

Ported the need V4L2 functionality over to kernel
side in order to support the early camera usecase.

Change-Id: I45d98cf1c13ccdb1d802fbb1cbe0caed1162adb2
Signed-off-by: Arthur Philpott <arthur.philpott@ti.com>
7 years agoarm: reboot: Store reboot reason in SAR RAM.
Shankar Rao [Tue, 28 Jan 2014 20:29:42 +0000 (14:29 -0600)]
arm: reboot: Store reboot reason in SAR RAM.

Userspace programs can pass a reboot reason string when calling the
reboot syscall. This patch stores the string in SAR RAM so that the
bootloader can access it.

Change-Id: I6cf2af997b4a569b0953867cb0f389b9e51115d2
Signed-off-by: Shankar Rao <shankar.nrao@ti.com>
7 years agoMerge branch 'p-ti-linux-3.8.y/audio-for-next' of git://git.ti.com/android-sdk/kernel...
Praneeth Bajjuri [Thu, 30 Jan 2014 17:59:14 +0000 (11:59 -0600)]
Merge branch 'p-ti-linux-3.8.y/audio-for-next' of git://git.ti.com/android-sdk/kernel-audio into p-ti-linux-3.8.y

* 'p-ti-linux-3.8.y/audio-for-next' of git://git.ti.com/android-sdk/kernel-audio:
  ALSA: pcm: Add symbol export for modularization

Change-Id: I3e108ee8a976b4bb023b56fdf5900bf12e5196ce
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
7 years agoMerge branch 'dss' into p-ti-linux-3.8.y-video
srinivas pulukuru [Thu, 30 Jan 2014 17:42:01 +0000 (11:42 -0600)]
Merge branch 'dss' into p-ti-linux-3.8.y-video

* dss:
  OMAPDSS: DSS_DPLL: fix mux ctrl bits for selecting DPLL_VIDEO2

7 years agoALSA: pcm: Add symbol export for modularization
Jonathan Bergsagel [Thu, 30 Jan 2014 16:47:08 +0000 (10:47 -0600)]
ALSA: pcm: Add symbol export for modularization

Fixes a build issue when modularizing sound drivers.

Change-Id: Ide93966c58d3222ccab0946bd0f2ee602b0e6b82
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
7 years agoOMAPDSS: DSS_DPLL: fix mux ctrl bits for selecting DPLL_VIDEO2
srinivas pulukuru [Thu, 30 Jan 2014 06:28:10 +0000 (00:28 -0600)]
OMAPDSS: DSS_DPLL: fix mux ctrl bits for selecting DPLL_VIDEO2

Mux ctrl bits for selecting DPLL_VIDEO2 for DSI1_C_CLK1_SELECTION
for LCD3 fclk needs to be reversed for CTRL_CORE_DSS_PLL_CONTROL.
start bit should be 8 and end bit should be 7.

Change-Id: I976bc1393ad0a9b9c099f7225c783e820107768b
Signed-off-by: srinivas pulukuru <srinivas.pulukuru@ti.com>
7 years agoof: Support CONFIG_CMDLINE_EXTEND config option.
Doug Anderson [Mon, 13 Jan 2014 22:00:56 +0000 (16:00 -0600)]
of: Support CONFIG_CMDLINE_EXTEND config option.

The old logic assumes CMDLINE_FROM_BOOTLOADER vs. CMDLINE_FORCE and
ignores CMDLINE_EXTEND.  Here's the old logic:

- CONFIG_CMDLINE_FORCE=true
CONFIG_CMDLINE
- dt bootargs=non-empty:
dt bootargs
- dt bootargs=empty, @data is non-empty string
@data is left unchanged
- dt bootargs=empty, @data is empty string
CONFIG_CMDLINE (or "" if that's not defined)

The old logic would also not honor CONFIG_CMDLINE_FORCE if there was no
"chosen" attribute in the device tree.

The new logic is now documented in of_fdt.h and is copied here for
reference:
- CONFIG_CMDLINE_FORCE=true
CONFIG_CMDLINE
- CONFIG_CMDLINE_EXTEND=true
        CONFIG_CMDLINE + dt bootargs (even if dt bootargs are empty)
- CMDLINE_FROM_BOOTLOADER=true, dt bootargs=non-empty:
dt bootargs
- CMDLINE_FROM_BOOTLOADER=true, dt bootargs=empty, @data is
non-empty string
@data is left unchanged
- CMDLINE_FROM_BOOTLOADER=true, dt bootargs=empty,
@data is empty string
CONFIG_CMDLINE (or "" if that's not defined)

picked from:
https://lkml.org/lkml/2012/1/9/422

[Shankar Rao<shankar.nrao@ti.com> fixed minor issues]

Change-Id: Iaf408bdcb398e0ca417bbe08ece30c39d047d9a3
Signed-off-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Shankar Rao <shankar.nrao@ti.com>
7 years agobus: ocp2scp: SYNC2 value should be changed to 0x6
Kishon Vijay Abraham I [Wed, 29 Jan 2014 02:47:11 +0000 (20:47 -0600)]
bus: ocp2scp: SYNC2 value should be changed to 0x6

Read path of OCP2SCP is not working properly due to low reset value
of SYNC2 parameter in OCP2SCP. So changed the SYNC2 value to 0x6.

This is to consider latest TRM update on OCP2SCP Timing Register
to accomodate AVATAR-BUG00055

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
--
k3.8 backport needs change of devm_ioremap_resource to devm_request_and_ioremap
as devm_ioremap_resource came in mainline on 3.9+

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
--
Change-Id: Iebfd5fba77c556a036fdf6498f4cf11bc390c811

7 years agommc: omap_hsmmc: enable DDR for eMMC
Balaji T K [Tue, 7 Jan 2014 23:14:16 +0000 (17:14 -0600)]
mmc: omap_hsmmc: enable DDR for eMMC

This patch enables DDR mode for DRA7 eMMC/MMC1

DDR mode will improve read and write throughput
performance relative to SDR mode.

[ranganath@ti.com: backport from k3.12]
Change-Id: I491f8615c222ed38a286595a8377259b4772741a
Signed-off-by: Balaji T K <balajitk@ti.com>
Signed-off-by: Ranganath Krishnan <ranganath@ti.com>
7 years agoHACK: C_CAN: D_CAN: DRA7: wrap around ES1.1 check while disabling irq
Subramaniam Chanderashekarapuram [Sat, 25 Jan 2014 00:04:28 +0000 (18:04 -0600)]
HACK: C_CAN: D_CAN: DRA7: wrap around ES1.1 check while disabling irq

Commit:
96a4c7a71f7354f3f1d0cfaa95140bb645ee8444
Author: Austin Beam <austinbeam@ti.com>
Date:   Mon Nov 4 17:23:19 2013 -0600

    HACK: C_CAN: D_CAN: DRA7: Disable IRQs in RAMINIT

Disables IRQs in RAMINIT. This is required only for ES 1.0 revision of
the DRA7 Soc. Wrap around tis HACK with the Soc revision check.

Change-Id: Ic165e2196d202d207529be394cb1fbdc92344df6
Signed-off-by: Subramaniam Chanderashekarapuram <subramaniam.ca@ti.com>
7 years agoARM: DRA7: id: Add cpu detection support for DRA7 ES1.1
Subramaniam Chanderashekarapuram [Fri, 24 Jan 2014 22:05:29 +0000 (16:05 -0600)]
ARM: DRA7: id: Add cpu detection support for DRA7 ES1.1

Adding support for ES1.1 silicon revision

Change-Id: I274f31ef0fa5bae9c252e4b103030e71553dfd6e
Signed-off-by: Subramaniam Chanderashekarapuram <subramaniam.ca@ti.com>
7 years agoMerge branch 'vip' into p-ti-linux-3.8.y-video
Arthur Philpott [Tue, 28 Jan 2014 16:08:28 +0000 (10:08 -0600)]
Merge branch 'vip' into p-ti-linux-3.8.y-video

7 years agoVIP: Added support for early camera usecase
Arthur Philpott [Mon, 20 Jan 2014 19:11:15 +0000 (13:11 -0600)]
VIP: Added support for early camera usecase

Ported the need V4L2 functionality over to kernel
side in order to support the early camera usecase.

Change-Id: Iaecf45c57bbf72462d042147da8643df07eba54c
Signed-off-by: Arthur Philpott <arthur.philpott@ti.com>
7 years agoMerge branch 'p-ti-linux-3.8.y-video' of git://git.ti.com/android-sdk/kernel-video...
Praneeth Bajjuri [Tue, 14 Jan 2014 23:38:01 +0000 (17:38 -0600)]
Merge branch 'p-ti-linux-3.8.y-video' of git://git.ti.com/android-sdk/kernel-video into p-ti-linux-3.8.y

* 'p-ti-linux-3.8.y-video' of git://git.ti.com/android-sdk/kernel-video:
  OMAPDSS: Display: update fpdlink driver to return err on no link
  OMAPDSS: DSS: Base address for Tiler2D specific access can be 0 for 8bit mode
  OMAPDSS: HDMI: Fix log statements from error to info
  OMAPDSS: DSS: add parameter display_id to omap_dss_device

Change-Id: I442523a5da3e05cda0fd71fc7d985ade233e5ab0
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
7 years agoMerge branch 'p-ti-linux-3.8.y/audio-for-next' of git://git.ti.com/android-sdk/kernel...
Praneeth Bajjuri [Tue, 14 Jan 2014 23:36:06 +0000 (17:36 -0600)]
Merge branch 'p-ti-linux-3.8.y/audio-for-next' of git://git.ti.com/android-sdk/kernel-audio into p-ti-linux-3.8.y

* 'p-ti-linux-3.8.y/audio-for-next' of git://git.ti.com/android-sdk/kernel-audio:
  ASoC: tlv320aic3x: Fix incorrect locking order
  ARM: dts: dra7: Add McASP interrupt names
  ASoC: davinci-mcasp: Add overrun/underrun event handling

Change-Id: I72c1f56f53f9b17853b9c76e652331d0f61863ce
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
7 years agoMerge branch 'hdmi-linux' into p-ti-linux-3.8.y-video
srinivas pulukuru [Tue, 14 Jan 2014 18:57:33 +0000 (12:57 -0600)]
Merge branch 'hdmi-linux' into p-ti-linux-3.8.y-video

* hdmi-linux:
  OMAPDSS: HDMI: Fix log statements from error to info

7 years agoMerge branch 'fpdlink' into p-ti-linux-3.8.y-video
srinivas pulukuru [Tue, 14 Jan 2014 18:57:19 +0000 (12:57 -0600)]
Merge branch 'fpdlink' into p-ti-linux-3.8.y-video

* fpdlink:
  OMAPDSS: Display: update fpdlink driver to return err on no link

7 years agoMerge branch 'dss' into p-ti-linux-3.8.y-video
srinivas pulukuru [Tue, 14 Jan 2014 18:56:55 +0000 (12:56 -0600)]
Merge branch 'dss' into p-ti-linux-3.8.y-video

* dss:
  OMAPDSS: DSS: Base address for Tiler2D specific access can be 0 for 8bit mode
  OMAPDSS: DSS: add parameter display_id to omap_dss_device

7 years agoASoC: tlv320aic3x: Fix incorrect locking order
Misael Lopez Cruz [Wed, 11 Dec 2013 06:10:09 +0000 (00:10 -0600)]
ASoC: tlv320aic3x: Fix incorrect locking order

The .put() function used for a subset of Left and Right PGA
Mixers was acquiring the ASoC locks in an incorrect order:
codec's mutex and then DAPM mutex.

The involved widgets/controls are mixers, so they require
DAPM functions to update routes that are internal to ASoC.
The available functions are not feasible as they are locked
versions of the ones needed to implement the .put() callback.
Unlocked versions of the power update for mixers and muxes are
exported now.

The implementation of the .put() callback has also been updated
to keep it more in sync with the default one for that type of
widgets.

Change-Id: Id031c3fa49aa0130f0dd105f4d5afcb16c68e3d7
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
7 years agoARM: dts: dra7: Add McASP interrupt names
Misael Lopez Cruz [Thu, 9 Jan 2014 00:14:06 +0000 (18:14 -0600)]
ARM: dts: dra7: Add McASP interrupt names

Add names of the McASP transmit and receive interrupts.

Change-Id: I84dcca02d9a0eebb0e21b2e0c628ac141d2efe23
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
7 years agoASoC: davinci-mcasp: Add overrun/underrun event handling
Misael Lopez Cruz [Tue, 17 Dec 2013 22:00:08 +0000 (16:00 -0600)]
ASoC: davinci-mcasp: Add overrun/underrun event handling

An underrun (playback) event occurs when the serializer transfer
data from the XRBUF buffer to the XRSR shift register, but the
XRBUF hasn't been filled. Similarly, the overrun (capture) event
occurs when data from the XRSR shift register is transferred to
the XRBUF but it hasn't been read yet.

These events are handled as XRUN events that cause the pcm to stop.
The stream has to be explicitly restarted by the userspace which
ensures that after stopping/starting McASP the data transfer is
aligned with DMA. The other possibility was to internally stop and
start McASP without DMA even knowing about it.

Change-Id: Ic574e93dd739ba272f674fb6cc82d3cb02982dde
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Reviewed-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
7 years agoOMAPDSS: Display: update fpdlink driver to return err on no link
srinivas pulukuru [Wed, 13 Nov 2013 09:40:23 +0000 (03:40 -0600)]
OMAPDSS: Display: update fpdlink driver to return err on no link

fpdlink driver was not returning success on link not present.
fix it ro return -ENODEV

Change-Id: I543ec083267f950fa34b750952ad15c7999d20dc
Signed-off-by: srinivas pulukuru <srinivas.pulukuru@ti.com>
7 years agoOMAPDSS: DSS: Base address for Tiler2D specific access can be 0 for 8bit mode
srinivas pulukuru [Thu, 19 Dec 2013 07:00:21 +0000 (01:00 -0600)]
OMAPDSS: DSS: Base address for Tiler2D specific access can be 0 for 8bit mode

for tiler2D specific address for 8bit mode access,
the base address can be 0 for the first frame.
DSS currently errors out if base address is 0.
Add a check to allow base address to be 0 in case
of 8bit color format.

Change-Id: I9c2a11ab6dffdaff831604c7038aa58b2aa56449
Signed-off-by: srinivas pulukuru <srinivas.pulukuru@ti.com>
7 years agoASoC: DRA7: dra7-evm: gpio for DAI link pins switch
Misael Lopez Cruz [Wed, 18 Dec 2013 01:27:35 +0000 (19:27 -0600)]
ASoC: DRA7: dra7-evm: gpio for DAI link pins switch

dra7evm board has switch/exchanger controlled through a gpio
that connects the pins of the Media and Bluetooth DAI links.
The DAI link pins (McASP2, McASP3 and McASP7) are connected
when the select gpio is low.

Change-Id: I04b59e9dea13dec6f5873faab60507f6e16f11e2
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Signed-off-by: Subramaniam Chanderashekarapuram <subramaniam.ca@ti.com>
7 years agoOMAPDSS: HDMI: Fix log statements from error to info
srinivas pulukuru [Wed, 20 Nov 2013 23:04:59 +0000 (17:04 -0600)]
OMAPDSS: HDMI: Fix log statements from error to info

HDMI logs show DSSERR. this should be DSSINFO statements

Change-Id: I3b46c8be91c6848131c366730ec2a1968be78253
Signed-off-by: srinivas pulukuru <srinivas.pulukuru@ti.com>
7 years agoOMAPDSS: DSS: add parameter display_id to omap_dss_device
srinivas pulukuru [Wed, 13 Nov 2013 09:42:49 +0000 (03:42 -0600)]
OMAPDSS: DSS: add parameter display_id to omap_dss_device

update omap_dss_device to reflect the display_id's being set
in dts file to identify the displays instead of using the
order of declaration in dtsi file

Change-Id: I306a72f84e93795d49ede61aa77757887bb16af8
Signed-off-by: srinivas pulukuru <srinivas.pulukuru@ti.com>
7 years agoDRA7: ATL: correct the awsmux value for atl1
Ravikumar Kattekola [Wed, 11 Dec 2013 14:18:32 +0000 (19:48 +0530)]
DRA7: ATL: correct the awsmux value for atl1

ATL1 awsmux value is configured as 15 for MCASP6_FSX while
the correct value for MCASP6_FSX is 7.

Change-Id: Ia725de9f2dc473f336652ca348a2fb0d902ec210
Signed-off-by: Ravikumar Kattekola <rk@ti.com>
7 years agoDRA7: Radio: Add dt entries and bindings for radio
Ravikumar Kattekola [Fri, 13 Dec 2013 09:07:12 +0000 (14:37 +0530)]
DRA7: Radio: Add dt entries and bindings for radio

Added dt entries fo rthe radio helper driver.
Created a bindings document for the same at
Documentation/devicetree/bindings/media/dra7-radio.txt

Change-Id: Ieca66511cd1d173495fc588b3304e13cfc2a1bcc
Signed-off-by: Ravikumar Kattekola <rk@ti.com>
7 years agoDRA7: Radio: Add pinmux entries to dts for radio
Lad, Prabhakar [Wed, 11 Dec 2013 08:48:31 +0000 (14:18 +0530)]
DRA7: Radio: Add pinmux entries to dts for radio

Add pinmux entries that needs to be configured for radio
integration/usecase.
These are used by the dra7xx_radio platform driver to configure
the pinmux/gpio.

Change-Id: Id15e96fe37af8da53b080f1049d966fc11532398
Signed-off-by: Ravikumar Kattekola <rk@ti.com>
7 years agoDRA7: Radio: Add platform driver support for radio integration
Ravikumar Kattekola [Wed, 11 Dec 2013 08:34:38 +0000 (14:04 +0530)]
DRA7: Radio: Add platform driver support for radio integration

Add a platform driver to do initial configuration required
for radio use case such as enabling mcasps, pinmux and gpio.

This is done in two levels,
1. main module - dra7xx_radio driver:
- initializes the gpio/used as a tuner reset
- Parse the dt node and create platform_device for child/ sub-devices
and
2. the sub-module - dra7xx_radio_helper driver:
- Enable the subdevices for use by Radio

Change-Id: I0387b55e2f9487d3701a37f4aaee3a0465bb00dc
Signed-off-by: Ravikumar Kattekola <rk@ti.com>
7 years agoMerge branch 'p-ti-linux-3.8.y/audio-for-next' of git://git.ti.com/android-sdk/kernel...
Praneeth Bajjuri [Thu, 12 Dec 2013 05:54:55 +0000 (23:54 -0600)]
Merge branch 'p-ti-linux-3.8.y/audio-for-next' of git://git.ti.com/android-sdk/kernel-audio into p-ti-linux-3.8.y

* 'p-ti-linux-3.8.y/audio-for-next' of git://git.ti.com/android-sdk/kernel-audio:
  ARM: DRA7: clocks: Fix McASP2 AHCLKX offset

Change-Id: I6a468c1800da1af5135759596ad286537195b11e
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
7 years agoMerge branch 'ti2013.04.02-rpmsg-3.8.y' of git://git.ti.com/rpmsg/rpmsg into p-ti...
Praneeth Bajjuri [Thu, 12 Dec 2013 05:48:18 +0000 (23:48 -0600)]
Merge branch 'ti2013.04.02-rpmsg-3.8.y' of git://git.ti.com/rpmsg/rpmsg into p-ti-linux-3.8.y

* 'ti2013.04.02-rpmsg-3.8.y' of git://git.ti.com/rpmsg/rpmsg:
  ARM: OMAP: remoteproc: adjust the CMA pool size for OMAP5 IPU
  ARM: OMAP: remoteproc: adjust the CMA pools for DRA7

Change-Id: Ifcfa402fde66ee79017a1f5d94f6f78fc3696792
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
7 years agoMerge branch 'rproc-linux-3.8.y' of git://git.ti.com/rpmsg/remoteproc into ti2013...
Suman Anna [Thu, 12 Dec 2013 05:34:18 +0000 (23:34 -0600)]
Merge branch 'rproc-linux-3.8.y' of git://git.ti.com/rpmsg/remoteproc into ti2013.04.02-rpmsg-3.8.y

Pull in the CMA pool updates on DRA7xx and OMAP5 from the remoteproc
feature branch.

* 'rproc-linux-3.8.y' of git://git.ti.com/rpmsg/remoteproc:
  ARM: OMAP: remoteproc: adjust the CMA pool size for OMAP5 IPU
  ARM: OMAP: remoteproc: adjust the CMA pools for DRA7

Signed-off-by: Suman Anna <s-anna@ti.com>