5 years agomisc: tegra-baseband: Don't abort suspend notify
David Yu [Fri, 24 Jan 2014 01:53:34 +0000]
misc: tegra-baseband: Don't abort suspend notify

Bug 1445863

Change-Id: I6d58eed1ffbfc4012f2e4543a87d5f06e59542a7
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/359590
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoarm:tegra: Correct sample rate for voice call
Lei Fan [Tue, 21 Jan 2014 06:39:50 +0000]
arm:tegra: Correct sample rate for voice call

Because the channel1 of DAM is used for DL, there is no SRC in DL.
the  codec need to be set the same rate with baseband.
Otherwise the I2S Timing REG cannot get the suited value and
left channel may be swapped with right channel.

Bug 1441449

Change-Id: Ib71bb41a7e03d2a85d718be0c94a5a5f525c0ce3
Signed-off-by: Lei Fan <leif@nvidia.com>
Reviewed-on: http://git-master/r/358078
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vijay Mali <vmali@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Martin Chi <mchi@nvidia.com>

5 years agoARM: tegra: usb: disable WAKE_ON_CNNT_EN for HSIC
Suresh Mangipudi [Thu, 23 Jan 2014 05:51:21 +0000]
ARM: tegra: usb: disable WAKE_ON_CNNT_EN for HSIC

Disable USB_WAKE_ON_CNNT_EN_DEV bit during phy_power_off for HSIC

Bug 1430974

Change-Id: I545c7cc0f1b87f4540554b3d7e5e9cca89ea2411
Signed-off-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-on: http://git-master/r/359109
Tested-by: Martin Chi <mchi@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Martin Chi <mchi@nvidia.com>

5 years agousb: ehci: Tegra: add echi wake lock
Martin Chi [Thu, 23 Jan 2014 04:31:46 +0000]
usb: ehci: Tegra: add echi wake lock

For now, only apply it in tegra_ehci_irq when it's
triggered by remote wake-up irq, since, without
wake lock hold here, device may continue the
suspend if remote wake-up comes in suspending.

bug 1431546

Change-Id: I44ea268ca168a1a3a9098ad9f5f6f7b1270a0fa5
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/359090

5 years agousb: ehci: Tegra: change to noirq suspend/resume
Martin Chi [Thu, 23 Jan 2014 02:54:56 +0000]
usb: ehci: Tegra: change to noirq suspend/resume

Chnage ehci suspend/resume to noirq suspend/resume
to enable it get more chances to handle the remote
wake-up which may come after normal suspend/resume

bug 1430974

Change-Id: I0e27435c729b515c968990507a1d6ab53c4ce37a
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/359052

5 years agoxhci: tegra: support override fused hs_curr_level
JC Kuo [Fri, 4 Oct 2013 11:26:27 +0000]
xhci: tegra: support override fused hs_curr_level

This change add the capability to override hs_curr_level value read
from usb_calib0 fuse register. Some board designs need different
hs_curr_level value to optimize USB 2.0 signals.

bug 1340062

Change-Id: Ic2435dc1b8c85bea507144558267b8bd29c2dad0
Reviewed-on: http://git-master/r/281745
(cherry picked from commit 938d7343c0f835772aa0f50c9df6cb32ba6b0345)

Conflicts:
arch/arm/mach-tegra/include/mach/xusb.h

Change-Id: I611dc365c27caad14d17cb95e4e0d469ec03cc62
Signed-off-by: JC Kuo <jckuo@nvidia.com>
Reviewed-on: http://git-master/r/358216
Reviewed-by: WK Tsai <wtsai@nvidia.com>
Reviewed-by: Joy Wang <joyw@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Henry Lin <henryl@nvidia.com>
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>

5 years agoarm: tegra: tegratab: ULPI_DATA5 pin selection
Min-wuk Lee [Wed, 22 Jan 2014 05:04:32 +0000]
arm: tegra: tegratab: ULPI_DATA5 pin selection

ULPI_DATA5 pin is not used in ERS and P1640,
but used to avoid avdd_hdmi_pll regulator leakage.
This pin needs to be selected according to
board selection.

Bug 1439626

Change-Id: I11f9305e718af28f221efae5cfcdd722e0098a29
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/358528
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoARM: dts: update dts based on board config.
Harry Hong [Wed, 22 Jan 2014 01:56:14 +0000]
ARM: dts: update dts based on board config.

Bug 1439626

Change-Id: I621af6dfcc2977f2f30ce3bd7242d016f3eb89f1
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/358474

5 years agoinput: touch: maxim: revert device splitting
Youngjin Kim [Wed, 15 Jan 2014 12:25:18 +0000]
input: touch: maxim: revert device splitting

Set number of input devices back to 1 and disable
the mutual exclusion of finger and stylus.

Bug 1439868

Change-Id: I104cd8f4fa71c542399e61ae0015465638f27d3c
Signed-off-by: Youngjin Kim <nkim@nvidia.com>
Reviewed-on: http://git-master/r/356008
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoUSB: ehci: tegra: destroy mutex when driver remove
Suresh Mangipudi [Thu, 7 Nov 2013 05:28:40 +0000]
USB: ehci: tegra: destroy mutex when driver remove

mutex_destroy to be called when the driver is removed.

BUG 1401358

Change-Id: Idb6703c01c41d241d8bdb67ca19c80a78c52b513
Signed-off-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-on: http://git-master/r/328852
(cherry picked from commit 739f06547bff816641eb998e6f109e64b614ebfe)
Reviewed-on: http://git-master/r/358170
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoARM: tegra: tegratab: avdd_hdmi_pll selection
Min-wuk Lee [Tue, 21 Jan 2014 09:51:40 +0000]
ARM: tegra: tegratab: avdd_hdmi_pll selection

For P1988, discharge unit for avdd_hdmi_pll
regulator is prepared and that is handled by
GPIO_PO6 pin. For other platforms like E1569,
P1640 do not have this unit.
This change selects proper avdd_hdmi_pll
regulator platform data according to board
selection.

Bug 1439626

Change-Id: I7515e8a4e4d57a491720fc0adbf7790c7c73a39c
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/358158
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>

5 years agoxhci: tegra: fix DFE/CTLE control sequence
joyw [Fri, 6 Sep 2013 04:55:48 +0000]
xhci: tegra: fix DFE/CTLE control sequence

According to PG to adjust DEF and CTLE context save/restore
programming sequence on T114 rel17 branch.

Bug 1345950

Change-Id: Ie7ef0385ea70616ab69dd251d0b383cd9c62afa8
Signed-off-by: joyw <joyw@nvidia.com>
Reviewed-on: http://git-master/r/271323
(cherry picked from commit 107b3dc2c5feb25e14cf29328323a0dfdec717ce)
Reviewed-on: http://git-master/r/358118
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoxhci: tegra: Fix bias pad power control
joyw [Tue, 24 Sep 2013 11:06:40 +0000]
xhci: tegra: Fix bias pad power control

Per UTMIP software guideline document, if xusb own OTG port0,
use xusb padctl register space to power on/off bias pad.

Bug 1334491
Bug 1242148

Change-Id: I28c7b9346b8332352fa53996769d6a76221b5ac4
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Signed-off-by: joyw <joyw@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
(cherry picked from commit abb84051c9cf6e0709a752081ae2102e349e0955)
Reviewed-on: http://git-master/r/358100
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agousb: xhci: tegra: enable clock after unpowergate
joyw [Tue, 6 Aug 2013 08:28:42 +0000]
usb: xhci: tegra: enable clock after unpowergate

Follow PG, enable host partition clock after unpowergate
host partition.

Bug 1333946

