6 years agovideo: tegra: host: Tegra12 updates to host
Mark Stadler [Wed, 1 Aug 2012 20:40:26 +0000]
video: tegra: host: Tegra12 updates to host

Change-Id: I341c55571b8f0f60b7a4bfae374c8c4c771fd27b
Signed-off-by: Mark Stadler <mastadler@nvidia.com>

6 years agovideo: tegra: host: Tegra12 updates to tsec
Mark Stadler [Wed, 1 Aug 2012 23:16:34 +0000]
video: tegra: host: Tegra12 updates to tsec

Change-Id: I4caae29d351355b336d3ea326bd80875f0d39bd1
Signed-off-by: Mark Stadler <mastadler@nvidia.com>

6 years agovideo: tegra: host: Tegra12 updates to msenc
Mark Stadler [Wed, 1 Aug 2012 22:52:48 +0000]
video: tegra: host: Tegra12 updates to msenc

Change-Id: I306deab1020fc95abc9a7015e8a2d31601b5c164
Signed-off-by: Mark Stadler <mastadler@nvidia.com>

6 years agovideo: tegra: host: Tegra12 updates to mpe
Mark Stadler [Wed, 1 Aug 2012 22:38:54 +0000]
video: tegra: host: Tegra12 updates to mpe

Change-Id: Ic94931663a4fc408fe27536f8169deda71fe852a
Signed-off-by: Mark Stadler <mastadler@nvidia.com>

6 years agovideo: tegra: host: Tegra12 updates to host1x
Mark Stadler [Wed, 1 Aug 2012 22:12:52 +0000]
video: tegra: host: Tegra12 updates to host1x

Change-Id: Icbc3efd01e05538ffb954a12f694bdd5fbaa2f1f
Signed-off-by: Mark Stadler <mastadler@nvidia.com>

6 years agovideo: tegra: host: Tegra12 updates to Tegra14 support
Mark Stadler [Wed, 1 Aug 2012 23:06:03 +0000]
video: tegra: host: Tegra12 updates to Tegra14 support

Change-Id: Id9966599b580b51dc48d7fd82efd19d9b6ae50ab
Signed-off-by: Mark Stadler <mastadler@nvidia.com>

6 years agovideo: tegra: host: Tegra12 updates to Tegra11 support
Mark Stadler [Wed, 1 Aug 2012 22:57:43 +0000]
video: tegra: host: Tegra12 updates to Tegra11 support

Change-Id: I42c4ad1abe6d2e43b8f936a15b7536e99346a0b4
Signed-off-by: Mark Stadler <mastadler@nvidia.com>

6 years agovideo: tegra: host: Tegra12 updates to Tegra3 support
Mark Stadler [Wed, 1 Aug 2012 23:12:40 +0000]
video: tegra: host: Tegra12 updates to Tegra3 support

Change-Id: I8f9c4bbcb15c8bb9e89497adbfb5d277b0c9ce6c
Signed-off-by: Mark Stadler <mastadler@nvidia.com>

6 years agovideo: tegra: host: Tegra12 updates to Tegra2 support
Mark Stadler [Wed, 1 Aug 2012 23:10:03 +0000]
video: tegra: host: Tegra12 updates to Tegra2 support

Change-Id: I70cc97810ef541802e4b18a1e740b23635240859
Signed-off-by: Mark Stadler <mastadler@nvidia.com>

6 years agovideo: tegra: host: Add Tegra12 support
Mark Stadler [Thu, 2 Aug 2012 17:53:51 +0000]
video: tegra: host: Add Tegra12 support

Change-Id: I85eaa0199bb590fe4c55bc73b54592bfdcec0697
Signed-off-by: Mark Stadler <mastadler@nvidia.com>

6 years agovideo: tegra: host: Add gk20a driver for Tegra12
Mark Stadler [Thu, 2 Aug 2012 16:52:03 +0000]
video: tegra: host: Add gk20a driver for Tegra12

Change-Id: I3f92ff7129a8b6bda9f4645f9360b419fd12334d
Signed-off-by: Mark Stadler <mastadler@nvidia.com>

6 years agovideo: tegra: host: Add VIC driver for Tegra12
Mark Stadler [Thu, 2 Aug 2012 01:02:02 +0000]
video: tegra: host: Add VIC driver for Tegra12

Change-Id: I2f7854dee65fb9bd5ea63cdf39e1548f1476d496
Signed-off-by: Mark Stadler <mastadler@nvidia.com>

6 years agoARM: tegra: Add VIC device resource for Tegra12x
Mark Stadler [Wed, 1 Aug 2012 05:58:50 +0000]
ARM: tegra: Add VIC device resource for Tegra12x

Change-Id: I36549d3bfbf7297a789af0e34993639da8496e5b
Signed-off-by: Jin Qian <jqian@nvidia.com>
Reviewed-on: http://git-master/r/83275
Reviewed-by: Ken Adams <kadams@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Mark Stadler <mastadler@nvidia.com>
Signed-off-by: Mark Stadler <mastadler@nvidia.com>

6 years agovideo: tegra: nvmap: Tegra12 updates to nvmap
Mark Stadler [Fri, 3 Aug 2012 03:20:03 +0000]
video: tegra: nvmap: Tegra12 updates to nvmap

Change-Id: Ie3e089c4aee36295da3d26e9d5ee2523e16859cc
Signed-off-by: Mark Stadler <mastadler@nvidia.com>

