OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
7 years agoARM: dts: msm: update wcn3990 node for msm8998 interposer
Rupesh Tatiya [Mon, 21 Nov 2016 07:26:36 +0000 (12:56 +0530)]
ARM: dts: msm: update wcn3990 node for msm8998 interposer

Disable qca, wcn3990 bluetooth node to avoid failure in bootup.

Change-Id: I7c6700a44c45360acf8aebc0ab9264c2e08abc8f
Signed-off-by: Rupesh Tatiya <rtatiya@codeaurora.org>
7 years agoMerge "leds: qpnp-wled: Fix the APIs to read/write WLED registers"
Linux Build Service Account [Wed, 7 Dec 2016 05:03:17 +0000 (21:03 -0800)]
Merge "leds: qpnp-wled: Fix the APIs to read/write WLED registers"

7 years agoMerge "thermal-core: Use rcu for accessing sensor list"
Linux Build Service Account [Wed, 7 Dec 2016 05:03:16 +0000 (21:03 -0800)]
Merge "thermal-core: Use rcu for accessing sensor list"

7 years agoMerge "msm: sensor: Validationg function pointers before using them"
Linux Build Service Account [Wed, 7 Dec 2016 05:03:15 +0000 (21:03 -0800)]
Merge "msm: sensor: Validationg function pointers before using them"

7 years agoMerge "msm: camera: Notify TZ App about changes of the HW security mode"
Linux Build Service Account [Wed, 7 Dec 2016 05:03:14 +0000 (21:03 -0800)]
Merge "msm: camera: Notify TZ App about changes of the HW security mode"

7 years agoMerge "msm: ipa: enable suspend pipe for ODU"
Linux Build Service Account [Wed, 7 Dec 2016 05:03:13 +0000 (21:03 -0800)]
Merge "msm: ipa: enable suspend pipe for ODU"

7 years agoMerge "input: misc: add condition check for ddic reset"
Linux Build Service Account [Wed, 7 Dec 2016 05:03:13 +0000 (21:03 -0800)]
Merge "input: misc: add condition check for ddic reset"

7 years agoMerge "input: ft5x06_ts: fix uninitialized references in ft5x06_ts"
Linux Build Service Account [Wed, 7 Dec 2016 05:03:12 +0000 (21:03 -0800)]
Merge "input: ft5x06_ts: fix uninitialized references in ft5x06_ts"

7 years agoMerge "coresight: fix 32-bit compilation issues"
Linux Build Service Account [Wed, 7 Dec 2016 05:03:11 +0000 (21:03 -0800)]
Merge "coresight: fix 32-bit compilation issues"

7 years agoMerge "ARM: dts: msm: Update GPUCC clock frequencies for MSMtriton"
Linux Build Service Account [Wed, 7 Dec 2016 05:03:10 +0000 (21:03 -0800)]
Merge "ARM: dts: msm: Update GPUCC clock frequencies for MSMtriton"

7 years agoMerge "Revert "wil6210: prevent XTAL off in device bootloader""
Linux Build Service Account [Wed, 7 Dec 2016 05:03:09 +0000 (21:03 -0800)]
Merge "Revert "wil6210: prevent XTAL off in device bootloader""

7 years agoMerge "clk: Add vdd_class support for handoff and use_max_uV"
Linux Build Service Account [Wed, 7 Dec 2016 05:03:08 +0000 (21:03 -0800)]
Merge "clk: Add vdd_class support for handoff and use_max_uV"

7 years agoMerge "ASoC: msm8998: Add support for HiFi amplifier"
Linux Build Service Account [Wed, 7 Dec 2016 05:03:07 +0000 (21:03 -0800)]
Merge "ASoC: msm8998: Add support for HiFi amplifier"

7 years agoMerge "soc: qcom: Check err_ready before returning from subsys_generic_handler()"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:56 +0000 (14:33 -0800)]
Merge "soc: qcom: Check err_ready before returning from subsys_generic_handler()"

7 years agoMerge "ARM: dts: msm: Add BT node for QRD interposer msm8998"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:56 +0000 (14:33 -0800)]
Merge "ARM: dts: msm: Add BT node for QRD interposer msm8998"

7 years agoMerge "soc: qcom: implement notify_tx_abort() callback"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:55 +0000 (14:33 -0800)]
Merge "soc: qcom: implement notify_tx_abort() callback"