Change-Id: I47d7bfaedded3d8ca07edd9c1315ade2cccdc579
Signed-off-by: joyw <joyw@nvidia.com>
Reviewed-on: http://git-master/r/258633
(cherry picked from commit 02c7352077ef00448f12132478f46b106d4b3033)
Signed-off-by: joyw <joyw@nvidia.com>
Reviewed-on: http://git-master/r/280137
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>
(cherry picked from commit d844bb935c1aaec4d873175cc8c2270c5247ed45)
Reviewed-on: http://git-master/r/358084
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agostaging: iio: ltr659ps: changing permission.
Harry Hong [Tue, 21 Jan 2014 06:07:09 +0000]
staging: iio: ltr659ps: changing permission.

Chaning sys node of "enable" attr from 0x666 to 0x644
due to cts failure.

Bug 1443978

Change-Id: I41d03b8a39a553d8c210791086bbe440416e7415
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/358046

5 years agoinput:misc: Add unified sysfs location for management
Xiaohui Tao [Fri, 16 Aug 2013 22:10:17 +0000]
input:misc: Add unified sysfs location for management

Provide a unified sysfs location so that init.xxx.rc
can change the permission without frequent update.

Change-Id: Ic35a122d96de60896f386a042d336ef5dd0a9765
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/263540
(cherry picked from commit 5a56bb9fce86683037a1689d137aa4416938d5c0)
Reviewed-on: http://git-master/r/358088
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoARM: tegra: tegratab: add vlogic_gyro for P1988
David Yu [Tue, 21 Jan 2014 06:16:56 +0000]
ARM: tegra: tegratab: add vlogic_gyro for P1988

Bug 1439626

Change-Id: I30edf057a89350b6ffd6ab1bdf3418122c1a0494
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/358051
Reviewed-by: Min-wuk Lee <mlee@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoARM: tegra: tegratab: adding tn7_2014 support
Harry Hong [Mon, 20 Jan 2014 07:56:39 +0000]
ARM: tegra: tegratab: adding tn7_2014 support

It's only for initial bring-up.

Bug 1439626

Change-Id: Iebae4e4a5168d29804e7f2c2143973371b9ac197
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/357606

5 years agoARM:tegra:tn7c:Suppress kernel warning message
Chen Jian [Mon, 20 Jan 2014 06:24:55 +0000]
ARM:tegra:tn7c:Suppress kernel warning message

  - Pair enable_irq/disable_irq to remove kernel
    warning message.

Change-Id: I7c935e3ad6bdfbf5cc4775ab6977dcb811c168a3
Signed-off-by: Chen Jian <jackchen@nvidia.com>
Reviewed-on: http://git-master/r/357580
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Martin Chi <mchi@nvidia.com>

5 years agostaging: iio: cm3217: fix i2c no ack
David Yu [Mon, 20 Jan 2014 08:55:23 +0000]
staging: iio: cm3217: fix i2c no ack

When power button is repeatedly pressed fast,
i2c no ack error occurs due to unbalanced regulator on/off.

 tegra-i2c tegra11-i2c.0: no acknowledge from address 0x10
 tegra-i2c tegra11-i2c.0: no acknowledge from address 0x10
 tegra-i2c tegra11-i2c.0: no acknowledge from address 0x10
 tegra-i2c tegra11-i2c.0: no acknowledge from address 0x10
 tegra-i2c tegra11-i2c.0: no acknowledge from address 0x10
 tegra-i2c tegra11-i2c.0: no acknowledge from address 0x10
 tegra-i2c tegra11-i2c.0: no acknowledge from address 0x10
 tegra-i2c tegra11-i2c.0: no acknowledge from address 0x10
 tegra-i2c tegra11-i2c.0: no acknowledge from address 0x10
 tegra-i2c tegra11-i2c.0: no acknowledge from address 0x10
 [ERR][CM3217 error] I2C_TxData retry over 10
 [ERR][CM3217 error]_cm3217_I2C_Write_Byte: I2C_TxData fail

Change-Id: I55495221340ffa3aa796f4d932daca9e4cadc640
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/357632
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoprintk: apply timezone in the kernel log time
David Yu [Mon, 20 Jan 2014 06:27:18 +0000]
printk: apply timezone in the kernel log time

- fix  recursion bug
- show timezone applied log since logcat shows it

Change-Id: If25195ddd729d9897494aaa846525f25df1c872d
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/357582
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoinput: gpio_keys: Fix disordered wakeup key reports
David Yu [Mon, 20 Jan 2014 04:10:26 +0000]
input: gpio_keys: Fix disordered wakeup key reports

- If power key is released before gpio_keys_gpio_report_wake() called,
power key press-release events pair will be reported twice and supress
display from coming back up.
- If power key is released before enabling device driver to receive
interrupts, power key release interrupt will be lost due to the previous
pending key press intterupt, and we can only get the released key state.
Change to call gpio_keys_gpio_report_wake() and gpio_keys_report_state()
in gpio_keys_resume_noirq() callback to avoid the disordered reports.

Bug 1372600
Bug 1346985
Bug 1437458

Change-Id: I8e35f6012f2fc600f4dd830e1c191f9f2782e621
Signed-off-by: Allen Yu <alleny@nvidia.com>
Reviewed-on: http://git-master/r/280231
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/357540
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoARM:Tegra:tn7c: config KB_COL1 in LP0
ximingc [Fri, 17 Jan 2014 03:34:07 +0000]
ARM:Tegra:tn7c: config KB_COL1 in LP0

In LP0, configure GPIO KB_COL1 pull-down
In other states, configure KB_COL1 pull-up

Bug 1439735

Change-Id: Ifd35b3d77f631f32a66d36b0e92afe65cb2813df
Signed-off-by: ximingc <ximingc@nvidia.com>
Reviewed-on: http://git-master/r/356864
Reviewed-by: Martin Chi <mchi@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

5 years agoARM: 7809/1: perf: fix event validation for software group leaders
Will Deacon [Wed, 7 Aug 2013 22:39:41 +0000]
ARM: 7809/1: perf: fix event validation for software group leaders

Change-Id: I97a5d59a97054742cedc7cd5cea71a74f377678b

commit c95eb3184ea1a3a2551df57190c81da695e2144b upstream.

It is possible to construct an event group with a software event as a
group leader and then subsequently add a hardware event to the group.
This results in the event group being validated by adding all members
of the group to a fake PMU and attempting to allocate each event on
their respective PMU.

Unfortunately, for software events wthout a corresponding arm_pmu, this
results in a kernel crash attempting to dereference the ->get_event_idx
function pointer.

This patch fixes the problem by checking explicitly for software events
and ignoring those in event validation (since they can always be
scheduled). We will probably want to revisit this for 3.12, since the
validation checks don't appear to work correctly when dealing with
multiple hardware PMUs anyway.

Reported-by: Vince Weaver <vincent.weaver@maine.edu>
Tested-by: Vince Weaver <vincent.weaver@maine.edu>
Tested-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Change-Id: I0308662012bd145a7e3d817077198392dab91054
Reviewed-on: http://git-master/r/356836
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoperf/arm: Fix armpmu_map_hw_event()
Stephen Boyd [Wed, 7 Aug 2013 23:18:08 +0000]
perf/arm: Fix armpmu_map_hw_event()

Change-Id: Ib0409a5f7a4aeec93e535757dcd9d2c04330f495

commit b88a2595b6d8aedbd275c07dfa784657b4f757eb upstream.

Fix constraint check in armpmu_map_hw_event().

Reported-and-tested-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Change-Id: I97050b1481003481b81cbdfeb898ae7478561d2a
Reviewed-on: http://git-master/r/356830
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoARM: dts: Adding tn7_2014 dts
Harry Hong [Thu, 16 Jan 2014 07:14:31 +0000]
ARM: dts: Adding tn7_2014 dts

Bug 1439626

Change-Id: I86359ba213ae8f94f541c185a2d7559ca4de443e
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/356831

