]>
rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/log
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>
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
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
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
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
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
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
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
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
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
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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
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>
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
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Frank Chen [Thu, 1 Dec 2016 23:04:27 +0000 (15:04 -0800)]
media: tegra: change channel line alignment size
Change channel line alignment size from 4 to 2 to
avoid mismatch in mode selection logic.
Bug
1798951
Change-Id: Iee11ab32924919dda5f7d4b1123b549b81fac92f
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: http://git-master/r/
1263406
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Arto Merilainen [Thu, 24 Nov 2016 10:30:34 +0000 (12:30 +0200)]
video: tegra: host: Remove unused nvhost files
Commit
57d7088cb9f144e9f16c5830e3ed7696f7f7dfea accidentally added
files under drivers/video/tegra - which is a deprecated in this
repository.
This change removes the unused files.
Change-Id: I1781b12da0d206541f0506562ed66950552a324d
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/
1259490
Reviewed-by: Wenjia Zhou <wenjiaz@nvidia.com>
GVS: Gerrit_Virtual_Submit
Haribabu Narayanan [Fri, 4 Mar 2016 03:32:07 +0000 (19:32 -0800)]
usb: xhci: prepare ring correctly for ZLP transfer
When condition for ZLP (Zero Length Packet) is satisfied for Bulk OUT transfers,
an extra Zero Length packet is to be sent out after requested data is
transferred.
Currently, if the number of TRB slots available in the transfer ring
is exactly the same as the number of TRBs needed for the data packets, an
attempt will be made to equeue_trb when there is no space available. This
patch checks/prepares transfer ring correctly for the required number of TRBs
(data and ZLP) before attempting to enqueue them.
Also, when scatter-gather is involved, this patch ensures that ZLP is actually
queued.
Bug
1731030
Bug
1839120
Change-Id: Ib6fd12694f60f3c3409802e267d381f6821d725c
Signed-off-by: Haribabu Narayanan <hnarayanan@nvidia.com>
Reviewed-on: http://git-master/r/
1022985
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jui Chang Kuo <jckuo@nvidia.com>
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
Reviewed-on: http://git-master/r/
1247892
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Andrew Chew [Mon, 26 Sep 2016 21:32:46 +0000 (14:32 -0700)]
ARM64: configs: tegra18: enable ov9281
boot.img size is increased by 6144 bytes
Bug
1799662
Change-Id: Ib1ccc75a4c19bd048192e82a0387c5c8b7920afa
Signed-off-by: Andrew Chew <achew@nvidia.com>
Reviewed-on: http://git-master/r/
1231587
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Andrew Chew [Tue, 22 Nov 2016 23:42:17 +0000 (15:42 -0800)]
media: i2c: ov9281: Fix camera_common_frmfmt array
At some point, struct camera_common_frmfmt had framerates and
num_framerates added to it. Add these fields to our camera_common_frmfmt
array.
Bug
1799662
AV-75
Change-Id: I58d60fac55d44242ff8510dec74362a2121f80cc
Signed-off-by: Andrew Chew <achew@nvidia.com>
Reviewed-on: http://git-master/r/
1258518
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Frank Chen <frankc@nvidia.com>
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Andrew Chew [Fri, 18 Nov 2016 00:42:27 +0000 (16:42 -0800)]
media: i2c: ov9281: Add frame length control
NVPCL expects this control to be present. Otherwise,
V4L2SensorViCsi::checkDriverVersion() fails, this error propagates up the
stack, and the camera ends up failing to enumerate within the camera
framework.
Bug
1799662
AV-109
Change-Id: I0c54e50572949f98e2bf02fdb30155ae88e2afd1
Signed-off-by: Andrew Chew <achew@nvidia.com>
Reviewed-on: http://git-master/r/
1255938
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Frank Chen <frankc@nvidia.com>
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Andrew Chew [Thu, 17 Nov 2016 23:53:19 +0000 (15:53 -0800)]
media: i2c: ov9281: Add override_enable
Also add back the default gain and exposure registers in the mode table,
since we won't necessarily be setting them explicitly in ov9281_s_stream().
Bug
1799662
Change-Id: Ibf3ddf95e5f7a63f2d50b26931d275faf368c498
Signed-off-by: Andrew Chew <achew@nvidia.com>
Reviewed-on: http://git-master/r/
1255937
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Frank Chen <frankc@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Adeel Raza [Fri, 2 Dec 2016 19:46:36 +0000 (11:46 -0800)]
Revert "configs: tegra18: enable crypto ECDH support"
This reverts commit
866040f372e9eed784bdbc0c60b723a0cfa3384c .
Bug
1848322
Change-Id: I3746f636d32e637a614cccd19e658a5e0d5a6951
Signed-off-by: Adeel Raza <araza@nvidia.com>
Reviewed-on: http://git-master/r/
1264056
Adeel Raza [Fri, 2 Dec 2016 19:46:07 +0000 (11:46 -0800)]
Revert "configs: tegra18: enable crypto ECDH support"
This reverts commit
c5773685c1cd61d3ec272f54c292e9d0cb42bfc5 .
Bug
1848322
Change-Id: Ie40ef4ee48d00354090069d57e001c6ae60a2f2c
Signed-off-by: Adeel Raza <araza@nvidia.com>
Reviewed-on: http://git-master/r/
1264055
Adeel Raza [Fri, 2 Dec 2016 19:45:29 +0000 (11:45 -0800)]
Revert "configs: tegra18: enable crypto ECDH support"
This reverts commit
14582e023894163f7f400ba8e2f6e01e519b24d9 .
Bug
1848322
Change-Id: Ie6e03beff2bd1a0384f3b5422b8507f88e0ece1a
Signed-off-by: Adeel Raza <araza@nvidia.com>
Reviewed-on: http://git-master/r/
1264054
Frank Chen [Thu, 1 Dec 2016 20:28:37 +0000 (12:28 -0800)]
driver: ov5693: Update power and gpio functions
- Correct power on/off functions based on datasheet
- Update gpio reset and sleep functions
Bug
1798951
Change-Id: Ibe3e30c0f250d964b21aa0e8b1bce784da0f64ba
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: http://git-master/r/
1263294
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Laxman Dewangan [Wed, 30 Nov 2016 09:06:58 +0000 (14:36 +0530)]
pwm: tegra: Align pwm-tegra with mainline
Align pwm-tegra driver with mainline to reduce the
differences. The changes are mainly in the variable names
and structure name
Change-Id: I7c8b1ebb245702d228245a4abc53d84efdab6086
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/
1262350
GVS: Gerrit_Virtual_Submit
Reviewed-by: R Raj Kumar <rrajk@nvidia.com>
Laxman Dewangan [Mon, 7 Nov 2016 09:55:45 +0000 (15:25 +0530)]
pwm: tegra: Use DIV_ROUND_CLOSEST_ULL() instead of local implementation
Use macro DIV_ROUND_CLOSEST_ULL() for 64bit division to closet one
instead of implementing the same locally. This increase readability.
Change-Id: I8701522659487293baa6526ac4c6fb2c3483b385
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/
1262349
Reviewed-by: R Raj Kumar <rrajk@nvidia.com>
GVS: Gerrit_Virtual_Submit
Igor Nabirushkin [Wed, 30 Nov 2016 09:29:26 +0000 (13:29 +0400)]
misc: tegra_profiler: fix dwarf unwinding
Problem is that on systems with a 64-bit kernel and 32 bit userspace,
read_user_data function reads 32-bit value into 64-bit uninitialized
variable, so high half of the variable might be dirty.
Use 32-bit temporary variable in such cases.
Bug
1846986
Change-Id: I2b024a00da536ad95e12e354597bde9811ca7998
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/
1262234
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alexey Kravets <akravets@nvidia.com>
Reviewed-by: Dmitry Antipov <dantipov@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Venkat Reddy Talla [Fri, 25 Nov 2016 05:57:14 +0000 (11:27 +0530)]
ARM64: config: t186: enable IRQSOFF TRACER config
Enabling IRQSOFF TRACER config for kernel
unification.
boot.img size increased by 16384 bytes
Bug
200256189
Change-Id: I09c010a28d99ded4050f67abf6cde1091c71efd9
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/
1259828
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Shravani Dingari [Thu, 24 Nov 2016 13:13:14 +0000 (18:43 +0530)]
crypto: pka1: pad zeros in driver for ECC
pad zeros for required ECC modes in driver
instead of expecting this from the client
Change-Id: Ic163cc64d6312ee1375a13212969d006977690d6
Signed-off-by: Shravani Dingari <shravanid@nvidia.com>
Reviewed-on: http://git-master/r/
1259627
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Srikar Srimath Tirumala [Wed, 23 Nov 2016 19:22:57 +0000 (11:22 -0800)]
arm64: configs: enable CONFIG_TEGRA_AOTAG
boot.img size increased by 2048 bytes.
Bug
200233003
Change-Id: Id1a5961d9eca65496421c5725605cef3b4924c6f
Signed-off-by: Srikar Srimath Tirumala <srikars@nvidia.com>
Reviewed-on: http://git-master/r/
1259047
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Srikar Srimath Tirumala [Fri, 18 Nov 2016 15:46:30 +0000 (07:46 -0800)]
thermal: tegra: add AOTAG thermtrip
Add thermtrip support to AOTAG
Bug
200233003
Change-Id: If4b94378c0d0ce7298f15fdd610e782694c652ac
Signed-off-by: Srikar Srimath Tirumala <srikars@nvidia.com>
Reviewed-on: http://git-master/r/
1259737
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Esen Chen [Fri, 18 Nov 2016 07:48:03 +0000 (15:48 +0800)]
drivers: media: update imx185 driver
Update set exposure time for imx185
Bug
200247051
Signed-off-by: Esen Chen <esenc@nvidia.com>
Change-Id: Ic9fcc92fa46f5f4c6782bf52d4106f281082d3a5
Reviewed-on: http://git-master/r/
1256151
Reviewed-by: David Wang (SW-TEGRA) <davidw@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Jon Hunter [Thu, 10 Nov 2016 15:23:47 +0000 (15:23 +0000)]
arm64: Enable EDP for Tegra210
Enable CPU, GPU and System EDP for Tegra210.
boot.img size is increased by 70088 bytes.
Bug
1811732
Change-Id: I913d280671d4d1a32b5a5919ac1efeef7a33b187
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: http://git-master/r/
1255689
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Jon Hunter [Thu, 3 Nov 2016 16:25:28 +0000 (16:25 +0000)]
soc/tegra: Add GPU EDP Management
Update the GPU EDP driver for Linux v4.4 and move the driver into
drivers/soc/tegra along with the other EDP drivers.
Bug
1811732
Change-Id: I05f4908f9d6c566ad85c1ca1eb2da8491532be3d
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: http://git-master/r/
1255688
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Jon Hunter [Wed, 16 Nov 2016 14:11:19 +0000 (14:11 +0000)]
soc/tegra: Add thermal cooling support for CPU EDP
The CPU EDP driver is missing thermal cooling support because for
the Chromium v3.18 kernel this was implemented as a separate driver.
However, in order to re-use the existing device-tree bindings from
the kernel v3.10, add thermal cooling support to the CPU EDP as this
aligns with the v3.10 kernel.
Bug
1811732
Change-Id: I5b43aa448529c652fa5a90d06ad5e923fef1030c
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: http://git-master/r/
1255687
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Tested-by: Jon Mayo <jmayo@nvidia.com>
Jon Hunter [Wed, 16 Nov 2016 13:03:17 +0000 (13:03 +0000)]
soc/tegra: Ensure the number of online CPUs is initialised
The EDP cpumask is not initialise during probe and this can cause the
number of CPUs reported to be online to be 0 initially. Fix this by
ensuring the the EDP cpumask is initialise when the device is probed.
Bug
1811732
Change-Id: I40c0a143271712628217195c6df761cee82883da
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: http://git-master/r/
1255686
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Jon Hunter [Thu, 10 Nov 2016 11:37:24 +0000 (11:37 +0000)]
soc/tegra: Add CPU EDP Management
Implement "Electrical Design Points" EDP management for VDD_CPU by using
tegra_ppm. Power "sources" like batteries and regulators have limits on
how much current they can supply, the maximum current the power source
can supply is its "EDP limit". This is the NVIDIA technique for managing
the peak current consumption of the power rail. Added VDD_CPU EDP
support, it prevents the CPU from drawing more current than its voltage
regulator can supply.
This is based upon work by Wei Ni <wni@nvidia.com>. This patch includes
the following commits from the Chromium v3.18 kernel.
Reviewed-on: https://chromium-review.googlesource.com/269916
Reviewed-on: https://chromium-review.googlesource.com/283720
Reviewed-on: https://chromium-review.googlesource.com/303461
Reviewed-on: https://chromium-review.googlesource.com/269924
Bug
1811732
Change-Id: I37ff80e0165f762c5c0114a4d118a11dca94831c
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: http://git-master/r/
1255685
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Jon Hunter [Wed, 16 Nov 2016 22:23:23 +0000 (22:23 +0000)]
soc/tegra: sysedp: Remove GPU capping by frequency
For Tegra210 and Tegra18x we are only supporting power based GPU capping
and so remove remaining code that pertains to non-power based GPU
capping.
Bug
1811732
Change-Id: I0487ab3c6f584f2ee34ee6aedf64ede09861607d
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: http://git-master/r/
1255682
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
navneet kumar [Wed, 17 Sep 2014 06:27:10 +0000 (23:27 -0700)]
thermal: tegra : Add Always-On Thermal Driver
the (Always On Thermal Alert Generator) driver is for the thermal sensor
in the always-on domain. It can be used to read temperatures and generate
alerts based on the same, even if the system is in deep sleep states.
(initial commit).
Bug
1509841
Signed-off-by: navneet kumar <navneetk@nvidia.com>
Reviewed-on: http://git-master/r/455149
(cherry picked from commit
ae2bf3d487d2ea6a6c65d74670200dfc0342df2c )
Edits:
* Moved the files to /drivers/thermal/tegra from /drivers/thermal
* Renamed to aotag.c
* use ints for temp
* use the sensor_of ops structure
* use new tsensor-fuse driver
* remove support for parsing aotag params from DT
* cleanup and reorg due to above changes
* rework print messages
Bug
200233003
Change-Id: Ie56ce72de79de3ee69d07a3ab866d1efe36d6c41
Signed-off-by: Srikar Srimath Tirumala <srikars@nvidia.com>
Reviewed-on: http://git-master/r/
1255163
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Srikar Srimath Tirumala [Mon, 14 Nov 2016 03:06:38 +0000 (19:06 -0800)]
thermal: tegra: generalize tsosc fuse driver apis
Rework the tsosc fuse driver apis so that other sensors can reuse
them. Rename the tsensor-fuse driver to maintain consistency.
Bug
200233003
Change-Id: I64533d97141b6bc94f349b0b9fcff5268d124745
Signed-off-by: Srikar Srimath Tirumala <srikars@nvidia.com>
Reviewed-on: http://git-master/r/
1255816
Reviewed-by: Navneet Kumar <navneetk@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Shravani Dingari [Wed, 9 Nov 2016 09:41:20 +0000 (15:11 +0530)]
configs: tegra18: enable crypto ECDH support
enable crypto ECDH software support
boot.img size is increased by 16384 bytes
Change-Id: If8fa31a0595b44af9e0e2cdaf40be23ec8a42847
Signed-off-by: Shravani Dingari <shravanid@nvidia.com>
Reviewed-on: http://git-master/r/
1250352
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Shravani Dingari [Tue, 8 Nov 2016 12:16:46 +0000 (17:46 +0530)]
configs: tegra18: enable crypto ECDH support
enable crypto ECDH software support
boot.img size is increased by 16384 bytes
Change-Id: Iaac1252574669de9b56745200fdece95c9456074
Signed-off-by: Shravani Dingari <shravanid@nvidia.com>
Reviewed-on: http://git-master/r/
1249791
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Shravani Dingari [Mon, 7 Nov 2016 12:56:34 +0000 (18:26 +0530)]
configs: tegra18: enable crypto ECDH support
enable crypto ECDH software support
boot.img size is increased by 16384 bytes
Change-Id: Ic89023d86c15903048258cdf5640448d026939aa
Signed-off-by: Shravani Dingari <shravanid@nvidia.com>
Reviewed-on: http://git-master/r/
1249043
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>