7 years agonet: wireless: bcmdhd: Fix P2P driver crash for MFG firmware
Leslie Yu [Tue, 29 May 2012 22:18:17 +0000]
net: wireless: bcmdhd: Fix P2P driver crash for MFG firmware

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Make responce waiting uninterruptible
Dmitry Shmidt [Tue, 29 May 2012 22:05:33 +0000]
net: wireless: bcmdhd: Make responce waiting uninterruptible

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Fix WPS PBC overlap failure
Neeraj Kumar Garg [Thu, 24 May 2012 19:19:18 +0000]
net: wireless: bcmdhd: Fix WPS PBC overlap failure

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Ignore signal_pending() while waiting in IOCTL
Dmitry Shmidt [Wed, 16 May 2012 23:50:06 +0000]
net: wireless: bcmdhd: Ignore signal_pending() while waiting in IOCTL

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Check return value from dhd_dev_init_ioctl()
Dmitry Shmidt [Wed, 16 May 2012 18:26:24 +0000]
net: wireless: bcmdhd: Check return value from dhd_dev_init_ioctl()

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Fix WARN_ON(!res->pub.channel)
Dmitry Shmidt [Tue, 15 May 2012 20:20:25 +0000]
net: wireless: bcmdhd: Fix WARN_ON(!res->pub.channel)

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Change singal pending return value from -110 to -4
Dmitry Shmidt [Tue, 15 May 2012 19:22:48 +0000]
net: wireless: bcmdhd: Change singal pending return value from -110 to -4

- ETIMEDOUT is interpreted as FW is not responding,
  so return EINTR instead

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Fix filtering setting in case of P2P
Dmitry Shmidt [Thu, 10 May 2012 20:20:40 +0000]
net: wireless: bcmdhd: Fix filtering setting in case of P2P

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Avoid turning radio UP twice on start
Dmitry Shmidt [Thu, 3 May 2012 17:34:15 +0000]
net: wireless: bcmdhd: Avoid turning radio UP twice on start

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Set MMC_PM_KEEP_POWER flag on suspend
Dmitry Shmidt [Wed, 2 May 2012 21:25:59 +0000]
net: wireless: bcmdhd: Set MMC_PM_KEEP_POWER flag on suspend

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Update to Version 5.90.195.61
Dmitry Shmidt [Tue, 1 May 2012 18:00:21 +0000]
net: wireless: bcmdhd: Update to Version 5.90.195.61

- Deauth frame from p2p GO to client doesn't go from firmware
  if we do del_virtual_iface immediately. Putting a delay after
  sending deauth frame to allowed FW to send out deauth frame.
- IF_DEL operation was timing out due to wrong status check.
  Fixed it and added few debug prints.
- Sending Provision Discovery directly to GO instead of doing
  an internal scan. Also put the internal scan count to 3 to have
  better timings for GO-NEG.
- Increase beacon timeout only for concurrent mode. For STA only
  operation, use the default beacon timeout value (4).
- If scan abort is due to timeout, aborting the scan in FW is not
  required. Moreover, as this scan_timeout call is coming in timer
  interrupt context, all blocking calls such as fw scan abort will
  result in kernel panic : don’t call abort in Firmware.
- Add p2p_cancel_listen routine. Fix p2p_listen_complete related
  kernel crash seen while turning off WiFi.

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Turn OFF wlan power if interface UP fails
Dmitry Shmidt [Mon, 30 Apr 2012 23:34:01 +0000]
net: wireless: bcmdhd: Turn OFF wlan power if interface UP fails

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Allow 80211_HT capability
Dmitry Shmidt [Thu, 12 Apr 2012 20:48:46 +0000]
net: wireless: bcmdhd: Allow 80211_HT capability

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Fix improper band handling
Dmitry Shmidt [Tue, 10 Apr 2012 22:44:41 +0000]
net: wireless: bcmdhd: Fix improper band handling

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Update to version 5.90.195.53
Dmitry Shmidt [Thu, 5 Apr 2012 21:49:13 +0000]
net: wireless: bcmdhd: Update to version 5.90.195.53

- Add retry to wl_cfg80211_mgmt_tx() for P2P
- Change singal pending return value from -512 to -110
- Minor cleaning

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Move FW hang processign to work queue
Dmitry Shmidt [Mon, 2 Apr 2012 17:27:13 +0000]
net: wireless: bcmdhd: Move FW hang processign to work queue

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Fix FW hang recovery
Dmitry Shmidt [Mon, 2 Apr 2012 17:23:59 +0000]
net: wireless: bcmdhd: Fix FW hang recovery