6 years agomedia: video: tegra: Update nvmap interface for Tegra12x
Jin Qian [Fri, 10 Feb 2012 22:38:27 +0000]
media: video: tegra: Update nvmap interface for Tegra12x

Change-Id: I340557ac1ead8259f03cf453a8c52dd7b3703ace
Signed-off-by: Jin Qian <jqian@nvidia.com>
Reviewed-on: http://git-master/r/83274
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Mark Stadler <mastadler@nvidia.com>
Signed-off-by: Mark Stadler <mastadler@nvidia.com>

6 years agoARM: tegra: bonaire: add board files
Jin Qian [Fri, 3 Feb 2012 02:25:15 +0000]
ARM: tegra: bonaire: add board files

and the include for host1x init (invoked from board file)

Change-Id: I5a7cb2e074f6c7395aec5ede1db31b2bdeae5cb0
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Mark Stadler <mastadler@nvidia.com>
Signed-off-by: Jin Qian <jqian@nvidia.com>
Reviewed-on: http://git-master/r/82938
Signed-off-by: Mark Stadler <mastadler@nvidia.com>

6 years agoARM: tegra: Add MACH_BONAIRE in config file
Jin Qian [Fri, 3 Feb 2012 02:26:58 +0000]
ARM: tegra: Add MACH_BONAIRE in config file

Change-Id: I118fd6fd55dc28dae39fd3f2977d4dbce00694fe
Reviewed-by: Mark Stadler <mastadler@nvidia.com>
Signed-off-by: Jin Qian <jqian@nvidia.com>
Reviewed-on: http://git-master/r/82937
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Ken Adams <kadams@nvidia.com>
Signed-off-by: Mark Stadler <mastadler@nvidia.com>

6 years agoARM: tegra: Update MC defines for Tegra12x
Mark Stadler [Wed, 1 Aug 2012 04:28:12 +0000]
ARM: tegra: Update MC defines for Tegra12x

Change-Id: If621b74762e5182743820f61b4ae5c67c0ea73ba
Signed-off-by: Jin Qian <jqian@nvidia.com>
Reviewed-on: http://git-master/r/82935
Reviewed-by: Mark Stadler <mastadler@nvidia.com>
Signed-off-by: Mark Stadler <mastadler@nvidia.com>

6 years agoARM: tegra: Update iomap for Tegra12x
Mark Stadler [Wed, 1 Aug 2012 00:48:27 +0000]
ARM: tegra: Update iomap for Tegra12x

Change-Id: I11e6956d182f9787d79651b91c8270d27ce2807d
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Mark Stadler <mastadler@nvidia.com>
Signed-off-by: Jin Qian <jqian@nvidia.com>
Reviewed-on: http://git-master/r/82933
Reviewed-by: Ken Adams <kadams@nvidia.com>
Signed-off-by: Mark Stadler <mastadler@nvidia.com>

6 years agoARM: tegra: Add io regions for Tegra12x
Mark Stadler [Wed, 1 Aug 2012 00:42:50 +0000]
ARM: tegra: Add io regions for Tegra12x

Change-Id: Icc5b76d72769ba18ad37722d7b13ea65e2966737
Reviewed-by: Ken Adams <kadams@nvidia.com>
Reviewed-by: Robert Bond <rbond@nvidia.com>
Reviewed-by: Mark Stadler <mastadler@nvidia.com>
Tested-by: Ken Adams <kadams@nvidia.com>
Signed-off-by: Jin Qian <jqian@nvidia.com>
Reviewed-on: http://git-master/r/82932
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Signed-off-by: Mark Stadler <mastadler@nvidia.com>

6 years agoARM: tegra: Add emc files for Tegra12x
Mark Stadler [Wed, 1 Aug 2012 01:23:52 +0000]
ARM: tegra: Add emc files for Tegra12x

Change-Id: Iee70053fff3a63fe56c76363289834c0e5d7165b
Reviewed-by: Mark Stadler <mastadler@nvidia.com>
Reviewed-by: Ken Adams <kadams@nvidia.com>
Reviewed-by: Jeff Smith <jsmith@nvidia.com>
Tested-by: Ken Adams <kadams@nvidia.com>
Signed-off-by: Jin Qian <jqian@nvidia.com>
Reviewed-on: http://git-master/r/82934
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Signed-off-by: Mark Stadler <mastadler@nvidia.com>

6 years agoARM: tegra: Add Tegra12x clock and dvfs files
Mark Stadler [Wed, 1 Aug 2012 00:31:06 +0000]
ARM: tegra: Add Tegra12x clock and dvfs files

Change-Id: Ib1a70afc6f626fc943ec810ea51ff5d917a96c80
Reviewed-by: Mark Stadler <mastadler@nvidia.com>
Reviewed-by: Ken Adams <kadams@nvidia.com>
Tested-by: Ken Adams <kadams@nvidia.com>
Signed-off-by: Jin Qian <jqian@nvidia.com>
Reviewed-on: http://git-master/r/82931
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Signed-off-by: Mark Stadler <mastadler@nvidia.com>

6 years agoARM: tegra: pinmux: Add Tegra12x pinmux tables
Mark Stadler [Tue, 31 Jul 2012 23:18:13 +0000]
ARM: tegra: pinmux: Add Tegra12x pinmux tables

Change-Id: I021b1bed4e84a8d47463b8ee289ff400d9767767
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Mark Stadler <mastadler@nvidia.com>
Signed-off-by: Jin Qian <jqian@nvidia.com>
Reviewed-on: http://git-master/r/82930
Signed-off-by: Mark Stadler <mastadler@nvidia.com>

