Commit graph

580450 commits

Author SHA1 Message Date
Linux Build Service Account
a5d7c799af Merge "msm: mdss: Set default fps for dedicated WB" 2017-01-05 02:08:50 -08:00
Linux Build Service Account
fbc0f1b44f Merge "msm: mdss: Memset commit structure in compat path" 2017-01-05 02:08:49 -08:00
Linux Build Service Account
11e1f7acff Merge "msm: mdss: Add sysfs node for mdss to give runtime fps" 2017-01-05 02:08:48 -08:00
Linux Build Service Account
d4e1fb98bd Merge "msm: mdss: Allow WB to use first available control path" 2017-01-05 02:08:48 -08:00
Linux Build Service Account
9bcaa86e0c Merge "msm: mdss: Fix potential NULL pointer dereference in mdss smmu driver" 2017-01-05 02:08:47 -08:00
Linux Build Service Account
7da94c32a4 Merge "msm: mdss: print fence name during sync fence timeouts" 2017-01-05 02:08:47 -08:00
Linux Build Service Account
afc76e01c9 Merge "msm: mdss: Fix compat IOCTLS in rotator and primary" 2017-01-05 02:08:46 -08:00
Linux Build Service Account
dfc703f24a Merge "msm: mdss: Fix potential NULL pointer dereferences" 2017-01-05 02:08:46 -08:00
Linux Build Service Account
fff2d13b25 Merge "msm: mdss: Initialize pan_name array to 0 and handle error case" 2017-01-05 02:08:45 -08:00
Linux Build Service Account
ee57bbcc67 Merge "msm: mdss: Update WB OT settings for SDM660" 2017-01-05 02:08:45 -08:00
Linux Build Service Account
0aac3e19af Merge "qpnp-fg-gen3: add support for configuring ESR filter coefficients" 2017-01-05 02:08:42 -08:00
Linux Build Service Account
b1cb986a8f Merge "ARM: dts: msm: Add G-Link SPI transport device for sdm630" 2017-01-04 15:40:19 -08:00
Linux Build Service Account
8c3460d38c Merge "ARM: dts: msm: Add G-Link SPI transport device for sdm660" 2017-01-04 15:40:18 -08:00
Linux Build Service Account
6c1b5be1fe Merge "nf: IDLETIMER: Use fullsock when querying uid" 2017-01-04 15:40:17 -08:00
Linux Build Service Account
4752ef6f66 Merge "ARM: dts: msm: Enable red LED blinking for pm660" 2017-01-04 15:40:17 -08:00
Linux Build Service Account
8bb66a7e41 Merge "regulator: cprh-kbss: add support for sdm660 kbss cpr instances" 2017-01-04 03:25:37 -08:00
Linux Build Service Account
246e930ecb Merge "ARM: dts: msm: Add initial device tree for SDA630" 2017-01-04 03:25:36 -08:00
Linux Build Service Account
db25c7c878 Merge "ARM: dts: msm: Add device tree for SDM630 CDP, MTP and RCM" 2017-01-04 03:25:35 -08:00
Linux Build Service Account
94e93c87d5 Merge "ARM: dts: msm: Add initial device tree for SDM658" 2017-01-04 03:25:35 -08:00
Linux Build Service Account
9a18201fc8 Merge "sched: Fix deadlock between cpu hotplug and upmigrate change" 2017-01-04 03:25:34 -08:00
Linux Build Service Account
f478111a15 Merge "ARM: dts: msm: modify cpu nodes for sdm660" 2017-01-04 03:25:33 -08:00
Linux Build Service Account
553ba64570 Merge "ARM: dts: msm: Update SDM660+PM660A QRD board hardware version" 2017-01-04 03:25:32 -08:00
Linux Build Service Account
b4e982d4ee Merge "ARM: dts: msm: Update Venus QOS settings for SDM660" 2017-01-04 03:25:31 -08:00
Linux Build Service Account
5c124705e3 Merge "ARM: dts: msm: Add camera dtsi for sdm660 qrd" 2017-01-04 03:25:30 -08:00
Dhoat Harpal
7e81f05cb8 ARM: dts: msm: Add G-Link SPI transport device for sdm660
G-Link SPI transport is used to communicate with external audio codec.
Add G-Link SPI transport device to support that configuration.