- Reduce IOCTL responce timeout to 2 sec (from 20)
- Fix pending status in case of timeout
- Pass error code from dhd_is_associated() call
- Call cfg80211_disconnected() if no timeout detected

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Fix frame sequence lag issue
Andrey Smolnikov [Mon, 2 Apr 2012 17:19:30 +0000]
net: wireless: bcmdhd: Fix frame sequence lag issue

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Fix crash in dhd_preinit_ioctls() band set
Dmitry Shmidt [Thu, 29 Mar 2012 19:10:36 +0000]
net: wireless: bcmdhd: Fix crash in dhd_preinit_ioctls() band set

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Add CONFIG_DHD_ENABLE_P2P Kconfig option
Dmitry Shmidt [Thu, 29 Mar 2012 19:09:23 +0000]
net: wireless: bcmdhd: Add CONFIG_DHD_ENABLE_P2P Kconfig option

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Turn off DHD_USE_EARLYSUSPEND option
Dmitry Shmidt [Tue, 27 Mar 2012 20:45:55 +0000]
net: wireless: bcmdhd: Turn off DHD_USE_EARLYSUSPEND option

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Update to Version 5.90.195.46
Dmitry Shmidt [Mon, 26 Mar 2012 20:30:33 +0000]
net: wireless: bcmdhd: Update to Version 5.90.195.46

- Fix WEXT compilation
- Start SoftAP in G-band only
- Fix IF_DEL timeout due to wrong status check
- Fix P2P to pass certification
- Enable arpoe in concurrent mode by default
- Fail to start sched scan in P2P GO

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Add 'wlan_ctrl_wake' wakelock
Dmitry Shmidt [Wed, 21 Mar 2012 19:35:56 +0000]
net: wireless: bcmdhd: Add 'wlan_ctrl_wake' wakelock

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Set probe_resp.timestamp value to scan results
Dmitry Shmidt [Wed, 21 Mar 2012 00:04:02 +0000]
net: wireless: bcmdhd: Set probe_resp.timestamp value to scan results

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Add constant mDNS filter
Dmitry Shmidt [Tue, 20 Mar 2012 20:38:06 +0000]
net: wireless: bcmdhd: Add constant mDNS filter

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Add WL_CFG80211_STA_EVENT config option
Dmitry Shmidt [Tue, 20 Mar 2012 20:08:13 +0000]
net: wireless: bcmdhd: Add WL_CFG80211_STA_EVENT config option

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Update to Version 5.90.195.35
Dmitry Shmidt [Thu, 15 Mar 2012 19:47:26 +0000]
net: wireless: bcmdhd: Update to Version 5.90.195.35

- Add SoftAP auto-channel support
- P2P fixes

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Fix mac setting from platform hook
Dmitry Shmidt [Tue, 13 Mar 2012 22:25:46 +0000]
net: wireless: bcmdhd: Fix mac setting from platform hook

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Fix crash on timeout in wl_notify_escan_complete
Dmitry Shmidt [Tue, 13 Mar 2012 00:33:52 +0000]
net: wireless: bcmdhd: Fix crash on timeout in wl_notify_escan_complete

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Add sched-scan config option
Dmitry Shmidt [Mon, 12 Mar 2012 22:45:04 +0000]
net: wireless: bcmdhd: Add sched-scan config option

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Allow Improved suspend/resume processing on 2.6.39
Dmitry Shmidt [Mon, 5 Mar 2012 21:25:48 +0000]
net: wireless: bcmdhd: Allow Improved suspend/resume processing on 2.6.39

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Always turn Off wlan power on interface down
Dmitry Shmidt [Mon, 5 Mar 2012 18:17:06 +0000]
net: wireless: bcmdhd: Always turn Off wlan power on interface down

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Add SETSUSPENDMODE command
Dmitry Shmidt [Tue, 28 Feb 2012 19:03:37 +0000]
net: wireless: bcmdhd: Add SETSUSPENDMODE command

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Minor cleaning
Dmitry Shmidt [Tue, 28 Feb 2012 18:30:59 +0000]
net: wireless: bcmdhd: Minor cleaning

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Add SET_RANDOM_MAC_SOFTAP option
Dmitry Shmidt [Mon, 27 Feb 2012 23:51:56 +0000]
net: wireless: bcmdhd: Add SET_RANDOM_MAC_SOFTAP option

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Update to Version 5.90.195.30
Dmitry Shmidt [Mon, 27 Feb 2012 22:02:51 +0000]
net: wireless: bcmdhd: Update to Version 5.90.195.30

- Fix STA features if P2P FW is in use
- Move ENABLE_P2P_INTERFACE to Makefile
- Minor fixes in PNO scan

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Update to Version 5.90.195.28
Dmitry Shmidt [Mon, 27 Feb 2012 20:35:15 +0000]
net: wireless: bcmdhd: Update to Version 5.90.195.28

- Improve scan for p2p
- Use use_rxchain support
- Use WL_WIRELESS_EXT instead of CONFIG_WIRELESS_EXT
- Initial sched_scan support

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Turn interface down (only) in case of FW crash
Dmitry Shmidt [Thu, 23 Feb 2012 18:36:40 +0000]
net: wireless: bcmdhd: Turn interface down (only) in case of FW crash

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Fix driver hang when resetting
Mike J. Chen [Thu, 16 Feb 2012 05:54:57 +0000]
net: wireless: bcmdhd: Fix driver hang when resetting

