Age | Commit message (Collapse) | Author |
|
Tegra Profiler: send information about mapped
memory regions (on demand).
Bug 1394970
Change-Id: Idf9a3c5d2d9fac0fd622f99bd226632c810a8ab6
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/309778
(cherry picked from commit 1a4a86d3faf8cd9a38cf80ed06f6a760264638be)
Reviewed-on: http://git-master/r/326028
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Maxim Morin <mmorin@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Tegra Profiler: collect backtraces from the kernel context
Bug 1394804
Change-Id: I1db7435c9e1fc753dd8c02252076287572f5f5af
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/309768
(cherry picked from commit b5c40f131509f89609283a645f6e9d0b4abed365)
Reviewed-on: http://git-master/r/326027
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Add /proc/quadd/status
It allows users to see current status of the Tegra Profiler.
Bug 1374376
Change-Id: I70d548c47bc80f6a12e3637f0af38fe74403de2d
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/309638
(cherry picked from commit 895113159ac3fa814b3261446faa64d480c4f309)
Reviewed-on: http://git-master/r/326021
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Maxim Morin <mmorin@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Tegra Profiler misc driver: thumb mode flag was
added into samples
Bug 1374335
Change-Id: If1a6b7e57071f6c9d645bc790e24cd1e3e405b6f
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/309637
(cherry picked from commit fb840196820effd627abe7779907db1e7db60101)
Reviewed-on: http://git-master/r/326020
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Maxim Morin <mmorin@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Tegra Profiler misc driver: transmit the maximum buffer
occupancy to the user space.
Bug 1374266
Change-Id: Id078083a5493552c1f3bb697a1d3e4a5504e3f82
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/309633
(cherry picked from commit 757f16d5b83328d984feb3f37ebe6790fb42d15d)
Reviewed-on: http://git-master/r/325975
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Maxim Morin <mmorin@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
On suspend, this change sets the gpio high.
On suspend:
free pwm
request gpio
set gpio high
On resume:
free gpio
request pwm
set pwm
Bug 1388303
Change-Id: I6905e4217dd170801d84ec98713067e5c2a53abf
Signed-off-by: Anshul Jain <anshulj@nvidia.com>
Reviewed-on: http://git-master/r/302442
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
|
|
Tegra Profiler: kprobes is no longer used
Use callbacks from the scheduler instead of kprobes
Bug 1343930
Change-Id: I67589dbe972cc5c853addfb6ed82c488529eed55
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/281941
Reviewed-by: Daniel Horowitz <dhorowitz@nvidia.com>
Reviewed-by: Eric Miao <emiao@nvidia.com>
Tested-by: Eric Miao <emiao@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
|
|
- reduce suspend time for compass and pressure
- fix MPU possible interrupt storm
- fix MPU sample frequency overrun
- fix MPU 9250 support for sw_rev > 2 HW
- add BMP280 support to BMP180 pressure driver
- optimize MPU FIFO timestamp algorithm
- add compass self-test
- add data interface
Bug 1313284
Bug 1311053
Bug 1295128
Bug 1256470
Bug 1236893
Change-Id: I4ffa906c07ed1d07ad3b89aea9eb83fb153b765d
Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-on: http://git-master/r/246132
(cherry picked from commit 8cdf5b9ccfb47477229bf2cbb37f5132e81ad39e)
Reviewed-on: http://git-master/r/248192
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>
|
|
Sysfs for changing tap value for wifi
Reviewed-on: http://git-master/r/250897
(cherry picked from commit 6028c371506333406df500da2af53b1c52f454da)
Change-Id: I08e0971c562cf1e491373173d5b3b7e5af1da6ba
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/250724
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
|
|
Current implementation decides the card type exclusively. Even though
eMMC device can support both HS200 and DDR mode, card type will be
set only for HS200. If the host doesn't support HS200 but has DDR
capability, then DDR mode can't be selected.
Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
(cherry picked from commit 96cf5f02aee8bbeff38824b18b9ec583d687f846)
Reviewed-on: http://git-master/r/227757
(cherry picked from commit 084aa8cc074b0e95883934f82f5521d0cc5e0941)
Change-Id: Id2b9095f8ffe59c520850acd40681a9ef15c3ff9
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Change-Id: I3bb070fdb724b817de4475a77c3191b77e654243
Reviewed-on: http://git-master/r/274991
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
|
|
Configure Tfa9887 at 16k for voip+nvoice usecase.
Add missing copyright info.
Change-Id: I080e874510255f1b2a4bf7d8045ef8fa6e2faadc
Signed-off-by: Vinod Subbarayalu <vsubbarayalu@nvidia.com>
Reviewed-on: http://git-master/r/257042
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Scott Peterson <speterson@nvidia.com>
|
|
Tegra Profiler misc driver:
allocate memory on demand from the user space, not on boot.
Bug 1312406
Change-Id: Idc5e8365e38b7faca236e011d9e665f53ac992e6
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/256309
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Andrey Trachenko <atrachenko@nvidia.com>
Tested-by: Andrey Trachenko <atrachenko@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>
|
|
Add Tegra Profiler kernel misc driver
Bug 1312406
Change-Id: Ifeadff529dbc949c40f91534fa059fde2b5f76b4
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/242395
Reviewed-by: Andrey Trachenko <atrachenko@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bo Yan <byan@nvidia.com>
Tested-by: Andrey Trachenko <atrachenko@nvidia.com>
|
|
This is a WAR to reset the USB device if the device
fails to resume. We assume that the resume failure is
because of the uC hang.
Signed-off-by: Anshul Jain <anshulj@nvidia.com>
Change-Id: I6fc85cd0ce2fad7a7dbff5b6ddee0a96149a5d76
(cherry picked from commit 0c87ac97b15b35b41cf333611fa81b1ff3cff04d)
Reviewed-on: http://git-master/r/246313
|
|
- Fix sysfs permissions.
- Fix raw accelerometer access.
- Fix autodetection behind MPU.
- Add self-test.
Bug 1224709
Bug 1243584
Bug 1291044
Bug 1295651
Bug 1290313
Bug 1298831
Change-Id: I55847fd158abdb9f12dc830218619c6ed7913396
Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-on: http://git-master/r/237428
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Xiaohui Tao <xtao@nvidia.com>
Tested-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
|
|
Sensor drivers for MPU, compass, and pressure.
New features include:
- Improved power management
- Completely powers off when not in use.
- Individual axis power control.
- Auto low power accelerometer.
- HW motion detection that gets an IRQ only when orientation changes.
- Improved performance
- Auto detect POR readiness.
- Auto detect reset/error completion.
- HW access only when needed.
- Streamlined execution path.
- Separate reset control.
- Runtime changes only affect the device being changed (removed carpet
bombing global resets and disable/enables).
- Separate sample rate for each device. A device not enabled doesn't inhibit
a faster rate for an enabled device.
- Multiple MPU slave devices.
- Auto detection of MPU slave devices and allowing an external driver for a
slave device to use or not use the MPU.
- External bypass mode. Any external driver can control and lock the MPU
I2C master bypass mode.
- Improved FIFO control. Support for all devices to use the FIFO.
- Separate reporting rate for each device.
- Improved timestamping by taking a timestamp before and after the sample and
using the average.
- Allows generic class driver for slave devices. All drivers conform to a
standard API.
- Automatically handle configuration steps to enable a device and make run-time
changes.
- Improved debug support and added a debug API.
- Add BMP180 pressure driver.
- Added compass high speed feature where compass doesn't prevent the MPU
devices from going faster than 100Hz. Needed for camera.
- Added support for 8kHz Gyro and 1kHz accelerometer. Needed for camera.
- Added support to populate Android sensor_t structure from kernel data.
Bug 1212893
Bug 1161345
Bug 930909
Bug 1224709
Bug 1058689
Bug 1030747
Bug 980723
Change-Id: Ic0a38f015691cfaca1bc3e72422d5980eddc1265
Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/210592
(cherry picked from commit 90e7c6b815a591eb0bac120c8b595766f2196ecb)
Reviewed-on: http://git-master/r/216709
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>
|
|
Add orientation vector in header file in order for better
management
Change-Id: Ic128afc49f169f534356fdec2e1381ccd09acc6b
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/237427
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>
|
|
Code drop from raydium to update kernel to v55.2
Change-Id: I3562e487cdbf55b45428139f093aa245cd8e0b90
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/223425
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
|
|
This change adds support for the firmware to be
force updated. This flag can be used to downgrade the
firmware.
Bug 1270341
Change-Id: I2c7eee9029cce38fdb902b211fb2800071579ff9
Signed-off-by: Anshul Jain <anshulj@nvidia.com>
Reviewed-on: http://git-master/r/222598
Reviewed-by: Richard Zhao <rizhao@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
|
|
Bug 1257642
Bug 1245549
Bug 1245404
Change-Id: I83614e33307cb2545c3a85be4a44c86e2afc1005
Signed-off-by: Robert Collins <rcollins@nvidia.com>
Reviewed-on: http://git-master/r/218645
Reviewed-by: Xiaohui Tao <xtao@nvidia.com>
Tested-by: Xiaohui Tao <xtao@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
|
|
Add support to have a smooth charging current ramp-up.
Bug 1262682
Change-Id: Ia1987172d416d17fde39ec2d428ca7b28f4a28c4
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/219614
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit
|
|
Added sysfs node that can enable/disable the tri-state
buffer at Tegra LED driving output
This change and change http://git-master/r/#change,216037
DEPENDS ON EACH OTHER
Bug 1198937
Change-Id: I1e9fe9e83ddddec44e2740ba23c8ee3de1cc3561
Signed-off-by: Jun Yan <juyan@nvidia.com>
Reviewed-on: http://git-master/r/216038
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
|
|
- tegra_cpuquiet 'no_lp' node now accepts '-1' to force LP cluster on
- when a cluster is forced the switches take place immediately without
any delay
Bug 1247636
Reviewed-on: http://git-master/r/208772
(cherry picked from commit ab16bbb6f581da538448d2a64e03dd272b8fb985)
Change-Id: I1ec07acc3cf51419a4770542c6a1c90b92e0bf66
Signed-off-by: Simo Melenius <smelenius@nvidia.com>
Reviewed-on: http://git-master/r/215935
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
Tested-by: Matt Wagner <mwagner@nvidia.com>
|
|
Userspace expects changes to happen synchronously. Implement this by waiting
with a (configureable) timeout for the action to happen.
Bug 1220065
Change-Id: I81301719707e4baf2b3aea62c38fc771ffe1205d
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
(cherry picked from commit 9de8f56142e64ebf388b5427ef7fd142078dfa87)
Reviewed-on: http://git-master/r/#change,200013
Reviewed-on: http://git-master/r/215934
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
Tested-by: Matt Wagner <mwagner@nvidia.com>
|
|
-Check and update charging status when we encounter charging faults.
-Restart charging after certain timeout in case of charging
termination INT.
Bug 1261623
Change-Id: Ia43b598c79b85aa20f70a49312c370b384302333
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/215971
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Syed Rafiuddin <srafiuddin@nvidia.com>
GVS: Gerrit_Virtual_Submit
|
|
Cypress in-system serial programming (ISSP) interface is used
to program Cypress micro controllers. This driver uses gpios
to simulate issp protocol.
Notes:
- Please make sure firmware is builtin before add device, because
the driver will hang on waiting for the firmware.
- If issp shares pins with other driver, please make sure the other
driver initialize after issp driver.
- It's better use firmware that disable version block read protect,
because the driver force firmware upgrade if the block's protected.
Bug 1245803
Change-Id: I0fcc3c764ff8eea90cb71e76f43a57d8d2696d12
Signed-off-by: Richard Zhao <rizhao@nvidia.com>
Reviewed-on: http://git-master/r/209784
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
|
|
This change adds a lookup table. This lookup table
is used for looking up the pwm state cap based on the
value echoed in state_cap sysfs node.
Bug 1261177
Bug 1259488
Bug 1259204
Change-Id: Ie549d0a89e412655cd91d1f6321cd095af07071c
Signed-off-by: Anshul Jain <anshulj@nvidia.com>
Reviewed-on: http://git-master/r/213402
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
|
|
Update input voltage limit to 4.52V when Nv charger or
2000mA charger connected.
Bug 1253104
Change-Id: Ida19738a36685fbc5c768a6e9da5c483724f284b
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/212834
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
|
|
Restart charging after certain timeout, for battery full,
charging fault and safety timer expire cases. To charge
periodically drained battery.
Bug 1252277
Change-Id: I7b3a7f8783fdc7d1c480a32ba1409678a240577f
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/210816
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
|
|
This change introduces new sysfs API state_cap.
State_cap should be used for capping the maximum pwm of
fan from application layer.
State_cap provides a layer of abstraction to app profile
framework. Board level differences can now be taken care
of by the driver.
Bug 1259204
Change-Id: I5aaeba55c2420fc3e518145e93807f47515e9638
Signed-off-by: Anshul Jain <anshulj@nvidia.com>
Reviewed-on: http://git-master/r/212431
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
|
|
PWM fan on P2560 uses GPIO_PU2. On reworked P2454 it uses
GPIO_PX4, which GPIO is not used for other purpose.
Change-Id: Iba12f8c6fb9cb8fc5d23f58abb49a2d0f3ceb4d0
Signed-off-by: Shaoming Feng <shaomingf@nvidia.com>
Reviewed-on: http://git-master/r/210913
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
|
|
Update volume algorithm to use a single preset since
the tfa9887 device gltiches audio whenver you update
the preset.
Matched volume curve with the curve used by Android
Updated EQ settings.
Bug 1239246
Change-Id: Iae563a96990520f845ad3f580e02d163e4a3ff0e
Signed-off-by: Scott Peterson <speterson@nvidia.com>
Reviewed-on: http://git-master/r/205802
GVS: Gerrit_Virtual_Submit
|
|
Some of PMIC like Palma support different bits for configuring
rail's mode which is used in sleep mode of device.
Add support for configuring this mode bits.
Change-Id: Ib1bbc5164bf71c75c727dc759436e8dcf206f511
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit 2fec630607b397475a54c7395558ba55203c0ca9)
Reviewed-on: http://git-master/r/207832
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Wen Yi <wyi@nvidia.com>
Tested-by: Wen Yi <wyi@nvidia.com>
|
|
Addition of RTC wake alarm functionality to wakeup
the platform from the system power off state
and clear the HIZ bit.
Bug 1248143
Change-Id: I5d5ef425a5c6707c407a972041533fc096db697f
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/206700
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit
|
|
Send event for the key that wakes up the system on resume
Add wakeup callback for system to determine which GPIO woke it
Bug 1245323
Change-Id: Id803eb34228bd9707e86f23cdafce21c585fb4c2
Signed-off-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-on: http://git-master/r/206068
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
|
|
The bq2419x driver functionality is merged into single file as
power/bq2419x-charger, these files are not required hence deleting.
Bug 1240114
Change-Id: Ie9ab505c08d535978cf53ee26b0d1ace98c8e4b8
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/205497
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
|
|
BQ2419X support the WDT timer which reset the configuration
on expiration. Handling the WDT timer to proper functiong of device.
Following are details of changes:
- Implement WDT reset in kthread with high priority.
- Configure WDT time based on platform data,
- Merge the VBUS regulator in the charger driver itself as
charger or VBUS can happen mutually.
- Displaying the charging fault when happens.
- Other cleanups to reduce code size and make better readability.
- Related chnages in board file.
Bug 1240114
Change-Id: Iefa79b7c0c791e8a1d69b44d9399aab7730a2da9
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/205495
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
|
|
Raydium code drop. Queue a maximum of one resume.
Bug 1225919
Change-Id: I710ae7252bd207c6de53af719646426a9be36405
Signed-off-by: David Jung <djung@nvidia.com>
Reviewed-on: http://git-master/r/203516
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
Tested-by: Matt Wagner <mwagner@nvidia.com>
GVS: Gerrit_Virtual_Submit
|
|
This handling is done elsewhere and doesn't belong in gpio_keys anymore
Bug 1220330
Change-Id: Ibe74f650eedc2f2df93ea8b2c542ba8ad27d9ea2
Signed-off-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-on: http://git-master/r/200642
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
If regulator rail is configured for a desired mode and
if this rail get disable and again enable then mode
get reset to normal.
Store the desired mode locally and when it enabled, use the stored
preconfigured mode for enabling regulator.
bug 1231293
Change-Id: I396d91609dd91a4f3c682e1279c6f851cda4b94f
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/199434
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>
|
|
The min and max priority constants are defined incorrectly (in the wrong
order). This patch corrects it and updates the affected drivers and
platform data.
Change-Id: I94a628c4f4076d1c36dff1692f0427ad1f218fb5
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
(cherry picked from commit 3d2fe9f41fdd54d4c79b7202680e93de8debc8a1)
Reviewed-on: http://git-master/r/198395
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
|
|
Raydium code drop.
Update code for slow scan.
Bug 1054801
Change-Id: Ie123e14ab9892b8055ab7af4bae9dd14189acfa6
Signed-off-by: David Jung <djung@nvidia.com>
Reviewed-on: http://git-master/r/194480
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Add trace points to log time stamp when the input event is received
and time at which boost work is scheduled. This is for detailed
profiling of touch latency.
Bug 1229219
Change-Id: I5f2f4f3d821d93b550fa9f86dc8fd562fa5d460a
Signed-off-by: Yogish Kulkarni <yogishk@nvidia.com>
Reviewed-on: http://git-master/r/197954
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>
|
|
sk_buff.h header file is needed to compile st_host_wake driver
Bug 1179655
Change-Id: I71d7290a7e3d7fea4f06caad4907c533bab31243
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/197415
Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Signed-off-by: Raghavendra Shenoy Mathav <raghavendra.shenoy@ti.com>
Bug 1179655
Change-Id: I904ed2d392b6ff8fbfb00e949f470542387aace4
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/197395
Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com>
Tested-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
The device has the errata and sw need to implement the WAR for
proper functioning of the device.
The errata are:
1. SMPS- slew rate (TSTEP) is slower than expected
-----------------------------------------------
when output voltage target is close to previous one
IMPACT: The settling time is greater than specified slew rate in
register map and datasheet for voltage scaling of the SMPS.
DESCRIPTION: Measurement done on WCSP ES2.0, SMPS8, SMPS6, SMPS12
for TSTEP=0x02(5mV/us)
- step from VOUT= 0.5v to 1.65V ==>slew rate is around 5mV/us
- step from VOUT= 0.96v to 1.04V ==>slew rate is around 2.5mV/us
for TSTEP=0x03(2.5mV/us)
- step from VOUT= 0.5v to 1.65V ==>slew rate is around 2.5mV/us
- step from VOUT= 0.96v to 1.04V ==>slew rate is around 1.6mV/us
WORKAROUND: Adapt wait time using above value.
REVISION IMPACTED: ES1.0/ES2.0/ES2.1
2. LDO8_TRACKING: PD in tracking mode
-------------------------------------
IMPACT: Higher consumption and performance impact when LDO8 is set in
tracking mode and LDO is set to have its pull down enabled in OFF mode.
DESCRIPTION: When LDO8 is set in tracking mode and the LDO is set to have
its pull down enabled in OFF, the pull down is also enabled in ACTIVE mode.
WORKAROUND: In tracking mode, bit7 of LDO_PD_CTRL1 register must be set to 0.
When LDO8 is disabled, to have the pull down, bit7 of LDO_PD_CTRL1 register must
then be set to 1.
In LDO8 regulation mode, behavior is the same as the other LDOs.
REVISION IMPACTED: ES 2.1 ES2.0 ES1.0
bug 1228386
bug 1195226
Change-Id: Ib19a21cb722b1bc07d93a0cf866c134672ef8735
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/199132
Reviewed-by: Automatic_Commit_Validation_User
|
|
Read internal design revision and sw otp version of the device and
print this message.
This will help on implementing the errata of different ES version of
device.
bug 1228386
bug 1195226
Change-Id: I616aafd20cc0fce0f75a2f730107905f739f77cb
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/199131
Reviewed-by: Automatic_Commit_Validation_User
|
|
Palmas register set is divided into different blocks (base and offset)
and hence different i2c addresses. The i2c address offsets are derived
from base address of block of registers.
Add inline APIs to access the Palma's registers which takes the base of
register block and register offset. The i2c address offset is derived
from the base address of register blocks.
Change-Id: Ia4155e4ecba76bd6024583058ad943b9c7410976
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/199130
Reviewed-by: Automatic_Commit_Validation_User
|
|
Adds i2c shutdown related checks
Bug 1226744
Change-Id: Ic9833dd620f108d6c4a339579b71e80c790503f9
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/197860
Reviewed-by: Vijay Mali <vmali@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
|
|
Max17042 returns the temperature in deci-celsius.
The temperature range was set to +/-70 which is
actually only +/- 7 degrees. Change the range to
-20 to +70 C so that the driver does not incorrectly
believe the battery is overheating.
Bug 1220507
Change-Id: I6046933cc7597bd4051673238261219ce8cfa106
Signed-off-by: Graziano Misuraca <gmisuraca@nvidia.com>
Reviewed-on: http://git-master/r/195782
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Gaurav Batra <gbatra@nvidia.com>
Tested-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
|