usb: XHCI: Add support to disable selective suspend

Out of band resume cannot be used when selective suspend
is enabled as hub driver can resume/suspend the port. Add
support to disable selective suspend on platforms which
does not support usual in-band resume signalling.

Change-Id: I1bb699c94aed8f61683cc86ff801b50b69872930
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
usb: xhci-msm-hsic: Add wakeup gpio support for out of band remote wakeup

Some peripherals connected to HSIC host controller cannot use in-band
remote-wakeup to wakeup host controller from usb bus suspend and use
gpio instead. Add support for wakeup gpio to support out of band
remote-wakeup.

Change-Id: I9c7299bab5dd5c2a9c7d664afe6dbf0b7f7e6e19
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
ARM: dts: Enable out of band remote wakeup support on apq8084

Add device tree configuration data and wakeup gpio mux
configuration to enable out of band remote wakeup support
by default on apq8084 target.

Change-Id: If71d8ba0287faa6d8334e0c01fa0f8a92a422709
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
usb: Disable HSIC suspend & resume

Change-Id: Iaa76d285d55159565b3a23c21f7051ff7ab93d7d
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
ARM: dts: msm: add configs for PMA8084 GPIO/MPP on APQ8084 based devices

Add configuration tables in order to capture APQ8084 MTP, CDP and LIQUID
specific configurations for PMIC PMA8084 GPIOs and MPPs.

Configure gpio 15, 16, 17 and 18 in DIV_CLK funtion.
Configure gpio 11 as input, it is an interrupt source for USB insertion
detection.
Configure gpio 9 and 20 as outputs, each drives an external regulator chip.
Configure mpp3 as output, it drives the external 5V regulator chip.
Configure mpp7 as output on liquid, it drives the external regulator
used by the gps chip.
Configure gpio 8 as output on liquid, it drives the external regulator
used for OTG.

Change-Id: I86f5d429001b61fc4346bdfe82435efbeb205a39
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
ARM: dts: msm: Add SMB349 device for APQ8084 MTP

SMB349 is a single path switching mode charger. It uses BLSP3
I2C interface and uses PMIC 8084 gpio 14 to interrupt the MSM.
Add its device definition in the tree.

Change-Id: I7ea3a66c9922aad4b7e5f225c7d367b48ed759f8
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
msm:kgsl: Disable idle timeout and disable snapshot
and ucache range disabled.We are also allowing gpu to idle for every
command.

Change-Id: Iea4ce29308881fc5046ecf6b79168a172c114eed
Signed-off-by: Rajeev Kulkarni <krajeev@codeaurora.org>
msm: clock-8084: Add clock look-up table entry for osr_clk

osr_clk is the Master clock used by Audio Codec for its internal
operations

Change-Id: Ic8f0b392f4934cded6e9fab99116d969f87f1248
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
msm: Kconfig: make MSM_QDSP6_APRV2 dependant on MSM_AUDIO_QDSP6V2

Defining MSM_QDSP6_APRV2 without MSM_AUDIO_QDSP6V2 causes linking errors
for other kernel modules as the APR module isn't actually being
compiled.

Change-Id: I2ac5de51c7b3cec6bf1d318b6a3ce7fe52ea4d90
Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
msm: vidc: Add support for interframe power collapse

On targets that support it (namely apq8084), give up control of the
core0 and core1 GDSCs to the hardware so that it can independently
decide to powercollapse when no hardware operations are being performed
on the respective cores.

Change-Id: I09397fde101cc0b91b97c0ae646ea09e8b117b9d
Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
ARM: dts: msm: Add support for JDI dual-dsi QHD panel

Primary panel for apq8084 Liquid platform is JDI dual-dsi QHD panel.
Add this panel support.

Change-Id: If892f40af84d761d9fe622e125f1542d2eb75ca1
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
Merge "ARM: dts: msm: add configs for PMA8084 GPIO/MPP on APQ8084 based devices" into jb_mr2_rb1.3
Merge "ARM: dts: msm: Add SMB349 device for APQ8084 MTP" into jb_mr2_rb1.3
Merge "msm:kgsl: Disable idle timeout and disable snapshot and ucache range disabled.We are also allowing gpu to idle for every command." into jb_mr2_rb1.3
Merge "ARM: dts: msm: Add support for JDI dual-dsi QHD panel" into jb_mr2_rb1.3
usb: ks_bridge: [Do not merge] Modify pltform device name

Change-Id: I2cd2ec6a3177d0da71c2a0c95ca9db7b5573acf4
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Enable HSIC : Hack needs to go away with HSIC changes
Also  disable L2 Errors

Signed-off-by: Sanrio Alvares <sanrioalvares@codeaurora.org>

Conflicts:

	arch/arm/boot/dts/apq8084.dtsi

Change-Id: I7716131533d50a179796e86c66c210843e374a0e
Signed-off-by: Sudhir Sharma <sudsha@codeaurora.org>
Merge "msm: clock-8084: Add clock look-up table entry for osr_clk" into jb_mr2_rb1.3
[TEST-NORMERG] Turning on the gcc_lpass_mport_axi_clk in PIL

Change-Id: I338380af1fa72baf5632ac8d2da1bd35828197a3
Signed-off-by: Tianyi Gou <tgou@codeaurora.org>
ARM: dts: msm: Enable smmu for APQ8084

APQ8084 uses smmu for shared memory access with ADSP.
Hence smmu-enabled field has to be true for APQ8084 devices.
Remove audio HEAP as there is no need for this with SMMU
enabled.

Change-Id: If61f7a4f6287dfd3060660eb342dbacfbdc6afba
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>