bus->tx_max was not being initialized when we do a reset and
the driver is statically linked.  this led to about a 50%
chance that it would be considered an illegal value when
we send the mac address to the FW.  add code to initialize
it to a safe value until we receive the right value from the fw.

Bug: 5974574

Change-Id: I28ab25d97203ef075e5354c25f85a25daaff5594
Signed-off-by: Mike J. Chen <mjchen@google.com>
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Increase pm_notify callback priority
Dmitry Shmidt [Tue, 31 Jan 2012 19:06:23 +0000]
net: wireless: bcmdhd: Increase pm_notify callback priority

Make pm_notify callback to be called the first on suspend/resume path to
ensure it will always be called.

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Fix crash on dhdsdio_probe_attach() failure
Dmitry Shmidt [Mon, 30 Jan 2012 23:43:31 +0000]
net: wireless: bcmdhd: Fix crash on dhdsdio_probe_attach() failure

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Daemonize wl_event_handler
Dmitry Shmidt [Mon, 30 Jan 2012 21:03:19 +0000]
net: wireless: bcmdhd: Daemonize wl_event_handler

Daemonizing makes thread (besides other things) NON-FREEZABLE, and it will not
get fake signal on suspend to quicl down_interruptible()

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Update to Version 5.90.195.23
Dmitry Shmidt [Tue, 24 Jan 2012 21:59:40 +0000]
net: wireless: bcmdhd: Update to Version 5.90.195.23

- WFD fixes

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Update to Version 5.90.195.22
Dmitry Shmidt [Tue, 24 Jan 2012 21:55:00 +0000]
net: wireless: bcmdhd: Update to Version 5.90.195.22

- Disable Ad-hoc support for cfg80211
- dhd_linux.c: Fix incorrect pid check
- Merge Android changes from Android tree

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Update to Version 5.90.195.19
Dmitry Shmidt [Tue, 24 Jan 2012 21:47:47 +0000]
net: wireless: bcmdhd: Update to Version 5.90.195.19

- Add WFD changes
- Add extra locking for internal ioctl operations

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Update to Version 5.90.195.15
Dmitry Shmidt [Tue, 24 Jan 2012 21:37:34 +0000]
net: wireless: bcmdhd: Update to Version 5.90.195.15

- Add WFD concurrent mode support

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Add WIPHY_FLAG_SUPPORTS_FW_ROAM flag
Dmitry Shmidt [Mon, 23 Jan 2012 20:47:21 +0000]
net: wireless: bcmdhd: Add WIPHY_FLAG_SUPPORTS_FW_ROAM flag

Adding this flag will allow NL80211_ATTR_ROAM_SUPPORT, and will set
  WPA_DRIVER_FLAGS_BSS_SELECTION flag in wpa_supplicant

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Fake PNO event to wake up the wpa_supplicant
Dmitry Shmidt [Fri, 20 Jan 2012 22:15:05 +0000]
net: wireless: bcmdhd: Fake PNO event to wake up the wpa_supplicant

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Enable wlan access on resume for all sdio functions
Dmitry Shmidt [Mon, 19 Dec 2011 18:24:09 +0000]
net: wireless: bcmdhd: Enable wlan access on resume for all sdio functions

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Fix P2P interface removal
Dmitry Shmidt [Fri, 16 Dec 2011 20:54:51 +0000]
net: wireless: bcmdhd: Fix P2P interface removal

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Fix proper scan command even if request is NULL
Dmitry Shmidt [Wed, 14 Dec 2011 01:39:48 +0000]
net: wireless: bcmdhd: Fix proper scan command even if request is NULL

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Decrease event wake_lock timeout to 1500 ms
Dmitry Shmidt [Tue, 13 Dec 2011 20:27:49 +0000]
net: wireless: bcmdhd: Decrease event wake_lock timeout to 1500 ms

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Fix getting arp_hostip table
Dmitry Shmidt [Mon, 12 Dec 2011 23:40:33 +0000]
net: wireless: bcmdhd: Fix getting arp_hostip table

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Allow to push more packets to FW for Tx
Dmitry Shmidt [Wed, 7 Dec 2011 00:27:37 +0000]
net: wireless: bcmdhd: Allow to push more packets to FW for Tx

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Fix scan crash in ibss mode
Dmitry Shmidt [Fri, 2 Dec 2011 21:24:01 +0000]
net: wireless: bcmdhd: Fix scan crash in ibss mode

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Add FW reloading in case of FW hang
Dmitry Shmidt [Fri, 2 Dec 2011 21:10:47 +0000]
net: wireless: bcmdhd: Add FW reloading in case of FW hang

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Update to Version 5.90.125.94.1
Dmitry Shmidt [Wed, 30 Nov 2011 20:49:02 +0000]
net: wireless: bcmdhd: Update to Version 5.90.125.94.1

- Return zeroed private command buffer
- Fix memory leak in wl_inform_single_bss()

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agonet: wireless: bcmdhd: Use CONFIG_DHD_USE_STATIC_BUF for preallocated memory
Dmitry Shmidt [Sat, 12 Nov 2011 00:04:12 +0000]
net: wireless: bcmdhd: Use CONFIG_DHD_USE_STATIC_BUF for preallocated memory

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