7 years agoMerge "soc: qcom: fix to avoid invalid memory access"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:53 +0000 (14:33 -0800)]
Merge "soc: qcom: fix to avoid invalid memory access"

7 years agoMerge "ARM: dts: msm: Add the LCDB device node for PM2FALCON"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:52 +0000 (14:33 -0800)]
Merge "ARM: dts: msm: Add the LCDB device node for PM2FALCON"

7 years agoMerge "defconfig: msm: falcon: enable LCDB driver"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:51 +0000 (14:33 -0800)]
Merge "defconfig: msm: falcon: enable LCDB driver"

7 years agoMerge "Revert "input: powerkey: don't send dummy release event""
Linux Build Service Account [Tue, 6 Dec 2016 22:33:50 +0000 (14:33 -0800)]
Merge "Revert "input: powerkey: don't send dummy release event""

7 years agoMerge "ARM: dts: msm: Add device tree for msmfalcon CDP, MTP & RCM"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:49 +0000 (14:33 -0800)]
Merge "ARM: dts: msm: Add device tree for msmfalcon CDP, MTP & RCM"

7 years agoMerge "iommu: dma-mapping-fast: add support for DMA sync single APIs"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:48 +0000 (14:33 -0800)]
Merge "iommu: dma-mapping-fast: add support for DMA sync single APIs"

7 years agoMerge "clk: qcom: Add additional delay while enabling votable clocks"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:47 +0000 (14:33 -0800)]
Merge "clk: qcom: Add additional delay while enabling votable clocks"

7 years agoMerge "ARM: dts: msm: set dcs commands in hs for mode switch in jdi panel"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:46 +0000 (14:33 -0800)]
Merge "ARM: dts: msm: set dcs commands in hs for mode switch in jdi panel"

7 years agoMerge "ARM: dts: msm: update micbias regulator in msmfalcon"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:43 +0000 (14:33 -0800)]
Merge "ARM: dts: msm: update micbias regulator in msmfalcon"

7 years agoMerge "msm: camera: flash: Validate the power setting size"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:42 +0000 (14:33 -0800)]
Merge "msm: camera: flash: Validate the power setting size"

7 years agoMerge "msm: camera: sensor: Validate eeprom_name string length"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:41 +0000 (14:33 -0800)]
Merge "msm: camera: sensor: Validate eeprom_name string length"

7 years agoMerge "msm: camera: eeprom: Validate the power setting size"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:40 +0000 (14:33 -0800)]
Merge "msm: camera: eeprom: Validate the power setting size"

7 years agoMerge "msm: camera: sensor: Add boundary check for cci master"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:39 +0000 (14:33 -0800)]
Merge "msm: camera: sensor: Add boundary check for cci master"

7 years agoMerge "regulator: msm_gfx_ldo: Fix the CX voting logic"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:36 +0000 (14:33 -0800)]
Merge "regulator: msm_gfx_ldo: Fix the CX voting logic"

7 years agoMerge "regulator: msm_gfx_ldo: Fix invalid memory accesses"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:36 +0000 (14:33 -0800)]
Merge "regulator: msm_gfx_ldo: Fix invalid memory accesses"

7 years agoMerge "regulator: msm_gfx_ldo: Enable CPR sensors in LDO bypass mode"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:35 +0000 (14:33 -0800)]
Merge "regulator: msm_gfx_ldo: Enable CPR sensors in LDO bypass mode"

7 years agoMerge "regulator: msm_gfx_ldo: Add a property to adjust the open-loop voltage"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:35 +0000 (14:33 -0800)]
Merge "regulator: msm_gfx_ldo: Add a property to adjust the open-loop voltage"

7 years agoMerge "ARM: dts: msm: add mdss dsi nodes for msm8998 v2.1 interposer"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:34 +0000 (14:33 -0800)]
Merge "ARM: dts: msm: add mdss dsi nodes for msm8998 v2.1 interposer"

7 years agoMerge "ARM: dts: msm: update resource id of SSC regulator of PM2FALCON"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:30 +0000 (14:33 -0800)]
Merge "ARM: dts: msm: update resource id of SSC regulator of PM2FALCON"

