Fix some errors in fs and workqueue
Change-Id: I1f55f48661cde82f019b4e91ca9c95ad022f01b7
Switch back to CAF thermal in board-mako for now
qpnp: pwm: PM8110 pwm changes for backlight

Qualcomm pmic chipset PM8110's ENABLE_CONTROL register
definition is different from other pmic chipset. So avoid
modifying the other bits in ENABLE_CONTROL register when
pwm_config is called.

CRs-Fixed: 502742
Change-Id: Ib0b237c44dcc359536879c506e32dc945b47a0b8
Signed-off-by: Prasad Sodagudi <psodagud@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>
msm: camera: Add clock setting for OV12830 eeprom

Add clock config for OV12830 OTP on SKUF.

Change-Id: I61ac41bafebdee051ab317dce52d4d9a5a8ad97e
Signed-off-by: Wang Wenbin <wenbinw@codeaurora.org>
msm: camera: Add clock setting for OV5648 eeprom

Add clock config for OV5648 OTP on SKUF

Change-Id: If202d07dca68ee944b3c4068cc11b1a53083503f
Signed-off-by: Su Liu <suliu@codeaurora.org>
msm: kgsl: Init log levels in device init

Device log levels should be initialized during device initialization,
removing this from debugfs init because customer could disable
debugfs.

Change-Id: Ie1222be1d421405e0d7481c799045cb9876c2a91
Signed-off-by: Tarun Karra <tkarra@codeaurora.org>
msm: ledflash: Add Debugfs node for I2c based led flash

Add debugfs node for ledflash to power on/off led.

Change-Id: I788bf61b2d47ed8bd58dc28fe185f21f8ffcd375
Signed-off-by: Lokesh Kumar Aakulu <lkumar@codeaurora.org>
msm: mdss: hdmi: NUL-terminate spd data

NUL-terminate SPD Vendor name and SPD
Product description data stored in the
control structure of hdmi driver. This
avoids overflows in print messages and info
frames.

Change-Id: I0a0adcfad06625e4d7368d3c5cd0ec38f0e047d8
CRs-Fixed: 520148
Signed-off-by: Manoj Rao <manojraj@codeaurora.org>
I2C: Master id, sda and scl update

Proper configuration of gpio pins on DT file

Change-Id: I5c3ac74273c45c1f4869c8473c1cb915656098b8
Signed-off-by: Mallesh Koujalagi <malles@codeaurora.org>
ARM: dts: msm: Add VBIF settings for 8084 MDSS

Use recommended VBIF configuration for 8084 MDSS. These settings
enable address range interleaving for two AXI master ports.

Change-Id: Icc11fea43c2b5c18120f88694f1b2e806a16c931
Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
ARM: dts: msm: Add MDP settings for 8084 MDSS

Add MDP predefined configuration for 8084 MDSS.

Change-Id: Idb6ca9c547a44c919bb4af4ac49faf655c9eb886
Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
ARM: dts: msm: Indicate presence of DSPP attached write-back block

MDSS contains multiple write-back blocks but not all of them are
attached to DSPP. Also not all the MSM chip-sets contain DSPP attached
write-back block. Presence of property "qcom,mdss-has-wfd-blk" is used
by the driver to determine this difference. Since 8084 MDSS has this
block, adding property to configure the driver.

Change-Id: Ida485d08493247e77c4c90aea5bbb7d0c29abac1
Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
msm: board-8092: Add QPNP regulators before clock_init

The clock driver will need to request for regulators, so allow
the qpnp regulators to get probed earlier than the clocks.

Change-Id: Ic34c8126067aa5776d6153818f54a5a0e83e9022
Signed-off-by: Taniya Das <tdas@codeaurora.org>
msm: rpm-master-stat: Modify RPM master stats platform data

Currently each master stats are placed in RPM message
RAM at a fixed offset location. This can be varied across
different platforms. Hence adding  a 'master_offset'
variable to platform data. This avoids the hard coding
of offset value in rpm master stats driver.

CRs-Fixed: 517589
Change-Id: Ifb89b518930022a735495622712f694a987f47f3
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
mmc: core: Add support for HS400

HS400 is a new bus speed mode introduced in eMMC5.0 specification. This
patch adds the capability in mmc core to switch to HS400 mode when both
the host and the card supports it.

Change-Id: I53ee4982eae9e5cfccafe065b532d4a2f7225d17
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
mmc: sdhci: Add HS400 host layer support

HS400 bus speed mode also requires tuning to be performed as done in
HS200 mode. Add the capability in host layer to perform tuning for
HS400 too.

Change-Id: I4508739dd76b1aca79f0c975fb31010c6f8ba9df
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
mmc: sdhci-msm: Add HS400 platform support

The following msm platform specific changes are added to support HS400.
- Enable CDC calibration fixed feedback and sleep clock.
- Allow tuning for HS400 mode.
- Add capability to parse and configure pull settings for RCLK pin.
- Configure HS400 timing mode using the VENDOR_SPECIFIC_FUNC register.

Change-Id: I1304fe0f01df493ead48bf9ff3c7baee5ab040d4
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
mmc: sdhci-msm: Add calibration tuning for CDCLP533 circuit

In HS400 mode a new RCLK is introduced on the interface for read data
transfers. The eMMC5.0 device transmits the read data to the host with
respect to rising and falling edges of RCLK. In order to ensure correct
operation of read data transfers in HS400 mode, the incoming RX data
needs to be sampled by delayed version of RCLK.

The CDCLP533 delay circuit shifts the RCLK by T/4. It needs to be
initialized, configured and enabled once during HS400 mode switch and
when operational voltage/clock is changed.

Change-Id: Ie7acc50cb932a7b531434ebe72f78e2e7ad27408
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
ARM: dts: msm: Add HS400 support to SDC1 for MSM8974Pro AC MTP

MSM8974Pro AC includes SDCC5 revision of the controller which adds
support for HS400. Add the device tree entry to indicate this support.

Change-Id: I0772e1358ebfe44fff1ff2bca10f0b9c59fb8380
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>