7 years agovideo: tegra: host: Remove version from dev name
Terje Bergstrom [Wed, 13 Jun 2012 08:57:59 +0000]
video: tegra: host: Remove version from dev name

Remove version from nvhost_device name, and use a new field,
version, to distinguish between IP versions. This restores the
sysfs API for 3D clock scaling back to its original path.

Change-Id: I444ef728b7cab9e5ea3a08f3c7be0f1661209686
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/108501
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agomedia: video: nvavp: Add nvhost to include path
Terje Bergstrom [Tue, 12 Jun 2012 10:45:52 +0000]
media: video: nvavp: Add nvhost to include path

Add nvhost directory to #include path. This allows making dev.h a
stub in a later commit.

Bug 982965

Change-Id: I651b619422c26a5dc6766ddb381bd05c1fd9c462
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/108226
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

7 years agovideo: tegra: dc: Move #includes from dc_priv.h
Terje Bergstrom [Tue, 12 Jun 2012 10:44:15 +0000]
video: tegra: dc: Move #includes from dc_priv.h

Move #include directives for nvhost headers from dc_priv.h to the
source files that need the #includes. This allows #including
dc_priv.h without access to all nvhost headers.

Also adds nvhost to the #include path of dc to allow making dev.h a
stub in a later commit.

Bug 982965

Change-Id: Icfe7084d295f57926195b178174f81047eb01187
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/108225
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agovideo: tegra: host: Parametrize host1x
Terje Bergstrom [Wed, 30 May 2012 12:28:19 +0000]
video: tegra: host: Parametrize host1x

Add parameters in host1x nvhost_device on
* number of sync points
* number of wait bases
* number of channels
* number of mlocks
* client managed bitmask
* naming of sync points

Add automatically generated headers and use symbols from them to
access hardware.

Move host1x device definition from generic host1x to SoC specific
source files t20.c and t30.c.

Bug 982965

Change-Id: Ibec84be22d75b363900d10bcbd59d4d8321d54a1
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/104974
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

7 years agovideo: tegra: host: Register devices in SoC files
Terje Bergstrom [Tue, 22 May 2012 12:23:13 +0000]
video: tegra: host: Register devices in SoC files

Move the device structures to the driver source code files. Register
all nvhost_device's in one loop which is called from board file.

host1x driver code is moved to live under host1x, too. This causes
a need to add host to include path of tegradc and nvavp.

Bug 982965

Change-Id: If99cf9d1ef6bc24663ee8294c19370429ed04ca7
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/104076
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agomedia: video: tegra: fix compilation warning
Juha Tukkinen [Tue, 12 Jun 2012 10:32:17 +0000]
media: video: tegra: fix compilation warning

Get rid of maybe-uninitialized warning when using 4.6 toolchain.

Bug 949219
Bug 999222

Change-Id: Id7c2187cb75293515e4018cac814bd7f2ce343a9
Signed-off-by: Juha Tukkinen <jtukkinen@nvidia.com>
Reviewed-on: http://git-master/r/108218
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Stefan Becker <stefanb@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

7 years agoARM: Tegra: Enable 900MHz at 1V on restricted pll_m
Graziano Misuraca [Fri, 18 May 2012 23:32:34 +0000]
ARM: Tegra: Enable 900MHz at 1V on restricted pll_m

Allow pll_m to reach 900MHz at 1V on T30, T33, T37
rev A02+ SKUs.

Bug 891320

Change-Id: Idbfb10014ae2a1d06abc3bc1d0bed59c583fac98
Signed-off-by: Graziano Misuraca <gmisuraca@nvidia.com>
Reviewed-on: http://git-master/r/103453
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: Tegra: cardhu: Let emc to 450MHz on T33+ at 1V
Graziano Misuraca [Fri, 11 May 2012 00:35:33 +0000]
ARM: Tegra: cardhu: Let emc to 450MHz on T33+ at 1V

Change dvfs table to allow emc to hit 450MHz at 1V VDD_CORE.
Line in emc table is also used for T30/T30s but because
those can't reach 1350mV they should never use a 450MHz
bct and therefore jump from 400@1V to 800@1.2V as before.

Bug 973238

Change-Id: I4f1f96c959658e6f9aeca8841c2bfa86fe20cfb8
Signed-off-by: Graziano Misuraca <gmisuraca@nvidia.com>
Reviewed-on: http://git-master/r/101868
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agodrivers: cpuquiet: fix error message
Peter De Schrijver [Mon, 11 Jun 2012 15:41:27 +0000]
drivers: cpuquiet: fix error message

Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>

Change-Id: If04c699e002542bd8ce4b37b2367d7ec496c284e
Reviewed-on: http://git-master/r/107959
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Tested-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Tested-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-by: Matthew Longnecker <mlongnecker@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

7 years agoARM: tegra: dvfs: Update Tegra3 I/O dvfs tables
Alex Frid [Sat, 9 Jun 2012 00:38:40 +0000]
ARM: tegra: dvfs: Update Tegra3 I/O dvfs tables