CRs-Fixed: 1106989
Change-Id: Id447b5e89e653065df6f368a4e5e59b22e0dc159
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
2017-01-04 15:43:02 +05:30
Dhoat Harpal
0a38bf2a3c ARM: dts: msm: Add G-Link SPI transport device for sdm630
G-Link SPI transport is used to communicate with external audio codec.
Add G-Link SPI transport device to support that configuration.

CRs-Fixed: 1106989
Change-Id: Iac48fe87152379244e2c813f767b4e497553b8d1
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
2017-01-04 15:38:06 +05:30
ansharma
c59063c0b8 ARM: dts: msm: Enable red LED blinking for pm660
Add LPG and PWM parameters to blink the red LED. This is controlled by
userspace during charging.
Disable the battery-charging LED triggers to avoid conflicting LED control
by userspace and kernel battery-charging events.

CRs-Fixed: 1106738
Change-Id: Ic1c0f7ef7f8144fade05cc06db3cf87bce55c236
Signed-off-by: ansharma <ansharma@codeaurora.org>
2017-01-04 09:30:07 +05:30
Tirupathi Reddy
a8af09abd1 regulator: cprh-kbss: add support for sdm660 kbss cpr instances
sdm660 CPU CPR controllers support full hardware closed-loop CPR
operation also known as CPR hardening. Extend the cprh-kbss-regulator
driver to handle CPU subsystem specific power requirements of
the sdm660 chip.

CRs-Fixed: 1105923
Change-Id: I2e24a061a5ad4ee959dd578da9e811ac7700702c
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
2017-01-04 09:19:00 +05:30
Subbaraman Narayanamurthy
15c1d49794 qpnp-fg-gen3: add support for configuring ESR filter coefficients
As per the hardware documentation, add support for configuring
ESR tight and broad filters for normal and low temperature. This
is needed as the low temperature ESR filter coefficients are not
functional in the hardware.

All the filter values (in terms of percentage) can be configured
through the device tree. When the battery temperature goes below
10 C or user configured temperature threshold, ESR filter values
of room temperature will be applied to ESR low temperature
filters. Once the battery temperature goes above 10 C, original
values will be applied back to ESR low temperature filters.

Change-Id: I347f194f96ace3036a3c49efe0306d9f909cef36
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2017-01-03 19:30:25 -08:00
Subbaraman Narayanamurthy
1a53645674 qpnp-fg-gen3: Handle false positives in battery missing detection
Battery missing detection interrupt fires prematurely for higher
battery ID values than the desired range. Fix this by disabling
BMD when battery is re-inserted and enable it after obtaining the
battery ID.

While at it, update the battery type shown in particular when a
battery profile is not available.

Change-Id: Ia5458a85289e47bda0a9f4bc59683af695974bc5
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2017-01-03 19:30:24 -08:00
Subbaraman Narayanamurthy
3d493610e3 qpnp-fg-gen3: clear profile integrity bit upon battery removal
In certain cases like battery hotswap where a strong charger is
connected and battery is re-inserted, the expectation from the
user is to reload the battery profile. This cannot happen unless
a dVdd reset happens and wipes out FG SRAM. To help with the
aforementioned scenario, clear the profile integrity bit every
time when the battery is re-inserted. This way, FG driver will
reload the profile everytime upon battery insertion.

When the battery is missing, cycle counters cannot be cleared as
the access to FG SRAM might not succeed. Hence remove it from the
battery removal path. It will be cleared anyways when the profile
is loaded after the battery is inserted.

While at it, show the cached value of battery_id instead of
reading it every time from RR_ADC peripheral. When the battery is
re-inserted, battery id is obtained from RR_ADC driver anyways
which is sufficient.