5 years agousb: gadget: Tegra: don't boost cpu freq on boot
David Yu [Thu, 16 Jan 2014 12:18:58 +0000]
usb: gadget: Tegra: don't boost cpu freq on boot

Change-Id: I375e92e55b6f37e29e384f979f09158eadf7269f
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/356537
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agovideo: tegra: host: Fix memory leakage in msenc
Ahung Cheng [Thu, 7 Nov 2013 07:44:57 +0000]
video: tegra: host: Fix memory leakage in msenc

Add kfree for msenc in deinit

bug 1402255

(Cherry-picked from commit bd1fc938268f40581c2ff7f6f698bdd7c8c8bc2a)
Reviewed-on: http://git-master/r/327535
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

Change-Id: I8b921d2b221126097ebf48e14c679b0e08245bed
Signed-off-by: Ahung Cheng <ahcheng@nvidia.com>
Reviewed-on: http://git-master/r/353527
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoARM: Tegra: remove duplicate code for LP1 resume
Martin Chi [Thu, 16 Jan 2014 08:12:43 +0000]
ARM: Tegra: remove duplicate code for LP1 resume

Remove the duplicate code because of the merge
commit http://git-master/r/353758 twice.
With these duplicate code, device fail to resume
from LP1 when hang up the call.

bug 1441341

Change-Id: I3e560a5162df51183710a9ff6161158ca59e6303
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/356375
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Antti Miettinen <amiettinen@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agoprintk: change the timestamp behind kerne log to rtc time
Martin Chi [Thu, 16 Jan 2014 05:43:37 +0000]
printk: change the timestamp behind kerne log to rtc time

the original timestamp is CPU time, which causes
the time is missing in kernel log after LPx.
Change to rtc time to fix this and also good
for cross-checking with logcat

Change-Id: I87df3df6c699dacea40d550043afda0dc00d5c82
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/356301
Reviewed-by: Gabby Lee <galee@nvidia.com>
Reviewed-by: David Yu (Engrg-SW) <davyu@nvidia.com>
Reviewed-by: Jake Park <jakep@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agoARM: Tegra: TN7C:clean up board info
David Pu [Mon, 13 Jan 2014 05:36:19 +0000]
ARM: Tegra: TN7C:clean up board info

there is just one board id(P1988), clean up useless board info
detection. there is just one Fab version A00 so far, also remove useless
fab version checking.

Bug 1430589

Signed-off-by: David Pu <dpu@nvidia.com>
Change-Id: I314173117d5620ce53770fcc2c18e29d39fa782d
Reviewed-on: http://git-master/r/354893
Reviewed-by: Danny Song <dsong@nvidia.com>
Tested-by: Danny Song <dsong@nvidia.com>

5 years agoARM:tegra:tn7c:Enable proximity sensor LTR659PS
Chen Jian [Wed, 15 Jan 2014 05:39:01 +0000]
ARM:tegra:tn7c:Enable proximity sensor LTR659PS

  - Enable p-sensor LTR659PS with TN7C device

Bug 1431744

Change-Id: Icfde46c18730483d4f6a60c32f9a5972c3cc36af
Signed-off-by: Chen Jian <jackchen@nvidia.com>
Reviewed-on: http://git-master/r/355852
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>

5 years agotn7, tn7c: config: add SECURITY_SELINUX_BOOTPARAM
Hyong Bin Kim [Tue, 14 Jan 2014 10:10:55 +0000]
tn7, tn7c: config: add SECURITY_SELINUX_BOOTPARAM

For disable selinux, add SECURITY_SELINUX_BOOTPARAM config.
Default is enable. We can disable selinux via kernel command line "selinux=0".

Bug 1367030

Change-Id: I3f7902f003d516e1569adf4872bcbbc86445ee08
Signed-off-by: Hyong Bin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/355510
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoARM:tegra:TN7C: fix typo in INA current setting
David Pu [Fri, 10 Jan 2014 05:02:16 +0000]
ARM:tegra:TN7C: fix typo in INA current setting

there is a typo in INA230 current setting.

Change-Id: Ie4d32cee3dc2dcb5dc565bc2a42484de80414a4e
Signed-off-by: David Pu <dpu@nvidia.com>
Reviewed-on: http://git-master/r/354057
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>

5 years agoUSB: cdc-acm: fix data reordering issue
Yu-An Shih [Wed, 8 Jan 2014 03:35:25 +0000]
USB: cdc-acm: fix data reordering issue

There is a race condition between acm_tty_unthrottle and
acm_process_read_urb; new data can be added to the tty buffer
before the data queued when throttled.

Bug 1436086

Change-Id: I76364cc69fb718e34ae646497591ddc8a717e6e1
Signed-off-by: Yu-An Shih <yshih@nvidia.com>
Reviewed-on: http://git-master/r/353617
(cherry picked from commit 381e5c6d0bc2f3a5eb266b5a54d83d491cbac20d)
(cherry picked from commit ee96ff10770213e6376027556efe8a5959f61320)
Reviewed-on: http://git-master/r/355823
Reviewed-by: Gray Lei <glei@nvidia.com>
Tested-by: Gray Lei <glei@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Martin Chi <mchi@nvidia.com>

5 years agoarm: tegra: TN7C: reduce fb0 framebuffer size
Martin Chi [Tue, 14 Jan 2014 16:51:26 +0000]
arm: tegra: TN7C: reduce fb0 framebuffer size

Since TN7C works with 800x1280 resolution,
reduce the fb0 framebuffer size to save memory.

bug 1431165

Change-Id: I0eaddc50dbe95d8fdc9205020e3aa8d4e0005826
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/355563
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Danny Song <dsong@nvidia.com>

5 years agoarm: tegra: tn7c: set MDM_RST default to HIGH
Martin Chi [Tue, 14 Jan 2014 09:04:43 +0000]
arm: tegra: tn7c: set MDM_RST default to HIGH

set MDM_RST default to HIGH, so that Bruce module
can be enumerated eariler.

bug 1439737

Change-Id: Ie3b8fae666a3665bb7b5aa57272269f4a475b6e6
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/355495
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Steve Lin <stlin@nvidia.com>

5 years agosoc: codecs: rt5639: Implement i2c shutdown
Nine Feng [Wed, 8 Jan 2014 09:47:09 +0000]
soc: codecs: rt5639: Implement i2c shutdown

i2c shutdown implementation for rt5639
No i2c transaction should happen after
shutdown

Bug 1431674

(cherry-pick from d17a5403140a45e43cb21cffe6cf391a2e3abe62)
Reviewed-on: http://git-master/r/188216/

Change-Id: Iadc18d8e84a10b2735503c99c4b7003e275e4242
Signed-off-by: Nine Feng <nfeng@nvidia.com>
Reviewed-on: http://git-master/r/353242
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Martin Chi <mchi@nvidia.com>

5 years agousb: gadget: Tegra: fix audio stutter
David Yu [Mon, 13 Jan 2014 01:24:50 +0000]
usb: gadget: Tegra: fix audio stutter

Boost CPU freq when cable is plugged in/out.
Use high priority single thread workqueue to run work function earlier.

Bug 1435328

Change-Id: Ib2192fa5c30546d0b4e47dec6479c715d58bf795
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/354831
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agotegra: hdmi: support HDMI VSDB VIC parsing
Emma Yan [Mon, 30 Sep 2013 13:39:14 +0000]
tegra: hdmi: support HDMI VSDB VIC parsing

Bug 1167856
Bug 1357380
Bug 1366416
Bug 1369156
Bug 1375947

(cherry picked from commit f649c7aded9902bbeb6e79423e1af87553441949)
Reviewed-on: http://git-master/r/280300
Change-Id: Ifd2fce407405bed92d8c399c742635f6e9c59918
Signed-off-by: Emma Yan <eyan@nvidia.com>
Reviewed-on: http://git-master/r/353721
GVS: Gerrit_Virtual_Submit
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>

