Commit graph

575481 commits

Author SHA1 Message Date
Linux Build Service Account
45bd3054fc Merge "ARM: dts: msm: Fix smem rpm xprt entry for msmfalcon" 2016-09-29 11:20:31 -07:00
Linux Build Service Account
f6d68e27bf Merge "sched: constrain HMP scheduler tunable range with in better way" 2016-09-29 11:20:30 -07:00
Linux Build Service Account
fbf3c441eb Merge "defconfig: msmcortex: Enable core control" 2016-09-29 11:20:18 -07:00
Linux Build Service Account
95ce9d98db Merge "sched/core_ctl: Integrate core control with cpu isolation" 2016-09-29 11:20:17 -07:00
Linux Build Service Account
461424e5ec Merge "sched/core_ctl: Refactor cpu data" 2016-09-29 11:20:17 -07:00
Linux Build Service Account
bbf8724641 Merge "core_ctrl: Move core control into kernel" 2016-09-29 11:20:17 -07:00
Linux Build Service Account
a18b94fe05 Merge "ARM: dts: msm: Update TSENS sensor ID for MSMCOBALT" 2016-09-29 11:20:15 -07:00
Linux Build Service Account
e84d273d90 Merge "thermal: tsens: Update sensor ID index" 2016-09-29 11:20:14 -07:00
Linux Build Service Account
dee200e246 Merge "net: ipc_router: fix NULL pointer de-reference issue" 2016-09-29 11:20:14 -07:00
Linux Build Service Account
2ef6e7b165 Merge "soc: qcom: Listen to SUBSYS_AFTER_SHUTDOWN notification" 2016-09-29 11:20:13 -07:00
Linux Build Service Account
06b25aaee0 Merge "ASoC: wcd9335: add handset speaker gain mixer control" 2016-09-29 11:20:12 -07:00
Linux Build Service Account
e70bdf79d7 Merge "ARM: dts: msm: Add SMP2P entries for MSMTRITON" 2016-09-29 11:20:09 -07:00
Linux Build Service Account
b7a533836a Merge "arm64: process: Reduce the no. of bytes of data around registers" 2016-09-29 11:20:08 -07:00
Linux Build Service Account
54ff1c7439 Merge "msm: pil: Adding function name and buffer size information in logs" 2016-09-29 11:20:07 -07:00
Linux Build Service Account
8da5055a8d Merge "wil6210: extract firmware capabilities from FW file" 2016-09-29 11:20:01 -07:00
Linux Build Service Account
1e6c420f32 Merge "ARM: dts: msm: Remove 710Mhz frequency for A540v2 GPU." 2016-09-29 11:20:00 -07:00
Linux Build Service Account
c5de06bf5c Merge "ASoC: msm: qdsp6v2: Change device switch handling" 2016-09-29 11:20:00 -07:00
Linux Build Service Account
6f2eaf846d Merge "misc: qcom: qdsp6v2: SSR recovery support for NT decoder" 2016-09-29 11:19:58 -07:00
Linux Build Service Account
50edc528ba Merge "msm: pcie: configurable PERST propagation delay" 2016-09-29 11:19:57 -07:00
Linux Build Service Account
d099799530 Merge "msm: camera: Add a driver to control IR CUT device" 2016-09-29 11:19:56 -07:00
Linux Build Service Account
a04c752c85 Merge "msm: camera: Export IR CUT device to mm-qcamera-daemon" 2016-09-29 11:19:54 -07:00
Deepak Katragadda
c9d8452b7d clk: msm: clock: Add the non_local_control_timeout flag to ahb_clk_src
On MSMCOBALT, the ahb_clk_src needs its sources to be enabled for
it to configure to a new frequency. Hence, force enable the PLL
and XO sources everytime it is scaled.

CRs-Fixed: 1060894
Change-Id: Ib2f5277f14b1484838439a9bb756358421737bd4
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
2016-09-29 10:53:40 -07:00
Taniya Das
496c9d2780 clk: qcom: Add support for GCC clock for MSMFalcon
Add support for the global clock controller found on MSMFalcon
based devices. This should allow most clocks for peripherals other than
multimedia clocks.