Updated 0.95V entries in Tegra3 dvfs tables for nand, nor, spi, and
pwm clocks with recent characterization results. Removed usb, pcie,
and spdif dvfs since characterization allows running these interfaces
in the entire supported voltage range.

Bug 817679
Bug 841336

Change-Id: Iaaa2a3ff8b3c07915f1cb05e7b14da545428888e
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/107779
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Wen Yi <wyi@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

7 years agoARM: tegra: dvfs: Update Tegra3 display subsystem dvfs tables
Alex Frid [Fri, 8 Jun 2012 20:30:09 +0000]
ARM: tegra: dvfs: Update Tegra3 display subsystem dvfs tables

Updated 0.95V entries in Tegra3 dvfs tables for display and dsi
with recent characterization results. Removed hdmi and crt dvfs
since characterization allows running these modules at max rate
in the entire supported voltage range.

Bug 817679
Bug 841336

Change-Id: I28651a692e30a20536613460ea0e45155a530af7
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/107778
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Wen Yi <wyi@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

7 years agoARM: tegra: dvfs: Update Tegra3 sclk and cbus dvfs tables
Alex Frid [Fri, 8 Jun 2012 20:03:58 +0000]
ARM: tegra: dvfs: Update Tegra3 sclk and cbus dvfs tables

Updated 0.95V entries in Tegra3 dvfs tables for sclk and cbus clocks
with recent characterization results.

Bug 817679
Bug 841336

Change-Id: I892690aea4c584b34be5dbfcbcd8b35abd86a997
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/107777
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Wen Yi <wyi@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

7 years agomedia: video: tegra: ar0832: Make focuser range, slew rate tunable
Naren Bhat [Thu, 17 May 2012 01:49:21 +0000]
media: video: tegra: ar0832: Make focuser range, slew rate tunable

The range parameters & slew rate from the blocks-camera are being passed
down to ODM and then to kernel. Generic structure added for sharing
the data between ODM and kernel instead of specific structure.

Bug 954874

Change-Id: I84656e36a5a2721c007de78aa5c20f5dfeb00361
Signed-off-by: Naren Bhat <nbhat@nvidia.com>
Reviewed-on: http://git-master/r/102077
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

7 years agovideo: tegra: dc: fix bug causing drawing before flipping
I-Gene Leong [Fri, 18 Nov 2011 02:49:15 +0000]
video: tegra: dc: fix bug causing drawing before flipping

The tegra_dc_trigger_windows function was improperly using the
WIN_x_UPDATE bits to determine when a flip has occurred instead of the
WIN_x_ACT_REQ bits. Without this change, it's possible for the postflip
syncpoint for a buffer to get incremented before it actually flips.
Still need to figure out why that's even possible...

Fixes bug 902955

Change-Id: I67ba093a0114646977cc8cb95a040ec4178cebfc
Reviewed-on: http://git-master/r/65389
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Nate Huang <nhuang@nvidia.com>
Tested-by: Nate Huang <nhuang@nvidia.com>
Reviewed-on: http://git-master/r/98024
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agoARM: tegra: usb_phy: Fixing HSIC port power code
Vinod Atyam [Tue, 12 Jun 2012 16:00:02 +0000]
ARM: tegra: usb_phy: Fixing HSIC port power code

Fixing the port power code for HSIC. During USB driver re-designing,
port power code was incorrectly merged. Fixing the code now.

Bug 889618
Bug 951061

Change-Id: I1b65662ed864343911abaffb58439ca2996543e7
Signed-off-by: Vinod Atyam <vatyam@nvidia.com>
Reviewed-on: http://git-master/r/108302
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agoARM: tegra: usb_phy: PMC changes for HSIC remote wakeup
Vinod Atyam [Fri, 8 Jun 2012 12:18:39 +0000]
ARM: tegra: usb_phy: PMC changes for HSIC remote wakeup

These are the changes for supporting HSIC remote wakeup
and phy-off in auto-suspend.

Bug 889618
Bug 951061

Change-Id: Ifd8144739c5dea49d8019b42b1a608dd13cc29be
Signed-off-by: Vinod Atyam <vatyam@nvidia.com>
Reviewed-on: http://git-master/r/107606
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agoARM: tegra: resolve compilation time warnings
Sanjay Singh Rawat [Tue, 12 Jun 2012 16:53:56 +0000]
ARM: tegra: resolve compilation time warnings

- Adding flag to treat warning as error.
- Handling warnings of unused variable, structures and functions,
wrong return type, wrong type comparision.

Bug 949219

Change-Id: I9d02387ce1073c4e46f69d01669285aa3754f1d9
Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com>
Reviewed-on: http://git-master/r/104968
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

7 years agoARM: tegra: enterprise: enable auto hotplug
Rakesh Bodla [Tue, 12 Jun 2012 14:26:49 +0000]
ARM: tegra: enterprise: enable auto hotplug

Enabling hotplug detection support for baseband
when it is crashed.

Bug 995784