5 years agoARM: Tegra: Utilize burst policy for LP1 wakeup
Antti P Miettinen [Sun, 13 Oct 2013 19:52:35 +0000]
ARM: Tegra: Utilize burst policy for LP1 wakeup

Running SCLK from CLKS makes LP1 wakeup latencies horrible.
However, we can utilize IRQ bursting to switch automatically
to CLKM upon LP1 wakeup IRQ. This maintains low power for LP1
but improves wakeup latencies significantly.

Bug 1381343

Change-Id: I9a3fcd81999d1b593bf242bfa7ef8505f9848d43
Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com>
Reviewed-on: http://git-master/r/298749
(cherry picked from commit 39d6266e1ed04512809badb263a6d9b4346a49e4)
Reviewed-on: http://git-master/r/298744
(cherry picked from commit 12a25b041874515a7076b30f1462a12756d75d16)
(cherry picked from commit b90f85660ac259da9190cce156763fb05caa5f82)
Reviewed-on: http://git-master/r/353758
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>

5 years agovideo: tegra: host: Fix race in gr3d scaling
Arto Merilainen [Tue, 1 Oct 2013 12:33:24 +0000]
video: tegra: host: Fix race in gr3d scaling

The scaling code used cancel_work_sync() while holding a mutex. As the work
itself uses the same mutex, we risk causing a deadlock.

This patch refactors the code so that the mutex is not hold while calling
cancel_work_sync().

Bug 1371500

Change-Id: I3aa0de168cebcc1d8d1843813caee5e82fe3df06
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/280730
(cherry picked from commit 763125fba1c9a8a67a9968c8502c17465665eb35)
Reviewed-on: http://git-master/r/354208
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Gabby Lee <galee@nvidia.com>
Reviewed-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agousb: gadget: tegra: remove spin_unlock/lock pair
Rohith Seelaboyina [Wed, 20 Nov 2013 05:36:52 +0000]
usb: gadget: tegra: remove spin_unlock/lock pair

Remove the extra spin unlock/lock pain while building
dtd, as data corruption seems to happen by swapping
of dtd when multiple gadget functions are loaded.
This changes will make build dtd as part of Critical
section, there by swapping of dtd's doesnt occur.

Bug 1380570

Change-Id: I69ffc92a294cba13e79e2a02382b0c8f6b8cb28d
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/334929
(cherry picked from commit 1716e1b6e87ce0765eaab4c0fb62007735b33ee8)
Reviewed-on: http://git-master/r/354900
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoxhci: tegra: Reset EMC bandwidth before elpg
Henry Lin [Tue, 29 Oct 2013 07:53:54 +0000]
xhci: tegra: Reset EMC bandwidth before elpg

xhci fw informs driver the changes to maximum bandwidth requirement
by MBOX_CMD_SET_BW mailbox command. Driver should reset the required
bandwidth to 0 before going to elpg.

Bug 1371282

Change-Id: Ic7cdd4d95335a02bce6b017d9d5af101bd4b1365
Signed-off-by: Henry Lin <henryl@nvidia.com>
Reviewed-on: http://git-master/r/304734
(cherry picked from commit f21d0ee5e1cadd578ad962df02f90a38adf16369)
Signed-off-by: Henry Lin <henryl@nvidia.com>
Reviewed-on: http://git-master/r/354846
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoicera: cdc-acm: fix message lost in modem logging
Martin Chi [Fri, 10 Jan 2014 01:47:19 +0000]
icera: cdc-acm: fix message lost in modem logging

When CPU freq is too low (e.g. 51MHz), AP may fail
to receive all the modem log under some cases (e.g.
3G call) when modem generates a lot of log.

Boosting CPU freq to 696MHz can fix issue.

Bug 1432121

Change-Id: I92f7be137ee205b9936129242ab723d343e31046
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/351425
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

5 years agoARM: Tegra: Fix comment about clock switch
Antti P Miettinen [Mon, 28 Oct 2013 11:17:09 +0000]
ARM: Tegra: Fix comment about clock switch

Upon turning off PLLs CPU is switched to CLKM.

Change-Id: I72d3cd6a6a103ef954b03453f5bcc0131a9737f2
Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com>
Reviewed-on: http://git-master/r/304351
(cherry picked from commit 5528184cfee750a3e64e62f3d0054537e40fa329)
Reviewed-on: http://git-master/r/353769
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>

5 years agoARM: tegra11: add INT_RTC as a wakeup source
Antti P Miettinen [Tue, 8 Oct 2013 11:17:57 +0000]
ARM: tegra11: add INT_RTC as a wakeup source

Required for suspend_sanity test.

Change-Id: I6a4e24ad7a65e4e8b8c49ca4854e1c06933e218c
Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com>
Reviewed-on: http://git-master/r/289201
(cherry picked from commit c7a04b51ad17196ab8cfc49e90c3c60a37aa6461)
Reviewed-on: http://git-master/r/353768
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>

5 years agoinput: cfboost: Add module parameter callback
Antti P Miettinen [Tue, 1 Oct 2013 13:37:57 +0000]
input: cfboost: Add module parameter callback

Cancel PM QoS request upon frequency changing to zero.

Change-Id: Ie6bba1eb3f3177751449d53d9237e021140edf82
Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com>
Reviewed-on: http://git-master/r/280744
(cherry picked from commit 8623a52d17f0e0788d393fbc4e8a9b2987ae492d)
Reviewed-on: http://git-master/r/298656
(cherry picked from commit ad5110686a0596cf8a1b1373b14d37e8b83284b9)
Reviewed-on: http://git-master/r/353767
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>

5 years agousb: gadget: tegra: Add callback to boost_enable
Antti P Miettinen [Mon, 30 Sep 2013 10:14:58 +0000]
usb: gadget: tegra: Add callback to boost_enable

Cancel PM QoS request upon enabled to disabled
transition.

Change-Id: Iaf28d2d0daca312996e2cb1a1280769d814fd066
Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com>
Reviewed-on: http://git-master/r/280232
(cherry picked from commit 9a25a04c42ed0feeb1aff1dcf696b54e122a8c65)
Reviewed-on: http://git-master/r/353766
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>

5 years agoASoC:Tegra: Add BT-SCO initialize function
Lei Fan [Thu, 9 Jan 2014 08:25:22 +0000]
ASoC:Tegra: Add BT-SCO initialize function

The initialize function for BT-SCO should be add, otherwise ther DL
audio path will be broken by BT Tone.

Bug 1428578

Change-Id: I3870b0134871a7ad95b704adabae5de836d3545d
Signed-off-by: Lei Fan <leif@nvidia.com>
Reviewed-on: http://git-master/r/353694
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>

5 years agoARM:Tegra: fix bt voice call lost
Lei Fan [Thu, 9 Jan 2014 05:35:05 +0000]
ARM:Tegra: fix bt voice call lost

The bit-size is miss and voice call will be lost with the setting.

Bug 1428578

Change-Id: I8d118c1f3b446d62fb86e7f3340f8db75d66caf9
Signed-off-by: Lei Fan <leif@nvidia.com>
Reviewed-on: http://git-master/r/353684
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vijay Mali <vmali@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Martin Chi <mchi@nvidia.com>

5 years agoASoC:Tegra:dual mic support
Lei Fan [Tue, 7 Jan 2014 06:31:23 +0000]
ASoC:Tegra:dual mic support

In order to use dual mic to support nvoice, DAMs should be removed
form UL and playback should use channle0 of DAM in DL to make SRC
not channel1 again.

Bug 1431667

Change-Id: I88d53d315a2d0a6aa74e414861af54061763d2ac
Signed-off-by: Lei Fan <leif@nvidia.com>
Reviewed-on: http://git-master/r/352587
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>