7 years agoMerge "soc: qcom: Add support to restart user PD"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:30 +0000 (14:33 -0800)]
Merge "soc: qcom: Add support to restart user PD"

7 years agoMerge "defconfig: Enable config IP_NF_MATCH_RPFILTER"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:29 +0000 (14:33 -0800)]
Merge "defconfig: Enable config IP_NF_MATCH_RPFILTER"

7 years agoMerge "clk: qcom: Add RCG support for DP pixel source"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:28 +0000 (14:33 -0800)]
Merge "clk: qcom: Add RCG support for DP pixel source"

7 years agoMerge "msm: kgsl: Dump VBIF and few GPU registers before crash dumper"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:27 +0000 (14:33 -0800)]
Merge "msm: kgsl: Dump VBIF and few GPU registers before crash dumper"

7 years agoMerge "mpm-of: Support multiple mpm pin mapping to same gic interrupt"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:26 +0000 (14:33 -0800)]
Merge "mpm-of: Support multiple mpm pin mapping to same gic interrupt"

7 years agoMerge "soc: qcom: Reduce halt acknowledgment timeout for mss axi port"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:26 +0000 (14:33 -0800)]
Merge "soc: qcom: Reduce halt acknowledgment timeout for mss axi port"

7 years agoMerge "ARM: dts: msm: add the smmu nodes for msmtriton"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:25 +0000 (14:33 -0800)]
Merge "ARM: dts: msm: add the smmu nodes for msmtriton"

7 years agoMerge "ARM: dts: msm: Enable PWM, Haptics and Flash for PM2FALCON"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:24 +0000 (14:33 -0800)]
Merge "ARM: dts: msm: Enable PWM, Haptics and Flash for PM2FALCON"

7 years agoMerge "arm: dma-mapping: handle IOVA address zero"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:23 +0000 (14:33 -0800)]
Merge "arm: dma-mapping: handle IOVA address zero"

7 years agoMerge "ARM: dts: msm: Add aggre2_snoc_axi_clk handle in msmfalcon USB3 node"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:22 +0000 (14:33 -0800)]
Merge "ARM: dts: msm: Add aggre2_snoc_axi_clk handle in msmfalcon USB3 node"

7 years agoMerge "USB: dwc3: msm: Add support for vote/devote aggre2_snoc_axi_clk"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:22 +0000 (14:33 -0800)]
Merge "USB: dwc3: msm: Add support for vote/devote aggre2_snoc_axi_clk"

7 years agoMerge "ARM: dts: msm: Add GPU properties for falcon GPU"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:21 +0000 (14:33 -0800)]
Merge "ARM: dts: msm: Add GPU properties for falcon GPU"

7 years agoMerge "ARM: dts: msm: Add qrng device node for msmfalcon"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:20 +0000 (14:33 -0800)]
Merge "ARM: dts: msm: Add qrng device node for msmfalcon"

7 years agoMerge "ARM: dts: msm: Add tz-log device node for msmfalcon"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:19 +0000 (14:33 -0800)]
Merge "ARM: dts: msm: Add tz-log device node for msmfalcon"

7 years agoMerge "ARM: dts: msm: refactor smb138x device to its own dtsi"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:19 +0000 (14:33 -0800)]
Merge "ARM: dts: msm: refactor smb138x device to its own dtsi"

7 years agoMerge "ARM: dts: msm: Enable CX Ipeak Mitigation for MSMFALCON"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:16 +0000 (14:33 -0800)]
Merge "ARM: dts: msm: Enable CX Ipeak Mitigation for MSMFALCON"

7 years agoMerge "ARM: dts: msm: Make required changes for Modem PIL for MSMFALCON Interposer"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:14 +0000 (14:33 -0800)]
Merge "ARM: dts: msm: Make required changes for Modem PIL for MSMFALCON Interposer"

7 years agoMerge "ARM: dts: msm: Add vmem slave bus usecase to vmem in msm8998"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:14 +0000 (14:33 -0800)]
Merge "ARM: dts: msm: Add vmem slave bus usecase to vmem in msm8998"

7 years agoMerge "msm: vidc: Fail qbuf and prepare_buf incase of error"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:13 +0000 (14:33 -0800)]
Merge "msm: vidc: Fail qbuf and prepare_buf incase of error"