Change-Id: I75b7a3b79fb8f9e7c6d58b14090637f794e38bad
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/108284
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Alexandre Berdery <aberdery@nvidia.com>
Reviewed-by: Alexandre Berdery <aberdery@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

7 years agoarm: tegra: p1852: revert previous nor freq change
Bob Johnston [Tue, 12 Jun 2012 11:43:21 +0000]
arm: tegra: p1852: revert previous nor freq change

nor frequency was changed inadvertently in a conflict
resolution.  Need to revert it back to proper value.

Bug 948478

Change-Id: I8d8f778a58b2df64c8fcbf85c182fe3a888d7c03
Signed-off-by: Bob Johnston <bjohnston@nvidia.com>
Reviewed-on: http://git-master/r/108247
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agosmsc95xx: Add module params to read MAC address
Manoj Chourasia [Sun, 12 Feb 2012 14:18:06 +0000]
smsc95xx: Add module params to read MAC address

This patch adds support for mac_addr module param

mac_addr : MAC address which will be assigned to the
above device. example
mac_addr=0x0,0x2,0x2,0x3,0x3,0x4

If EEPROM read fails for MAC address for a smsc
interface and if the mac_addr module param is set
then driver will set that device MAC address provided
in mac_addr. This can be set for only one device

bug 719410, bug 921146

Change-Id: I6eb0363951d91fad857b76af8a4a097cd0fb7623
Signed-off-by: Manoj Chourasia <mchourasia@nvidia.com>
Reviewed-on: http://git-master/r/108237
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

7 years agomedia: video: tegra: ov5650: enable DPC feature
Charlie Huang [Fri, 25 May 2012 18:35:42 +0000]
media: video: tegra: ov5650: enable DPC feature

enable Defective Pixel Correction block on sensor SOC.

bug 976218

Change-Id: I754200b7f625509950b061173c7e5de2a831d607
Signed-off-by: Charlie Huang <chahuang@nvidia.com>
Reviewed-on: http://git-master/r/104776
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bhushan Rayrikar <brayrikar@nvidia.com>
Reviewed-by: Krupal Divvela <kdivvela@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Amy Deng <amyd@nvidia.com>
Reviewed-by: Frank Chen <frankc@nvidia.com>
Reviewed-by: Wei Chen <wechen@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

7 years agovideo: tegra: dc: Use ref-count to mask vblank interrupt.
Kevin Huang [Fri, 8 Jun 2012 23:15:55 +0000]
video: tegra: dc: Use ref-count to mask vblank interrupt.

Bug 990586

Change-Id: I63da2bd0aaae86070718e0d769b8c9555db18547
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/107714
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

7 years agovideo: tegra: dc: Fix backlight on/off sequence
Mark Zhang [Thu, 31 May 2012 08:01:31 +0000]
video: tegra: dc: Fix backlight on/off sequence

Register backlight device after tegradc.0 and tegradc.1. This makes
sure turning on/off backlight in correct sequence and eliminates the
flicker during suspending and resuming.

Bug 964626

Change-Id: I16a545b0148faa341b2443c76d9ca4c7eb7f636c
Signed-off-by: Mark Zhang <markz@nvidia.com>
Reviewed-on: http://git-master/r/105611
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Peer Chen <pchen@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Shashank Sharma <shashanks@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

7 years agoAvoid aliasing mappings in DMA coherent allocator
Manoj Chourasia [Mon, 4 Jun 2012 11:55:43 +0000]
Avoid aliasing mappings in DMA coherent allocator

Avoid multiple mappings with DMA coherent/writecombine allocator by pre-
allocating the mappings, and removing that memory from the system memory
mapping.  (See previous discussions on linux-arm-kernel as to why this
is bad.)

NB1: By default, we preallocate 2MB for DMA coherent, and 2MB for write
combine memory, rather than 1MB for each in case 1MB is not sufficient
for existing platform usage.  Platforms have the option of shrinking
this down to 1MB DMA / 1MB WC (or even 2MB DMA / 0MB WC) if they so wish.
The DMA memory must be a multiple of 1MB, the write combine memory must
also be a multiple of 1MB, and the two together must be a multiple of
2MB.

NB2: On ARMv6/7 where we use 'normal uncacheable' memory for both DMA
and WC, the two pools are combined into one, as was the case with the
previous implementation.

The down side to this change is that the memory is permanently set aside
for DMA purposes, but I believe that to be unavoidable if we are to
avoid the possibility of the cache getting in the way on VIPT CPUs.

This removes the last known offender (at this time) from the kernel.

Given that DMA memory is fully coherent by this patch, cache
invalidation/clean is not required and so, we skip cache related
activities for the memory managed by the DMA layer. The bus
address -> virtual address conversion normally used in the calling
path and the fact that we remove kernel static mapping corresponding
to the DMA buffers leads to exceptions otherwise.

bug 876019
bug 965047
bug 987589

Change-Id: I72beb386605aafe1a301494a95a67d094ea6b2e4
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Manoj Chourasia <mchourasia@nvidia.com>
Reviewed-on: http://git-master/r/106212
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

