Commit graph

572937 commits

Author SHA1 Message Date
Bhalchandra Gajare
68f9abd8cf 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>
2016-08-02 20:33:46 -07:00
Bhalchandra Gajare
643173993d 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>
2016-08-02 20:31:31 -07:00
Bhalchandra Gajare
e4af31231a 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>
2016-08-02 20:22:08 -07:00
Bhalchandra Gajare
3cf508f646 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>
2016-08-02 20:21:27 -07:00
Linux Build Service Account
ec9fd7cc51 Merge "mfd: wcd934x: Add page 0x50 registers for wcd934x codec" 2016-08-02 06:42:44 -07:00
Linux Build Service Account
04e7ebf191 Merge "ASoC: msmcobalt: fix proxy channels index value" 2016-08-02 06:42:44 -07:00
Linux Build Service Account
eeea2ec1ce Merge "input: touchpanel: Move Goodix GT915 driver to drivers folder" 2016-08-02 06:42:43 -07:00
Linux Build Service Account
23acf72005 Merge "input: it7258_ts_i2c: replace unused variable in driver" 2016-08-02 06:42:42 -07:00
Linux Build Service Account
0747b59e11 Merge "msm: ipa3: update IPA BCR register values" 2016-08-02 06:42:41 -07:00
Linux Build Service Account
d906969dfe Merge "input: msg21xx_ts: Move the driver to proper path" 2016-08-02 06:42:40 -07:00
Linux Build Service Account
412270ed6e Merge "input: it7258_ts_i2c: add low power mode support in suspend state" 2016-08-02 06:42:36 -07:00
Linux Build Service Account
7341630e35 Merge "input: touchscreen: clean ITE tech driver probe function" 2016-08-02 06:42:36 -07:00
Linux Build Service Account
af0987f562 Merge "Merge remote-tracking branch 'msm-4.4/tmp-2bf7955' into msm-4.4" 2016-08-02 06:42:35 -07:00
Linux Build Service Account
391a76b271 Merge "msm: ipa: add support for configuring polling interval/sleep time" 2016-08-02 06:42:34 -07:00
Shiv Maliyappanahalli
f6613b21f8 ASoC: msmcobalt: fix proxy channels index value
The array index value when setting/getting the channels
of proxy is incorrect as the channel count begins from two.
Fix by setting the correct index offset.

Change-Id: I3ab9858daf6dcdbce762946cbdebeb96eaad764a
Signed-off-by: Shiv Maliyappanahalli <smaliyap@codeaurora.org>
2016-08-01 22:29:22 -07:00
Linux Build Service Account
9d9cf7636c Merge "clk: msm: clock-gpu-cobalt: Update the GPU PLL FMAXes" 2016-08-01 21:56:51 -07:00
Linux Build Service Account
160e45d7b2 Merge "ASoC: msm: Add dapm ignore suspend for front end dais" 2016-08-01 21:56:48 -07:00
Linux Build Service Account
0e0074f51e Merge "ASoC: wcd9335: Add dapm ignore suspend for backend dais" 2016-08-01 21:56:47 -07:00
Linux Build Service Account
90cc3af5c5 Merge "slim: msm: Handle slimbus HW noise during early boot-up" 2016-08-01 21:56:46 -07:00
Linux Build Service Account
6bdacafee4 Merge "iommu/arm-smmu: Don't group PCI devices" 2016-08-01 21:56:45 -07:00
Linux Build Service Account
aec1c3826b Merge "qcom-charger: qpnp-smb2: disable vbus-error IRQ trigger" 2016-08-01 21:56:45 -07:00
Linux Build Service Account
556668c60b Merge "input: touchscreen: add palm-gesture sleep feature" 2016-08-01 21:56:44 -07:00
Linux Build Service Account
aa738fdd92 Merge "msm: camera: Add support for multiple flash nodes" 2016-08-01 21:56:43 -07:00
Linux Build Service Account
1e86ba99e5 Merge "Revert "misc: uidstat: Adding uid stat driver to collect network statistics."" 2016-08-01 21:56:41 -07:00
Linux Build Service Account
b8977f5091 Merge "xt_qtaguid: Fix panic caused by processing non-full socket." 2016-08-01 21:56:41 -07:00
Linux Build Service Account
b85e6cc250 Merge "xt_qtaguid: Fix panic caused by synack processing" 2016-08-01 21:56:40 -07:00
Linux Build Service Account
598f95ba6a Merge "Revert "net: activity_stats: Add statistics for network transmission activity"" 2016-08-01 21:56:40 -07:00
Linux Build Service Account
3cfc91a2b4 Merge "Revert "coresight-tpdm: fix dsb edge ctrl mask interface"" 2016-08-01 21:56:39 -07:00
Linux Build Service Account
cf554e72cc Merge "ARM: dts: msm: Enable droop and fault detection for pmicobalt flash LED" 2016-08-01 21:56:35 -07:00
Linux Build Service Account
25070b2a8d Merge "leds: qpnp-flash-v2: Add support for led_fault_irq" 2016-08-01 21:56:34 -07:00
Linux Build Service Account
b7fb668a44 Merge "ARM: dts: msm: Add support for new flash mode on msmcobalt" 2016-08-01 21:56:33 -07:00
Linux Build Service Account
a0000b903f Merge "msm: camera: Add support for reading new property tag" 2016-08-01 21:56:32 -07:00
Linux Build Service Account
14051dfb5d Merge "smb-lib: introduce votable to disable charging" 2016-08-01 21:56:32 -07:00
Linux Build Service Account
dd6774e357 Merge "msm: kgsl: Add 5usec delay for idle check on A540" 2016-08-01 21:56:31 -07:00
Bingzhe Cai
633e973e5f input: touchpanel: Move Goodix GT915 driver to drivers folder
Goodix GT915 driver was provided by vendor and cherry-picked into
our project, it need to be placed to right location.