5 years agoASoC:Tegra: Fix DAM num to a specific DAP
Lei Fan [Sat, 4 Jan 2014 12:53:55 +0000]
ASoC:Tegra: Fix DAM num to a specific DAP

DAM should fix to a specific DAP, otherwise voice call cannot be
ended normally.

Change-Id: I60553e903a2f425bc9e9e1c245f77dfd5d3058b4
Signed-off-by: Lei Fan <leif@nvidia.com>
Reviewed-on: http://git-master/r/351993
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vijay Mali <vmali@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Martin Chi <mchi@nvidia.com>

5 years agosoc: tegra: rt5640: set DAI link for E1569-ERS
Yong Goo Yi [Thu, 9 Jan 2014 08:03:03 +0000]
soc: tegra: rt5640: set DAI link for E1569-ERS

Set DAI link properly for E1569-ERS rt5640 codec

Bug 1432502
Bug 1432488

Change-Id: I5c91d0cc842fccb45175180da3a86e4651bd2534
Signed-off-by: Yong Goo Yi <yyi@nvidia.com>
Reviewed-on: http://git-master/r/353677
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoArm: tegra: usb: set run bit after disabling PMC
Martin Chi [Sat, 11 Jan 2014 02:42:41 +0000]
Arm: tegra: usb: set run bit after disabling PMC

Set run bit soon after disabling the PMC so that
the delay in releasing the pmc_lock is avoided.
Also add delay in phy_restore_end so that the resume
will driven for minimum of 20ms.

Bug 1264731
Bug 1382457
Bug 1438066

Change-Id: If4d53359d8a3f33898ed0663cbdf7d4c8310bcf9
Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-on: http://git-master/r/309449
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/354696
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

5 years agodrivers: media: tegra: fix incorrect license info
Charlie Huang [Wed, 13 Nov 2013 23:28:26 +0000]
drivers: media: tegra: fix incorrect license info

to make them compatible with the Linux kernel licensing.

bug 1406088

Change-Id: I33a3f3995d1fe256e662236b0e33b59a4fa024be
Signed-off-by: Charlie Huang <chahuang@nvidia.com>
Reviewed-on: http://git-master/r/330752
(cherry picked from commit e618d9e50589cc3d43e3ca3b0d37a4562b844777)
Reviewed-on: http://git-master/r/353929
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agommc: sdhci: tegra: exclusive clk control
Bitan Biswas [Thu, 21 Nov 2013 12:12:21 +0000]
mmc: sdhci: tegra: exclusive clk control

Exclusive access to Tegra sdhci set clock API
to prevent race between multiple callers

bug 1405624

Change-Id: If83f4bf7e0f4c9e39e0f581403d33f4efc9f8476
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/334014
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/339783
(cherry picked from commit 9d5e83e800ed775ccabed82746b7ea07f952be06)
Reviewed-on: http://git-master/r/353625
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agovideo: tegra: dc: use cancel_delayed_work_sync()
Deepak Nibade [Tue, 22 Oct 2013 13:00:27 +0000]
video: tegra: dc: use cancel_delayed_work_sync()

- nvhdcp driver uses flush_workqueue()
- instead make use of cancel_delayed_work_sync() since
  work scheduled is delayed work

Bug 1308191

Change-Id: I40f841c417cda9b6f40bb9da5c86c0b8944807e9
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/302383
(cherry picked from commit 058f6085fe89ba3eb4f8cececa42af3dc781c084)
Reviewed-on: http://git-master/r/353592
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agomisc: cec: cancel workqueue in suspend
Deepak Nibade [Mon, 30 Sep 2013 06:13:59 +0000]
misc: cec: cancel workqueue in suspend

- cancel the workqueue in suspend method before turning
  off the clock

Bug 1360341

Change-Id: I126da686a6ba0c5eec55b67df1e9f962ce16fc48
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/280159
(cherry picked from commit 7cc6da6e41c7889f7ed8da7833d293b3b884bc0e)
Reviewed-on: http://git-master/r/353591
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agodrivers: misc: therm_est: Add of_match_table
Jinyoung Park [Thu, 2 May 2013 11:56:05 +0000]
drivers: misc: therm_est: Add of_match_table

Added of_match_table in the driver structure.
If there is therm_est binding data in device tree, we don't need to add
platform_device_register() for therm_est device in board file.

Bug 1240803

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/224875
(cherry picked from commit 71deb2ba7174b010c63155a47c54de9a9ea7f7d7)

Change-Id: Ia85a74d3c7b69c3bd4be7859ec8daa8d09d0a4e1
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/353278
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agomisc: therm_est: Robustify history management
Jinyoung Park [Mon, 30 Sep 2013 03:33:38 +0000]
misc: therm_est: Robustify history management

Added below things to prevent bad temp estimation by wrong history management.
- Set current temp estimation with 25C if history initialization is failed.
- Store last temp as current history if temp reading is failed.

Bug 1375775

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/280251
(cherry picked from commit d498f2502ba9135bfaf137aecfd2576f39b88463)

Change-Id: If97275cc3ba36914b43afc2b98ba3163e2ac8255
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/353272
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agonet: ipv6: fix wrong ping_v6_sendmsg return value
Lorenzo Colitti [Wed, 3 Jul 2013 15:12:40 +0000]
net: ipv6: fix wrong ping_v6_sendmsg return value

ping_v6_sendmsg currently returns 0 on success. It should return
the number of bytes written instead.

Bug: 9469865
Bug 1412141
Change-Id: I14aad6018f0c3fd92dad315bc3ade04c0b3982e0
Signed-off-by: Lorenzo Colitti <lorenzo@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 5f0fd6105f491b8b435863e98f7e96d617e3da84)
Reviewed-on: http://git-master/r/336272
(cherry picked from commit 6d931659abae7575ee64b16e3c2f3ee8bd350dd1)
Reviewed-on: http://git-master/r/353233
Reviewed-by: Nitin Bindal <nbindal@nvidia.com>
Tested-by: Nitin Bindal <nbindal@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

5 years agonet: ipv6: add missing lock in ping_v6_sendmsg
Lorenzo Colitti [Wed, 3 Jul 2013 15:52:49 +0000]
net: ipv6: add missing lock in ping_v6_sendmsg

Bug: 9469865
Bug 1412141
Change-Id: I5e9db559d22e35d27fa1df948b70c70ed8b42115
Signed-off-by: Lorenzo Colitti <lorenzo@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 3a018d2e8fc2910e5fb2077cde81cad659e2c7f9)
Reviewed-on: http://git-master/r/336271
(cherry picked from commit 71e8c301dce8ee85ee26eedb808b939084f14b45)
Reviewed-on: http://git-master/r/353232
Reviewed-by: Nitin Bindal <nbindal@nvidia.com>
Tested-by: Nitin Bindal <nbindal@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

5 years agoping: always initialize ->sin6_scope_id and ->sin6_flowinfo
Cong Wang [Sun, 2 Jun 2013 22:43:52 +0000]
ping: always initialize ->sin6_scope_id and ->sin6_flowinfo

[net-next commit c26d6b46da3ee86fa8a864347331e5513ca84c2b]

If we don't need scope id, we should initialize it to zero.
Same for ->sin6_flowinfo.

Bug 1412141
Change-Id: I74764edf3d0567f5ae094b2e83484cdfe05f6098
Cc: Lorenzo Colitti <lorenzo@google.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
Acked-by: Lorenzo Colitti <lorenzo@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 14e41a18688ec8d52ea3163f7898455b52365854)
Reviewed-on: http://git-master/r/336270
(cherry picked from commit 68f4261657194f51c9d954f259825c76a72a00e2)
Reviewed-on: http://git-master/r/353231
Reviewed-by: Nitin Bindal <nbindal@nvidia.com>
Tested-by: Nitin Bindal <nbindal@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