7 years agoMerge "msm: vidc: change format specifier for size_t"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:12 +0000 (14:33 -0800)]
Merge "msm: vidc: change format specifier for size_t"

7 years agoMerge "clk: msm: clock-osm: set SEQ_REG(32) to L_VAL of corner in LEVEL_3_UP_VC"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:11 +0000 (14:33 -0800)]
Merge "clk: msm: clock-osm: set SEQ_REG(32) to L_VAL of corner in LEVEL_3_UP_VC"

7 years agoMerge "phy: qcom-ufs-qmp-v3: increase the minimum time in hibernate"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:11 +0000 (14:33 -0800)]
Merge "phy: qcom-ufs-qmp-v3: increase the minimum time in hibernate"

7 years agoMerge "ARM: dts: msm: Add ERP device definition on msmtriton"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:09 +0000 (14:33 -0800)]
Merge "ARM: dts: msm: Add ERP device definition on msmtriton"

7 years agoMerge "ARM: dts: msm: Add ERP device definition on msmfalcon"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:08 +0000 (14:33 -0800)]
Merge "ARM: dts: msm: Add ERP device definition on msmfalcon"

7 years agoMerge "ARM: dts: msm: Add cpu cache nodes for msmtriton"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:08 +0000 (14:33 -0800)]
Merge "ARM: dts: msm: Add cpu cache nodes for msmtriton"

7 years agoMerge "soc: qcom: glink: add NULL check for edge_ctx"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:07 +0000 (14:33 -0800)]
Merge "soc: qcom: glink: add NULL check for edge_ctx"

7 years agoMerge "msm: camera: isp: Check reg update miss only for PIX stream"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:04 +0000 (14:33 -0800)]
Merge "msm: camera: isp: Check reg update miss only for PIX stream"

7 years agoMerge "msm: camera: isp: Dual camera sync feature"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:03 +0000 (14:33 -0800)]
Merge "msm: camera: isp: Dual camera sync feature"

7 years agoMerge "ARM: dts: msm: Front camera config for msmfalcon interposer"
Linux Build Service Account [Tue, 6 Dec 2016 22:33:02 +0000 (14:33 -0800)]
Merge "ARM: dts: msm: Front camera config for msmfalcon interposer"

7 years agoMerge "msm: mdss: dp: fix parity byte calculation"
Linux Build Service Account [Tue, 6 Dec 2016 22:32:57 +0000 (14:32 -0800)]
Merge "msm: mdss: dp: fix parity byte calculation"

7 years agomsm: ipa: enable suspend pipe for ODU
Skylar Chang [Fri, 18 Nov 2016 18:21:33 +0000 (10:21 -0800)]
msm: ipa: enable suspend pipe for ODU

For ODU bridge use case ODU CONS pipe should be suspend
if there is no data activity to make sure IPA clocks will be
voted on downlink traffic

Change-Id: I6625eb082d55456e0f71afa8fc6ebdba3f6024a5
CRs-Fixed: 1095287
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
7 years agomsm: camera: Notify TZ App about changes of the HW security mode
Alexander Kolesnikov [Tue, 6 Dec 2016 10:02:36 +0000 (12:02 +0200)]
msm: camera: Notify TZ App about changes of the HW security mode

The change adds a mechanism to send a notification down to TZ App
upon changes in the camera HW blocks security mode.

Change-Id: Iabc62e9e484717920bfec74a8799de3900a7215e
Signed-off-by: Alexander Kolesnikov <akolesni@codeaurora.org>
7 years agoARM: dts: msm: Update GPUCC clock frequencies for MSMtriton
Taniya Das [Tue, 6 Dec 2016 10:20:08 +0000 (15:50 +0530)]
ARM: dts: msm: Update GPUCC clock frequencies for MSMtriton

Few frequencies for GPU clock node requires to be updated, so add the same.

Change-Id: Ie3e7929def7b4e77edc33297f8c30a0bcd07bcce
Signed-off-by: Taniya Das <tdas@codeaurora.org>
7 years agoinput: misc: add condition check for ddic reset
Jin Fu [Mon, 5 Dec 2016 10:45:07 +0000 (18:45 +0800)]
input: misc: add condition check for ddic reset

LCD can control DDIC reset by itself, so add condition check
and allow not to define DDIC reset pin in device tree.

