ARM: dts: msm8226-regulator: modify ceiling voltage of nominal mode

New voltage plan requires changing it from 1.16v to 1.15v, so we
change it accordingly.

Change-Id: I3102191a5252175beae909434bb0476fee76e78c
Signed-off-by: Ke Liu <keliu@codeaurora.org>
misc: isa1200: Change mutex for isa1200 vibrator

Change i2c client device mutex to local driver mutex
for isa1200 vibrator which is used while enabling and
disabling the clock.

CRs-Fixed: 545512
Change-Id: I4f61c629c503c658410b5c14da2e1612b82ec201
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
ASoC: msm: 8x26: Enable DAP for 8x26

Enabling DAP post proc effects support for 8x26

Change-Id: I080594327dfd262669cef6483188797ca79613d9
CRs-Fixed: 534241
Signed-off-by: Jitendra Singh Naruka <jnaruk@codeaurora.org>
ASoC: WCD9306: Add AANC support to wcd9306

Send the DSP commands to inform the DSP about the slimbus
address, codec registers and AANC version. DSP will use
this information to write to adaptive gain that it
determines from the AANC algorithm to the correct
codec register.

Change-Id: If914e7042fa239244c3083fcc422d789a79187dd
Signed-off-by: Damir Didjusto <damird@codeaurora.org>
ASoC: msm8226: Add AANC support for msm8226

Initiate sending commands to DSP for AANC. DSP will use
the information from the commands to know which codec
register to write anc gain which is determined by the
AANC algorithm.
Resend the commands after SubSystem Restart, because
DSP will lose the information and will not know
what codec register to write to or which AANC version
to use.

Change-Id: I442b930efd091a82e90cecece0edd5ac38815ddc
Signed-off-by: Damir Didjusto <damird@codeaurora.org>
ARM: dts: msm: Add support for AANC for msm8226 QRD

Add routing for AMIC3 and AMIC4. Set micbias3 to
external. This will enable the paths for error and noise
mics which are needed for AANC algorithm.

Change-Id: I39f46ffba56e3ce6054d6f0c04a876c44404073a
Signed-off-by: Damir Didjusto <damird@codeaurora.org>
msm: smd: split out SMD probe and init functions

Current SMD driver code combines all different types of probe
and initialization sequences. For future targets, only the DT init
sequence is necessary.

Move SMD probe and initialization sequences into different files.

Change-Id: I1092cb3946a56840deb3676afea37c7f6f537d19
Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
msm: smsm: add SMSM interrupt logging

Add interrupt logging of SMSM interrupts for debugging issues involving
missing interrupts on the remote subsystems.

Change-Id: Ic39ec1738a34107e21a546fcb28132e1fe8ad339
Signed-off-by: Brent Hronik <bhronik@codeaurora.org>
Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
msm: smd: add support for secondary channel table

The primary SMD channel table only supports 64 entries and is currently at
capacity. Since the primary channel table cannot be extended as the SMEM
item ids following the primary table are already reserved for other
usecases, create a secondary channel table by repurposing the unused block
channel table SMEM items.  This extention creates an additional 64 entries
for new SMD channels allowing the system to support a total of 128
channels.

CRs-Fixed: 525753
Change-Id: Ife9c822e46178b4a8bf21c34efabfd7133ed87b0
Signed-off-by: Jeffrey Hugo <jhugo@codeaurora.org>
msm: smd: enable additional smd logging

Enable additional smd logging to provide channel allocation
information.

Change-Id: Ibf793e30cdb2814c91358b4e7c86f178120c9ae9
Signed-off-by: Brent Hronik <bhronik@codeaurora.org>
msm: smd: support SSR of channels in the secondary table

If Subsystem Restart (SSR) occurs, SMD channels in the secondary allocation
table should be reset in an identical manner to that of channels that exist
in the primary allocation table to prevent stale state issues.

Prevent any stale state issues by resetting the SMD channels in the
secondary allocation table during SSR.

