OSDN Git Service
Sudheer Papothi [Thu, 19 May 2016 14:48:49 +0000 (20:18 +0530)]
ARM: dts: msm: Add dmic clock rate on ECPP path for 8996
DMIC clock on ECPP(Echo cancellation Ping-Pong) path can
run at 1.2MHz. Change configures DMIC clock rate for ECPP
path in codec device node.
CRs-fixed:
1022917
Change-Id: Ie7a0a5c57af608cdb42fac9f0f95fe427de8ea1d
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
Sudheer Papothi [Thu, 12 May 2016 19:10:35 +0000 (00:40 +0530)]
ASoC: msm8996: Add independent clock support on codec
WCD9335 codec has single master clock supply widget for both
playback and recording paths. Adding separate clock supply
for playback and recording paths will help handle low power
audio recording usecases without affecting playback usecases.
Change is to enable separate clock supply widgets for playback
and recording paths.
CRs-fixed:
1022917
Change-Id: I3978d2c53f2b04104d9d279f8acad60326f9405c
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
Linux Build Service Account [Thu, 4 Aug 2016 04:12:52 +0000 (21:12 -0700)]
Merge "arm64: dma-mapping: don't clear dma ops on bypass detach"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:51 +0000 (21:12 -0700)]
Merge "Revert "arm64: dma-mapping: Attach IOMMUs as groups""
Linux Build Service Account [Thu, 4 Aug 2016 04:12:51 +0000 (21:12 -0700)]
Merge "ARM: dts: msm: Remove bogus stream ID from PCIe IOMMU"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:50 +0000 (21:12 -0700)]
Merge "ARM: dts: msm: change to use SW AEAD and HMAC algorithm for msmcobalt"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:49 +0000 (21:12 -0700)]
Merge "soc: qcom: gladiator_erp_v2: initialize return value"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:48 +0000 (21:12 -0700)]
Merge "qcom-charger: qpnp-smb2: use values from hardware for default settings"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:47 +0000 (21:12 -0700)]
Merge "Revert "drivers: mfd: Return EPROBE_DEFER during codec failure""
Linux Build Service Account [Thu, 4 Aug 2016 04:12:46 +0000 (21:12 -0700)]
Merge "leds: qpnp-flash-v2: add support to query battery parameters"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:45 +0000 (21:12 -0700)]
Merge "clk: msm: clock: Add the NO_RATE_CACHE flag to DP clocks on MSMCOBALT"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:45 +0000 (21:12 -0700)]
Merge "soc: qcom: core_ctl: Fix possible null-pointer dereference"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:44 +0000 (21:12 -0700)]
Merge "defconfig: arm64: msm: Re-enable qtaguid"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:43 +0000 (21:12 -0700)]
Merge "ASoC: wcd9335: Add support to enable low power mode on codec"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:42 +0000 (21:12 -0700)]
Merge "msm: mdss: add support for adaptive variable refresh feature"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:41 +0000 (21:12 -0700)]
Merge "msm: sde: Correct rotator irq handler to acknowledge irq once"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:33 +0000 (21:12 -0700)]
Merge "msm: gsi: do not register to inter ee irq"
Linux Build Service Account [Thu, 4 Aug 2016 04:12:32 +0000 (21:12 -0700)]
Merge "msm: camera_v2: Fix a return code issue in smmu mapping"
Runmin Wang [Wed, 3 Aug 2016 20:57:47 +0000 (13:57 -0700)]
soc: qcom: gladiator_erp_v2: initialize return value
Initialize the return value before it is used in the driver to
make sure valid return value is returned.
CRs-Fixed:
1050136
Change-Id: I3e2c524ac87d57ae33cd0f28b9c62b2a39ee79ad
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
Deepak Katragadda [Wed, 3 Aug 2016 20:41:46 +0000 (13:41 -0700)]
clk: msm: clock: Add the NO_RATE_CACHE flag to DP clocks on MSMCOBALT
The set_rate requests from the display port clocks should always
make their way upto the DP PLL. Add the NO_RATE_CACHE flag to
clocks in that path in order to let this happen.
CRs-Fixed:
1050007
Change-Id: I6a848b04756b92f9b1149705176e8f4088b2a945
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
Olav Haugan [Wed, 3 Aug 2016 18:37:06 +0000 (11:37 -0700)]
soc: qcom: core_ctl: Fix possible null-pointer dereference
Ensure we don't try to call online/offline functions with a
null-pointer.
CRs-fixed:
1049957
Change-Id: I6fa8f9bde5d5fd0680b5c571ba3cc99bd1f508b1
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
Bryse Flowers [Wed, 6 Jul 2016 18:11:09 +0000 (11:11 -0700)]
defconfig: arm64: msm: Re-enable qtaguid
Re-enable QTAGUID so that bandwidth control is possible from
userspace now that stability issues have been resolved by
picking upstream commits.
Change-Id: If3b0be88f28da82a08dc4cc67006e8ee8ced5a72
CRs-Fixed:
1035969
Signed-off-by: Bryse Flowers <bflowers@codeaurora.org>
Devesh Jhunjhunwala [Fri, 8 Jul 2016 01:09:08 +0000 (18:09 -0700)]
leds: qpnp-flash-v2: add support to query battery parameters
Register a notifier callback with the power_supply framework
to detect when the bms power_supply is available so that
it can be used to query the battery properties required from
the fuel gauge for the maximum current query algorithm.
CRs-Fixed:
1043718
Change-Id: Icd535025a2f888e188f89841f32ac5b822f9b20d
Signed-off-by: Devesh Jhunjhunwala <deveshj@codeaurora.org>
Linux Build Service Account [Wed, 3 Aug 2016 17:53:37 +0000 (10:53 -0700)]
Merge "ASoC: wcd9335: don't check for HPHL and HPHR for mono headset"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:55 +0000 (04:58 -0700)]
Merge "qseecom: Change format specifier %p to %pK"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:54 +0000 (04:58 -0700)]
Merge "msm: mdss: hdmi: send info frame for HDR video streams"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:50 +0000 (04:58 -0700)]
Merge "input: touchscreen: Change touch driver suspend code flow for XO shutdown"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:50 +0000 (04:58 -0700)]
Merge "input: touchscreen: correct probe error path for ITE tech driver"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:48 +0000 (04:58 -0700)]
Merge "ASoC: wcd-spi: SPI driver for WCD audio codecs"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:47 +0000 (04:58 -0700)]
Merge "wcd_dsp_mgr: Add the WCD DSP manager driver"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:46 +0000 (04:58 -0700)]
Merge "msm: ipa: fix IPA driver processing context delete logic"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:45 +0000 (04:58 -0700)]
Merge "msm: ipa: disconnect sequence change for USB 2.0"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:39 +0000 (04:58 -0700)]
Merge "serial: msm_serial_hs: Modify IPC Logging"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:38 +0000 (04:58 -0700)]
Merge "ARM: dts: msm: Remove TSENS QFPROM address and slope data"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:37 +0000 (04:58 -0700)]
Merge "thermal: tsens: Update TSENS property for reading efuse data"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:36 +0000 (04:58 -0700)]
Merge "msm: ipa: fix multiple static analysis issues"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:35 +0000 (04:58 -0700)]
Merge "power_supply: add CHARGER_TEMP and CHARGER_TEMP_MAX properties"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:34 +0000 (04:58 -0700)]
Merge "qcom-charger: qpnp-smb2: End charge cycle while battery is OV"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:33 +0000 (04:58 -0700)]
Merge "ARM: dts: msm: Update frequency to MEM ACC level mappings for MSMCOBALT"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:32 +0000 (04:58 -0700)]
Merge "spmi: pmic-arb: correct support for up to 512 APIDs"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:31 +0000 (04:58 -0700)]
Merge "usb: gadget: f_cdev: Fix NULL ptr dereference in usb_cser_notify"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:30 +0000 (04:58 -0700)]
Merge "qcom-charger: add support for WiPower"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:29 +0000 (04:58 -0700)]
Merge "msm: misc: hdcp: add hdcp support for display port"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:28 +0000 (04:58 -0700)]
Merge "soc: qcom: socinfo: Add support for APQCOBALT"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:27 +0000 (04:58 -0700)]
Merge "ARM: dts: msm: Add platform info for msmcobalt"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:26 +0000 (04:58 -0700)]
Merge "ARM: dts: msm: Update the graphics OPP property on MSMCOBALT"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:23 +0000 (04:58 -0700)]
Merge "iio: adc: rradc: Add RRADC channels"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:22 +0000 (04:58 -0700)]
Merge "iio: adc: rradc: Update RRADC reads and scaling"
Linux Build Service Account [Wed, 3 Aug 2016 11:58:20 +0000 (04:58 -0700)]
Merge "ARM: dts: msm: set 2k truly panel as default for qrd platform"
Mallikarjuna Reddy Amireddy [Thu, 28 Apr 2016 09:57:00 +0000 (15:27 +0530)]
qseecom: Change format specifier %p to %pK
Format specifier %p can leak kernel addresses while not valuing the
kptr_restrict system settings. When kptr_restrict is set to (1), kernel
pointers printed using the %pK format specifier will be replaced with 0's.
So that %pK will not leak kernel pointers to unprivileged users.
So change the format specifier from %p to %pK.
Debugging Note : &pK prints only Zeros as address. if you need actual
address information, pls echo 0 to kptr_restrict.
$ echo 0 > /proc/sys/kernel/kptr_restrict
Change-Id: I0baf2be2d5a476e2e4267f20b99d0ddf5492469e
Signed-off-by: Mallikarjuna Reddy Amireddy <mamire@codeaurora.org>
Shantanu Jain [Wed, 7 Oct 2015 09:21:33 +0000 (14:51 +0530)]
input: touchscreen: Change touch driver suspend code flow for XO shutdown
ITE tech touch driver puts the controller to IDLE state in suspend
function through an i2c write into controller register space. But
due to multiple triggers of fb blank events, the suspend
function is called repeatatively without resume, and the driver
causes i2c nacks in suspend function while again putting the
controller is IDLE state. This keeps the QUP5 clock ON and XO shutdown
doesn't happen.
This change prevents the touch driver to execute the i2c write, to
put the controller in IDLE state, by repeatative fb blank events,
and causes XO shutdown to happen within time limits.
Change-Id: Ie3ee6b861c10ae901dea54f252f6a799d688f02a
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
Shantanu Jain [Mon, 12 Oct 2015 16:50:06 +0000 (22:20 +0530)]
input: touchscreen: correct probe error path for ITE tech driver
ITE tech touch driver dynamically detects the controller attached
to the device in its probe. And if the driver fails to identify
the controller, it exits the probe with the error code. But in the
probe error path, it doesn't retain the error code, replace it
with zero and registers the device instead of failing.
This change corrects the probe error path of ITE tech touch driver
and makes sure it returns the error code if it fails.
Change-Id: I8f193ee10076b6cf058b0a6940db54f71f70b758
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
Shantanu Jain [Fri, 22 May 2015 14:39:03 +0000 (20:09 +0530)]
input: it7258_ts_i2c: add gpio configuration support
Add gpio configuration support for ITE tech touchscreen
driver.
Change-Id: I261db5723a19a7084072487527b350d155a54e78
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
Shantanu Jain [Mon, 18 May 2015 19:25:38 +0000 (00:55 +0530)]
input: it7258_ts_i2c: add regulator framework support
Add regulator framework support for ITE tech driver.
Change-Id: Ib666f406442ad5f323a08e4624832fba5e2546e2
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
Shantanu Jain [Tue, 19 May 2015 09:59:26 +0000 (15:29 +0530)]
input: it7258_ts_i2c: add low reset and reset delay support
Add low reset gpio and delay reset support for ITE tech
driver.
ITE tech controller support low reset gpio configuration. This
property is parsed from the DT, and reset gpio is set to low.
Reset delay value is also parsed from DT which is required by the
ITE tech controller.
Change-Id: I314677747e8bbbcb273cd898376bbe03197c8c25
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
Shantanu Jain [Mon, 10 Aug 2015 18:07:35 +0000 (23:37 +0530)]
input: it7258_ts_i2c: add pinctrl support
Add pinctrl support for ITE tech touchscreen driver.
Change-Id: I3bbea110af189f236bb175670210e086e15d5d2d
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
Shantanu Jain [Mon, 24 Aug 2015 15:17:01 +0000 (20:47 +0530)]
input: it7258_ts_i2c: Do not put driver in infinite loop
Do not put the ITE tech touchscreen driver in infinite
loop while probing.
Sometimes, when there is multiple touchscreen support on the
same snapdragon device, then the dynamic detection is used
to confirm which touchscreen is connected to the device.
So, this change will not make the CPUs to get hogged with
infinite loop of ITE tech driver.
Now it can easily get out of probe with error path releasing
the resources properly.
Change-Id: Ib9905017fc18999e7ab7c9cb8bc1af398f5f9791
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
Sudheer Papothi [Thu, 12 May 2016 18:46:56 +0000 (00:16 +0530)]
ASoC: wcd9335: Add support to enable low power mode on codec
Codec is in digital core power collapse when there is no
audio usecase but low power audio usecases needs codec to
be out of power collapse. Changes bring codec out of
digital core power collapse for low power audio usecases
without enabling master clock.
CRs-fixed:
1022917
Change-Id: I762fc1dc6b6527608e73ac5144215ee141570aac
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
Sudheer Papothi [Tue, 3 May 2016 01:53:28 +0000 (07:23 +0530)]
ASoC: msm8996: Add CPE ECPP DAI instance for ECPP path
Add support for CPE(Codec Processing Engine) second voice
wakeup session using ECPP(Echo cancellation Ping-Pong) hardware
path. This allows to enable two concurrent CPE sessions, one
on MAD(Mic Always-on Detection) and the other on ECPP.
CRs-fixed:
1022917
Change-Id: I7a14a2d0b5455d427f90e02506b996fc615c848a
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
Linux Build Service Account [Wed, 3 Aug 2016 04:58:57 +0000 (21:58 -0700)]
Merge "defconfig: Enable REMOTEQDSS"
Linux Build Service Account [Wed, 3 Aug 2016 04:58:56 +0000 (21:58 -0700)]
Merge "msm: ipa: update wan rx size buffer"
Linux Build Service Account [Wed, 3 Aug 2016 04:58:55 +0000 (21:58 -0700)]
Merge "Revert "Thermal: handle thermal zone device properly during system sleep""
Linux Build Service Account [Wed, 3 Aug 2016 04:58:55 +0000 (21:58 -0700)]
Merge "irq-chip: gic-v3: remove print message in irq driver"
Linux Build Service Account [Wed, 3 Aug 2016 04:58:54 +0000 (21:58 -0700)]
Merge "ASoC: wcd9335: Changes to support CPE session using EC PP path"
Linux Build Service Account [Wed, 3 Aug 2016 04:58:52 +0000 (21:58 -0700)]
Merge "CHROMIUM: android: binder: Fix potential scheduling-while-atomic"
Linux Build Service Account [Wed, 3 Aug 2016 04:58:51 +0000 (21:58 -0700)]
Merge "android: binder: Disable preemption while holding the global binder lock."
Linux Build Service Account [Wed, 3 Aug 2016 04:58:50 +0000 (21:58 -0700)]
Merge "soc: qcom: irq_helper: Add irq helper module"
Linux Build Service Account [Wed, 3 Aug 2016 04:58:50 +0000 (21:58 -0700)]
Merge "ARM: dts: msm: vote IPA_cfg on msmcobalt"
Linux Build Service Account [Wed, 3 Aug 2016 04:58:49 +0000 (21:58 -0700)]
Merge "msm: ipa: Fix the memory leak on exception"
Linux Build Service Account [Wed, 3 Aug 2016 04:58:48 +0000 (21:58 -0700)]
Merge "smb-lib: Add support for thermal daemon throttling fcc"
Bhalchandra Gajare [Tue, 28 Jun 2016 01:18:29 +0000 (18:18 -0700)]
ASoC: wcd-spi: SPI driver for WCD audio codecs
WCD audio codecs contain SPI slave hardware module to provide access
to codec memory and SPI register space. Change adds driver for this
slave hardware. This driver uses regmap for SPI internal register
accesses and plugs in to standard SPI framework as child device to
master controller driver.
CRs-Fixed:
1049012
Change-Id: I0640ac1ed60a2ec3633636760593211ecd2f9c2d
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
Bhalchandra Gajare [Sat, 11 Jun 2016 17:54:29 +0000 (10:54 -0700)]
wcd_dsp_mgr: Add the WCD DSP manager driver
WCD audio codecs have DSP embedded to perform signal processing on
audio data. The codec driver has control over the DSP clock, power etc,
whereas the DSP memory can be accessed through an different bus slave
interface. In such cases, it is required to make sure the hardware
expected sequences are met for the DSP to function properly. The
wcd-dsp manager driver registers as master to component framework
and provides the ability to sequence the operations between the child
drivers. Upon registration of all children, the wcd-dsp manager driver
parses the wcd dsp image, downloads the image and boots up the DSP.
It invokes the component children to perform the tasks in sequence.
CRs-Fixed:
1049012
Change-Id: I059e1b111c607e49a7cc9a7940cf458e701c73d3
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
Bhalchandra Gajare [Sat, 11 Jun 2016 20:08:34 +0000 (13:08 -0700)]
ASoC: wcd-dsp-utils: Add utilities for wcd dsp
wcd_dsp_utils adds utilities that will be used by the
wcd dsp manager driver. Add helper functions to parse
WDSP image and provide list of segments to be loaded
to memory.
CRs-Fixed:
1049012
Change-Id: I2b1464c2a035a039440e6d3e5122ad3f90da4d1e
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
Bhalchandra Gajare [Mon, 1 Aug 2016 23:23:32 +0000 (16:23 -0700)]
mfd: wcd934x: Mark CPE registers as volatile
Currently only read-only registers are marked as volatile. It is
possible that some registers could be read-write and still have
subset of the bits that are updated by the hardware. Add change
to mark such CPE (codec processing engine) register as volatile.
CRs-Fixed:
1049012
Change-Id: I1cedf646d0df1ab5968df4830502649de305c9d1
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
Sunil Paidimarri [Tue, 5 Jul 2016 19:08:36 +0000 (12:08 -0700)]
msm: ipa: update wan rx size buffer
Consider headroom also while calculating wan
pipe rx buffer size.
Change-Id: Ic1edcb3548eae152fc01de88859bcf311f48f847
CRs-Fixed:
1037822
Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
Skylar Chang [Tue, 2 Aug 2016 00:46:24 +0000 (17:46 -0700)]
msm: gsi: do not register to inter ee irq
Inter EE commands and IRQ are not supported currently
and AP does not have access to those.
CRs-Fixed:
1048160
Change-Id: I033044db83e8af6fb0976d711ea12c2f99291f91
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
Ram Chandrasekar [Mon, 1 Aug 2016 21:02:41 +0000 (15:02 -0600)]
Revert "Thermal: handle thermal zone device properly during system sleep"
This reverts commit <
a67208e94d945ad890f8dc4734ec5fdb3219cc03>.
This commit prevented xo shutdown as during suspend exit, WSA sensor for
temperature read triggered a slimbus wakeup. Slimbus suspend mechanism
will expect a qmi message after the system has entered suspend. This
will wake the system from suspend. This happens recursively and
system will never enter suspend.
Revert this commit to avoid this issue, till the slimbus suspend
mechanism is fixed.
Change-Id: I4236f4b6272d0bccaf8a2d6f7d5435caf044bd59
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
Alan Kwong [Mon, 25 Jul 2016 02:07:41 +0000 (22:07 -0400)]
msm: sde: Correct rotator irq handler to acknowledge irq once
Current handler acknowledges interrupt in both the irq handler
and the irq thread. This clears interrupts that come between the
irq handler and the irq thread. This patch reorganizes irq
acknowledgment to the irq handler and changes the irq thread to
also check for completed requests by comparing request timestamp
and hardware completion timestamp. Upon error or timeout event,
hardware status is dumped to aid irq related fault isolation.
CRs-Fixed:
1044128
Change-Id: I085c2c2ec55106a8fb196f3ef1cfcb42e2b2507c
Signed-off-by: Alan Kwong <akwong@codeaurora.org>
Siddartha Mohanadoss [Thu, 28 Jul 2016 22:05:09 +0000 (15:05 -0700)]
iio: adc: rradc: Add RRADC channels
Add support to read charger and skin temp hot and
too hot temperature threshold values programmed
during initialization.
Change-Id: I46dca1f606b5414bf7a032c18c9684ba2e53cf28
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
Siddartha Mohanadoss [Wed, 27 Jul 2016 00:04:56 +0000 (17:04 -0700)]
iio: adc: rradc: Update die_temp and chg_temp scaling
The final temperature values for PMI die temperature and
charger temperature are in units of millidegC. Update
the slope factor value to avoid losing resolution
accuracy while values are reported in units of millidegC.
Change-Id: Iec4aa730fa97133af0c0fb9d47557738ef6f45a0
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
Siddartha Mohanadoss [Wed, 20 Jul 2016 18:37:15 +0000 (11:37 -0700)]
ARM: dts: msm: Remove RRADC channel nodes on pmicobalt
Currently there are no channel specific properties associated
with the RRADC channels. The existing channel nodes specify
a logical channel number that is used by the client when
requesting the RRADC channel read. This can instead be obtained
from the channel list specified within the driver. Therefore
remove the channel nodes.
Change-Id: I4da81a576b88285cedb0a1c7fd49ccd526d25012
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
Siddartha Mohanadoss [Wed, 20 Jul 2016 04:24:30 +0000 (21:24 -0700)]
iio: adc: rradc: Update RRADC reads and scaling
A check is needed to ensure the LSB and MSB are coherent
when reading the result registers for the RRADC channels.
The driver performs another round of read request and
compares the result registers to ensure the data read
back is coherent.
Since there are no channel specific properties remove
the dependency to add the channel nodes in the device
tree and instead statically register the channels within
the driver.
Update the scaling functions to report in the units
desired for the final scaled value based on the channel.
The resistance channel reports the units for batt_id
in ohms, the voltage channels such as DCIN, USBIN report
the value in units of microvolts, the current channels
in units of microamps and the temperature channels
such as thermistors are reported in units of millidegC.
Change-Id: I56e6bff28be2cc23f00622d5c37e42564c51a72f
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
Girish Mahadevan [Tue, 12 Apr 2016 17:40:18 +0000 (11:40 -0600)]
serial: msm_serial_hs: Modify IPC Logging
Change the default IPC logging messages to help log analysis instead of
having to change log mask levels and having to re-run the test cases.
Currently single log is used to gather all the driver messages. Split
these into dedicated tx/rx payload log, client ioctl/power state log and
generic driver state log.
Also only dump 32 bytes of the tx/rx payload.
Change-Id: I8dee2f8aa0a6882ec1c320669f165e7cb94bb5f1
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
Girish Mahadevan [Wed, 25 May 2016 21:50:07 +0000 (15:50 -0600)]
serial: msm_serial_hs: Move clk count voting out of runtime callbacks
Don't modify the ref count variable clk count inside the runtime callbacks.
Doing so could result in a case where the driver might end up calling a put
twice on the runtime object. The resulting imbalance will leave the runtime
state for the device in a bad state.
Change-Id: I34989768811b23762c4afe3e33e229ffa3f1db17
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
Girish Mahadevan [Wed, 27 Apr 2016 20:55:27 +0000 (14:55 -0600)]
msm_serial_hs: Change resource voting and system suspend logic
As part of the resource voting, both the resource_vote and unvote
functions call the toggle_wakeup_interrupt() function which toggles the
state of the wakeup irq unconditionally. This can cause issues in adverse
scenarios. Instead split this out into exclusive enable and disable wakeup
interrupt functions to be called during the resource unvote and vote
respectively. Also don't make resource votes in the wakeup isr, the
wakeup isr injects a pre-determined byte into the tty flip buffer and
doesn't access the core or setup any transactions and hence doesn't need
to vote for resources.
The driver has registered for the noirq system suspend/resume callbacks.
When executing these callbacks, don't rely on the runtime framework to
check the device's current runtime state before deciding whether to allow
system suspend or not as the runtime framework is disabled at this point.
Instead rely on the power state that the driver maintains internally.
Change-Id: I0e5d6b8a8a69efc2d9c65dc1edc85f13cbc94fc3
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
Girish Mahadevan [Fri, 10 Jun 2016 16:18:49 +0000 (10:18 -0600)]
ARM: dts: msm: Modify the GPIO bias for UART_3 on msmcobalt
Modify the sleep set GPIO bias for UART_3. This will help lower leakage
once the usecase for UART_3 has ended.
Change-Id: I50d918197a4cd0b503dff78e7d4ba89518c1d1c2
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
Girish Mahadevan [Fri, 10 Jun 2016 16:12:13 +0000 (10:12 -0600)]
ARM: dts: msm: Modify the GPIO bias for I2C_5 on msmcobalt
Modify the sleep set GPIO bias for I2C_5. This will help lower leakage once
the usecase for I2C_5 has ended.
Change-Id: I41e9012210ce9a5f4fbeb4236365c0fa2db08625
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
Zhen Kong [Mon, 25 Jul 2016 21:34:35 +0000 (14:34 -0700)]
ARM: dts: msm: change to use SW AEAD and HMAC algorithm for msmcobalt
change to use SW AEAD and HMAC algorithms with ARMv8 crypto
extensions by default on msmcobalt, as they have better performances
than algorithms using HW crypto engines.
Change-Id: If68b68374bfabcdef7ecbf245b72b12c4734f811
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
Utkarsh Saxena [Wed, 29 Jun 2016 06:46:55 +0000 (12:16 +0530)]
msm: ipa: disconnect sequence change for USB 2.0
For USB 2.0 there is a requirement to not to flush the
USB endpoints after the pipes are disconnected. Otherwise
this can result into NOC errors. Make a change to modify the
disconnect sequence as below.
1) USB driver first disable the pipes
2) New API is provided from IPA to disable the endpoint.
3) As part of disable, make sure pipes are empty and reset
the pipes.
4) USB resets its BAM and flushes the ep.
5) USB then disconnects both IPA and USB pipes.
Change-Id: I917f025678e6abb03058d5be4ec42d9e6d76835f
CRs-Fixed:
1038623
Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com>
Acked-by: Mohammed Javid <mjavid@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
Linux Build Service Account [Tue, 2 Aug 2016 13:42:45 +0000 (06:42 -0700)]
Merge "mfd: wcd934x: Add page 0x50 registers for wcd934x codec"
Linux Build Service Account [Tue, 2 Aug 2016 13:42:44 +0000 (06:42 -0700)]
Merge "ASoC: msmcobalt: fix proxy channels index value"
Linux Build Service Account [Tue, 2 Aug 2016 13:42:43 +0000 (06:42 -0700)]
Merge "input: touchpanel: Move Goodix GT915 driver to drivers folder"
Linux Build Service Account [Tue, 2 Aug 2016 13:42:42 +0000 (06:42 -0700)]
Merge "input: it7258_ts_i2c: replace unused variable in driver"
Linux Build Service Account [Tue, 2 Aug 2016 13:42:42 +0000 (06:42 -0700)]
Merge "msm: ipa3: update IPA BCR register values"
Linux Build Service Account [Tue, 2 Aug 2016 13:42:40 +0000 (06:42 -0700)]
Merge "input: msg21xx_ts: Move the driver to proper path"
Linux Build Service Account [Tue, 2 Aug 2016 13:42:37 +0000 (06:42 -0700)]
Merge "input: it7258_ts_i2c: add low power mode support in suspend state"
Linux Build Service Account [Tue, 2 Aug 2016 13:42:36 +0000 (06:42 -0700)]
Merge "input: touchscreen: clean ITE tech driver probe function"
Linux Build Service Account [Tue, 2 Aug 2016 13:42:35 +0000 (06:42 -0700)]
Merge "Merge remote-tracking branch 'msm-4.4/tmp-
2bf7955' into msm-4.4"
Linux Build Service Account [Tue, 2 Aug 2016 13:42:34 +0000 (06:42 -0700)]
Merge "msm: ipa: add support for configuring polling interval/sleep time"
Ghanim Fodi [Thu, 28 Jul 2016 15:03:56 +0000 (18:03 +0300)]
msm: ipa: fix IPA driver processing context delete logic
During IPA driver processing context delete, a delete to
the referenced header is being done. The header deletion
will also commit the changes to H/W which includes the
processing context commit. This resulted into committing
an invalid process context as it is still in the processing
context list, but points to deleted header.
The fix is to not commit the changes when deleting the header
but only when deleting the processing context.
Change-Id: I9d3c5eec717da0b072144a1027e4582e73aaa6d9
CRs-fixed:
1044710
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>