6 years agoARM: tegra: add Tegra12x configuration options
Mark Stadler [Tue, 31 Jul 2012 22:51:18 +0000]
ARM: tegra: add Tegra12x configuration options

Change-Id: Ie78706cfb60806a283fc2a4aaa0571b274d5c0ad
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Mark Stadler <mastadler@nvidia.com>
Reviewed-by: Ken Adams <kadams@nvidia.com>
Tested-by: Ken Adams <kadams@nvidia.com>
Signed-off-by: Jin Qian <jqian@nvidia.com>
Reviewed-on: http://git-master/r/82929
Signed-off-by: Mark Stadler <mastadler@nvidia.com>

6 years agoARM: tegra: add irq defines for Tegra12x
Jin Qian [Fri, 3 Feb 2012 00:57:45 +0000]
ARM: tegra: add irq defines for Tegra12x

Change-Id: If15eb541fd5893afbb74d4d84950e7a79786afa7
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Mark Stadler <mastadler@nvidia.com>
Signed-off-by: Jin Qian <jqian@nvidia.com>
Reviewed-on: http://git-master/r/82928
Signed-off-by: Mark Stadler <mastadler@nvidia.com>

6 years agoARM: tegra: Add code to handle chip ID for Tegra12x
Mark Stadler [Tue, 31 Jul 2012 20:42:39 +0000]
ARM: tegra: Add code to handle chip ID for Tegra12x

Change-Id: I1d0e9117f2a5be77479b93a52dd8baa1f8c2ead8
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Mark Stadler <mastadler@nvidia.com>
Signed-off-by: Jin Qian <jqian@nvidia.com>
Reviewed-on: http://git-master/r/82927
Signed-off-by: Mark Stadler <mastadler@nvidia.com>

6 years agoARM: tegra: pluto: Adding late init call to MACHINE_START
Shridhar Rasal [Fri, 23 Aug 2013 05:10:48 +0000]
ARM: tegra: pluto: Adding late init call to MACHINE_START

With this Debug Sys file entries pertaining to clock is created
through late initcall.

Bug 1327616

Change-Id: I5b751892d67623eefe5292a6f3ee802eed586360
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/265304

6 years agoarm: mm: dma-mapping: add support for prefech and gap pages
Krishna Reddy [Wed, 17 Jul 2013 20:04:39 +0000]
arm: mm: dma-mapping: add support for prefech and gap pages

add support for prefetch and gap pages to be part of iova allocations
and mapping.
prefetch pages are necessary to avoid smmu faults, which are the result
of hw engines speculatively fetching beyond the iova mapped area.
gap pages are to separate the iova allcoations in order catch iova
access violations.

Bug 1303110
Bug 1265246
Bug 1215880
Bug 1327616

Change-Id: Ieacc0cd0a82e7f93746b453dafcec6a1766088a6
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/246693
(cherry picked from commit 889be8cbffa184c38f31542546d1f1ffbe8d8502)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/264780

6 years agommc: sdhci-tegra: disable auto callibration
Shridhar Rasal [Mon, 15 Apr 2013 14:50:44 +0000]
mmc: sdhci-tegra: disable auto callibration

For SDMMC3 on Dalmore, CRC errors observed keeping auto callibration ON.
So temp disabling it.

Bug 1271060
Bug 1343519

Change-Id: I73697f385dd5d8345f68839bd6c9576daa1f23c4
Reviewed-on: http://git-master/r/219430
(cherry picked from commit ce73859c650993685c2f120077164f79963fc2ca)
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/264704
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ajay Nandakumar M <anandakumarm@nvidia.com>
Tested-by: Ajay Nandakumar M <anandakumarm@nvidia.com>

6 years agoARM: tegra: dalmore: sdhci platform registration
R Raj Kumar [Wed, 24 Jul 2013 05:00:37 +0000]
ARM: tegra: dalmore: sdhci platform registration

Enabled sdhci registration through platform.
Update max clock limit for eMMC, SD and SDIO.

Bug 1249335
Bug 1343519

Change-Id: Id4893e4117693d94dc180b05bc01fa91cb4d6f59
Signed-off-by: R Raj Kumar <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/252738
(cherry picked from commit c80e8cabec46ae8c04fe523844cf4400bc4d5983)
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/264703
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ajay Nandakumar M <anandakumarm@nvidia.com>
Tested-by: Ajay Nandakumar M <anandakumarm@nvidia.com>

6 years agoARM: dma-mapping: Use iommu_map_sg() in dma_map_sg()
Hiroshi Doyu [Tue, 11 Jun 2013 12:25:10 +0000]
ARM: dma-mapping: Use iommu_map_sg() in dma_map_sg()

Use iommu_map_sg() in dma_map_sg() for perf instead of calling
iommu_map() repeatedly.

Bug 1304956
Bug 1327616

Change-Id: Ib5941f719fdf822a166fbbb0dc3fad22e2767e21
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/253307
(cherry picked from commit 1765eb73dd6f668e8f9fde99230af8fcba0bd906)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/264779

6 years agoiommu/tegra: smmu: Implement map_sg() for perf
Hiroshi Doyu [Tue, 11 Jun 2013 12:24:02 +0000]
iommu/tegra: smmu: Implement map_sg() for perf

Implement a new API, map_sg() for perf, which does cache maintenance
at once.

Bug 1304956
Bug 1327616

