summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2017-02-14ice: Sent proper storage type for ICE configuration during resetAnilKumar Chimata
Read instance type from device tree node to know the storage type for ICE configuration, which is used to program the corresponding ICE register during ICE reset. Change-Id: I0eb423fb84dc89115227abc7c5688df7ae9a4a3c Signed-off-by: AnilKumar Chimata <anilc@codeaurora.org>
2017-02-12Merge "spi: spi_qsd: Use the right device for dma_unmap_single operation"Linux Build Service Account
2017-02-11Merge "ARM: dts: msm: add mdss node for sdm630"Linux Build Service Account
2017-02-11Merge "qcom: qpnp-smb2: Reset switcher_power_ok irq count when USBIN_UV fires"Linux Build Service Account
2017-02-11Merge "qcom: smb-lib: make smb_irq_info common for smb2 and smb138x chargers"Linux Build Service Account
2017-02-11Merge "qcom: qnovo: Update fcc and fv through batt psy"Linux Build Service Account
2017-02-11Merge "qpnp-smb2: Add DT option for enabling input suspend on fake battery"Linux Build Service Account
2017-02-11Merge "msm: ipa3: fix race condition in SSR"Linux Build Service Account
2017-02-11Merge "input: keyboard: correct suspend/resume for gpio_keys"Linux Build Service Account
2017-02-11Merge "input: gpio_keys: Add support for pinctrl framework"Linux Build Service Account
2017-02-11Merge "msm: mhi: fix latent issues in MHI drivers"Linux Build Service Account
2017-02-11Merge "ath10k: converge TLV and HL1.0 params and API"Linux Build Service Account
2017-02-11Merge "defconfig: Enable FG GEN3 and QNOVO configs for sdm660 32-bit"Linux Build Service Account
2017-02-11Merge "regulator: cpr4-mmss-ldo: Add GFX LDO CPR support for sdm630"Linux Build Service Account
2017-02-11Merge "clk: qcom: mdss: update the clk_ops for dp_vco_divided_clk_src_mux"Linux Build Service Account
2017-02-11Merge "drm/msm: Use dma_sync_sg_for_device() to flush cache for new buffers"Linux Build Service Account
2017-02-10qcom: qpnp-smb2: Reset switcher_power_ok irq count when USBIN_UV firesSubbaraman Narayanamurthy
Currently when 3 switcher_power_ok interrupts are seen within a second, the driver thinks that the switcher is reverse boosting and suspends USB input path. However, switcher_power_ok could happen 3 times within a second while AICL is run from a charger collapse, a valid usecase which ends up in an USB suspended state. Note that AICL run caused switcher_power_ok is accompanied by an USBIN_UV interrupt. Use that to distinguish reverse boost Vs AICL runs. In particular, reset the switcher_power_ok interrupt count updated by storm_watch when an USBIN_UV interrupt is seen. Change-Id: I6817c66319f9af03ac28324a8d863876fdadafb3 Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2017-02-10qcom: smb-lib: make smb_irq_info common for smb2 and smb138x chargersSubbaraman Narayanamurthy
Since the interrupt information for both smb2 and smb138x charger devices are almost common, abstract it to a single smb_irq_info struct. Also, keep an interrupt index for every interrupt which can be used when necessary. Change-Id: I4e42dd15a46b59c1a9c27412ca6fdff281fa71ec Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2017-02-10qcom: storm-watch: add support to reset storm countSubbaraman Narayanamurthy
There are some circumstances where we have to reset the storm watch interrupt count. Add support for it. Change-Id: Iacbeb3258d53010aab8ba881d10de773fe54dd93 Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2017-02-10qcom: qnovo: Update fcc and fv through batt psyHarry Yang
To force qnovo FCC and FV through parallel framework more conveniently, batt psy is bridged to replace votable in qnovo driver. The two properties are - POWER_SUPPLY_PROP_CURRENT_QNOVO and POWER_SUPPLY_PROP_VOLTAGE_QNOVO. CRs-Fixed: 2004173 Change-Id: I40b179fe5535e0209fcdbc1cb7e64cbfdf45a14b Signed-off-by: Harry Yang <harryy@codeaurora.org>
2017-02-10qpnp-smb2: expose forcing fcc/fv values via battery psyHarry Yang
CURRENT_QNOVO and VOLTAGE_QNOVO allow "forcing" fast charge current and float voltage value, implemented around votable such that one can have previlige in FCC and FV voting. CRs-Fixed: 2004173 Change-Id: I2df30220aa89e15c4bace9980990f227218a5bdd Signed-off-by: Harry Yang <harryy@codeaurora.org>
2017-02-10smb-lib: add ICL settled value to IRQ debug printNicholas Troast
Print the ICL settled value within the icl-changed IRQ handler. Change-Id: I5553abecfc5e32b24bef3525f532f4b3505c0757 Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
2017-02-10smb-lib: fix slave BCL for HVDCP3Fenglin Wu
Currently, fixed 5V adapter voltage is used for calculating slave FCC. When HVDCP 3.0 is used it skews the desired FCC distribution. Fix this by using the HVDCP3 pulse count to determine the actual adapter voltage when limiting the slave battery current. Change-Id: Ib4735ffe7b6287a3e57e0f74eb24c13c6a2b7a5a Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org> Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
2017-02-10power_supply: add INPUT_VOLTAGE_SETTLED propertyNicholas Troast
INPUT_VOLTAGE_SETTLED is the negotiated adapter voltage setting. Change-Id: I2ac529a77e8ed007c908c4f37eea718a80bc11d3 Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
2017-02-10smb138x-charger: add handler for slave chg state changeNicholas Troast
Add an IRQ handler function that notifies when the slave charge state changes. Change-Id: I359ed08c5ad289ceeabd6fa8720a959c74b6bb5e Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
2017-02-10Merge "msm: kgsl: Fix Integer overflow in sparse_bind related functions"Linux Build Service Account
2017-02-10power_supply: Add CURRENT_QNOVO and VOLTAGE_QNOVO propertiesHarry Yang
CURRENT_QNOVO - force fast charge current value VOLTAGE_QNOVO - force float voltage value CRs-Fixed: 2004173 Change-Id: I7569052fd2cb6d1ce9a3a8e69e79b950a6c62d57 Signed-off-by: Harry Yang <harryy@codeaurora.org>
2017-02-10qcom: smb-lib: remove FCC_MAX votableHarry Yang
FCC_MAX votable was introduced as an intermediate votable used by Qnovo driver for fast charge current vote, but does not fit in the new requirement that Qnovo force its vote value. Remove it. CRs-Fixed: 2004173 Change-Id: Iff8b74113550f808546d61ef864f3935fc5d61fa Signed-off-by: Harry Yang <harryy@codeaurora.org>
2017-02-10qpnp-smb2: Add DT option for enabling input suspend on fake batteryAshay Jaiswal
Input suspend on fake battery feature is by default enabled in the software, add a DT property to enable/disable the feature. Change-Id: I06bda6c72010699f4be24ff6044fe3bb248b06fb Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org> Signed-off-by: Harry Yang <harryy@codeaurora.org>
2017-02-10msm: mhi: fix latent issues in MHI driversTony Truong
Incorrect checks in MHI drivers may crash the system. Fix these checks so that MHI drivers will handle the errors gracefully. Change-Id: I462263799c2e76573300ed43b51e39ecba42914b Signed-off-by: Tony Truong <truong@codeaurora.org>
2017-02-10msm: ipa3: fix race condition in SSRSkylar Chang
On pipe setup, enable data path should happen for after all pipe resources are allocated. This change prevents a race condition where the pipe is enabled before RX buffers are submitted to IPA. Then, when buffers are submitted to IPA there is a race between submitting the buffers and getting RX packets. CRs-Fixed: 1096357 Change-Id: Ic32924b6893bb8c7813b1b8e68e03b5e09560b69 Acked-by: Ady Abraham <adya@qti.qualcomm.com> Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2017-02-10Merge "drivers: soc: add mutex to prevent response being processed twice"Linux Build Service Account
2017-02-10Merge "qpnp-smb2: support POWER_SUPPLY_PROP_CTM_CURRENT_MAX"Linux Build Service Account
2017-02-10Merge "power_supply: add DIE_HEALTH and CONNECTOR_HEALTH properties"Linux Build Service Account
2017-02-10Merge "soc: qcom: Add support for Cx iPeak limit driver"Linux Build Service Account
2017-02-10Merge "USB: qc_rndis: Fix aggregation parameters settings issue"Linux Build Service Account
2017-02-10Merge "ARM: dts: msm: Add APC0/1 CPR instances for sdm630"Linux Build Service Account
2017-02-10Merge "driver-core: cpu: Make isolate node read-only"Linux Build Service Account
2017-02-10Merge "qpnp-smb2: Make CURRENT_MAX property writeable for usb_psy"Linux Build Service Account
2017-02-10Merge "msm: rndis_ipa: Fix to incorrect state transition"Linux Build Service Account
2017-02-10Merge "clk: qcom: Add qpnp clock divider support"Linux Build Service Account
2017-02-10ath10k: converge TLV and HL1.0 params and APIGovind Singh
HL1.0 wmi type configuration is overlapped with wmi TLV type configuration. converge TLV and HL1.0 params and API to remove redundant code. Change-Id: Ia41b300ca810495acfdab9f014f59d8cfa839ae3 Signed-off-by: Govind Singh <govinds@codeaurora.org>
2017-02-10qcom: qnovo: fix 32-bit compilationTirupathi Reddy
Make division operations in qpnp-qnovo 32-bit compatible. CRs-Fixed: 2005232 Change-Id: I3dd5eed9cad8b2d054993305f1c737bc81418b5f Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
2017-02-10qpnp-fg-gen3: fix 32-bit compilationTirupathi Reddy
Make division operations in qpnp-fg-gen3 32-bit compatible. CRs-Fixed: 2005232 Change-Id: I33215147d093aef3f04c46912bddd5aef284d7c4 Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
2017-02-10input: keyboard: correct suspend/resume for gpio_keysShantanu Jain
Execute pinctrl operations at correct place in suspend/resume procedure of gpio_keys driver. Change-Id: Ic393778e35f52859512bd32ccbf6c4d1079a7e37 Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2017-02-10input: gpio_keys: Add support for pinctrl frameworkShantanu Jain
Add pinctrl framework support for gpio configuration to gpio_keys driver. Signed-off-by: Shantanu Jain <shjain@codeaurora.org> Change-Id: I50c46caca0a65f8906f816e04f89610497956eea
2017-02-10clk: qcom: mdss: update the clk_ops for dp_vco_divided_clk_src_muxPadmanabhan Komanduru
The fractional divider values for DP pixel clock RCG needs to be determined dynamically. Add the recalc_rate operation for the DP PLL mux clock dp_vco_divided_clk_src_mux which is the parent of DP pixel clock RCG. This enables the RCG clock to calculate the fractional dividers correctly. Modify the determine rate op for the mux clock to also set the new parent after performing the determine rate operation. Change-Id: Id931a60677380ecee28eb9aec6468548898b812b Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
2017-02-10regulator: cpr4-mmss-ldo: Add GFX LDO CPR support for sdm630Tirupathi Reddy
GPU subsystem in sdm630 is supplied by either LDO300(VDD_GFX) in LDO mode or VDD_CX in BHS mode. This LDO300 is CPR managed and supports CPR closed-loop operation. CRs-Fixed: 2000929 Change-Id: I94d6739f9abbdba3918b118eaa29fc0bc5cbd6e7 Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
2017-02-10qpnp-smb2: support POWER_SUPPLY_PROP_CTM_CURRENT_MAXNicholas Troast
CTM needs to vote for USB ICL. Add support for it. Change-Id: I88b146000f7327cf5dc7310fb721309f08dc3035 Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
2017-02-10power_supply: add CTM_CURRENT_MAX propertyNicholas Troast
POWER_SUPPLY_PROP_CTM_CURRENT_MAX is needed by CTM to limit USB input current. Add it. Change-Id: I8aac65a91959300676cf7e1c2685a557f322c509 Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>