CRs-Fixed: 1097675
Change-ID: I802bb0ecc86349c7e0380b54811bfae776a41f49
Signed-off-by: Jin Fu <jinf@codeaurora.org>
7 years agoARM: dts: msm: Add BT node for QRD interposer msm8998
zhenchao [Thu, 10 Nov 2016 05:28:59 +0000 (13:28 +0800)]
ARM: dts: msm: Add BT node for QRD interposer msm8998

Add bluetooth node for msm8998 interposer platform using
msmfalcon QRD. Configure bluetooth power supply based on
the QRD PMIC PMFALCON/PM2FALCON. Disable qca,wcn3990
Bluetooth node to avoid failure in bootup.

CRs-Fixed: 1088153
Change-Id: I00527f465b9251d1329ca3c783cafeafadfce8f2
Signed-off-by: zhenchao <zhenchao@codeaurora.org>
7 years agoclk: qcom: gpucc: Update gpu clock support for msmtriton
Taniya Das [Tue, 6 Dec 2016 06:01:31 +0000 (11:31 +0530)]
clk: qcom: gpucc: Update gpu clock support for msmtriton

The gpu clock frequencies are different from the current supported
frequencies, so update the same.

Change-Id: I78e3b241390f9f5c7d8600d8ce933d9ffc9845fa
Signed-off-by: Taniya Das <tdas@codeaurora.org>
7 years agoinput: ft5x06_ts: fix uninitialized references in ft5x06_ts
Himanshu Aggarwal [Tue, 6 Dec 2016 05:49:26 +0000 (11:19 +0530)]
input: ft5x06_ts: fix uninitialized references in ft5x06_ts

Fix uninitialized references in ft5x06_ts driver, found
during static analysis of the code.

Change-Id: I15e248dd9bb3673c21d31acea69a1e892eff51b0
Signed-off-by: Himanshu Aggarwal <haggarwa@codeaurora.org>
7 years agoclk: Add vdd_class support for handoff and use_max_uV
Taniya Das [Sat, 3 Dec 2016 13:36:59 +0000 (19:06 +0530)]
clk: Add vdd_class support for handoff and use_max_uV

Some dedicated power rails do not require a max voltage vote during bootup.
Allow clock drivers to skip handoff for the corresponding VDD classes.

Multiple vdd_class structures might share same set of regulators. If the
FMAXes for these different vdd_class structures do not have the same level
vote, there could be a conflict when setting voltage on the regulator.
Add a flag use_max_uV to vote for INT_MAX as max_uV when calling
regulator_set_voltage(). Constraints in the regulator driver make sure that
the final voltage meets the requirement of that regulator's operational
range.

Change-Id: I15c9dc3ecf907723a136cbe90597ccafeba91af0
Signed-off-by: Taniya Das <tdas@codeaurora.org>
7 years agoiommu: dma-mapping-fast: add support for DMA sync single APIs
Liam Mark [Thu, 1 Dec 2016 21:05:31 +0000 (13:05 -0800)]
iommu: dma-mapping-fast: add support for DMA sync single APIs

Implement the fast map DMA sync single APIs.

Change-Id: I1b785c7c441e53fa0b2e0fa784ff8afed8afceb9
Signed-off-by: Liam Mark <lmark@codeaurora.org>
7 years agoRevert "input: powerkey: don't send dummy release event"
Subbaraman Narayanamurthy [Fri, 2 Dec 2016 22:24:52 +0000 (14:24 -0800)]
Revert "input: powerkey: don't send dummy release event"

This reverts commit d796ae6e8878daecf855d23658c546aeef506142
("input: powerkey: don't send dummy release event") which was
added as a workaround to ensure that keys held during resume
were not artificially released by the input framework. This
issue is already resolved by commit 768d9aa55740
("Input: don't call input_dev_release_keys() in resume").

Change-Id: I542837eddce7cb1ffba55c3e5d6b2e5bd12c9e62
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
7 years agoinput: qpnp-power-on: Configure debounce delay for PON GEN2 properly
Subbaraman Narayanamurthy [Fri, 2 Dec 2016 22:15:08 +0000 (14:15 -0800)]
input: qpnp-power-on: Configure debounce delay for PON GEN2 properly

Debounce delay range and hence the bit encodings got changed in
PON GEN2 peripheral. Fix qpnp_pon_set_dbc() to configure the
debounce delay properly.