Change-Id: I8bd1a65670afb1bfe778ec077dbac64f14218f78
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/253306
(cherry picked from commit 59cf6adb12e229165232492379e4a5ab019000f3)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/264778
Reviewed-by: Automatic_Commit_Validation_User

6 years agoiommu/core: Add new API iommu_map_sg() for perf
Hiroshi Doyu [Tue, 11 Jun 2013 12:21:44 +0000]
iommu/core: Add new API iommu_map_sg() for perf

Add new iommu_ops->map_sg() for perf. Instead of calling iommu_map()
repeatedly, map_sg() can do some optimization in the backend
implementation.

Bug 1304956
Bug 1327616

Change-Id: I65331d33256b928b3313071fe7efa9e9279fe152
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/253305
(cherry picked from commit a815e6af84c225848c3eb73a31de9dfb572c47a4)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/264777

6 years agoARM: tegra: pluto: sdhci platform registration
Shridhar Rasal [Mon, 19 Aug 2013 10:13:11 +0000]
ARM: tegra: pluto: sdhci platform registration

Enabled sdhci registration through platform.
Update max clock limit for mmc.

Bug 1249335
Bug 1343519

Change-Id: Ic381ddd3e3066eed8b8935a93b84dd8ce2a9aa0f
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/263254
Reviewed-by: Automatic_Commit_Validation_User

6 years agoARM: boot: dts: Disable DT for sdhci
Shridhar Rasal [Mon, 19 Aug 2013 08:49:34 +0000]
ARM: boot: dts: Disable DT for sdhci

Nominal and Minimal override voltages are being passed through
sdhci platform data properly. The same voltage settings has
to be added in device tree for K3.8. So, disabled device tree
support for sdhci now. Will enable device tree once the voltage
changes in device tree are ready.

Bug 1249335

Change-Id: Ia7e76fadec71f2dbd5b5751784d5efbd291985a6
Reviewed-on: http://git-master/r/252732
(cherry picked from commit 75ce9decdb4b442e4ab80f5ac53bf77066ebfe9b)
Signed-off-by: R Raj Kumar <rrajk@nvidia.com>
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/263249

6 years agommc: host: tegra: Use soc_data if DT disabled
Shridhar Rasal [Thu, 8 Aug 2013 06:48:59 +0000]
mmc: host: tegra: Use soc_data if DT disabled

If DT is disabled, use predefined soc_data for devices

Bug 1343519

Change-Id: I869e964d41b113d391698534cebd326df4d087f5
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/263250
Reviewed-by: Automatic_Commit_Validation_User

6 years agoARM: tegra11: config: enable max77665 extcon and charger
Shridhar Rasal [Wed, 21 Aug 2013 09:53:08 +0000]
ARM: tegra11: config: enable max77665 extcon and charger

bug 1351841

Change-Id: I1277782e79202db8b23ac1c283eefc531bcfb9d8
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/264309

6 years agopower: max77665-charger: remove deprecated macros
Shridhar Rasal [Wed, 21 Aug 2013 08:51:48 +0000]
power: max77665-charger: remove deprecated macros

__devinit, __devexit are deprecared from K3.4 and above.
Remove usage from driver.

bug 1351841

Change-Id: If1ac6e020243009ed646eb268c8c82359a0592c4
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/264276
Reviewed-by: Automatic_Commit_Validation_User

6 years agoextcon: max77665: remove deprecated macros
Shridhar Rasal [Wed, 21 Aug 2013 08:53:54 +0000]
extcon: max77665: remove deprecated macros

__devinit, __devexit are deprecared from K3.4 and above.
Remove usage from driver.

bug 1351841

Change-Id: Ib0227a07c12c6c24c42400e7c23d0d39a543cdbd
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/264277
Reviewed-by: Automatic_Commit_Validation_User

6 years agoARM: tegra: config: Make L4T defconfig similiar to Android
Preetham Chandru R [Thu, 22 Aug 2013 12:23:47 +0000]
ARM: tegra: config: Make L4T defconfig similiar to Android

Make L4T defconfig similiar to that of Android.
This commit also regenerate the defconfig to reflect the current kconfigs

Bug 1342028

Change-Id: Id39091261804d32ec2a0ccd4bf287829d59fd583
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Reviewed-on: http://git-master/r/264870
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agousb: gadget: tegra_udc: USB_OTG_UTILS is dead
Dan Willemsen [Fri, 23 Aug 2013 02:00:39 +0000]
usb: gadget: tegra_udc: USB_OTG_UTILS is dead

Let's just assume it's always defined now

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agousb: gadget: tegra_udc: Updates for 3.10
Dan Willemsen [Fri, 23 Aug 2013 01:58:11 +0000]
usb: gadget: tegra_udc: Updates for 3.10

udc-core got a lot smarter in 3.10 and handles a lot more boilerplate
for us. Update to the new API.

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoARM: tegra: Boost TPS65090_TEGRA_IRQ_END for dalmore by 1
Dan Willemsen [Fri, 23 Aug 2013 00:57:04 +0000]
ARM: tegra: Boost TPS65090_TEGRA_IRQ_END for dalmore by 1

The previous end was actually being registered (by something). This
pushes the palmas and max77663 irq bases into free irq space.

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agovideo: tegra: host: Android sync header has moved to staging
Dan Willemsen [Thu, 22 Aug 2013 23:13:09 +0000]
video: tegra: host: Android sync header has moved to staging

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agovideo: tegra: Disable -Werror for now
Dan Willemsen [Thu, 22 Aug 2013 22:53:39 +0000]
video: tegra: Disable -Werror for now