CRs-Fixed: 536419
Change-Id: I31fc963cb09265f9ff44ce3c5adeb9af780b75d1
Signed-off-by: Jeffrey Hugo <jhugo@codeaurora.org>
qpnp: pwm: Select proper pwm sizes

Here are different Qualcomm pmic chipsets and supported pwm resolutions.
PM8941:-
	LPG1 to LPG8 channels support 6, 7 and 9 bit PWM resolutions.
	LPG9 to LPG12 channels support 7 and 8 bit PWM resolutions.
PM8026:-
	LPG1 to LPG6 channels support 6, 7 and 9 bit PWM resolutions.
PM8110:-
	PWM supports 6 and 9 bit PWM resolutions. There is no support
for LPG mode and pwm mode only supported.

CRs-Fixed: 529920
Change-Id: I98323f94b2f6feef068300d7b0065082587ad548
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
qpnp: pwm: Force the pwm size selection

For certain use cases pwm size need to restricted
to avoid dynamic pwm size selection based on the
pwm period value. Currently pwm freqency and pwm
sizes are selected for a given pwm period. Restrict
pwm size to a specific value and select pwm frequency
closest to pwm period requested.

CRs-Fixed: 529920
Change-Id: I42d4d9621312adf25061b7a9b52056806f8d9b2b
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
ARM: dts: msm: 8974 V2 specific regulator setting

Regulator settings are moved from general sensor
dtsi to 8974 V2 specific ones. This change applies to
8974 cdp, fluid, liquid and mtp.
After this change, camera vote for automode applies
in V2 only but not PRO.

Change-Id: I5108526bf0e978ad2022ac13597f7eda5f5f92d9
Signed-off-by: Xu Han <hanxu@codeaurora.org>
ASoC: msm8x10-wcd: Add clock widgets for playback paths

Add the clock widgets for audio playback output paths so that
the clock control for headphone, earpiece, lineout, and speaker
is a part of DAPM power-up and power-down sequence to reduce
the CnP.

CRs-fixed: 518654

Change-Id: I5e1bf66cdf5d02864d09096318403469023896bc
Signed-off-by: Kuirong Wang <kuirongw@codeaurora.org>
msm: camera: Add in-sensor mode support for eeprom

Add in-sensor mode calibration support for eeprom.
User are able to the back calibration settings
via i2c interface of the sensor.

Change-Id: I9332ea08f1100bed44c00ac455d07d8ea2b2ee27
Signed-off-by: Wei Ding <weiding@codeaurora.org>
defconfig: msm8610: enable eeprom driver

Enable eeprom driver compile on 8x10 platform

Change-Id: Ic3a042a31fc35d920bcff45b01d762ba269a3c9e
Signed-off-by: Wei Ding <weiding@codeaurora.org>

Conflicts:

	arch/arm/configs/msm8610-perf_defconfig

Signed-off-by: Wei Ding <weiding@codeaurora.org>
ARM: dts: msm:  Add OTP support for ov8825

Add OTP support for ov8825 on 8x10 MTP

Change-Id: I490d367bf31362eb235869df07a0078cebc895ea
Signed-off-by: Wei Ding <weiding@codeaurora.org>
msm: camera: Add clock setting for ov8825 eeprom

Add clock config for ov8825 OTP on 8x10 MTP

Change-Id: I70e45028f61b9819915f47c36cf1a288edd2cd0f
Signed-off-by: Wei Ding <weiding@codeaurora.org>
mdss: ppp: Allow for mdp3 to map smmu for buffers used by ppp

There is a hw issue with ppp where it reads buffers in 16x16 tiles.
If the region of interest (roi) is not divisible by 16 it will
read these extra lines but not use them for blitting. Since these
extra region is outside the buffer it is necessary to add extra
padding on either side of the buffer. This is a sw workaround to
avoid smmu reporting page faults.

Change-Id: I9ac80c1d32b35051b112f4c22c28c51b50f886ce
Signed-off-by: Terence Hampson <thampson@codeaurora.org>