Change-Id: I0b9566f7a9fcc81e26e68280382e2d960c49eeb5
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2017-01-03 19:30:23 -08:00
Subbaraman Narayanamurthy
1897bd682b qpnp-fg-gen3: add support for dumping FG SRAM
Add support to dump FG SRAM periodically based on the module
parameters. This will be useful for debugging purpose.

To enable FG SRAM dump,
echo 1 > /sys/module/qpnp_fg_gen3/parameters/sram_dump_en

To disable FG SRAM dump,
echo 0 > /sys/module/qpnp_fg_gen3/parameters/sram_dump_en

To set FG SRAM dump period,
echo 15000 > /sys/module/qpnp_fg_gen3/parameters/sram_dump_period_ms

Change-Id: Ib4bae7f67100a4bda1e4b996f2fbaeb86da979d2
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2017-01-03 19:30:17 -08:00
Jiangen Jiao
583385ee1c ARM: dts: msm: Update SDM660+PM660A QRD board hardware version
Change QRD board(SDM660+PM660A) major hardware version to 0x12.

CRs-Fixed: 1106360
Change-Id: I647e406199ee1daf3b7d489ccad07c5b8f448e8f
Signed-off-by: Jiangen Jiao <jiangenj@codeaurora.org>
2017-01-04 10:27:03 +08:00
Linux Build Service Account
054b950dfd Merge "msm: pcie: add mutex for PCIe enumeration" 2017-01-03 17:56:57 -08:00
Linux Build Service Account
a5f4f523f8 Merge "cpufreq: Register for hotplug notifier before locking hotplug" 2017-01-03 17:56:56 -08:00
Linux Build Service Account
3ed5f01b00 Merge "soc: qcom: Add support to enable gladiator main error logger only" 2017-01-03 17:56:55 -08:00
Linux Build Service Account
0debfc3ec9 Merge "clk: qcom: Remove mmssnoc_a_clk_cpu_vote clock instance for msm8996" 2017-01-03 17:56:55 -08:00
Linux Build Service Account
e60e904d4e Merge "msm: mdss: Fix invalid dma attachment during fb shutdown" 2017-01-03 17:56:54 -08:00
Linux Build Service Account
786f20f250 Merge "soc: qcom: smem: Fix uninitialized usage of a stack variable" 2017-01-03 17:56:53 -08:00
Linux Build Service Account
7ad652c59c Merge "ARM: dts: msm: add ufs support to sdm660 QRD" 2017-01-03 17:56:52 -08:00
Linux Build Service Account
3071230b5d Merge "ARM: dts: msm: Enable sdhc2 for sdm660 QRD" 2017-01-03 17:56:52 -08:00
Linux Build Service Account
56c4888317 Merge "ARM: dts: msm: Add CPU efficiency values for sdm630" 2017-01-03 17:56:51 -08:00
Linux Build Service Account
1965689393 Merge "msm: ipa: add ipc logging for ipa driver" 2017-01-03 17:56:50 -08:00
Linux Build Service Account
3150bfec5c Merge "mmc: block: Add check to mmc_blk_part_switch" 2017-01-03 17:56:49 -08:00
Linux Build Service Account
c07da5b602 Merge "msm: kgsl: Enable Content Protection for A512 GPU" 2017-01-03 17:56:49 -08:00
Linux Build Service Account
40c4e57f2a Merge "soc: qcom: glink: Fix queue intent after glink close" 2017-01-03 17:56:48 -08:00
Linux Build Service Account
5b848556c1 Merge "ARM: dts: msm: add cpufreq node for SDM660" 2017-01-03 17:56:47 -08:00
Linux Build Service Account
d048144b8d Merge "ARM: dts: msm: Add hw trigger for CPP GDSC on SDM/8998/8996" 2017-01-03 17:56:46 -08:00
Linux Build Service Account
7d0908d31b Merge "defconfig: msm: Enable MMCC/GPUCC and OSM clocks for sdm660" 2017-01-03 17:56:46 -08:00
Linux Build Service Account
f20f3e51d4 Merge "msm: ipa3: Fix to release IPA clock during ap suspend" 2017-01-03 17:56:45 -08:00