Until regulator_enable calls are checked

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agofixup! fixup usb move to drivers/usb/phy
Dan Willemsen [Thu, 22 Aug 2013 22:51:01 +0000]
fixup! fixup usb move to drivers/usb/phy

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agousb: host: tegra: CONFIG_USB_OTG_UTILS is gone
Dan Willemsen [Thu, 22 Aug 2013 22:42:32 +0000]
usb: host: tegra: CONFIG_USB_OTG_UTILS is gone

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agofixup! usb: cdc-acm: remove tty_hangup in acm_reset_resume
Dan Willemsen [Thu, 22 Aug 2013 22:22:41 +0000]
fixup! usb: cdc-acm: remove tty_hangup in acm_reset_resume

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agothermal: pwm_fan: WQ_RESCUER is gone
Dan Willemsen [Thu, 22 Aug 2013 22:19:33 +0000]
thermal: pwm_fan: WQ_RESCUER is gone

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agostaging:iio:light Disable -Werror for now
Dan Willemsen [Thu, 22 Aug 2013 22:12:23 +0000]
staging:iio:light Disable -Werror for now

Until these properly check the result of regulator_enable

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agostaging:iio:light:cm3218 move to info_mask_(shared_by_type/separate)
Dan Willemsen [Thu, 22 Aug 2013 22:06:28 +0000]
staging:iio:light:cm3218 move to info_mask_(shared_by_type/separate)

The original info_mask is going away in favour of the broken out
versions.

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agostaging:iio:adc:max77660-adc move to info_mask_(shared_by_type/separate)
Dan Willemsen [Thu, 22 Aug 2013 22:06:28 +0000]
staging:iio:adc:max77660-adc move to info_mask_(shared_by_type/separate)

The original info_mask is going away in favour of the broken out
versions.

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agofixup! regulator: palmas: move tracking config to config flags
Dan Willemsen [Thu, 22 Aug 2013 21:59:41 +0000]
fixup! regulator: palmas: move tracking config to config flags

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoREMOVE: tegra3_edp.c
Dan Willemsen [Tue, 3 Sep 2013 02:14:49 +0000]
REMOVE: tegra3_edp.c

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agonet: wireless: bcm43241: rename random32() to prandom_u32()
Dan Willemsen [Thu, 22 Aug 2013 21:47:35 +0000]
net: wireless: bcm43241: rename random32() to prandom_u32()

Also renames srandom32(seed) to prandom_seed(seed)

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agommc: tegra: Turn off -Werror
Dan Willemsen [Thu, 22 Aug 2013 21:45:02 +0000]
mmc: tegra: Turn off -Werror

Until the driver is fixed to check the return value of regulator_enable

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agomisc: bluedroid_pm: Convert to proc_create_data
Dan Willemsen [Thu, 22 Aug 2013 21:44:08 +0000]
misc: bluedroid_pm: Convert to proc_create_data

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agomisc: bluedroid_pm: Add slab.h include
Dan Willemsen [Thu, 22 Aug 2013 21:23:20 +0000]
misc: bluedroid_pm: Add slab.h include

Otherwise kzalloc and kfree weren't defined.

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agomisc: therm_fan_est: WQ_RESCUER has been removed
Dan Willemsen [Thu, 22 Aug 2013 21:21:21 +0000]
misc: therm_fan_est: WQ_RESCUER has been removed

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agomisc: therm_est: WQ_RESCUER has been removed
Dan Willemsen [Thu, 22 Aug 2013 21:18:58 +0000]
misc: therm_est: WQ_RESCUER has been removed

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agocpuquiet: balanced: WQ_RESCUER has been removed
Dan Willemsen [Thu, 22 Aug 2013 21:18:19 +0000]
cpuquiet: balanced: WQ_RESCUER has been removed

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agofixup! Revert "cpufreq: tegra: Move driver to drivers/cpufreq"
Dan Willemsen [Thu, 22 Aug 2013 21:17:20 +0000]
fixup! Revert "cpufreq: tegra: Move driver to drivers/cpufreq"

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoPartial Revert "Revert "clocksource: pass DT node pointer to init functions""
Dan Willemsen [Thu, 22 Aug 2013 21:15:36 +0000]
Partial Revert "Revert "clocksource: pass DT node pointer to init functions""

This reverts commit 58f23560b5f0bfe4801c76a7f6b0908d87edfc2c.

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoRevert "fixup! Revert "clocksource: pass DT node pointer to init functions""
Dan Willemsen [Thu, 22 Aug 2013 21:14:59 +0000]
Revert "fixup! Revert "clocksource: pass DT node pointer to init functions""

This reverts commit dc5e4f80450d3b7edef09437c541030526a95ce5.

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoARM: config: Disable TRACEDUMP
Dan Willemsen [Thu, 22 Aug 2013 21:13:05 +0000]
ARM: config: Disable TRACEDUMP

Doesn't compile with some of the API changes in 3.10. Specifically this
one: ae63b31e4d0e2ec09c569306ea46f664508ef717

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoARM: tegra: Check regulator_enable return values
Dan Willemsen [Thu, 22 Aug 2013 21:07:24 +0000]
ARM: tegra: Check regulator_enable return values

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoARM: tegra: Convert tegra_wakeup_monitor to proc_create and seq_file
Dan Willemsen [Thu, 22 Aug 2013 20:49:18 +0000]
ARM: tegra: Convert tegra_wakeup_monitor to proc_create and seq_file

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoARM: tegra: cpuquiet: WQ_RESCUER has been removed
Dan Willemsen [Thu, 22 Aug 2013 20:25:58 +0000]
ARM: tegra: cpuquiet: WQ_RESCUER has been removed

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agofixup! Revert "clocksource: pass DT node pointer to init functions"
Dan Willemsen [Thu, 22 Aug 2013 20:22:39 +0000]
fixup! Revert "clocksource: pass DT node pointer to init functions"

