Age | Commit message (Collapse) | Author |
|
[backport of net-next 6d0bfe22611602f36617bc7aa2ffa1bbb2f54c67]
This adds the ability to send ICMPv6 echo requests without a
raw socket. The equivalent ability for ICMPv4 was added in
2011.
Instead of having separate code paths for IPv4 and IPv6, make
most of the code in net/ipv4/ping.c dual-stack and only add a
few IPv6-specific bits (like the protocol definition) to a new
net/ipv6/ping.c. Hopefully this will reduce divergence and/or
duplication of bugs in the future.
Caveats:
- Setting options via ancillary data (e.g., using IPV6_PKTINFO
to specify the outgoing interface) is not yet supported.
- There are no separate security settings for IPv4 and IPv6;
everything is controlled by /proc/net/ipv4/ping_group_range.
- The proc interface does not yet display IPv6 ping sockets
properly.
Tested with a patched copy of ping6 and using raw socket calls.
Compiles and works with all of CONFIG_IPV6={n,m,y}.
Bug 1412141
Change-Id: I0081b4654dd54b12c8f233e00e18943582aa2142
Signed-off-by: Lorenzo Colitti <lorenzo@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
[lorenzo@google.com: backported to 3.4]
(cherry picked from commit 1f0675844e3b63a765e5bd32bc5af051ccd951c0)
Reviewed-on: http://git-master/r/336269
(cherry picked from commit 36c1b848f9c0cbcefa6fc731f84ae6ddc3536be6)
Signed-off-by: Lorenzo Colitti <lorenzo@google.com>
Reviewed-on: http://git-master/r/350988
(cherry picked from commit b6c001896edb42c15d7fa86fda14181c096aa1d0)
Reviewed-on: http://git-master/r/390634
Reviewed-by: Jun Su <juns@nvidia.com>
Reviewed-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-by: Liangcai Li <liangcail@nvidia.com>
Tested-by: Liangcai Li <liangcail@nvidia.com>
Reviewed-by: Manish Tuteja <mtuteja@nvidia.com>
|
|
functions
[net-next commit b7ef213ef65256168df83ddfbb8131ed9adc10f9]
__ipv6_addr_needs_scope_id checks if an ipv6 address needs to supply
a 'sin6_scope_id != 0'. 'sin6_scope_id != 0' was enforced in case
of link-local addresses. To support interface-local multicast these
checks had to be enhanced and are now consolidated into these new helper
functions.
v2:
a) migrated to struct ipv6_addr_props
v3:
a) reverted changes for ipv6_addr_props
b) test for address type instead of comparing scope
v4:
a) unchanged
Bug 1412141
Change-Id: I1788f1f2d3a6bd2b9e6a6afe74992d6d4a1385eb
Suggested-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Cc: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 2c75b248e5243d0af7cc97522148db7415a70f8a)
Reviewed-on: http://git-master/r/336266
(cherry picked from commit dfd23e75d7f69863ec3903ea1300185a1474b56a)
Reviewed-on: http://git-master/r/350982
(cherry picked from commit edc5676cb9a9136f88db4685feb11bb87ed359cf)
Reviewed-on: http://git-master/r/390633
Reviewed-by: Jun Su <juns@nvidia.com>
Reviewed-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-by: Liangcai Li <liangcail@nvidia.com>
Tested-by: Liangcai Li <liangcail@nvidia.com>
Reviewed-by: Manish Tuteja <mtuteja@nvidia.com>
|
|
Tegra Profiler: unwinding based on exception-handling tables
Bug 1465331
Change-Id: I9e8bb2eb342c5dadf82af05bb87040c0925cca1b
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/377109
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Andrey Trachenko <atrachenko@nvidia.com>
Tested-by: Maxim Morin <mmorin@nvidia.com>
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Tegra Profiler: reduce size of sample
magic number was removed
Bug 1447839
Change-Id: I14a23f668eab575add872daa35f27653eff643ff
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/365904
(cherry picked from commit dbd2e0e3392861eeffff087b577cda0fa501a36b)
Reviewed-on: http://git-master/r/368218
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: add user_mode flag into mmap sample
Bug 1447904
Change-Id: Ieba1025abac78b2682c0445e608fd0137dbe2379
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/365901
(cherry picked from commit bbbdb78281524c75706d6b4162182a514355a1a0)
Reviewed-on: http://git-master/r/368217
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: add mmap calls
Bug 1447662
Change-Id: I96614ab3c320fd028cf861ea970b5199bdcae1c7
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/365889
(cherry picked from commit 6c4eaeece04690ea442d3c4b6cd74d6fa9ae121e)
Reviewed-on: http://git-master/r/368214
GVS: Gerrit_Virtual_Submit
Tested-by: Maxim Morin <mmorin@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Tegra Profiler: state, in_interrupt fields
were added into samples
Bug 1447655
Change-Id: I082b63ff854da34df45160a6f07dbe5ee73ca7f7
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/365867
(cherry picked from commit 868545a99d8385a850fc87a4ad97dc8fb44a6e76)
Reviewed-on: http://git-master/r/368212
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Maxim Morin <mmorin@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Locks for ability to use loadable module
to override the built-in driver on rooted devices
Bug 1447640
Change-Id: If20605597d77a0cf76206fbe2f474c8853696a9b
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/365854
(cherry picked from commit d0510cca51cc2dc764c5838736bf1841bedfb558)
Reviewed-on: http://git-master/r/368206
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Maxim Morin <mmorin@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Group CPU cycles and cache misses samples.
To reduce the amount of data passed from the target to the host,
we can group samples that have a lot of common information.
Bug 1447582
Change-Id: I9b16bf4f18455ff6219fd58373eceba4cb71e352
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/365849
(cherry picked from commit 48c34477a883e3b7a7872ab9f3de725f9542060a)
Reviewed-on: http://git-master/r/368205
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: 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>
|