Change-Id: I1ec6309f32c658177580cc0601083d32bcdfad20
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2016-09-29 23:20:59 +05:30
ansharma
7317a659eb ARM: dts: msm: Add the pmfalcon and pm2falcon dtsi files
Add the device nodes for the following peripherals -
pmfalcon - RevID, PON, GPIO, COINCELL, RTC
pm2falcon - RevID, PON, GPIO, PWM, LED, WLED, FLASH

CRs-Fixed: 1070059
Change-Id: I0159eccab5a6263d61e1a226f320212d94bfee7e
Signed-off-by: ansharma <ansharma@codeaurora.org>
2016-09-29 22:46:23 +05:30
ansharma
8c85f4537d ARM: dts: msm: Add pinctrl configuration for flash GPIOs on MSMFALCON
Add pinctrl configuration for GPIO40 used for FLASH2_EN on MSMFALCON.

CRs-Fixed: 1070059
Change-Id: Ib24ca5ff149e368298d3303c38677c3012709b97
Signed-off-by: ansharma <ansharma@codeaurora.org>
2016-09-29 22:36:08 +05:30
ansharma
6928194490 ARM: dts: msm: Add SPMI device node for MSMFALCON
Add the SPMI node for MSMFALCON with required configuration and
keep it disabled.

CRs-Fixed: 1070059
Change-Id: I06ff3f095344a240c3597c8a98bd8028ca491f03
Signed-off-by: ansharma <ansharma@codeaurora.org>
2016-09-29 22:36:08 +05:30
Deepak Katragadda
737be68e21 clk: msm: clock-mmss-cobalt: Update the video core clock frequencies
Update the video core clock frequency tables on MSMCOBALT v2.

CRs-Fixed: 1071940
Change-Id: I2858da0e32dfa4ea5bc14395e884aabf832fa8f6
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
2016-09-29 09:54:49 -07:00
Amit Nischal
7d88215503 clk: qcom: Add support to register rpm-smd clocks
Update the rpm-smd communication API to send across votes for clock
enable/disable to RPM. Use the clk_hw list for the RPM clocks and also
update the clock ids and clock names for RPM clocks.

Change-Id: I37ae97f22b1b39d040bb78c90b1ff231bc348fe6
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
2016-09-29 20:40:47 +05:30
Amit Nischal
ac987c7a71 clk: qcom: Add support to force enable/disable the RCG
Some RCGs would be expected to be enabled/disabled using
the root enable bit of the RCGR. These RCGs would have to
indicate the force enable using the FORCE_ENABLE_RCGR flag.

Change-Id: Ia1eaba2728d06066612739ff48f7e5e44322e96b
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
2016-09-29 19:10:25 +05:30
Hemant Gupta
e7c432ac44 Bluetooth: HID: Add Bus type for specific HID Keyboard
Add Bluetooth bus type for product id = 0x05ac and vendor
id = 0x0220, so that it can be handled by specific vendor
driver to parse specific key events which cannot be handled
by generic USB HID driver of kernel.

CRs-Fixed: 1072093
Change-Id: I68b585db1b350c7ffd8ea662cab550aaa7a0727d
Signed-off-by: Hemant Gupta <hemantg@codeaurora.org>
2016-09-29 04:52:00 -07:00
Pavankumar Kondeti
9d128dbca3 sched: don't assume higher capacity means higher power in lb
The load balancer restrictions are in place to control the tasks
migration from the lower capacity cluster to higher capacity
cluster to save power. The assumption here is that higher capacity
cluster will have higher power cost which may not be necessarily
true for all platforms. Use power cost based checks instead of
capacity based checks while applying the inter cluster migration
restrictions.

Change-Id: Id9519eb8f7b183a2e9fca87a23cf95e951aa4005
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2016-09-29 10:07:19 +05:30
Jack Pham
8b01cb751c usb: pd: Print out source/sink subtypes
Add additional verbiage to the info logs to help
determine the type of source cable connected: default,
medium or high current. Similarly, if a sink is attached,
indicate whether it is with a powered cable or not.