6 years agoARM: tegra: register arm arch timers using clocksource_of_init()
Dan Willemsen [Thu, 22 Aug 2013 20:20:43 +0000]
ARM: tegra: register arm arch timers using clocksource_of_init()

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoARM: config: tegra: Regenerate tegra11_android
Dan Willemsen [Thu, 22 Aug 2013 20:20:12 +0000]
ARM: config: tegra: Regenerate tegra11_android

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoUSB: otg: Move tegra-otg to phy folder
Dan Willemsen [Thu, 22 Aug 2013 19:10:21 +0000]
USB: otg: Move tegra-otg to phy folder

Everything else got moved in 3.10, make tegra-otg follow

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoARM: dts: tegra11: Add clocks to curacao
Ajay Nandakumar [Wed, 14 Aug 2013 11:49:09 +0000]
ARM: dts: tegra11: Add clocks to curacao

Change-Id: I131fc83e1fd57cab3ed87c77970fcaa6c2c0bd30
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Reviewed-on: http://git-master/r/261463

6 years agoinput: touchscreen: Disable slow scan
Tuomas Kulve [Wed, 7 Aug 2013 09:26:56 +0000]
input: touchscreen: Disable slow scan

Bug 1343312
Bug 1343582

Change-Id: I94c5a7c414ed5c125609befe4b00d4bd970c38f6
Signed-off-by: Tuomas Kulve <tkulve@nvidia.com>
Reviewed-on: http://git-master/r/259130
(cherry picked from commit f7bd783f0810483f26a8539cc4ec02a572b16dee)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/261037
Reviewed-by: Automatic_Commit_Validation_User

6 years agoinput: touchscreen: raydium v60.2 touch driver
Xiaohui Tao [Fri, 2 Aug 2013 17:09:32 +0000]
input: touchscreen: raydium v60.2 touch driver

raydium code drop

[1] Add additional info for regulator event msg

[2] Add RM_PLATFORM_A010 for Ardbeg AVC sensor

[3] Fix no touch function in Pluto platform with RM31081 from idle mode

[4] Refine Pismo touch direction

[5] Fix idle mode problem with Ardbeg AVC sensor

Bug 1330952

Change-Id: Ib282bec3f07a16eb657314ee5127824f02a89d02
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/257604
Reviewed-by: Mitch Luban <mluban@nvidia.com>
(cherry picked from commit 227b8493a0795aff1bd8d1518e5e4fac1f5e7eae)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/261036

6 years agostaging: iio: light: Remove CONFIG_SENSORS_CM32181
Sri Krishna chowdary [Wed, 15 May 2013 10:46:13 +0000]
staging: iio: light: Remove CONFIG_SENSORS_CM32181

CONFIG_SENSORS_CM32181 was needed for choosing
which value to be written to command register.
Now, this is taken care by cm3218 driver at runtime.

bug 1256462
bug 1327616

Change-Id: Id96ae564f3d7900645bd17d054be19a6af1c0c31
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/228832
(cherry picked from commit 6659fbc6bd76bf911942e8b156b04890145a559a)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/264214
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Tested-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agostaging: iio: light: cm3218: Fix error paths
Sri Krishna chowdary [Fri, 5 Jul 2013 10:59:56 +0000]
staging: iio: light: cm3218: Fix error paths

1. if regulator is not found then chip->consumers is null.
Prevent Null dereference by adding check.
2. Add proper exit states in case of error in probe
3. Assign chip->id during probe

Bug 1256462
Bug 1327616

Change-Id: I0cf7ff6f1071a50886a31867f7ab68652ed06535
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/245356
(cherry picked from commit 2f14b527f78d01d40b55a61cb25fe6cad9857097)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/264212
Reviewed-by: Automatic_Commit_Validation_User

6 years agostaging: iio: light: cm3218: sync cmd register
Sri Krishna chowdary [Wed, 15 May 2013 10:45:12 +0000]
staging: iio: light: cm3218: sync cmd register

Regmap does not sync registers in reg_dafaults as
it assumes the values to be power-on-reset. CM32181 does
not set value of reg 0x00 to 0x0000 on power on. Regmap
assumes this value to be 0x0000 and hence does not write
when request comes to set register value to 0x0000. Hence,
sync command register using i2c write rather than regmap_sync.

Endianness of mask should also be changed.

Decide which default value to be written to device at runtime.

Remove i2c_waitqueue. If device is not ready even after notifier
returns simply return error. No need to wait further.

Bug 1256462
Bug 1327616

Change-Id: Ib01de85ee76cdb325c7ca3dc1b839bc9553846f4
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/227964
(cherry picked from commit f6b731db8766b34e6c4f7c35ce2a65ce68d4351f)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/264211
Reviewed-by: Automatic_Commit_Validation_User

6 years agostaging: iio: light: cm3218: support CM32181
Sri Krishna chowdary [Tue, 16 Apr 2013 07:01:52 +0000]
staging: iio: light: cm3218: support CM32181

CM32181 is used on Ardbeg.
Modify the cm3218 driver to be compatible with k3.8.
Also, change default value for Command register on cm32181.

