]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/log
hercules2020/nv-tegra/linux-4.4.git
7 years agomisc: fuse: make type of tegra_get_chip_id() to consistent
Laxman Dewangan [Fri, 9 Dec 2016 17:01:33 +0000 (22:31 +0530)]
misc: fuse: make type of tegra_get_chip_id() to consistent

For some Tegra SOCs, the function tegra_get_chip_id() returns u8
and for some other it returns u32.

Make the return type to be consistent and should return u8 data type.

bug 200260692

Change-Id: I1a2204ed2b34f706543a7b9630546c7fcb16de5a
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1268604
GVS: Gerrit_Virtual_Submit
Reviewed-by: Shardar Mohammed <smohammed@nvidia.com>
Reviewed-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
7 years agofirmware: tegra: Get rid of mach/irq.h include
Laxman Dewangan [Fri, 9 Dec 2016 13:47:53 +0000 (19:17 +0530)]
firmware: tegra: Get rid of mach/irq.h include

firmware/tegra/main_t210 driver is including the mach/irq.h
which are unnecessarily. Remove this include.

bug 200259459

Change-Id: I62da9c925ed4e7649de5f30eb9b4024c75bb64e6
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1268555
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
7 years agoplatform: tegra: Get rid of mach/irq.h include
Laxman Dewangan [Fri, 9 Dec 2016 13:42:42 +0000 (19:12 +0530)]
platform: tegra: Get rid of mach/irq.h include

Some of platform/tegra driver are including the mach/irq.h
which are unnecessarily. Remove this include.

bug 200259459

Change-Id: Ic7fea0f3b4864ec93ddd12b0f7cdc7ab0b544ec8
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1268554
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
7 years agousb: tegra: Get rid of board.h include
Laxman Dewangan [Fri, 9 Dec 2016 13:19:40 +0000 (18:49 +0530)]
usb: tegra: Get rid of board.h include

The tegra ehci/otg driver are including the mach-tegra/board.h
unnecessarily. Remove this include.

bug 200259459

Change-Id: Iadb37341dca1d57c06248ef4e813dc43fcc0dc3e
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1268553
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
7 years agoplatform: tegra: dumper:Get rid of board.h include
Laxman Dewangan [Fri, 9 Dec 2016 13:18:08 +0000 (18:48 +0530)]
platform: tegra: dumper:Get rid of board.h include

The nvdumper source code is including the mach-tegra/board.h
unnecessarily. Remove this include.

bug 200259459

Change-Id: I3f3a90fc0c2b629b6ee2d2cc06b083a004ef932a
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1268552
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
7 years agoarm64: mm: dma-mapping: Fix incorrect align of start and end
Krishna Reddy [Tue, 6 Dec 2016 19:21:21 +0000 (11:21 -0800)]
arm64: mm: dma-mapping: Fix incorrect align of start and end

Fix incorrect align of start and end of dma contiguous
region during remap of it.

Bug 1769772

Change-Id: I6b94393085c27e924474c2622f5d024938839e75
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/1266021
GVS: Gerrit_Virtual_Submit

7 years agoiio: imu: nvi: v.337 Fix DMP gyro
Erik Lilliebjerg [Tue, 1 Nov 2016 15:54:52 +0000 (08:54 -0700)]
iio: imu: nvi: v.337 Fix DMP gyro

- Fix ICM DMP gyroscope data output to match the standard FIFO data output.

Bug 1831500

Change-Id: Ie26071fe211c390a03d4f912815ed00a89beff8b
Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-on: http://git-master/r/1245846
(cherry picked from commit d686b0fd4d60b0a9fc8f7bfd5408f6e557a16684)
Reviewed-on: http://git-master/r/1267106
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Robert Collins <rcollins@nvidia.com>
7 years agomods_clock: Add list of clocks for T210
Michael Wang [Wed, 31 Aug 2016 23:19:51 +0000 (16:19 -0700)]
mods_clock: Add list of clocks for T210

Add list of clocks for T210, since T210 will be using the Common Clock
Framework in kernel 4.4.

Change-Id: I278087c52ba58809d64930d95e5a504ae8b34700
Signed-off-by: Michael Wang <michawang@nvidia.com>
Reviewed-on: http://git-master/r/1217249
Reviewed-by: Vivek Aseeja <vaseeja@nvidia.com>
Tested-by: Vivek Aseeja <vaseeja@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
7 years agodevfreq: clip max/min frequencies in store APIs
Deepak Nibade [Wed, 7 Dec 2016 08:13:09 +0000 (13:43 +0530)]
devfreq: clip max/min frequencies in store APIs

In max_freq_store(), we allow any large to be
stored as max_freq
Similarly in min_freq_store() we allow any
lower value as min_freq

Fix this so that we clip max_freq to highest
freq value supported and clip min_freq to
lowest freq value supported

Bug 200260336

Change-Id: I6b11f6a5fd31f9411299dbeea1d3a528e1077bc5
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/1266463
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
7 years agoarm: mach-tegra: Get rid of devices.h
Laxman Dewangan [Thu, 8 Dec 2016 12:43:55 +0000 (18:13 +0530)]
arm: mach-tegra: Get rid of devices.h

The devices.h export all Tegra devices to get it registered
from board files. However, all Tegra platforms has moved to
DT and hence it is not required to register the devices from
DT.

Remove the header devices.h.

bug 200259459

Change-Id: Ic452f6ef720f154638f641ab96bdefe97c28032f
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1267576
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
7 years agoarm: mach-tegra: Get rid of apbio.{c,h}
Laxman Dewangan [Thu, 8 Dec 2016 12:12:08 +0000 (17:42 +0530)]
arm: mach-tegra: Get rid of apbio.{c,h}

The apbio.c and apbio.h neither compiled nor used.
Remove these files from the tree as these were just
copied from older kernel version.

bug 200259459

Change-Id: Ie93c5efd690f2bec207e8a97ef60c166fa8627c1
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1267575
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
7 years agoarm: mach-tegra: Get rid of gpio-names header
Laxman Dewangan [Thu, 8 Dec 2016 11:59:59 +0000 (17:29 +0530)]
arm: mach-tegra: Get rid of gpio-names header

The header gpio-names are no more required as everything
moved to DT.

Remove the header file and correct the source code which has
included this unnecessarily.

bug 200259459

Change-Id: Icd3764fe6b743c29282776e23dc73982109913be
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1267555
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
7 years agosound: soc: tegra-alt: Move mach/tegra_asoc_pdata.h to include/linux
Laxman Dewangan [Thu, 8 Dec 2016 09:29:24 +0000 (14:59 +0530)]
sound: soc: tegra-alt: Move mach/tegra_asoc_pdata.h to include/linux