CRs-Fixed: 1097089
Change-Id: Ia3d474a04e11c7d16a1507d65e99001cf844947b
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
7 years agoASoC: msm8998: Add support for HiFi amplifier
Sudheer Papothi [Thu, 20 Oct 2016 17:11:06 +0000 (22:41 +0530)]
ASoC: msm8998: Add support for HiFi amplifier

HiFi amplifier uses lineout path and routed to headphones.
This is used for better quality of audio on headphones. Add
support to enable HiFi amplifier on msm8998.

Change-Id: I3f2cadbb74b3a68d91938f20afff2ab0ab42b4bd
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
7 years agoARM: dts: msm: Add pinctrl device nodes for HiFi amplifier on MSM8998
Sudheer Papothi [Fri, 4 Nov 2016 17:57:20 +0000 (23:27 +0530)]
ARM: dts: msm: Add pinctrl device nodes for HiFi amplifier on MSM8998

HiFi amplifier uses lineout path in the codec to be routed to
headphone amplifiers. This routing needs two gpios to be
toggled. Add pinctrl device nodes to control gpios for
HiFi amplifier usecase.

Change-Id: I8d34eecd562ab50a8ec89f241406092d1b763a9a
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
7 years agoRevert "wil6210: prevent XTAL off in device bootloader"
Hamad Kadmany [Mon, 5 Dec 2016 14:20:16 +0000 (16:20 +0200)]
Revert "wil6210: prevent XTAL off in device bootloader"

This reverts commit 05f7adbb9d9d37ba39058942d87d62941c733cd1
("wil6210: prevent XTAL off in device bootloader").

Original commit was found to be causing flood of WMI MBOX
interrupts while device is being reset.

CRs-Fixed: 1097247
Change-Id: If7cee7d36230225621ea74bca8ebb0e1077b94e6
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
7 years agoARM: dts: msm: Add device tree for msmfalcon CDP, MTP & RCM
Srinivas Ramana [Mon, 5 Dec 2016 08:14:01 +0000 (13:44 +0530)]
ARM: dts: msm: Add device tree for msmfalcon CDP, MTP & RCM

Add initial device tree support for CDP, MTP and RCM
platforms of msmfalcon.

Change-Id: I2e4591c50fe3db61ed3a4364647579bf254d0edd
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
7 years agoARM: dts: msm: Add the LCDB device node for PM2FALCON
Anirudh Ghayal [Mon, 5 Dec 2016 12:43:22 +0000 (18:13 +0530)]
ARM: dts: msm: Add the LCDB device node for PM2FALCON

LCDB supports the LCD display +ve/-ve bias. Add the device
node for it.

While at it, disable the LCDB module for PM3FALCON and remove
the dummy bias regulator nodes from falcon interposer.

CRs-Fixed: 1074468
Change-Id: I0aa4736aa0f2d6c6fe3b2e0d19c41df80c0975fe
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
7 years agodefconfig: msm: falcon: enable LCDB driver
Ashay Jaiswal [Sat, 3 Dec 2016 17:27:53 +0000 (22:57 +0530)]
defconfig: msm: falcon: enable LCDB driver

LCDB driver exoses regulators to control the positive and
negative voltage bias for the LCD display panel. It also
allows configurability for the various bias-voltage parameters.

CRs-Fixed: 1074468
Change-Id: Id3c0eccd95d5e510489ee74b3043082b7e473daa
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
7 years agoregulator: qpnp-lcdb: Add the QPNP LCDB regulator driver
Anirudh Ghayal [Wed, 5 Oct 2016 09:50:41 +0000 (15:20 +0530)]
regulator: qpnp-lcdb: Add the QPNP LCDB regulator driver

QPNP LCDB regulator driver supports the LCD display
bias configuration. It exposes 2 regulators to control
the positive and negative voltage biases.

CRs-Fixed: 1074468
Change-Id: I069dc61ee4fc5d56aff2b836f06fa7246285e42a
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
7 years agoARM: dts: msm: add mdss dsi nodes for msm8998 v2.1 interposer
Ashish Garg [Mon, 5 Dec 2016 11:13:22 +0000 (16:43 +0530)]
ARM: dts: msm: add mdss dsi nodes for msm8998 v2.1 interposer