Bug 1256462
Bug 1327616

Change-Id: I6a3d8875befbe0f18d79ed478fb7f96a20300c0b
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/219714
(cherry picked from commit 6fabee72fa38a5eb99ca90095fb4cdba7700ee1d)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/264210
Reviewed-by: Automatic_Commit_Validation_User

6 years agoARM: tegra: Remove enterprise support from baseband-xmm-power
Dan Willemsen [Wed, 21 Aug 2013 23:41:35 +0000]
ARM: tegra: Remove enterprise support from baseband-xmm-power

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agosecurity: tf_driver: fix build errors
Ajay Nandakumar [Tue, 13 Aug 2013 06:36:57 +0000]
security: tf_driver: fix build errors

Change-Id: I2cc26b954b0a47adc419b15a2c69cf19414648c8
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/260903
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoUPSTREAM v3.10: ARM: tegra: add non-removable and keep-power-in-suspend property...
Joseph Lo [Wed, 3 Apr 2013 20:34:39 +0000]
UPSTREAM v3.10: ARM: tegra: add non-removable and keep-power-in-suspend property for MMC

This patch adds "non-removable" property of MMC host where the eMMC device
is for Tegra platform.

And the "keep-power-in-suspend" property was used for the SDIO device that
need this to go into suspend mode (e.g. BRCM43xx series).

Signed-off-by: Joseph Lo <josephl@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
(cherry picked from commit 7a2617a64dac0ce559bee0710704aa7d51f4e92a)
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoUPSTREAM v3.10: ARM: tegra: add SPI nodes to Tegra114 DT
Laxman Dewangan [Fri, 15 Mar 2013 18:37:25 +0000]
UPSTREAM v3.10: ARM: tegra: add SPI nodes to Tegra114 DT

NVIDIA's Tegra114 has 6 SPI controllers. These controllers are
redesign on T114 with different register interface.

Add DT entry for spi controllers and make it compatible with
"nvidia,tegra114-spi", since they are a new incompatible design.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
[swarren: fixed reg property for 3rd SPI controller]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
(cherry picked from commit 6ea0297e39139a777c826339761afb3603c72e10)
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoUPSTREAM v3.10: ARM: tegra: add I2C nodes to Tegra114 DT
Laxman Dewangan [Wed, 13 Mar 2013 19:49:51 +0000]
UPSTREAM v3.10: ARM: tegra: add I2C nodes to Tegra114 DT

NVIDIA's Tegra114 has 5 I2C controllers. These controllers have the
following changes which makes incompatible with previous hardware:
- Single clock source to I2C controller.
- Interrupt support for per packet transfer.

Add DT entry for I2C controllers and make it compatible with
"nvidia,tegra114-i2c".

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
[swarren: fixed location of status property for consistency]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
(cherry picked from commit 3fc2f94eba35cc4735ec775d3c7b36deda71e2b1)
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agofixup! asoc: tegra: dalmore: enable audio
Dan Willemsen [Fri, 9 Aug 2013 07:09:00 +0000]
fixup! asoc: tegra: dalmore: enable audio

This is always enabled in the base tegra114 dtsi now

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoUPSTREAM v3.10: ARM: tegra: add APB DMA nodes to Tegra114 DT
Laxman Dewangan [Wed, 13 Mar 2013 19:49:50 +0000]
UPSTREAM v3.10: ARM: tegra: add APB DMA nodes to Tegra114 DT

NVIDIA's Tegra114 has 32 channels APB DMA controller. Add DT entry for
APB DMA controllers and make it compatible with "nvidia,tegra114-apbdma".

Tegra114 DMA controller is not compatible with Tegra30/Tegra20 DMA
controller driver as in Tegra114, the global pause also clock gate the
DMA register and hence it iw not possible to write the DMA register
with global pause.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
[swarren: fixed DT node order]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
(cherry picked from commit c5d9da4aab7a9677e7c820e8ed3dcb2a4cb4725a)
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoUPSTREAM v3.10: ARM: tegra: add SDHCI support for Dalmore
Rhyland Klein [Wed, 20 Feb 2013 18:35:15 +0000]
UPSTREAM v3.10: ARM: tegra: add SDHCI support for Dalmore

Dalmore has a built-in eMMC device and a user-accessible SD card slot.
Add device tree nodes to enable these.

Based on changes by: Pritesh Raithatha <praithatha@nvidia.com>
Signed-off-by: Rhyland Klein <rklein@nvidia.com>
[swarren: added commit description, fixed DT node sort order]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
(cherry picked from commit 8d3207ca248d4877936878171f68be2485f3f71e)
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoUPSTREAM v3.10: ARM: tegra: add SDHCI nodes with common properties
Pritesh Raithatha [Wed, 20 Feb 2013 18:35:14 +0000]
UPSTREAM v3.10: ARM: tegra: add SDHCI nodes with common properties

This patch adds in the SDHCI nodes for the busses supported on Tegra114
boards.

Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
[Rhyland added clk refs to & reordered sdhci nodes and removed spaces]
Signed-off-by: Rhyland Klein <rklein@nvidia.com>
[swarren: fixed DT node sort order]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
(cherry picked from commit 933d87a56e3379479ff399a11899830b341809de)
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoARM: tegra: add clock source of PMC to device tree
Dan Willemsen [Fri, 9 Aug 2013 06:57:03 +0000]
ARM: tegra: add clock source of PMC to device tree

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoUPSTREAM v3.10: ARM: tegra: add clock source of PMC to device trees
Joseph Lo [Wed, 3 Apr 2013 11:31:27 +0000]
UPSTREAM v3.10: ARM: tegra: add clock source of PMC to device trees