Change-Id: I0687365827cdbb8a1b7168a2b676b1afd2f576f6
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2016-09-28 18:40:14 -07:00
Sunil Paidimarri
0dfb2feb3e msm: ipa: Recycle wan buffer
Enable recycle wan buffer support in IPA driver
to support napi in rmnet ipa0 net device.

Change-Id: I54efe72b5cf4ecdf50c7c642a8b453c46d057e57
CRs-Fixed: 1072443
Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
2016-09-28 17:23:43 -07:00
Tony Truong
5278f47491 msm: pcie: verify EP is accessible before conf restore
When attempting to restore multiple endpoint's configuration
space over a switch or bridge, only restore for the ones
that are accessible and powered on.

Change-Id: Ie6234ae30ad47a063982e5cc50f4ecedf1f61de2
Signed-off-by: Tony Truong <truong@codeaurora.org>
2016-09-28 15:16:13 -07:00
Vamsi Krishna Samavedam
e43496ce13 usb: dwc3: fix overriding core clock rate to default max
Fix the bug introduced by commit 82d4ec9778
("usb: Add support for reset controller framework") which
overrides the core clock rate from device tree.

Change-Id: Ic3ef2229fa8552301e09dfb912e79e044a81324f
Signed-off-by: Vamsi Krishna Samavedam <vskrishn@codeaurora.org>
2016-09-28 10:56:12 -07:00
Benjamin Chan
6c700903fc msm: sde: Adjust SDE rotator clock and BW calculation
Optimize the initial rotator session opening time by moving the clock
and BW voting to the start of rotator. Also adjusting the clock
calcuation to include overhead and fudge factor. Create debugfs entry
for supporting override the clock and BW calculation

CRs-Fixed: 1071288
Change-Id: Ia6a84f160d0288ced98bf9f1818d9eabfc2e3963
Signed-off-by: Benjamin Chan <bkchan@codeaurora.org>
2016-09-28 13:34:05 -04:00
Yuanyuan Liu
e291415f88 icnss: update logs for QMI rejected messages
WLAN firmware can reject QMI message, improve the logs to
indicate the same.

CRs-Fixed: 1071938
Change-Id: I7ab180e06ececf8136903ee04565b8b4a2bf3524
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
2016-09-28 09:36:13 -07:00
Shantanu Jain
4bfc4cac73 input: touchscreen: Change dev_pm_ops for Goodix driver
Convert the driver to dev_pm_ops from SIMPLE_DEV_PM_OPS
in Goodix TS driver to reduce suspend/resume latency.

Change-Id: I45690b239c73f636538b864f0c4a7e539a02eedb
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-09-28 13:22:05 +05:30
Amir Samuelov
82bf612671 soc: qcom: pil: add PBL spare error status
The PBL spare status registers provide more info
about the reason for PBL failure.

Change-Id: I1dddc7df26caa1556e57128603afd32b2613ebde
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
2016-09-27 23:33:48 -07:00
Meng Wang
e8a912f601 ASoC: wcd934x: Add support for digital core power collapse
When no audio use-cases are active, codec digital core
can be put into power collapse to reduce the power consumption
during codec stand-by. Add support to put core into power
collapse and remove out of the collapse when audio use-cases
are triggered.

CRs-Fixed: 1063742
Change-Id: I0314b7319f2ef02d6125b77e68bf47d065521f6a
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2016-09-28 14:20:15 +08:00
Dhanalakshmi Siddani
490c4e45d7 ASoC: msm: qdsp6v2: add routing map for multimedia6
HFP client call is not working on external codec over I2S
as backend entry is missing for multimedia6. Add entry for
multimedia6 in routing map to fix the issue.