5 years agonet: ipv6: Add IPv6 support to the ping socket.
Lorenzo Colitti [Wed, 16 Jan 2013 22:09:49 +0000]
net: ipv6: Add IPv6 support to the ping socket.

[backport of net-next 6d0bfe22611602f36617bc7aa2ffa1bbb2f54c67]

This adds the ability to send ICMPv6 echo requests without a
raw socket. The equivalent ability for ICMPv4 was added in
2011.

Instead of having separate code paths for IPv4 and IPv6, make
most of the code in net/ipv4/ping.c dual-stack and only add a
few IPv6-specific bits (like the protocol definition) to a new
net/ipv6/ping.c. Hopefully this will reduce divergence and/or
duplication of bugs in the future.

Caveats:

- Setting options via ancillary data (e.g., using IPV6_PKTINFO
  to specify the outgoing interface) is not yet supported.
- There are no separate security settings for IPv4 and IPv6;
  everything is controlled by /proc/net/ipv4/ping_group_range.
- The proc interface does not yet display IPv6 ping sockets
  properly.

Tested with a patched copy of ping6 and using raw socket calls.
Compiles and works with all of CONFIG_IPV6={n,m,y}.

Bug 1412141

Change-Id: I0081b4654dd54b12c8f233e00e18943582aa2142
Signed-off-by: Lorenzo Colitti <lorenzo@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
[lorenzo@google.com: backported to 3.4]
(cherry picked from commit 1f0675844e3b63a765e5bd32bc5af051ccd951c0)
Reviewed-on: http://git-master/r/336269
(cherry picked from commit 36c1b848f9c0cbcefa6fc731f84ae6ddc3536be6)
Signed-off-by: Lorenzo Colitti <lorenzo@google.com>
Reviewed-on: http://git-master/r/353230
Reviewed-by: Nitin Bindal <nbindal@nvidia.com>
Tested-by: Nitin Bindal <nbindal@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

5 years agoipv6: introdcue __ipv6_addr_needs_scope_id and ipv6_iface_scope_id helper functions
Hannes Frederic Sowa [Fri, 8 Mar 2013 02:07:16 +0000]
ipv6: introdcue __ipv6_addr_needs_scope_id and ipv6_iface_scope_id helper functions

[net-next commit b7ef213ef65256168df83ddfbb8131ed9adc10f9]

__ipv6_addr_needs_scope_id checks if an ipv6 address needs to supply
a 'sin6_scope_id != 0'. 'sin6_scope_id != 0' was enforced in case
of link-local addresses. To support interface-local multicast these
checks had to be enhanced and are now consolidated into these new helper
functions.

v2:
a) migrated to struct ipv6_addr_props

v3:
a) reverted changes for ipv6_addr_props
b) test for address type instead of comparing scope

v4:
a) unchanged

Bug 1412141

Change-Id: I1788f1f2d3a6bd2b9e6a6afe74992d6d4a1385eb
Suggested-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Cc: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 2c75b248e5243d0af7cc97522148db7415a70f8a)
Reviewed-on: http://git-master/r/336266
(cherry picked from commit dfd23e75d7f69863ec3903ea1300185a1474b56a)
Reviewed-on: http://git-master/r/353229
Reviewed-by: Nitin Bindal <nbindal@nvidia.com>
Tested-by: Nitin Bindal <nbindal@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agovideo: tegra: Fix filtering with SCAN_COLUMN on
Michael Frydrych [Fri, 29 Nov 2013 10:11:58 +0000]
video: tegra: Fix filtering with SCAN_COLUMN on

When SCAN_COLUMN is enabled, swap input width and height
when deciding if filter needs to be turned on for respective
dimension.

Bug 1413155

Change-Id: I9d6048e567fbbbb90a27b27cb66418be9ecc9bfc
Signed-off-by: Michael Frydrych <mfrydrych@nvidia.com>
Reviewed-on: http://git-master/r/350551
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoARM: dts: tn7c: Update dvfs table to v1.1_0106
Martin Chi [Tue, 7 Jan 2014 07:03:14 +0000]
ARM: dts: tn7c: Update dvfs table to v1.1_0106

http://nvbugs/1417014/12

bug 1417014

Change-Id: I260166bc65ea7433e7a7e646ae68a6a9f087fc89
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/352547
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

5 years agomisc:tegra-baseband:USB_HOST_RELOAD for Bruce BB
Martin Chi [Tue, 7 Jan 2014 05:08:37 +0000]
misc:tegra-baseband:USB_HOST_RELOAD for Bruce BB

Add USB_HOST_RELOAD capability for Bruce modem.

bug 1431677

Change-Id: I1c88aac7a6640f8a867509597d842f559d991d68
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/352523
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Gray Lei <glei@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agoasoc: rt5639: fix null pointer expection.
Harry Hong [Mon, 6 Jan 2014 05:54:53 +0000]
asoc: rt5639: fix null pointer expection.

if codec structure doesn't have hw_read(), skip calling
it in rt5639_codec_show.

Bug 1433596
Bug 1434588

Change-Id: I4e7d33d8f01e54b476e1b084a256f2b525a9b23f
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/352132

5 years agoARM: dts: tegratab-ers: correct dc property
Min-wuk Lee [Thu, 2 Jan 2014 02:38:56 +0000]
ARM: dts: tegratab-ers: correct dc property

nvidia,emc-clk-rate is right property for default
emc clk rate, not nvidia,emc_clk_rate

Bug 1240921

Change-Id: I64d63731262ca2a3bf2ddb2276ee2e067fe92752
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/351161
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoRevert "ARM:tegra:tn7c:Enable proximity sensor LTR659PS"
Martin Chi [Sun, 5 Jan 2014 07:35:18 +0000]
Revert "ARM:tegra:tn7c:Enable proximity sensor LTR659PS"

Without calibration, when doing call, the screen may
be off sometimes. So, will enable this until finish
proximity sensor calibration

bug 1434536

Signed-off-by: Martin Chi <mchi@nvidia.com>
Change-Id: I043060f317f44565c20891e330a450d4a7511a4d
Reviewed-on: http://git-master/r/352031

5 years agoARM:tegra:tn7c:Enable proximity sensor LTR659PS
Chen Jian [Thu, 2 Jan 2014 07:43:05 +0000]
ARM:tegra:tn7c:Enable proximity sensor LTR659PS

Bug 1410904

Change-Id: Iaeca98d5ed3316d96993028b5ddf4b4790b44b0e
Signed-off-by: Chen Jian <jackchen@nvidia.com>
Reviewed-on: http://git-master/r/351247
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Martin Chi <mchi@nvidia.com>
Reviewed-by: Martin Chi <mchi@nvidia.com>

5 years agoRM:tegra:tn7c:Update LTR659PS drv with TN7C
Chen Jian [Thu, 2 Jan 2014 07:39:24 +0000]
RM:tegra:tn7c:Update LTR659PS drv with TN7C

  - Add PS parameters.
  - Add sysfs node: ps_data and enable
  - Update interrupt routine.
  - Initialize sensor with default paramters.
  - Update suspend/resume routine.
  - Add voice call proceding.

Bug 1410904

Change-Id: I1569e5bae3c1dbc5c3b65c47d1725bf0f45f06fa
Signed-off-by: Chen Jian <jackchen@nvidia.com>
Reviewed-on: http://git-master/r/351242
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Martin Chi <mchi@nvidia.com>

5 years agoARM:tegra:tn7c:Add LTR569PS regulator
Chen Jian [Thu, 2 Jan 2014 06:58:58 +0000]
ARM:tegra:tn7c:Add LTR569PS regulator

- add Add LTR569PS regulator
- update copyright information

Bug 1410904