Change-Id: Idf191144354426233eca41727a41e26ddbf92f95
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
Signed-off-by: Pan Fang <fangpan@codeaurora.org>
2016-08-01 21:25:25 -07:00
Shantanu Jain
6527a0f4cb input: it7258_ts_i2c: replace unused variable in driver
Replace an unused variable in the ITE tech touch screen driver.

Change-Id: I49230fb6532ee02f122d5f16dfad8dbd978b368e
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-08-01 21:16:17 -07:00
Bhalchandra Gajare
ced88d4dfc mfd: wcd934x: Add page 0x50 registers for wcd934x codec
Registers for page 0x50 in the wcd934x audio codec are currently
not defined. These registers control WCD DSP register configuration
and setup. Add these register definitions so that codec driver can
read/write these registers.

CRs-Fixed: 1049012
Change-Id: If1162c09de8d4d7c330a97a1f133f6d46ce2fd74
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2016-08-01 19:45:39 -07:00
Sudheer Papothi
0f8a45e521 ASoC: wcd9335: Add dapm ignore suspend for backend dais
DAPM marks back end dai as dirty during ASoC suspend
which triggers device path teardown. Add ignore suspend
to all back end dais to avoid device path teardown.

CRs-Fixed: 1031932
Change-Id: I89f83feed0702f3a3f3b6141ed73459b8878d2df
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2016-08-02 02:57:59 +05:30
Mitchel Humpherys
6fbe4a9662 iommu/arm-smmu: Don't group PCI devices
In general, the IOMMU framework likes to group PCI devices together.
This prevents someone from assigning them to separate VMs using VFIO,
for example.  The reason they shouldn't go to separate VMs is because
there could be DMA aliasing between endpoint devices, and because the
root complex device can access anything that endpoint devices can
access.

Unfortunately, this makes things difficult in the DMA layer since the
IOMMU framework freaks out if you try to attach a single device that is
also part of a group.  First instinct might be to start using
iommu_attach_group instead of iommu_attach_device in the DMA layer but
that has problems of its own (it attaches *everyone* in the group as
soon as one client attaches).  Besides all that, it's also a bit
annoying to have the root complex device in group since, in our
platform, it doesn't actually have any stream IDs assigned to it and it
doesn't do any DMA of its own, so it doesn't really make any logical
sense to attach it.

As a compromise, we can stop grouping PCI devices together by allocating
a new domain for each one.  By doing so we no longer need to call
iommu_attach_group in the DMA layer, avoid the issues described above.

It should be noted that with this patch in place we can't securely do
any direct DMA assignment of PCI endpoint devices to separate VMs.

CRs-Fixed: 1036401
Change-Id: I9528b61a695dc7840e1c6f80af18044340f5c6c4
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
2016-08-01 13:48:50 -07:00
Linux Build Service Account
0fdb8c8eae Merge "ASoC: msmcobalt: Fix channel configuration on msmcobalt" 2016-08-01 08:04:24 -07:00
Linux Build Service Account
b046eabba1 Merge "ASoC: msm: Implement HFP tx mute get function" 2016-08-01 08:04:23 -07:00
Linux Build Service Account
491adb8744 Merge "ASoC: msm: qdsp6v2: Add support to set volume in ASM loopback" 2016-08-01 08:04:22 -07:00
Linux Build Service Account
83978dfbc0 Merge "ASoC: msm-cpe-lsm: add support for two CPE sessions" 2016-08-01 08:04:21 -07:00
Linux Build Service Account
09955c92f3 Merge "ASoC: msmcobalt: Add 24 bit packed support" 2016-08-01 08:04:20 -07:00
Linux Build Service Account
2566204c8d Merge "ARM: dts: msm: By default, handle FW errors as fatal on msmcobalt" 2016-08-01 03:01:57 -07:00
Linux Build Service Account
8560f5d5ea Merge "input: touchscreen: add touch to wake feature in ITEtech driver" 2016-08-01 03:01:55 -07:00
Linux Build Service Account
45e9c3f685 Merge "qseecom: validate the inputs of __qseecom_send_modfd_resp" 2016-08-01 03:01:54 -07:00
Mao Li
08a70ec5f1 input: msg21xx_ts: Move the driver to proper path
This Mstar CTP reference driver code is added into a wrong place,
a follow-on patch is created to move the driver to proper path.

Change-Id: I34365ce21659348ad1d1289e3b06b81e778c2648
Signed-off-by: Mao Li <maol@codeaurora.org>
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
2016-08-01 02:52:55 -07:00
Shantanu Jain
1354344108 input: it7258_ts_i2c: add low power mode support in suspend state
Add low power idle mode support in suspend state for ITE tech
touchscreen driver.
Also, execute the touch to wake feature code only when device moves
from idle state to active state.

Change-Id: Ia989d8130bbded4ae5acab0b9c3122998acb2056
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-08-01 02:46:39 -07:00
Shantanu Jain
284922b73a input: it7258_ts_i2c: add dt parsing support
Add DT parsing support to ITE tech touchscreen driver.

Change-Id: I4b6b9867dc0d74c02d165aae670213544fcda1bc
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-08-01 02:45:12 -07:00