The include header mach/tegra_asoc_pdata.h is moved to
include/linux/platform_data in order to keep all generic platform
data to this folder and get rid of mach-tegra/include/mach/*.h.
Refer the correct header location for tegra-alt drivers.

bug 200259459

Change-Id: Iaf793e3f4505a1e3ad722dbbb3e5b5dad38580ca
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1267478
Reviewed-by: Timo Alho <talho@nvidia.com>
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agoarm: mach-tegra: include: Remove unused header tegra-board-id.h
Laxman Dewangan [Wed, 7 Dec 2016 10:07:00 +0000 (15:37 +0530)]
arm: mach-tegra: include: Remove unused header tegra-board-id.h

The header file tegra-board-id.h is no more used by any source
code and hence removing this header. This header contains the
board IDS which is not required any more after everything moved
to DT.

bug 200259459

Change-Id: I339e16148c16a87b21b6d3a06e4dba3075854996
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1266565
Reviewed-by: Timo Alho <talho@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agosoc/tegra: switch to CVB PLL table for Tegra210 CPU DVFS
Joseph Lo [Thu, 1 Dec 2016 02:45:19 +0000 (10:45 +0800)]
soc/tegra: switch to CVB PLL table for Tegra210 CPU DVFS

Drop the static CPU freq/volt table, the table was used for when using
PLL as CPU clock source. This patch replaces it by CVB PLL table, which
will determine the DVFS table based on some calculations of the table,
speedo and voltage scale vaules.

The table is based on DVFS table version p4v64_p4Av07.

Bug 200255986

Change-Id: I6af57f8c6d0c59bdbd615f7ae407173b17693010
Signed-off-by: Joseph Lo <josephl@nvidia.com>
Reviewed-on: http://git-master/r/1262765
Reviewed-by: Shreshtha Sahu <ssahu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agosoc/tegra: fuse: update speedo IDs for Tegra210
Joseph Lo [Wed, 30 Nov 2016 03:50:25 +0000 (11:50 +0800)]
soc/tegra: fuse: update speedo IDs for Tegra210

Bug 200255986

Change-Id: Iacf188f4cccea03d3a82f7ad18455c18681c506d
Signed-off-by: Joseph Lo <josephl@nvidia.com>
Reviewed-on: http://git-master/r/1262213
Reviewed-by: Shreshtha Sahu <ssahu@nvidia.com>
Reviewed-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agosoc/tegra: update Tegra210 CPU DVFS table
Joseph Lo [Wed, 30 Nov 2016 06:04:56 +0000 (14:04 +0800)]
soc/tegra: update Tegra210 CPU DVFS table

Update Tegra210 CPU DVFS table according to version p4v64_p4Av07.

Bug 200255986

Change-Id: Id7fc63a69883c03c9a307c472d62f38cc0699162
Signed-off-by: Joseph Lo <josephl@nvidia.com>
Reviewed-on: http://git-master/r/1262212
Reviewed-by: Shreshtha Sahu <ssahu@nvidia.com>
Reviewed-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agoclk: tegra: dfll: update Tegra210 CPU DVFS table
Joseph Lo [Wed, 30 Nov 2016 09:07:44 +0000 (17:07 +0800)]
clk: tegra: dfll: update Tegra210 CPU DVFS table

Update Tegra210 CPU DVFS table according to version p4v64_p4Av07.

Bug 200255986

Change-Id: I60cbc6648e219ef58a3233fa90bbc02d1cdd403a
Signed-off-by: Joseph Lo <josephl@nvidia.com>
Reviewed-on: http://git-master/r/1262211
Reviewed-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-by: Shreshtha Sahu <ssahu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agodefconfig: Enable HDMI2FPDLINK config
Deepak Bhosale [Thu, 24 Nov 2016 00:52:52 +0000 (16:52 -0800)]
defconfig: Enable HDMI2FPDLINK config

P2394 AIC card supports HDMI2FPDLINK path for
P2382-10 board. Enable config option in kernel config
to make sure driver gets built for this support.

zImage is increased by 3734 bytes
Image is increased by 17152 bytes

EVLR-438

Change-Id: I7d9fe5a14c20efca23ff62967a364cb25ecc2e76
Signed-off-by: Deepak Bhosale <dbhosale@nvidia.com>
Reviewed-on: http://git-master/r/1259180
Reviewed-by: Tow Wang <toww@nvidia.com>
Reviewed-by: Sungwook Kim <sungwookk@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vladislav Buzov <vbuzov@nvidia.com>
7 years agoARM64: tegra210: Enable Bluetooth on Kernel-4.4
Gaurav Asati [Thu, 1 Dec 2016 04:35:50 +0000 (10:05 +0530)]
ARM64: tegra210: Enable Bluetooth on Kernel-4.4

Bug 200244810

boot.img size is increased by 18432 bytes

Change-Id: I6bb130afb66ac5731e5ba1ce7293ed9d27471104
Signed-off-by: Gaurav Asati <gasati@nvidia.com>
Reviewed-on: http://git-master/r/1262794
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
7 years agovideo: tegra: cleanup panel selection code
Santosh Reddy Galma [Thu, 3 Nov 2016 04:52:38 +0000 (10:22 +0530)]
video: tegra: cleanup panel selection code

-remove macro HDMI_NODE used for chips less than T210
-remove dc_or_node_names global array and make
 dc_or_node_name a member of tegra_dc_platform_data.

TDS-1305

Change-Id: I574b17aa43ac190e2d415b7b58a5f352df94bd22
Signed-off-by: Santosh Reddy Galma <galmar@nvidia.com>
Reviewed-on: http://git-master/r/1246842
Reviewed-by: Jani Uusi-Rantala <juusirantala@nvidia.com>
Tested-by: Jani Uusi-Rantala <juusirantala@nvidia.com>
7 years agoplatform: tegra: enable denver_serr only for t18x
Rohit Khanna [Mon, 21 Nov 2016 20:46:58 +0000 (12:46 -0800)]
platform: tegra: enable denver_serr only for t18x

Enable denver_serr_init only for t18x.

Bug 1844100
Bug 200235747

Change-Id: I1d2145464fbf3dbd5bc3add689374ce88ca57b9d
Signed-off-by: Rohit Khanna <rokhanna@nvidia.com>
Reviewed-on: http://git-master/r/1257457
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Navneet Kumar <navneetk@nvidia.com>
7 years agoarm: mach: include: Move mach/gpufuse.h to include/soc/tegra
Laxman Dewangan [Thu, 8 Dec 2016 10:00:23 +0000 (15:30 +0530)]
arm: mach: include: Move mach/gpufuse.h to include/soc/tegra

The include header mach/mach/gpufuse.h is moved to include/soc/tegra
in order to keep all SOC specific header in include/soc/<chip>
and get rid of mach-tegra/include/mach/*.h.

bug 200259459

Change-Id: I7a528a092312a94de8cd9bb27293d3ab7eeaac39
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1267496
Reviewed-by: Timo Alho <talho@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agomisc: mod: Use linux/tegra_smmu.h instead of mach/tegra_smmu.h
Laxman Dewangan [Thu, 8 Dec 2016 08:42:03 +0000 (14:12 +0530)]
misc: mod: Use linux/tegra_smmu.h instead of mach/tegra_smmu.h

There is duplication of header tegra_smmu.h in include/linux and
mach-tehra/include/mach.

Get rid of mach/tegra_smmu.h and change the client driver to use
the include/linux/tegra_smmu.h.

bug 200259459

Change-Id: I830f509338bd18d2ab3687dfbb7f94d09b0d3a59
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1267458
Reviewed-by: Lovie Wang <loview@nvidia.com>
Tested-by: Lovie Wang <loview@nvidia.com>
Reviewed-by: Timo Alho <talho@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agoarm: mach-tegra: include: Remove unused header memory.h
Laxman Dewangan [Thu, 8 Dec 2016 08:29:38 +0000 (13:59 +0530)]
arm: mach-tegra: include: Remove unused header memory.h

The header file memory.h is no more used by any source
code and hence removing this header.

bug 200259459

Change-Id: Ia3e454aab4ff59d0fac09943d2dbfd8c2b373974
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1267457
Reviewed-by: Timo Alho <talho@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agoarm: mach-tegra: include: Remove unused header edp.h
Laxman Dewangan [Thu, 8 Dec 2016 08:26:24 +0000 (13:56 +0530)]
arm: mach-tegra: include: Remove unused header edp.h

The header file edp.h is no more used by any source
code and hence removing this header.

bug 200259459

Change-Id: Ie8fc599e06d14ad70e1bc0b679eff09fbeddbf3e
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1267456
Reviewed-by: Timo Alho <talho@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agoarm: mach-tegra: include: Remove unused header board_id.h
Laxman Dewangan [Thu, 8 Dec 2016 08:24:44 +0000 (13:54 +0530)]
arm: mach-tegra: include: Remove unused header board_id.h

The header file board_id.h is no more used by any source
code and hence removing this header. This header contains the
board IDS structure which is not required any more after
everything moved to DT.

bug 200259459

Change-Id: I60ee4e868e34ce5ff9ee31e76787a6ff4c6da024
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1267455
Reviewed-by: Timo Alho <talho@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agosoc/tegra: fuse: export tegra_get_platform
Vivek Aseeja [Mon, 5 Dec 2016 19:16:42 +0000 (11:16 -0800)]
soc/tegra: fuse: export tegra_get_platform

the mods kernel driver is compiled as a module and requires
tegra_get_platform() to be exported as a symbol to compile correctly.

Bug 1834200

Change-Id: I9bc2ef421ea377083f5ce8aa4f218275b0b3b690
Signed-off-by: Vivek Aseeja <vaseeja@nvidia.com>
Reviewed-on: http://git-master/r/1265312
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
7 years agoARM64: config: t18: enable UASP gadget protocol
Venkat Reddy Talla [Tue, 6 Dec 2016 10:46:38 +0000 (16:16 +0530)]
ARM64: config: t18: enable UASP gadget protocol

Enabling UASP gadget protocol config which is
required to communicate with a USB Host.
Enabling below configs for kernel unification.
CONFIG_TARGET_CORE=y
CONFIG_TCM_IBLOCK=y
CONFIG_TCM_FILEIO=y

boot.img size increased by 288768 bytes

Bug 200256189

Change-Id: Idc5a5d54ed0efbe1f036c61f32a99e23630992ac
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/1265807
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
7 years agocrypto:pka1: fix private key check in driver
Shravani Dingari [Tue, 6 Dec 2016 08:40:40 +0000 (14:10 +0530)]
crypto:pka1: fix private key check in driver

compare private key and order in a loop
instead of memcmp due to endianness issues

Change-Id: If937c6d9eda7355d9be3ebdaf0272d2f799fcffc
Signed-off-by: Shravani Dingari <shravanid@nvidia.com>
Reviewed-on: http://git-master/r/1265724
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rakesh Babu Bodla <rbodla@nvidia.com>
Reviewed-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
7 years agodefconfig: Add t210 gnu linux defconfig
sreenivasulu velpula [Tue, 29 Nov 2016 18:16:54 +0000 (23:46 +0530)]
defconfig: Add t210 gnu linux defconfig

Initial config copied from tegra21_defconfig

Bug  200251658

Change-Id: I10ca61235d318f2deb5a1ee1aea9ad17fd0ccfbb
Signed-off-by: sreenivasulu velpula <svelpula@nvidia.com>
Reviewed-on: http://git-master/r/1256315
GVS: Gerrit_Virtual_Submit
Reviewed-by: Amlan Kundu <akundu@nvidia.com>
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
7 years agoarm: tegra: get rid of nct header
Laxman Dewangan [Wed, 7 Dec 2016 11:08:03 +0000 (16:38 +0530)]
arm: tegra: get rid of nct header

NCT support is not provided in the kernel completely and
hence removing the partial changes related to nct.

bug 200259459

Change-Id: Ic0e1666dfa5b9565b3ebf7b852201069d074af32
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1266587
Reviewed-by: Timo Alho <talho@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agoplatform: tegra: emc Remove code which need NCT
Laxman Dewangan [Wed, 7 Dec 2016 11:26:49 +0000 (16:56 +0530)]
platform: tegra: emc Remove code which need NCT

NCT support is not available in the kernel 4.4 onwards and
hence removing the code which required NCT.

bug 200259459

Change-Id: I12fd5cfd64296a2fa4e2bca593ed952e2db6affd
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1266586
Reviewed-by: Timo Alho <talho@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agoplatform: tegra: nvdumper: Remove code which need NCT
Laxman Dewangan [Wed, 7 Dec 2016 11:26:01 +0000 (16:56 +0530)]
platform: tegra: nvdumper: Remove code which need NCT

NCT support is not available in the kernel 4.4 onwards and
hence removing the code which required NCT.

bug 200259459

Change-Id: Ice2368829516f358138f1a997f4f37d3449f1fd5
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1266585
Reviewed-by: Timo Alho <talho@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agonet: wireless: bcmdhd: Remove code which need NCT
Laxman Dewangan [Wed, 7 Dec 2016 11:24:25 +0000 (16:54 +0530)]
net: wireless: bcmdhd: Remove code which need NCT

NCT support is not available in the kernel 4.4 onwards and
hence removing the code which required NCT.

bug 200259459

Change-Id: I025834c95acdea7a8cec591a8447060b3ca14837
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1266584
Reviewed-by: Timo Alho <talho@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agoarm: mach-tegra: include: Remove powergate header
Laxman Dewangan [Wed, 7 Dec 2016 10:33:10 +0000 (16:03 +0530)]
arm: mach-tegra: include: Remove powergate header

The header mach/powergate.h is not used and hence removing it
from mach/include.

bug 200259459

Change-Id: Ib2ae18b48a9a2d6d02841c8c595acf9360c7ce90
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1266568
Reviewed-by: Timo Alho <talho@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agoarm: mach-tegra: include: Remove nvmap header
Laxman Dewangan [Wed, 7 Dec 2016 10:28:51 +0000 (15:58 +0530)]
arm: mach-tegra: include: Remove nvmap header

The header mach/nvmap.h is not used and hence removing it
from mach/include.

bug 200259459

Change-Id: I8f10d8da9af9554c0eb4db9a799b80bcf809885b
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1266567
Reviewed-by: Timo Alho <talho@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agoarm: mach-tegra: include: Remove uncompress header
Laxman Dewangan [Wed, 7 Dec 2016 10:25:46 +0000 (15:55 +0530)]
arm: mach-tegra: include: Remove uncompress header

None of Tegra SoCs uses the mach/uncompress header from k4.4
and hence removing this unused header.

bug 200259459

Change-Id: I5265e1883d45faef6980da46845d1d56753ccfa8
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1266566
Reviewed-by: Timo Alho <talho@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agoarm: mach-tegra: include: get rid of unused codec header
Laxman Dewangan [Wed, 7 Dec 2016 10:00:19 +0000 (15:30 +0530)]
arm: mach-tegra: include: get rid of unused codec header

Following codec platform data headers are not used in any of
source code and hence remove the headers:
tegra_max98088_pdata.h
tegra_wm8753_pdata.h

bug 200259459

Change-Id: Icf5524105d000bec4aa561504e8abe9b2aa05a8e
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1266564
Reviewed-by: Timo Alho <talho@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agosound: soc: tegra-alt: Move tegra_vcm30t124_pdata.h to include/linux
Laxman Dewangan [Wed, 7 Dec 2016 09:57:16 +0000 (15:27 +0530)]
sound: soc: tegra-alt: Move tegra_vcm30t124_pdata.h to include/linux

Move mach/tegra_vcm30t124_pdata.h to include/linux/platform_data
as the mach/includes are deprecated and all header should be in
include path.

bug 200259459

Change-Id: I31b29be9c5e04d402a98211cbe51974f5da67235
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1266563
Reviewed-by: Timo Alho <talho@nvidia.com>
Reviewed-by: Aniket Bahadarpurkar <aniketb@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agopinctl: tegra: Use devm_ version of pinctrl_register
Laxman Dewangan [Wed, 7 Dec 2016 08:30:41 +0000 (14:00 +0530)]
pinctl: tegra: Use devm_ version of pinctrl_register

Use devm_pinctrl_register() for registering pinctrl and
get rid of remove callback from driver.

Change-Id: I15ce150832a43d03b8c85c4a592b9f04ed77c5db
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1266482
Reviewed-by: Timo Alho <talho@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agoxhci-tegra: Remove T21x_SOC and T18x_SOC CONFIGs
Petlozu Pravareshwar [Tue, 6 Dec 2016 10:33:22 +0000 (16:03 +0530)]
xhci-tegra: Remove T21x_SOC and T18x_SOC CONFIGs

Replace T21x_SOC, T18x_SOC CONFIGs with soc_config
structure variable in xhci-tegra.c file.

Bug 200257344

Change-Id: I02da5cecc2a19464a376ccab8059d66ea8501fa0
Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-on: http://git-master/r/1251895
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
7 years agoARM64: config: t21: disable MMC EMBEDDED SDIO
Venkat Reddy Talla [Tue, 6 Dec 2016 07:08:36 +0000 (12:38 +0530)]
ARM64: config: t21: disable MMC EMBEDDED SDIO

Disabling MMC embedded sdio config not required for
t210 platforms.

boot.img size not changed

Bug 200256189

Change-Id: I1ac2a5c3b0d4200297ec6334ae5c247b1b502b8f
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/1265674
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
7 years agoufs: tegra: Register and Implement hibern8_entry_notify event.
Naveen Kumar Arepalli [Thu, 1 Dec 2016 04:37:05 +0000 (10:07 +0530)]
ufs: tegra: Register and Implement hibern8_entry_notify event.

-ASIC team has suggested a WAR to reset mphy rx after keeping ufs
in to hibernate state.
-WAR is implemented in ufs_tegra_hibern8_entry_notify function
and configured using NVQUIRK_BROKEN_HIBERN8_ENTRY quirk.

Change-Id: I9f80edfc8f2c4bd6ae6a8909fc0e28943a44f905
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/1263089
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
7 years agoscsi: ufs: define hibern8_entry_notify.
Naveen Kumar Arepalli [Thu, 1 Dec 2016 04:24:01 +0000 (09:54 +0530)]
scsi: ufs: define hibern8_entry_notify.

Define hibern8_entry_notify event to handle hibernate
entry event.
hibern8_entry_notify is defined to handle ufs tegra specific
WAR.

Change-Id: Ia559b88fe07ad4580bf08b5608757ff7ea24131c
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/1263088
GVS: Gerrit_Virtual_Submit
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
7 years agoARM64: config: t186: enable media remote control
Venkat Reddy Talla [Fri, 25 Nov 2016 11:56:28 +0000 (17:26 +0530)]
ARM64: config: t186: enable media remote control

Enabling media remote control configs as part kernel
unification.
CONFIG_MEDIA_RC_SUPPORT=y
CONFIG_RC_DEVICES=y
CONFIG_IR_GPIO_CIR=y

boot.img size increased by 94208 bytes

Bug 200256189

Change-Id: I99a0f8218ce2b547b774b4837d8da9d39a847cd2
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/1260016
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
7 years agovideo: tegra: dp: Add DT enhanced framing control
Animesh Kishore [Thu, 27 Oct 2016 08:22:02 +0000 (13:52 +0530)]
video: tegra: dp: Add DT enhanced framing control

Bug 200240709

Change-Id: If5e7fd65ec265b9c1a6cb98b2b6909f4a7406466
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/1243618
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Santosh Galma <galmar@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
7 years agoarm: mach-tegra: include: get rid of unused header
Laxman Dewangan [Tue, 6 Dec 2016 13:46:57 +0000 (19:16 +0530)]
arm: mach-tegra: include: get rid of unused header

Following header is not used in any of source code and hence
remove the headers:

arb_sema.h
dtv.h
nand.h
timex.h
tsensor.h
w1.h

bug 200259459

Change-Id: Iec36bb82a7e7bea34895f5350167f1efd866b214
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1265919
GVS: Gerrit_Virtual_Submit
Reviewed-by: Timo Alho <talho@nvidia.com>
7 years agostaging: nvshm: Remove the nvshm driver
Laxman Dewangan [Tue, 6 Dec 2016 13:39:33 +0000 (19:09 +0530)]
staging: nvshm: Remove the nvshm driver

This driver is not used in any platform and does not
get compiled properly. Remove this driver from K4.4
source tree.

bug 200259459

Change-Id: I3be99f5f602553a5af121144e40c2415958b263a
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1265915
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Timo Alho <talho@nvidia.com>
7 years agoarm: mach-tegra: include: get rid of tegra-bb
Laxman Dewangan [Tue, 6 Dec 2016 13:37:03 +0000 (19:07 +0530)]
arm: mach-tegra: include: get rid of tegra-bb

There is no source for using the header tegra-bb* and tegra_bb*.
So removing these header file to reduce the files from
mach/include.

bug 200259459

Change-Id: I2c2346bbafa717ed6a515e5022ed607cb7d9ffe2
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1265914
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Timo Alho <talho@nvidia.com>
7 years agoARM64: config: t18: enable LEDS_PWM module
Venkat Reddy Talla [Tue, 6 Dec 2016 13:20:24 +0000 (18:50 +0530)]
ARM64: config: t18: enable LEDS_PWM module

boot.img size not changed

Bug 200256189

Change-Id: I7c8ebc5699c65c358133df5a4115d933a9d1e8f7
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/1265881
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
7 years agoARM64: config: t18: enable NVDEC BOOTLOADER
Venkat Reddy Talla [Tue, 6 Dec 2016 13:03:31 +0000 (18:33 +0530)]
ARM64: config: t18: enable NVDEC BOOTLOADER

Enabling NVDEC BOOTLOADER config for kernel
unification

boot.img size not changed

Bug 200256189

Change-Id: Ie14baf796947aebf9d72ce457ac93cb7c4db97d6
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/1265870
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
7 years agoARM64: config: t18: enabel BQ2419x charger module
Venkat Reddy Talla [Tue, 6 Dec 2016 11:53:22 +0000 (17:23 +0530)]
ARM64: config: t18: enabel BQ2419x charger module

Enabling BQ2419x battery charger module as part of
kernel unification.

boot.img size increased by 34816 bytes

Bug 200256189

Change-Id: Ic2ef5ce15ca9976ecf0cff286b807f7e4cd0e9d8
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/1265846
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
7 years agoARM64: config: t21: disable USB_OTG module
Venkat Reddy Talla [Fri, 25 Nov 2016 07:03:39 +0000 (12:33 +0530)]
ARM64: config: t21: disable USB_OTG module

Disabling USB_OTG config for kernel unification
USB_OTG was enabled only in t210 android defconfig,
to achieve kernel unification, module should be enabled
in both t186 and t210 defconfigs or disable if module
is not required.

boot.img size not changed

Bug 200256189

Change-Id: I20928b9c44efdb9a35e26e7f616b464e3d28677d
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/1259865
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
7 years agoarm64: tegra21: config: enable GK20A_DEVFREQ
Bharat Nihalani [Tue, 6 Dec 2016 12:23:57 +0000 (17:53 +0530)]
arm64: tegra21: config: enable GK20A_DEVFREQ

This is needed to scale GPU frequencies through various
available rates.

Bug 1807426

Change-Id: I57402875aff32a370b4ddd9bd92448da0f217f5e
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/1265862
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
7 years agoplatform: tegra: mc: make mc-sid driver scalable and upstreamable
Pritesh Raithatha [Mon, 21 Nov 2016 17:48:08 +0000 (23:18 +0530)]
platform: tegra: mc: make mc-sid driver scalable and upstreamable

-To make driver scalable, remove platform specific data from here.
-Define soc data struct for platform specific data and that needs be passed
from platform specific driver file.
-Move defines to header file that is shared with platform specific file.
-Cleanup driver.

Bug 200249245

Change-Id: I34ce8dd1ff33eb2728f2d9b712e01d0a15a8913e
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/1254615
Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
7 years agocpu: Expedite rcu sync's in cpu_down
Sai Gurrappadi [Tue, 20 Sep 2016 21:39:41 +0000 (14:39 -0700)]
cpu: Expedite rcu sync's in cpu_down

Try and speed up cpu_down by expediting the synchronize_rcu*() calls. This
roughly halves the cpu_down time which ends up speeding suspend/resume.

Bug 200197162

Change-Id: I89b76b9ae57ffd3f260958b402e4c9ffc6b0c2ed
Signed-off-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-on: http://git-master/r/1224063
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
7 years agosoc/tegra: sysedp: Clean-up error messages
Jon Hunter [Tue, 6 Dec 2016 12:12:36 +0000 (12:12 +0000)]
soc/tegra: sysedp: Clean-up error messages

It is not mandatory that platforms have 'consumer data' for SYSEDP and
so to avoid printing unnecessary errors messages for platforms without
consumer data, make the message a debug message and not an error message
by default.

Furthermore, for platforms without 'consumer data' the registration of
any SYSEDP consumer will always fail and this is expected. Therefore
only print an error message when a consumer fails to register if there
is consumer data available. Finally add a error message to indicate if
the registering of the consumer fails.

Bug 1811732

Change-Id: Ia582cba85a9818b55ef3f2f4cf12f5f58895dcdb
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: http://git-master/r/1265858
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
7 years agothermal: tegra: add support for EDP IRQ
Srikar Srimath Tirumala [Fri, 18 Nov 2016 22:12:14 +0000 (14:12 -0800)]
thermal: tegra: add support for EDP IRQ

Add support for EDP and OC interrupts.

Bug 200233003

Change-Id: Ia24e5935000953847d5f5d1d1e30d01c778d892e
Reviewed-on: http://git-master/r/1256551
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
Tested-by: Jonathan Hunter <jonathanh@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
7 years agousb: phy: Move header files to include/linux
Rohith Seelaboyina [Tue, 6 Dec 2016 08:20:31 +0000 (13:50 +0530)]
usb: phy: Move header files to include/linux

Move usb header files from arch/arm/include/mach to
include/linux

Bug 200259494

Change-Id: I27e352330dc1936182d3c9418284735109583121
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/1265718
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
7 years agoARM64: config: t21: disable 80211_TESTMODE config
Venkat Reddy Talla [Mon, 5 Dec 2016 05:29:27 +0000 (10:59 +0530)]
ARM64: config: t21: disable 80211_TESTMODE config

Disabling NL80211_TESTMODE config for kernel
unification.

boot.img size not changed

Bug 200256189

Change-Id: I555dd99da0819e4ceeadd7fe5649ab415b55fa85
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/1264761
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
7 years agoRevert "Revert "configs: tegra18: enable crypto ECDH support""
Shravani Dingari [Mon, 5 Dec 2016 05:00:35 +0000 (10:30 +0530)]
Revert "Revert "configs: tegra18: enable crypto ECDH support""

This reverts commit 883f9fe76bc63e02d36afc82032d611a8d8ade46.

Change-Id: Ib78039bde8f015ea7b23e46f3deeef4b07eb2e2f
Signed-off-by: Shravani Dingari <shravanid@nvidia.com>
Reviewed-on: http://git-master/r/1264737
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
7 years agoRevert "Revert "configs: tegra18: enable crypto ECDH support""
Shravani Dingari [Mon, 5 Dec 2016 04:59:25 +0000 (10:29 +0530)]
Revert "Revert "configs: tegra18: enable crypto ECDH support""

This reverts commit 232259cc7eb485c50708d2bb13f2a9669105bff7.

Change-Id: Ie055715c002c45d5625f2320295dfee345a0c069
Signed-off-by: Shravani Dingari <shravanid@nvidia.com>
Reviewed-on: http://git-master/r/1264735
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
7 years agoRevert "Revert "configs: tegra18: enable crypto ECDH support""
Shravani Dingari [Mon, 5 Dec 2016 04:57:34 +0000 (10:27 +0530)]
Revert "Revert "configs: tegra18: enable crypto ECDH support""

This reverts commit 866aef3a7ac190ed4ce8725ff51f0663af5d3fa7.

Change-Id: I261351ddfaaf573d8c6e001d160906e5d9d9fcc2
Signed-off-by: Shravani Dingari <shravanid@nvidia.com>
Reviewed-on: http://git-master/r/1264733
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
7 years agomisc: cryptodev: Include RSA implementation of ahash
Sri Sai Ram Tangirala [Fri, 4 Nov 2016 10:53:47 +0000 (16:23 +0530)]
misc: cryptodev: Include RSA implementation of ahash

Include RSA implementation of ahash for other
socs until it moves to akcipher framework.

Bug 200222096

Change-Id: Ie5e893314f7832f03c1e610cd9f0c043baf00c00
Signed-off-by: Sri Sai Ram Tangirala <stangirala@nvidia.com>
Reviewed-on: http://git-master/r/1248229
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rakesh Babu Bodla <rbodla@nvidia.com>
Reviewed-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
7 years agomisc: cryptodev: move RSA implementation to akcipher
Sri Sai Ram Tangirala [Thu, 27 Oct 2016 09:16:08 +0000 (14:46 +0530)]
misc: cryptodev: move RSA implementation to akcipher

Moving RSA implementation to akcipher. Also, enhance
the RSA functionality to support its operations
independently.

Bug 200222096

Change-Id: I839ec2030079bfed1a268c7821971bb7b9912d8c
Reviewed-on: http://git-master/r/1243713
Reviewed-by: Sri Sai Ram Tangirala <stangirala@nvidia.com>
Tested-by: Sri Sai Ram Tangirala <stangirala@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rakesh Babu Bodla <rbodla@nvidia.com>
Reviewed-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
7 years agoarm: dma-mapping: honour attrs for allocations
Sri Krishna chowdary [Thu, 21 Apr 2016 05:38:32 +0000 (11:08 +0530)]
arm: dma-mapping: honour attrs for allocations

Pass attrs to the coherent API from dma_alloc/free_attrs() as
they can be used to specify what kind of allocations are
expected.

bug 1726584

Change-Id: I70b7d7e1599d00e77e928ccf2390eb18c7867bf1
Signed-off-by: Ravi Chandra SV <ravichandrav@nvidia.com>
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
(cherry picked from commit 5bf81b6d16df989066d85cef15c96812bf1ba095)
Reviewed-on: http://git-master/r/1121712
(cherry picked from commit 75418129bc70150f654128f10e8171c3f658079b)
Reviewed-on: http://git-master/r/1263884
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
7 years agoARM64: config: t186: enable NET_SCH_TEGRA config
Venkat Reddy Talla [Thu, 1 Dec 2016 08:44:41 +0000 (14:14 +0530)]
ARM64: config: t186: enable NET_SCH_TEGRA config

Enabling NET_SCH_TEGRA config for kernel unification

boot.img size not changed

Bug 200256189

Change-Id: Ia0d99d8465103fae42fe4d3f383ea3f1a074d64c
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/1262989
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
7 years agoARM64: config: t186 enable ARM_CPUIDLE config
Venkat Reddy Talla [Thu, 1 Dec 2016 06:20:26 +0000 (11:50 +0530)]
ARM64: config: t186 enable ARM_CPUIDLE config

Enabling CONFIG_ARM_CPUIDLE as part of kernel
unification

boot.img size increased by 2048 bytes

Bug 200256189

Change-Id: I4443953043e4eb62bfd1291b786e6e0bfad4a92f
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/1262878
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
7 years agoASoC: tegra-alt: channels inside ahub via controls
Mohan Kumar [Wed, 23 Nov 2016 10:54:05 +0000 (16:24 +0530)]
ASoC: tegra-alt: channels inside ahub via controls

Certain usecase requires different audio and client channels settings
inside ahub, so this needs to be handled with dedicated Channels mixer
control for each module.

This change will introduce channels mixer control and cif controls to
admaif,dmic,i2s and all other internal module is control with a single
channel control.

-Support mono channel SFC
-Support mono channel Mixer
-Cleanup drivers

Bug 1839027

Change-Id: Id997519ebdc9f518c83debc2d4cd58fde34e79b6
Signed-off-by: Mohan Kumar <mkumard@nvidia.com>
Reviewed-on: http://git-master/r/1258877
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
7 years agomisc: mods-clock: Get rid of include of mach/clk.h
Laxman Dewangan [Mon, 5 Dec 2016 16:36:57 +0000 (22:06 +0530)]
misc: mods-clock: Get rid of include of mach/clk.h

mach/clk.h just include the linux/clk/tegra.h and hence directly
include this header instead of via mach/clk.h.

bug 200259459

Change-Id: I55e64086686d0f53de98ecc7777f61776dfdc509
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1265212
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Lovie Wang <loview@nvidia.com>
Tested-by: Lovie Wang <loview@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agomisc: eqos: Get rid of include of mach/clk.h
Laxman Dewangan [Mon, 5 Dec 2016 09:31:42 +0000 (15:01 +0530)]
misc: eqos: Get rid of include of mach/clk.h

mach/clk.h just include the linux/clk/tegra.h and hence directly
include this header instead of via mach/clk.h.

bug 200259459

Change-Id: I3d996e8e2f9ec02f61099aa79bc0ad67be62c030
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1264976
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
7 years agoarm: mach: include: Remove io_dpd.h
Laxman Dewangan [Mon, 5 Dec 2016 09:18:45 +0000 (14:48 +0530)]
arm: mach: include: Remove io_dpd.h

All client which were using the mach/io-dpd.h is moved to
linux/platform/tegra/io-dpd.h and hence this file is not
more used.

Removing this file.

bug 200259459

Change-Id: I69dc8f683334e8c31991f635960d99be0ede5a3b
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1264959
Reviewed-by: Timo Alho <talho@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agocamera: tegra: Get rid of include of mach/io_dpd.h
Laxman Dewangan [Mon, 5 Dec 2016 09:16:02 +0000 (14:46 +0530)]
camera: tegra: Get rid of include of mach/io_dpd.h

mach/io_dpd.h just include the <linux/platform/tegra/io-dpd.h>.
Include this header instead of via mach/clk.h.

bug 200259459

Change-Id: I53898a76ab911e8b906deef9fcc29e8028cb41cb
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1264957
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
7 years agoarm: mach: include: Remove clk.h
Laxman Dewangan [Mon, 5 Dec 2016 08:25:40 +0000 (13:55 +0530)]
arm: mach: include: Remove clk.h

All client which were using the mach/clk.h is moved to
linux/clk/tegra.h and hence this file is not more used.

Removing this file.

bug 200259459

Change-Id: I346e454596834335cad59fd6658e89bf70dee080
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1264920
Reviewed-by: Timo Alho <talho@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agoscripts: move rt-patch.sh inside scripts
Amlan Kundu [Thu, 1 Dec 2016 11:24:22 +0000 (16:54 +0530)]
scripts: move rt-patch.sh inside scripts

bug 1847037

Change-Id: I7f38a453831e9488eb969f45b96b28b60adbdcf0
Signed-off-by: Amlan Kundu <akundu@nvidia.com>
Reviewed-on: http://git-master/r/1263111
Reviewed-by: Bharath H S <bhs@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bernd Weber <bweber@nvidia.com>
(cherry picked from commit 22c41384ea73a3e68c66b751dbddb6badfb39b1e)
Reviewed-on: http://git-master/r/1263709
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
7 years agomm: cma: fix re-try failure in cma_alloc_at
Richard Zhao [Tue, 22 Nov 2016 18:50:20 +0000 (10:50 -0800)]
mm: cma: fix re-try failure in cma_alloc_at

fixed addr allocation should always check against start_pfn.

JIRA EVLR-856
Bug 1844555

Change-Id: I22de017dcf1fe08686a3fce4ded950223274a6f3
Signed-off-by: Richard Zhao <rizhao@nvidia.com>
Reviewed-on: http://git-master/r/1258372
(cherry picked from commit d14b86536c15906bf8ef51551f130094a78bf235)
Reviewed-on: http://git-master/r/1258277
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vladislav Buzov <vbuzov@nvidia.com>
7 years agodriver: media: tegra: fix v4l2 issue for 12bit
Esen Chen [Mon, 14 Nov 2016 03:24:49 +0000 (11:24 +0800)]
driver: media: tegra: fix v4l2 issue for 12bit

Fix v4l2 capture issue for 12bit sensor

Bug 200247041

Signed-off-by: Esen Chen <esenc@nvidia.com>
Change-Id: I68daeaa1a66fa8d3554e1cf4f17ba0818e8b8c49
Reviewed-on: http://git-master/r/1252450
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Wenjia Zhou <wenjiaz@nvidia.com>
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
7 years agoarm64: mm: remove iotable_init* functions
Krishna Reddy [Tue, 8 Nov 2016 19:23:46 +0000 (11:23 -0800)]
arm64: mm: remove iotable_init* functions

Remove unnecessary iotable_init* functions.
This would bring mmu.c much closer to upstream k4.4 version.

Bug 200240257

Change-Id: Ide901653fc372764ab88cf9e8c058312949fdb0e
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/1249900
GVS: Gerrit_Virtual_Submit

7 years agoASoC: rt5659: lower clock detect frequency
Mohan Kumar [Mon, 5 Dec 2016 04:41:10 +0000 (10:11 +0530)]
ASoC: rt5659: lower clock detect frequency

Set higher clock detect frequency so codec can work in a low
MCLK frequency without detecting as no MCLK.

Bug 200254129

Change-Id: Ie1885af999f06c40f19e58f802496a9c40bf8aba
Signed-off-by: Mohan Kumar <mkumard@nvidia.com>
Reviewed-on: http://git-master/r/1264726
Reviewed-by: Sameer Pujar <spujar@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
7 years agomedia:tegra:camera: Remove legacy clk function
Wenjia Zhou [Wed, 30 Nov 2016 05:08:04 +0000 (21:08 -0800)]
media:tegra:camera: Remove legacy clk function

Remove legacy clock framework code.
Clock enable/disable is via NvHost.

Bug 1826686
Jira CHWI-457

Signed-off-by: Wenjia Zhou <wenjiaz@nvidia.com>
Change-Id: Ia6804cb4fdb8a7a17cbd9a28a5ac876cadd30a09
Reviewed-on: http://git-master/r/1246498
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
7 years agoclk: tegra: Add ADSP special reset
Peter De Schrijver [Mon, 5 Dec 2016 13:39:50 +0000 (15:39 +0200)]
clk: tegra: Add ADSP special reset

All resets to the ADSP have to be asserted or de-asserted at the same time.
Therefor a new 'special' reset is introduced to handle this.

Change-Id: I6109392b8773ec2c04fa485a0ab6fadf78c037a1
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/1265150
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
7 years agoARM64: config: tegra210: enable POWER_OFF_MAX77620
Joseph Lo [Mon, 5 Dec 2016 02:54:06 +0000 (10:54 +0800)]
ARM64: config: tegra210: enable POWER_OFF_MAX77620

Enable max77620-poweroff driver.

Bug 200257522

Change-Id: Ided494e1de5f9166e4ae7c72b654f4669b5caf2a
Signed-off-by: Joseph Lo <josephl@nvidia.com>
Reviewed-on: http://git-master/r/1264691
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
7 years agomedia: tegra: camera: Fix panic on missing i2c
Andrew Chew [Fri, 2 Dec 2016 01:36:15 +0000 (17:36 -0800)]
media: tegra: camera: Fix panic on missing i2c

When an I2C device on the VI graph is missing (failed to probe, for
example, or otherwise a bug such that there is no drvdata attached to the
device), check before trying to dereference the drvdata, to avoid a kernel
panic.

Bug 1799662
AV-88

Change-Id: I536bc8facc44dc89cd8c9809c61bc9943ab309eb
Signed-off-by: Andrew Chew <achew@nvidia.com>
Reviewed-on: http://git-master/r/1263503
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
7 years agoconfigs: disable BT in minimal defconfig for K4.4
Sam Payne [Wed, 30 Nov 2016 18:55:04 +0000 (10:55 -0800)]
configs: disable BT in minimal defconfig for K4.4

Disables BT from minimal defconfig and fixes redefinitions
in pm to fix minimal defconfig build.

Change-Id: I3a15deb5d4e51918b1a59678de0f25a437419321
Signed-off-by: Sam Payne <spayne@nvidia.com>
Reviewed-on: http://git-master/r/1262507
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
7 years agoclk: tegra: Enable misc bit
Peter De Schrijver [Mon, 5 Dec 2016 11:15:27 +0000 (13:15 +0200)]
clk: tegra: Enable misc bit

Change-Id: I3d6ec93ef2296c335b8c9b1b93d251cf17735a6a
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/1265074
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
7 years agoarm64: mm: remove incorrect and unnecessary clearing of PMD
Krishna Reddy [Tue, 15 Nov 2016 23:23:23 +0000 (15:23 -0800)]
arm64: mm: remove incorrect and unnecessary clearing of PMD

Bug 1769772

Change-Id: I6759014be3922d374c7d744304c51c0442ca5e45
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/1254194
GVS: Gerrit_Virtual_Submit

7 years agofirmware: Get rid of include of mach/clk.h
Laxman Dewangan [Mon, 5 Dec 2016 09:32:16 +0000 (15:02 +0530)]
firmware: Get rid of include of mach/clk.h

mach/clk.h just include the linux/clk/tegra.h and hence directly
include this header instead of via mach/clk.h.

bug 200259459

Change-Id: I9cb81763e39fbfff7634fd161511d2c8fd35f501
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1264977
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sivaram Nair <sivaramn@nvidia.com>
7 years agoarm: mach-tegra: Get rid of include of mach/io_dpd.h
Laxman Dewangan [Mon, 5 Dec 2016 09:18:07 +0000 (14:48 +0530)]
arm: mach-tegra: Get rid of include of mach/io_dpd.h

mach/io_dpd.h just include the <linux/platform/tegra/io-dpd.h>.
Include this header instead of via mach/clk.h.

bug 200259459

Change-Id: I69b23b67085faced165b389ee4149784f6c25e1c
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1264958
GVS: Gerrit_Virtual_Submit
Reviewed-by: Timo Alho <talho@nvidia.com>
7 years agopcie: host: tegra: Get rid of include of mach/io_dpd.h
Laxman Dewangan [Mon, 5 Dec 2016 09:13:47 +0000 (14:43 +0530)]
pcie: host: tegra: Get rid of include of mach/io_dpd.h

mach/io_dpd.h just include the <linux/platform/tegra/io-dpd.h>.
Include this header instead of via mach/io_dpd.h.

bug 200259459

Change-Id: I4d53fe222847b54825ff155bb0b434c0c369ab60
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1264956
Reviewed-by: Vidya Sagar <vidyas@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agoARM64: config: t21: disable IKCONFIG, CIFS and ATOMIC SLEEP
Venkat Reddy Talla [Mon, 5 Dec 2016 05:54:00 +0000 (11:24 +0530)]
ARM64: config: t21: disable IKCONFIG, CIFS and ATOMIC SLEEP

Disabling IKCONFIG, CIFS and ATOMIC SLEEP kernel core
component configs for kernel unification, these configs
are not required for t210 platforms.
CONFIG_IKCONFIG
CONFIG_IKCONFIG_PROC
CONFIG_CIFS
CONFIG_DEBUG_ATOMIC_SLEEP

boot.img size decreased by 448512

Bug 200256189

Change-Id: Ib4ce8f6560877850f7bf75f36c0bc0f55b6347a8
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/1264791
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
7 years agoARM64: config: t186: enable IP and INET configs
Venkat Reddy Talla [Thu, 1 Dec 2016 06:57:19 +0000 (12:27 +0530)]
ARM64: config: t186: enable IP and INET configs

Enabling below IP and INET configs in tegra186 android
defconfig as part of kernel unification
CONFIG_IP_MULTICAST=y
CONFIG_NET_IPIP=y
CONFIG_IP_MROUTE=y
CONFIG_INET_AH=y
CONFIG_INET_IPCOMP=y

boot.img size increased by 32768 bytes

Bug 200256189

Change-Id: I92f07c827ce88f64d26c724491f71e88504c6af4
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/1262896
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
7 years agoarm64: configs: Enable CONFIG_MAX77620_THERMAL
Srikar Srimath Tirumala [Sat, 26 Nov 2016 22:59:59 +0000 (14:59 -0800)]
arm64: configs: Enable CONFIG_MAX77620_THERMAL

boot.img size increased by 0 bytes.

Change-Id: I8f6297439292bf7b9a25b6d984c4019828560b1b
Reviewed-on: http://git-master/r/1260237
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
7 years agomedia: tegra: camera: Get rid of mach/clk.h include
Laxman Dewangan [Fri, 2 Dec 2016 17:44:23 +0000 (23:14 +0530)]
media: tegra: camera: Get rid of mach/clk.h include

mach/clk.h just include the linux/clk/tegra.h and hence directly
include this header instead of via mach/clk.h.

bug 200259459

Change-Id: If4f31f70319408b813d41d1ea3e19755a35467b5
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1263992
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
7 years agosound: soc: tegra-alt: Get rid of include of mach/clk.h
Laxman Dewangan [Fri, 2 Dec 2016 16:54:55 +0000 (22:24 +0530)]
sound: soc: tegra-alt: Get rid of include of mach/clk.h

mach/clk.h just include the linux/clk/tegra.h and hence directly
include this header instead of via mach/clk.h.

bug 200259454

Change-Id: Iae9061f88ae47ddbc2985a2e8e4268a094c0dba3
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/1263982
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
7 years agofirmware: tegra: increase debugfs read buffer size
Sivaram Nair [Sat, 3 Dec 2016 00:13:52 +0000 (16:13 -0800)]
firmware: tegra: increase debugfs read buffer size

Current size is getting small

JIRA BPMP-242

Change-Id: Ib44fabf943fe42baf6517d682385d84aa9905eb2
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/1264226
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Timo Alho <talho@nvidia.com>
7 years agofirmware: tegra: remove extra memcopy
Sivaram Nair [Fri, 2 Dec 2016 22:52:47 +0000 (14:52 -0800)]
firmware: tegra: remove extra memcopy

There is no reason not to use the buffer returned by
tegra_bpmp_alloc_coherent() as is.

JIRA BPMP-242

Change-Id: I041ee98e9a2611df538f47398d866edfc6c8f6c8
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/1264225
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Timo Alho <talho@nvidia.com>
7 years agoarm64: tegra21: enable KMEMLEAK related configs
Sri Krishna chowdary [Thu, 24 Nov 2016 07:12:21 +0000 (12:42 +0530)]
arm64: tegra21: enable KMEMLEAK related configs

 CONFIG_DEBUG_KMEMLEAK=y
 CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=4000
 CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y
 # CONFIG_DEBUG_KMEMLEAK_SCAN_ON is not set

boot.img size increased by 688656 bytes

Bug 200256190

Change-Id: I3288433f5070d4be3aedc351e0b318db61424c11
Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com>
Reviewed-on: http://git-master/r/1259316
Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com>
Tested-by: Sri Krishna Chowdary <schowdary@nvidia.com>
7 years agoplatform: tegra: mc: allow modules to access mc registers
Sri Krishna chowdary [Thu, 1 Dec 2016 10:44:24 +0000 (16:14 +0530)]
platform: tegra: mc: allow modules to access mc registers

mc_readl needs mc, mc_channels and mc_regs to be available.
Instead of exporting all symbols or modifying the existing mc.h,
it is safer and simpler to add new tegra_mc_readl/writel and
use them in modules instead.

bug 200247850

Change-Id: I42cb1dffe4e0fc028e363c349ed6c7c6c922f98b
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/1260671
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Alex Waterman <alexw@nvidia.com>
7 years agoarm64: config: Disable legacy mipi cal code
Frank Chen [Fri, 2 Dec 2016 01:28:45 +0000 (17:28 -0800)]
arm64: config: Disable legacy mipi cal code

Disable legacy mipi calibration in defconfig, since
no driver is using this and it generates kernel
warnings.

boot.img size not changed.

Bug 1798951

Change-Id: I0fc98736fad2bbda6f71de070f4c23774ef49a79
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: http://git-master/r/1263498
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>