Add the power supplies to vote for max supported voltage on the
regulator for mdss dsi. Also add mdss dsi node for the msm8998
v2.1 interposer.

Change-Id: I84cae6e7816834dfce0839faa41903f2f871782d
Signed-off-by: Ashish Garg <ashigarg@codeaurora.org>
7 years agodefconfig: Enable config IP_NF_MATCH_RPFILTER
Ashwanth Goli [Mon, 28 Nov 2016 06:46:55 +0000 (12:16 +0530)]
defconfig: Enable config IP_NF_MATCH_RPFILTER

Enable config IP_NF_MATCH_RPFILTER.
This option allows you to match packets whose replies would go out via
the interface the packet came in

Change-Id: I2a23346e726a8df8487aeb664d6316b3cf2b9d77
Signed-off-by: Ashwanth Goli <ashwanth@codeaurora.org>
7 years agomsm: kgsl: Dump VBIF and few GPU registers before crash dumper
Rajesh Kemisetti [Thu, 1 Dec 2016 18:11:56 +0000 (23:41 +0530)]
msm: kgsl: Dump VBIF and few GPU registers before crash dumper

Triggering Crash Dumper might actually change the values of
few GPU registers including VBIF. Hence dump those registers
ahead and skip them from the list which goes to crash dumper.

Change-Id: I37a53983a65bd8abfefa780053819de71df7f24f
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
7 years agomsm: kgsl: Add support to disable CP Crash Dumper
Rajesh Kemisetti [Thu, 1 Dec 2016 16:19:33 +0000 (21:49 +0530)]
msm: kgsl: Add support to disable CP Crash Dumper

By default A5xx GPUs use CP crash dumper to get GPU
snapshot in case of any fault.

At times it is required to disable crash dumper
in case of any abnormalities, add support to do so.

Change-Id: Iea6497778bcd711e769f0e509103bd3bd0fd8574
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
7 years agoARM: dts: msm: update micbias regulator in msmfalcon
Laxminath Kasam [Tue, 29 Nov 2016 12:37:44 +0000 (18:07 +0530)]
ARM: dts: msm: update micbias regulator in msmfalcon

Power regulator pm2falcon_bob is used to supply micbias
to WCD codec. Add the supply in codec supplies list.
As external buck supply is from VPH_PWR, remove
entries of s4 rail.

Change-Id: I24791396fff9bf612985ff2073e2a74356570a35
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
7 years agosoc: qcom: Reduce halt acknowledgment timeout for mss axi port
Avaneesh Kumar Dwivedi [Mon, 21 Nov 2016 06:38:28 +0000 (12:08 +0530)]
soc: qcom: Reduce halt acknowledgment timeout for mss axi port

Reduce halt ack timeout to 25 ms from 100 ms to reduce delay in
mss shutdown path.

Change-Id: I935e35d5d848e564aad5987b1652546046f0927d
Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
7 years agoclk: qcom: Add RCG support for DP pixel source
Taniya Das [Mon, 21 Nov 2016 06:05:12 +0000 (11:35 +0530)]
clk: qcom: Add RCG support for DP pixel source

Add a new RCG clock ops specific for the DP pixel clock source.

Change-Id: I2ec5ddcfd47af8362f76d76d153e30d4e2f45370
Signed-off-by: Taniya Das <tdas@codeaurora.org>
7 years agoregulator: msm_gfx_ldo: Fix the CX voting logic
Anirudh Ghayal [Thu, 27 Oct 2016 14:46:59 +0000 (20:16 +0530)]
regulator: msm_gfx_ldo: Fix the CX voting logic

Vote on the CX rail only if the gfx_ldo regulator
is enabled.

CRs-Fixed: 1078568
Change-Id: Ice3a527b9952c0fdee813d8ad152d4c1deea7ecd
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
7 years agoregulator: msm_gfx_ldo: Fix invalid memory accesses
Anirudh Ghayal [Sat, 15 Oct 2016 10:09:23 +0000 (15:39 +0530)]
regulator: msm_gfx_ldo: Fix invalid memory accesses

A few gfx_ldo memory read/write calls use an invalid ldo
base address leading to other corruptions in the system.
Fix this by using the correct LDO base address.

