defconfig: Enable WCNSS register dump on WCNSS bite

When Apps recieves a WDOG bite from WCNSS, collecting a register
dump of WCNSS is helpful to root cause the failure.

Change-Id: I08987fe6dd0f660607bf6b1edcf32b590f1cccaf
Signed-off-by: Sameer Thalappil <sameert@codeaurora.org>
RM: defconfig: msm8974: Add NFC for 8974 devices

Add NFC for msm8974 configuration

Change-Id: I24269b5fdad071ccc2a7a1918f6e9e6b6d00db51
Acked-by: Umesh Jagga <ujagga@qti.qualcomm.com>
Signed-off-by: Houston Hoffman <hhoffman@codeaurora.org>
ARM: dts: msm: add non wake up capable interrupts to bypass list for 8x10 v2

Add non wake up capable interrupts to bypass list for 8x10 v2.
Some of the interrupts are not capable of waking up the system
from LPM modes but these interrupts can prevent the system not
to enter into deep power states i.e XO and Vdd min when these
are not added to bypass list.

CRs-fixed: 584863
Change-Id: I35dce3a8e833b11940afa975e49db0f6dc731bdb
Signed-off-by: Anil kumar mamidala <amami@codeaurora.org>
msm: thermal: Add support for emergency frequency mitigation

Add emergency frequency mitigation support to Kernel Thermal
Monitor. This feature enables KTM to mitigate the cpu's max
frequency when the temperature crosses the preset threshold.

CRs-Fixed: 538981
Change-Id: I756e82e577b19c18f32b3297aa97fa2942d8b77d
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
ARM: dts: msm: Enable emergency frequency mitigation for MSM8974

Specify the frequency mitigation threshold and the max frequency
to which KTM should mitigate the cpu. This mitigation is enabled
only for cpu 0, but can be extended to other cpu's by modifying
the cpu mask.

CRs-Fixed: 538981
Change-Id: I062d7a048961ffa77bfb52e19c78a9a31e9894e7
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
msm: thermal: Add IOCTL interface support to Kernel Thermal Monitor

Kernel Thermal Monitor exposes an IOCTL dev interface,
which can be used for user space cpu frequency
mitigation.

CRs-Fixed: 538981
Change-Id: Idb8b836970f7d5d029fea606aaa4f7958c982f68
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
ARM: dts: msm: add interrupts to bypass list

some of the interrupts are enabled by default and causing
system not to enter into XO when the target is idle. Add
non wakeup capable interrupts to bypass list to allow
target to enter into XO shutdown.

Change-Id: I7237a69bd2b87ab5101ffa6ad95e86aef2a93ad5
CRs-fixed: 575437
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
Signed-off-by: Anil kumar mamidala <amami@codeaurora.org>
ARM: dts: msm: Add NFC device for 8226-qrd devices

Add nfc-nci device to the device tree for 8226-qrd devices.

Change-Id: I7876fa95d30e55e2c0d2cb8a2010b06dc9c472da
Signed-off-by: Houston Hoffman <hhoffman@codeaurora.org>
msm: reap unused audio files

Removing this file as it is not used in this branch.

Change-Id: Ibff0dbeca0cdae5447d3fd8857ffad296edfdd55
Signed-off-by: anish kumar <kanish@codeaurora.org>
ARM: dts: msm: Add NFC device for 8974 bc

Add nfc nci device to the device tree for 8974 bc

Change-Id: I6caf8c6d6a7354f7b0b75557f8f51ea350ad205f
Acked-by: Umesh Jagga <ujagga@qti.qualcomm.com>
Signed-off-by: Houston Hoffman <hhoffman@codeaurora.org>
Revert "ARM: dts: msm: Add NFC device for 8974 bc"

Partially revert commit bc2bf21d5ae217b0735443d23686391da940e5a9.

Change-Id: Ia716ca499cd5538862b2aa5332e4e9c50127dfba
Signed-off-by: Houston Hoffman <hhoffman@codeaurora.org>
radio: iris: Avoid memory leak and NULL pointer dereferencing

 - Avoid memory leak by freeing allocated memory
 - Do not derefer NULL pointer

CRs-Fixed: 537955
Signed-off-by: Ayaz Ahmad <aahmad@codeaurora.org>
Change-Id: I7624d73e5c25233e9d03c67e4204c611b9a8fff6
radio: iris: Avoid NULL pointer dereferencing

Before dereferencing a pointer check for NULL
pointer.

CRs-Fixed: 537890
Signed-off-by: Ayaz Ahmad <aahmad@codeaurora.org>
Change-Id: If010b89fd4f5930d944c9e327c51de4b40f33c3c
wcnss: Add support to configure the Wlan MAC addr

This change introduces a sysfs entry to allow userspace to
configure the wlan MAC addr and exports an API which allows
WLAN and other wireless technologies to query the wlan MAC
addr

Change-Id: I751b2cf2db1321926e8e16ef1baaa4fa3d8d06cf
CRs-Fixed: 583465
Signed-off-by:  <hkpatel@codeaurora.org>
ARM: dts: msm: Add NFC device for squab V2 devices

Add nfc nci device to the device tree for squab V2 devices

Change-Id: I809bef2086a950b848823fd4ab6261bd39261d7c
Signed-off-by: Houston Hoffman <hhoffman@codeaurora.org>
msm: mdss: Use MDP_SOLID_FILL to enable color on pipe

To enable constant color on a pipe, set MDP_SOLID_FILL in pipe
flag. This will do a solid fill on the pipe with the color
specified in bg_color.

CRs-Fixed:592032
Change-Id: I3201e2fa657a6fc6d0e7f51f8585366afc3d29a3
Signed-off-by: Mayank Chopra <makchopra@codeaurora.org>
msm: clock-8610: Allow measurement of clocks in the WCNSS

For debugging reasons, it is required that WLAN drivers
be able to measure clocks in the WCNSS subsystem. It is
assumed that the WCNSS debug mux is already programmed
by the WCNSS firmware.

Change-Id: If3ebbe680347aa62d6c706f1518dda4585b90a74
Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
msm: clock-8226: Allow measurement of clocks in the WCNSS

For debugging reasons, it is required that WLAN drivers
be able to measure clocks in the WCNSS subsystem. It is
assumed that the WCNSS debug mux is already programmed
by the WCNSS firmware.

Change-Id: I3e7411021200a96454f37a1d40a17b109be4fc70
Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
msm: clock-8974: Allow measurement of clocks in the WCNSS

For debugging reasons, it is required that WLAN drivers
be able to measure clocks in the WCNSS subsystem. It is
assumed that the WCNSS debug mux is already programmed
by the WCNSS firmware.

Change-Id: Ia1bc054f8dd8bd51e62046c9ea71624a22bc890e
Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
ARM: dts: msm: Add NFC device for 8974 fluid

Add nfc nci device to the device tree for 8974 fluid and nfcc is
dependant on i2c BLSP1 QUP6. The data is represented in
device tree format and pass by the driver using of framework API

Change-Id: Ib03a7dbb550729d1810f7a070a49c8e1a9619971
Acked-by: Umesh Jagga <ujagga@qti.qualcomm.com>
Signed-off-by: Houston Hoffman <hhoffman@codeaurora.org>