CRs-Fixed: 1069401
Change-Id: I98b8dcc26ec776777b835e8438983c79aeb25a42
Signed-off-by: Dhanalakshmi Siddani <dsiddani@codeaurora.org>
2016-09-27 23:06:33 -07:00
Nicholas Troast
d2da5a62b4 ARM: dts: msm: enable more FG interrupts for PMICOBALT
Interrupts are useful for testing and debugging. Enable all fuel gauge
interrupts.

Change-Id: Ic6dd2d1e7f829630dc6eae5ff74fae04f7fc7f9b
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
2016-09-27 19:55:54 -07:00
Nicholas Troast
9d4164b5e8 qcom-charger: fg-util: add float decode function
Some SRAM registers are encoded using a floating point representation.
Add a function to decode these registers into signed micro-unit
integers.

The exponent and mantissa are signed integers represented by two's
complement, and the exponent value is offset by -9. This is a half
float representation stored as:

EEEEE MMMMMMMMMMM

Where E are the exponent bits, and M are the mantissa bits.

To decode this representation the following formula is applied:
2^(exponent - 9) * mantissa

Change-Id: Id9f28a0eeb2a904aca41eb46d0215d80287e0b88
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
2016-09-27 19:55:54 -07:00
Vidyakumar Athota
d07060d4f1 ASoC: wcd934x: enable rate converter clock for AANC
Rate converter clock needs to enable for adaptive ANC
(Active Noise Cancellation)to work otherwise noise mic
data will not go to Rx path. Add change to enable rate
converter clock.

Change-Id: I8c83f6305dbc0a40b67bf2ffd53d37a0abdcf953
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
2016-09-27 17:57:49 -07:00
Deepak Katragadda
96cf678eca ARM: dts: msm: Add 2.3 GHz performance cluster support on MSMCOBALT v2
Allow scaling the performance cluster clock to 2.3 GHz using
single core frequency boost on MSMCOBALT v2 speed bin 1 parts.

CRs-Fixed: 1070684
Change-Id: I473a1965989ac652c630b69c6086b74d0bdabfa3
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
2016-09-27 14:47:16 -07:00
Deepak Katragadda
7c7db2d4d9 clk: msm: clock-osm: Support many-to-one OSM freq to CPR corner mapping
The current OSM framework does not support mapping multiple OSM
clock frequencies to the same CPR virtual corner. Enable this
support and update the current clock DT entries accordingly.

CRs-Fixed: 1070684
Change-Id: I3422848cabf221f497eb91f9aae5905e34ebdc84
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
2016-09-27 14:41:04 -07:00
Skylar Chang
9ba1638c4b msm: ipa3: change FnR prints to low
Change FnR rule creation prints to low in order to avoid IPC
logging flood.

Change-Id: Ie1f0f48ffc1fd67fc8a2074d3d334fb8cd29c99f
CRs-Fixed: 1064336
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2016-09-27 14:03:21 -07:00
Viswanadha Raju Thotakura
fd39134867 msm: camera: Add regulator enable and disable independent of CSID
Regulator enable and disable of CSIPHY depends on the CSID module.
Make the enable and disable of clk regulator independent of CSIPHY.

CRs-Fixed: 1050172
Change-Id: Iefd57ae1c3fb5774b8043ef2e824acbacc8d16d2
Signed-off-by: Viswanadha Raju Thotakura <viswanad@codeaurora.org>
2016-09-27 13:40:33 -07:00
Phani Kumar Uppalapati
15c8a1727b drivers: mfd: Update wcd934x codec volatile register table
Add top-level wcd934x codec registers as volatile because
those registers get updated even before register map cache
initialization.

Change-Id: Ibdf5f695e5464b9597d153f725ff461f89b62ae4
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2016-09-27 11:02:14 -07:00
Himanshu Aggarwal
80fa7e9893 input: touchscreen: Fix issues in suspend path
Fix issues in suspend path in Goodix driver.

Change-Id: I280f2201c69838ad4da8eb94e9f10768f54ed457
Signed-off-by: Himanshu Aggarwal <haggarwa@codeaurora.org>4
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
2016-09-27 16:33:03 +05:30