7 years agopower: smb349: fix I2C error when unplug ext power
Syed Rafiuddin [Thu, 7 Jun 2012 06:12:28 +0000]
power: smb349: fix I2C error when unplug ext power

When unplug the external power, SMB349 will reload the OTP setting.
It sometimes caused I2c errors. See bug 996103 and 991401.

Add a 50ms delay when hotplugging the external power to fix the
issue.

SMB349 might mistakenly detect dedicated USB charger as standard
USB device if plug in the USB at low speed. See Bug 996108.

Add a 500ms delay to fix the issue.

Bug 996103
Bug 996108
Bug 991401

Change-Id: I008a45fa221e9a566af64afb1988bbbd7a9f5c79
Signed-off-by: Chandler Zhang <chazhang@nvidia.com>
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/106684
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agomtd: tegra-nor: Fix dma/cpu coherency issues
Manoj Chourasia [Wed, 9 May 2012 11:15:06 +0000]
mtd: tegra-nor: Fix dma/cpu coherency issues

Call dma sync single api's to maintain coherency between
CPU, dma and device in data transfers.

bug 984029
bug 980884

Change-Id: I50b5a24a7ce482f473670347af3c75d6975c6060
Signed-off-by: Manoj Chourasia <mchourasia@nvidia.com>
Reviewed-on: http://git-master/r/105917
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

7 years agoARM: tegra: p1852: defconfig: Enable PL310_ERRATA_727915
Manoj Chourasia [Fri, 8 Jun 2012 11:17:35 +0000]
ARM: tegra: p1852: defconfig: Enable PL310_ERRATA_727915

bug 820324

Change-Id: Ia4dec298b3c0cda8cb4e8572b46067b7d06b3758
Signed-off-by: Manoj Chourasia <mchourasia@nvidia.com>
Reviewed-on: http://git-master/r/107592
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoarm: tegra: p1852: drive touch panel with resolution 1366x768
Dongfang Shi [Tue, 8 May 2012 22:24:25 +0000]
arm: tegra: p1852: drive touch panel with resolution 1366x768

Enable WXGA display and touch input for p1852 touch panel.

board-p1852-panel.c:
added WXGA timing for atmel touch panel.

board-p1852.c:
initialize touch panel if touch input is defined.

board-p1852.h:
added p1852 touch panel GPIO and bus.

tegra_p1852_gnu_linux_defconfig:
added touch panel flags, not defined by default.

bug 936232

Change-Id: Ia50b991f6aa5ed0ece458ad3871a68684a9234a6
Signed-off-by: Dongfang Shi <dshi@nvidia.com>
Reviewed-on: http://git-master/r/101348
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: Tegra: Kai: Move Raydium init declaration
Graziano Misuraca [Wed, 11 Apr 2012 19:03:47 +0000]
ARM: Tegra: Kai: Move Raydium init declaration

Move Raydium touch init declaration from board-specific
board-kai.h to generic board-touch.h

Signed-off-by: Graziano Misuraca <gmisuraca@nvidia.com>
Change-Id: If82572a296ad6e5a3b1733827289e9b71a624176
Reviewed-on: http://git-master/r/95919
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoemc: tegra3: Change debug eack_state permissions
Hao Tang [Tue, 5 Jun 2012 11:24:37 +0000]
emc: tegra3: Change debug eack_state permissions

Remove write permission of eack_state for cts verification. The init script
will make it acessible on engineering builds

Bug 906796

Change-Id: I1b5d77f4ee3d0e39106840eca0c53e6347c34ea1
Signed-off-by: Hao Tang <htang@nvidia.com>
Reviewed-on: http://git-master/r/106668
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agoinput: touchscreen: rmi: Change permissions
Hao Tang [Tue, 5 Jun 2012 10:39:42 +0000]
input: touchscreen: rmi: Change permissions

Remove write permission for cts verification. The init script
will make it acessible on engineering builds

Bug 906796

Change-Id: I43170f61871018d15a710c1a75b5298dffec6f87
Signed-off-by: Hao Tang <htang@nvidia.com>
Reviewed-on: http://git-master/r/106667
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: David Schalig <dschalig@nvidia.com>
Reviewed-by: Robert Collins <rcollins@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agovideo: tegra: host: Add config option for timeout
Terje Bergstrom [Tue, 29 May 2012 10:54:54 +0000]
video: tegra: host: Add config option for timeout

Add configuration variable for default timeout for clients. Set it to
30s for silicon and infinity for simulation.

Change-Id: I08c1fd234f738c4919adfe482dfc50948dc2f862
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/105331
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

7 years agoarm: tegra: p1852: Remove unwanted audio clocks
Nitin Pai [Fri, 8 Jun 2012 07:40:52 +0000]
arm: tegra: p1852: Remove unwanted audio clocks

Audio Sync clocks should be set at driver level.
Removing this hack as the TDM driver sets the clocks now.

Bug 948478