Change-Id: I210239ec96305f59423815380b42cdd17783f699
Signed-off-by: Chen Jian <jackchen@nvidia.com>
Reviewed-on: http://git-master/r/351218
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Martin Chi <mchi@nvidia.com>

5 years agoARM:tegra:tn7c:Add proximity sensor LTR659PS
Chen Jian [Thu, 2 Jan 2014 06:54:00 +0000]
ARM:tegra:tn7c:Add proximity sensor LTR659PS

- GPIO: TEGRA_GPIO_PX3 as interrupt pin.
- Threshold initial value.
- Update copyright information

Bug 1410904

Change-Id: Ic20e21b25a1b9990efa71ad7f1b0b3b12575f23f
Signed-off-by: Chen Jian <jackchen@nvidia.com>
Reviewed-on: http://git-master/r/351216
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Martin Chi <mchi@nvidia.com>

5 years agoARM:tegra:tn7c:proximity sensor LTR659PS
Chen Jian [Thu, 2 Jan 2014 06:46:33 +0000]
ARM:tegra:tn7c:proximity sensor LTR659PS

Bug 1410904

Change-Id: Iec927ec18063cfcab399ab9a4eb22ef23a91ce8e
Signed-off-by: Chen Jian <jackchen@nvidia.com>
Reviewed-on: http://git-master/r/351213
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Martin Chi <mchi@nvidia.com>

5 years agovideo: tegra: dc: hotplug_report for DT
Chen Jian [Fri, 3 Jan 2014 05:35:38 +0000]
video: tegra: dc: hotplug_report for DT

  - Change pin pull-down state when HDMI cable
    plug/unplug
  - Update copyright information as well.

Bug 1431621

Change-Id: I07ab372683d74aeff1581af3972235bfd4077d6a
Signed-off-by: Chen Jian <jackchen@nvidia.com>
Reviewed-on: http://git-master/r/351625
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Min-wuk Lee <mlee@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Martin Chi <mchi@nvidia.com>

5 years agoarm: dts: tn7c: add hotlug_report in devicetree
Chen Jian [Fri, 3 Jan 2014 06:11:47 +0000]
arm: dts: tn7c: add hotlug_report in devicetree

  - Add hotplug_report property
  - Update copyright information as well.

Bug 1431621

Change-Id: I9411a82103f1dac42bb2ad28144e1b4f51ad220d
Signed-off-by: Chen Jian <jackchen@nvidia.com>
Reviewed-on: http://git-master/r/351624
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Min-wuk Lee <mlee@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Martin Chi <mchi@nvidia.com>

5 years agoARM: tegra: usb: add remote wakeup callback
Neil Patel [Fri, 11 Oct 2013 18:31:43 +0000]
ARM: tegra: usb: add remote wakeup callback

Drivers can take actions based on remote wakeup events to prevent a
device or the bus from suspending before the incoming data is handled.

Bug 1362837
Bug 1430974

Change-Id: I55cf26663cbf00bd2eccc60f18aa95ab5777e604
Signed-off-by: Neil Patel <neilp@nvidia.com>
Reviewed-on: http://git-master/r/289968
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Steve Lin <stlin@nvidia.com>
Reviewed-by: Gray Lei <glei@nvidia.com>
Reviewed-on: http://git-master/r/349731
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/351588
GVS: Gerrit_Virtual_Submit

5 years agomisc: tegra-baseband: short autosuspend for native remote wake
Neil Patel [Fri, 25 Oct 2013 14:29:39 +0000]
misc: tegra-baseband: short autosuspend for native remote wake

Add support for short autosuspend when native remote wakeup is used.

Bug 1362837
Bug 1430974

Change-Id: I13cab913645d00a1d37caabf0d274bb2e557e0c3
Signed-off-by: Neil Patel <neilp@nvidia.com>
Reviewed-on: http://git-master/r/324075
(cherry picked from commit c3d9eaafe053f5d8f8859811e01e3a0dac314ba3)
Reviewed-on: http://git-master/r/328441
GVS: Gerrit_Virtual_Submit
Reviewed-by: Steve Lin <stlin@nvidia.com>
Reviewed-on: http://git-master/r/349730
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/351587

5 years agomisc: tegra-baseband: take wakelock after remote wakeup
Neil Patel [Thu, 10 Oct 2013 00:31:19 +0000]
misc: tegra-baseband: take wakelock after remote wakeup

Take a wakelock after a remote wakeup event occurs. This is done to
help ensure we do not suspend before the upper layers can handle
incoming data.

Bug 1362837
Bug 1430974

Change-Id: I7dc4ee43e4443e9ac0635eac179427c2348238c8
Signed-off-by: Neil Patel <neilp@nvidia.com>
Reviewed-on: http://git-master/r/289962
Reviewed-by: Steve Lin <stlin@nvidia.com>
Reviewed-by: Gray Lei <glei@nvidia.com>
Reviewed-on: http://git-master/r/349729
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/351586
GVS: Gerrit_Virtual_Submit

5 years agomisc: tegra: Disable short delay if wake gpio not
Martin Chi [Fri, 3 Jan 2014 03:24:09 +0000]
misc: tegra: Disable short delay if wake gpio not
 defined.

Disable short_autosuspend_delay for Modem device, when wake gpio
is not used.

Bug 1362837
Bug 1430974

Change-Id: I9b36becead27903ad6e063ecb450e01c1c56dd5f
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/351585
GVS: Gerrit_Virtual_Submit

5 years agosecurity: tf_driver: integrate latest TL release
Hyung Taek Ryoo [Sat, 21 Dec 2013 01:36:53 +0000]
security: tf_driver: integrate latest TL release

Tegra4 version: TF_TEGRA4_AC02.08p7.40714

Bug 1423099

Synchronizes TF's LP1 wakeup with the recent changes of
LP1 sleep sequence in the BSP.

Change-Id: I41576f465a75e43f394a095991f7e079f4032578
Signed-off-by: Hyung Taek Ryoo <hryoo@nvidia.com>
Reviewed-on: http://git-master/r/348298
(cherry picked from commit e74d2529e015ae6b8bea02cf95880f68228e4364)
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/351097
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>

5 years agoASoC: Tegra: Fix the issue about capture clock
Lei Fan [Wed, 25 Dec 2013 06:06:19 +0000]
ASoC: Tegra: Fix the issue about capture clock

During a capture, playback_ref_count will be 0 and capture_ref_count
will be 1, the clock tree will not be set. But it needs to be set.

Bug 1429860

Change-Id: Ib40d757d56d7093da92a12ba355d0003d8a1564d
Signed-off-by: Lei Fan <leif@nvidia.com>
Reviewed-on: http://git-master/r/351106
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vijay Mali <vmali@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Danny Song <dsong@nvidia.com>

5 years agoASoC: Tegra: Softreset RXCIF when it is disabled
Lei Fan [Wed, 25 Dec 2013 06:03:01 +0000]
ASoC: Tegra: Softreset RXCIF when it is disabled

Sometime the rxcif of AHUB will have some residual bits, because the
rxcif is in incorrect state, it may cause that capture app cannot
get any data form DAP.The issue can be solved by resetting the rxcif
when it is disabled.

Bug 1389711
Bug 1429860

Change-Id: I10aa37de6ea0c78d85ce30e6b5538e06ff77d5b5
Signed-off-by: Lei Fan <leif@nvidia.com>
Reviewed-on: http://git-master/r/351105
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vijay Mali <vmali@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Danny Song <dsong@nvidia.com>

5 years agosecurity: tf_driver: integrate latest TL release
Martin Chi [Thu, 2 Jan 2014 05:54:12 +0000]
security: tf_driver: integrate latest TL release

Tegra4 version: TF_TEGRA4_AC02.08p6.40683
This version fixes LP1 wakeup sequence.
The major problem was introduced by mistake in release 2.0.8p4.
Synchronized SDRAM wakeup sequence in TF with the latest BSP.
The other features are preserved unchanged.