Adding the bindings of the clock source of PMC in DT.

Signed-off-by: Joseph Lo <josephl@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
(cherry picked from commit 7021d1220584ab1e6efd3d59da47b65674d9896a)
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoARM: tegra: cpuidle removed en_core_tk_irqen
Dan Willemsen [Fri, 9 Aug 2013 05:25:20 +0000]
ARM: tegra: cpuidle removed en_core_tk_irqen

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoUPSTREAM v3.10: mmc: sdhci_pltfm: Constify sdhci_pltfm_data
Lars-Peter Clausen [Wed, 13 Mar 2013 18:26:03 +0000]
UPSTREAM v3.10: mmc: sdhci_pltfm: Constify sdhci_pltfm_data

The sdhci_pltfm_data struct is never modified within the sdhci_pltfm
module. So make the pdata parameter to sdhci_pltfm_init and
sdhci_pltfm_register const.  This allows drivers to declare their
sdhci_pltfm_data struct as const.

This patch also makes the sdhci_pltfm_data declarations const where
possible.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
(cherry picked from commit 1db5eebf22f86a87c3fcbbb085a4abbcfd09ee7d)
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agonet: wireless: bcmdhd: Fix build for 3.9
Dan Willemsen [Thu, 8 Aug 2013 09:54:47 +0000]
net: wireless: bcmdhd: Fix build for 3.9

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agonvavp: Fix build with 3.8
Dan Willemsen [Thu, 8 Aug 2013 09:18:06 +0000]
nvavp: Fix build with 3.8

Change-Id: I3a827b407d8fa7d71297a9c72645904ece2e5bc7
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Reviewed-on: http://git-master/r/259572

6 years agomedia: video: tegra: HACK disable tegra_dtv
Ajay Nandakumar [Wed, 24 Jul 2013 13:36:56 +0000]
media: video: tegra: HACK disable tegra_dtv

Disabling tegra DTV as it needs to be changed as per new DMA frmawork

Bug 1327616

Change-Id: Ib85f5f520c536c98569d34ac7b30a8df4cdb3ccd
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/250837
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Tested-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agovideo: tegra: host: Check against unknown device
Terje Bergstrom [Mon, 10 Jun 2013 08:39:12 +0000]
video: tegra: host: Check against unknown device

Register read/write IOCTLs do not check against unknown device. Add
checks to prevent kernel panic.

Bug 1039339
Bug 1343582

Change-Id: Ic59879e7bc54dd5f55943fed9a358eb25c89778a
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/238589
(cherry picked from commit 95865977888ed05291e4564631761fa5c8997e73)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/258677
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoinput: touchscreen: raydium add detection of AVC sensor
Xiaohui Tao [Tue, 30 Jul 2013 23:50:49 +0000]
input: touchscreen: raydium add detection of AVC sensor

Bug 1343545

Change-Id: I32db26ebfa18d219f2df05b75dcd5e45250c9b23
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/255809
(cherry picked from commit 2d4726ea827a74a554e3e732cfad4f1a9f3cfa55)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/258559
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoinput: touchscreen: raydium change for k3.8
Xiaohui Tao [Tue, 30 Jul 2013 18:17:55 +0000]
input: touchscreen: raydium change for k3.8

Remove unnecessary code and change irqflags

Bug 1343545

Change-Id: I39a9e4285f6ab2dd7dd0adb02ca48f02411d7df0
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/255678
(cherry picked from commit 267d3057c854b1697cf0088ef827c6b0c2221081)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/258558
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoinput: touchscreen: raydium v60.0 touch driver
Xiaohui Tao [Tue, 30 Jul 2013 16:40:14 +0000]
input: touchscreen: raydium v60.0 touch driver

raydium code drop

[1] Shorten suspend/resume duration

[2] Uniform debug msgs (with prefix "Raydium" and using dev_info instead of printk)

[3] Idle mode abnormal CPU clock frequency

[4] AVC snesor support (To verify AVC sensor, the return value of rm_tch_get_gpio_sensor_select routine in rm31080a_ts.c should be changed from 0 to 1. *0 for normal dalmore sensor ; 1 for ANC sensor)

[5] Pismo support (To verify Pismo, the past platform ID of dalmore_touch_init routine in /kernel/arch/arm/mach-tegra/board-dalmore.c should be changed from RM_PLATFORM_D010 to RM_PLATFORM_P140)

[6] Reduce TCH_WAKE_LOCK_TIMEOUT from 2 secs to 500 msec

Bug 1343545

Change-Id: Ia65ecb13dc667fce937e82858321ca44f50bb733
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/255657
(cherry picked from commit ad8d07d3ce337390b34784387693b63c6f4ca7d2)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/258557
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoinput: touch: raydium: conditional wakelock calls
Naveen Kumar S [Mon, 1 Jul 2013 11:16:21 +0000]
input: touch: raydium: conditional wakelock calls

Tasks holding wakelocks in raydium driver intermittently obstruct
system from entering suspend state. Added conditional checks while
invoking wakelock functions so as to disable them if needed.

Bug 1314808
Bug 1343545

Change-Id: Ie71ea98661e56f2f50d406ee759b007ac877762a
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/247729
(cherry picked from commit f56a79205a60e0e86b4a0c2e9f3c5d33f22c5a58)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/258556
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>