Change-Id: Ie001b601e740f22852a4dbb6b89a225a263208ee
Signed-off-by: Nitin Pai <npai@nvidia.com>
Reviewed-on: http://git-master/r/107534
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Manoj Chourasia <mchourasia@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Scott Peterson <speterson@nvidia.com>

7 years agoasoc: max98095: probe with no device there fix
Rhyland Klein [Wed, 6 Jun 2012 19:28:40 +0000]
asoc: max98095: probe with no device there fix

There is path through which registering a card will fail to probe,
but that error code is not propogated back to the tegra machine
driver. To catch this case in the machine driver's probe routine,
we need to ensure that after registering the card, the card is
instantiated and fail probe if not.

Change-Id: I64ba952685ef193a3b248502943771c518396808
Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Reviewed-on: http://git-master/r/106837
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Scott Peterson <speterson@nvidia.com>

7 years agovideo: tegra: dc: Clock-gate display modules dynamically.
Kevin Huang [Wed, 6 Jun 2012 17:48:18 +0000]
video: tegra: dc: Clock-gate display modules dynamically.

Bug 936337
Bug 899053

Change-Id: I2b3d8cfc8a00881338c1e17d03f2844d15ba7d3e
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/106313
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agovideo: tegra: host: Abstract nvmap support
Terje Bergstrom [Thu, 31 May 2012 12:04:53 +0000]
video: tegra: host: Abstract nvmap support

Abstract nvmap support to one file, and use it via function pointers
from other parts of nvhost.

Bug 965206

Change-Id: I4e5e7de4271e0797d117ac8210af4732b6018973
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/105665
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

7 years agoARM: tegra: p1852: remove tegra_gpio_enable/tegra_gpio_disable
Mohit Kataria [Tue, 5 Jun 2012 08:54:40 +0000]
ARM: tegra: p1852: remove tegra_gpio_enable/tegra_gpio_disable

tegra_gpio driver supports configuring gpio when direction is set.
So removed tegra_gpio_enable/tegra_gpio_disable from p1852 board
file.

Bug 984442

Change-Id: I176b99fb277e01d0ef426c793ce0d1b3bbbb847d
Signed-off-by: Mohit Kataria <mkataria@nvidia.com>
Reviewed-on: http://git-master/r/105902
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

7 years agovideo: tegra: host: Initialize host1x generic irq
Terje Bergstrom [Mon, 4 Jun 2012 10:16:34 +0000]
video: tegra: host: Initialize host1x generic irq

Initialize host1x generic irq at bootup.

Bug 971602

Change-Id: I03fb426a0538c1549fdb5360166c4e4b516e75d6
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/106167
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>

7 years agommc: proactively issue bkops_start and refresh
Mohit Kataria [Tue, 5 Jun 2012 09:35:31 +0000]
mmc: proactively issue bkops_start and refresh

Adding CMD56 implementation.
Doing the following for manfid 0x90 and FW revisions 0x73 and
0x7b (both are non-standard custom FW):
1. Adding change to issue BKOPS_START whenever 20 seconds have gone
by without any slow write operations.
2. Adding change to issue CMD56 to refresh (custom feature) 1 block
whenever 60 seconds have gone by without any slow write operations.

Corresponding changes are already there in embedded branches:
http://git-master/r/#change,93247
http://git-master/r/#change,97555

Bug 847037.
Bug 874256.
Bug 963737.

Change-Id: Ie36b52620a75320abfedc36d1408647b36eddb46
Signed-off-by: Vishal Singh <vissingh@nvidia.com>
Reviewed-on: http://git-master/r/102259
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Luis Dib <ldib@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

7 years agopower: smb349: added debugfs to dump registers.
Linqiang Pu [Mon, 4 Jun 2012 13:22:34 +0000]
power: smb349: added debugfs to dump registers.

also cleanup the driver code to remove warnings and indent issue.

Change-Id: I6fd81a369be9141a5819bf086078bc609360efd8
Signed-off-by: Linqiang Pu <dpu@nvidia.com>
Reviewed-on: http://git-master/r/106682
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agousb: ehci: tegra: fix HSIC bus reset issues.
Vinod Atyam [Fri, 8 Jun 2012 09:24:06 +0000]
usb: ehci: tegra: fix HSIC bus reset issues.

Corrected wIndex in the hub control to call the bus reset sequence properly.

Change-Id: I7d410262d55ad4ad5acfe72e8725616238f863ac
(cherry picked from commit fee4a582584e24e93b9c43446a0d223664d70e6b)
(cherry picked from commit f8b775561696979ad08f53ea3b3c571bc07734bb)
Reviewed-on: http://git-master/r/107593
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Vinod Atyam <vatyam@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agofat: Remove FAT Directory Bread message
naveenk [Fri, 27 Apr 2012 06:33:50 +0000]
fat: Remove FAT Directory Bread message

Remove FAT Directory Bread message which is
causing timing issues.

Bug 992496

Change-Id: Ieb58e38bf8ac81f6c0558361f9f296a8e9071b33
Signed-off-by: venkata jagadish <vjagadish@nvidia.com>
Reviewed-on: http://git-master/r/105354
Reviewed-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>