Bug 1363940
Bug 1380505

Change-Id: Ieb3a089f5f5a964186ad11b691acc254b4216f9d
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/351176
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

5 years agoARM: Tegra: TN7C: fix wrong pinmux configuration
Martin Chi [Thu, 26 Dec 2013 07:55:28 +0000]
ARM: Tegra: TN7C: fix wrong pinmux configuration

some pins are not configured in GPIO_INIT
fix the wrong config to GPIO_PP4 that is used for
bt audio

bug 1429860

Change-Id: I20428458770471ed10f2831ea3f21df3661e99c2
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/349689
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Lei Fan <leif@nvidia.com>
Reviewed-on: http://git-master/r/351109

5 years agoARM: Tegra: TN7C:export GPIO_PV0 for userspace
David Pu [Tue, 24 Dec 2013 07:49:30 +0000]
ARM: Tegra: TN7C:export GPIO_PV0 for userspace

GPIO_PV0 will be used to detect if modem is present.
export it via sysfs.

Bug 1428253

Change-Id: I21dd00645b80fc07f14145432ec7dd8924d90ea6
Signed-off-by: David Pu <dpu@nvidia.com>
Reviewed-on: http://git-master/r/349315
(cherry picked from commit c720d4d136eb4aedbd560fc5bbbaf4db5affefa6)
Reviewed-on: http://git-master/r/351108
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>

5 years agoARM:TN7C:boot:dts:hdmi pll(0,1)
qtang [Wed, 25 Dec 2013 06:36:43 +0000]
ARM:TN7C:boot:dts:hdmi pll(0,1)

Change hdmi pll0 & pll1 register values.

Bug 1430553

Change-Id: Iacaeda8216d75c4b3c8700049136df1d36f18307
Signed-off-by: qtang <qtang@nvidia.com>
Reviewed-on: http://git-master/r/349631
Reviewed-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/351107
Tested-by: Martin Chi <mchi@nvidia.com>

5 years agoARM:tegra:tn7c:boot:dts:Compass Orientation
qtang [Tue, 24 Dec 2013 02:55:27 +0000]
ARM:tegra:tn7c:boot:dts:Compass Orientation

Change Compass AK8963C Orientation matrix according to
chip mounting.

Bug: 1424109

Change-Id: Icd03767b4fb0cfaf780ceb3328032c5891fe39bb
Signed-off-by: qtang <qtang@nvidia.com>
Reviewed-on: http://git-master/r/349204
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/351098

5 years agotegranote7c: config: set nls default to utf8
David Pu [Tue, 24 Dec 2013 04:28:46 +0000]
tegranote7c: config: set nls default to utf8

applied below change for tegranote7c defconfig:

tegratab: config: set nls default to utf8

For support Unicode file name with NTFS filesystem format, add NLS UTF8
defconfig.
Bug 1425034

Reviewed-on: http://git-master/r/348006
Signed-off-by: Hyong Bin Kim <hyongbink@nvidia.com>

Reviewed-on: http://git-master/r/349235
(cherry picked from commit 14eb8d2b36e924f8129dd5c0d2a8b7ac3c055b58)

Signed-off-by: David Pu <dpu@nvidia.com>
Change-Id: I70deea76b55048802186be90cabc3bf90303d73c
Reviewed-on: http://git-master/r/351207
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Martin Chi <mchi@nvidia.com>

5 years agoARM:tegra:tn7c:switch to LP cluster before LP1
Danny Song [Thu, 2 Jan 2014 07:41:16 +0000]
ARM:tegra:tn7c:switch to LP cluster before LP1

Tegra should be switched to LP cluster before
entering LP1.

Bug 1423099

Change-Id: I1db79d4c12232176d9f2f06544eaed70aebc8fae
Signed-off-by: Danny Song <dsong@nvidia.com>
Reviewed-on: http://git-master/r/351245
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Martin Chi <mchi@nvidia.com>

5 years agoARM: dts: tn7c: correct dc emc-clk property
Martin Chi [Mon, 30 Dec 2013 14:38:59 +0000]
ARM: dts: tn7c: correct dc emc-clk property

nvidia,emc-clk-rate is right property for default
emc clk rate, not nvidia,emc_clk_rate

Bug 1240921

Change-Id: I1ee9ff74ecbf86b35ba20cbfc006b25b52f932c5
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/350647

5 years agoARM:tegra:TN7C: don't set PK6 fix reg as open drain.
David Pu [Wed, 18 Dec 2013 09:39:40 +0000]
ARM:tegra:TN7C: don't set PK6 fix reg as open drain.

vdd_hdmi_5v0 won't be enabled if TEGRA_GPIO_PK6 is
set as open drain since it is a output GPIO, remove
open drain flag in fixed reg setting.

Bug 1410152

Change-Id: I81f7294e87752742443a3e5ee57a3b62b7a18ae4
Signed-off-by: David Pu <dpu@nvidia.com>
Reviewed-on: http://git-master/r/350645
GVS: Gerrit_Virtual_Submit
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>

5 years agoasoc:tegra: correct the codec name and its dai
Lei FAN [Wed, 18 Dec 2013 17:09:48 +0000]
asoc:tegra: correct the codec name and its dai

The codec name and its dai name is not right, it will cause the sound
card not to be registered.

Bug 1410909

Change-Id: Ibbde3be3182e839cccc69fd5df90d5e745530c1a
Signed-off-by: Lei FAN <leif@nvidia.com>
Reviewed-on: http://git-master/r/347105
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/350644
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

5 years agoARM: tegra:TN7C: Enable audio clock for voice call
Lei Fan [Thu, 12 Dec 2013 10:22:11 +0000]
ARM: tegra:TN7C: Enable audio clock for voice call

Enable DAPs which is used by voice call for tegranote7c,

Bug 1410909
Bug 1418728

Change-Id: I20e4df26ee0ac9e1d51f5e6790abdc20532805a5
Signed-off-by: Lei Fan <leif@nvidia.com>
Reviewed-on: http://git-master/r/344768
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/350643
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

5 years agoasoc: tegra: Add kernel driver for voice call
Lei Fan [Thu, 12 Dec 2013 10:27:54 +0000]
asoc: tegra: Add kernel driver for voice call

Add voice call support for tegranote7c, so that there are some voice
call devices for calling in sound card.

Bug 1410909
Bug 1418728

Change-Id: I2c34d1d5bad9f6f30a497a6673bb5b7f2d8c0ff3
Signed-off-by: Lei Fan <leif@nvidia.com>
Reviewed-on: http://git-master/r/344769
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/350642
GVS: Gerrit_Virtual_Submit

5 years agoinput:misc:mpu:added new reglator for powerup seq.
qtang [Fri, 6 Dec 2013 08:38:41 +0000]
input:misc:mpu:added new reglator for powerup seq.

Add another regulator vlogic_gyro into regulator list
of the gyro driver.

Bug 1418728

Signed-off-by: David Pu <dpu@nvidia.com>
Signed-off-by: qtang <qtang@nvidia.com>
Change-Id: I93fd8181a575062b16ae9e1af7c0dbe14d866713
Reviewed-on: http://git-master/r/339057
Reviewed-on: http://git-master/r/350640
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: David Yu (Engrg-SW) <davyu@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>

5 years agoARM: tegra: TN7C: revise avdd_hdmi_pll reg for P1988
Martin Chi [Mon, 30 Dec 2013 14:24:53 +0000]
ARM: tegra: TN7C: revise avdd_hdmi_pll reg for P1988

Bug 1410152

Change-Id: Ie5bea317dd2f19bcf93095dd160e126f4b7b9882
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/350639
Reviewed-by: David Pu <dpu@nvidia.com>
GVS: Gerrit_Virtual_Submit