CRs-Fixed: 1078353
Change-Id: I034d473e86b3fe7164d1c9ddad326c9dd77a188f
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
7 years agoregulator: msm_gfx_ldo: Enable CPR sensors in LDO bypass mode
Anirudh Ghayal [Thu, 26 May 2016 09:49:19 +0000 (15:19 +0530)]
regulator: msm_gfx_ldo: Enable CPR sensors in LDO bypass mode

Enable the configuration which keeps the CPR sensors active
when LDO is in auto-bypass mode. The sensors only stay
bypassed when LDO is regulating.

CRs-Fixed: 1027469
Change-Id: I6b8c2a3fd8fe22a64b6d24c458a7c60641195e45
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
7 years agoregulator: msm_gfx_ldo: Add a property to adjust the open-loop voltage
Anirudh Ghayal [Fri, 29 Apr 2016 09:23:44 +0000 (14:53 +0530)]
regulator: msm_gfx_ldo: Add a property to adjust the open-loop voltage

Add a DT property to adjust the open-loop voltage for the LDO
corners, this will be useful for voltage adjustments after
LDO characterization.

While at it, update the LDO MIN_VOLTAGE value for 8953.

CRs-Fixed: 1010052
Change-Id: I7479ebbf0ac7253eb355246d36f15a91ce96cd9a
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
7 years agoregulator: msm_gfx_ldo: Update the fusing scheme for GFX LDO
Anirudh Ghayal [Thu, 10 Mar 2016 16:13:00 +0000 (21:43 +0530)]
regulator: msm_gfx_ldo: Update the fusing scheme for GFX LDO

Change the LDO_EN bit definition for GFX LDO on MSM8953 and
remove the LDO bypass fusing logic as it is not supported.

While at it, add the debugfs node to disable ldo_mode.
Disable LDO mode: echo 1 > /d/msm_gfx_ldo/ldo_mode_disable
Enable  LDO mode: echo 0 > /d/msm_gfx_ldo/ldo_mode_disable

CRs-Fixed: 989270
Change-Id: Ibc7aa921380e89da4963571408b89bc417dec245
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
7 years agoregulator: Remove internal code name of msmtitanium for msm8953
Tirupathi Reddy [Mon, 5 Dec 2016 04:41:26 +0000 (10:11 +0530)]
regulator: Remove internal code name of msmtitanium for msm8953

Remove all reference to internal code name msmtitanium
and replace them with msm8953, as there is an official
announcement for msm8953 SoC.

Change-Id: If99bbf20756a524c5a3bd7ba49366c29e158289e
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
7 years agoARM: dts: msm: Enable PWM, Haptics and Flash for PM2FALCON
Anirudh Ghayal [Sat, 3 Dec 2016 16:29:27 +0000 (21:59 +0530)]
ARM: dts: msm: Enable PWM, Haptics and Flash for PM2FALCON

Enable the PWMs mapped to the RGB module and specify
the lpg-lut-size.

While at it, enable the haptics and flash node.

Change-Id: I83cf7882d1abb96c343973894c2a7ab3f932dfb1
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
7 years agompm-of: Support multiple mpm pin mapping to same gic interrupt
Maulik Shah [Fri, 4 Mar 2016 06:14:46 +0000 (11:44 +0530)]
mpm-of: Support multiple mpm pin mapping to same gic interrupt

Currently one gic interrupt is mapped to one mpm pin.
Support multiple mpm pins to get enabled with single irq
with client drivers using enable_irq_wake API.

Change-Id: Iea575079c24ed0986b74fb6e86c7b8100474f19e
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
7 years agocoresight: fix 32-bit compilation issues
Amey Telawane [Tue, 25 Oct 2016 10:40:13 +0000 (16:10 +0530)]
coresight: fix 32-bit compilation issues

Compilation issues were observed on 32-bit as header files
were not present. Add support to resolve the issue.

Change-Id: I8071405a888cd2b23a068ca5b9c3a7808d13821a
CRs-fixed: 1089405
Signed-off-by: Amey Telawane <ameyt@codeaurora.org>
7 years agoMerge "msm: vidc: Align release buffers with V4L2 states"
Linux Build Service Account [Sun, 4 Dec 2016 13:55:31 +0000 (05:55 -0800)]
Merge "msm: vidc: Align release buffers with V4L2 states"