OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
8 years agoMerge "tty: serial: msm: Move header file into driver"
Linux Build Service Account [Tue, 16 Aug 2016 23:34:33 +0000 (16:34 -0700)]
Merge "tty: serial: msm: Move header file into driver"

8 years agoMerge "tty: serial: msm: Support more bauds"
Linux Build Service Account [Tue, 16 Aug 2016 23:34:32 +0000 (16:34 -0700)]
Merge "tty: serial: msm: Support more bauds"

8 years agoMerge "tty: msm_serial: remove static clk rate setting in probe"
Linux Build Service Account [Tue, 16 Aug 2016 23:34:32 +0000 (16:34 -0700)]
Merge "tty: msm_serial: remove static clk rate setting in probe"

8 years agoMerge "earlycon: Use common framework for earlycon declarations"
Linux Build Service Account [Tue, 16 Aug 2016 23:34:31 +0000 (16:34 -0700)]
Merge "earlycon: Use common framework for earlycon declarations"

8 years agoMerge "msm: camera: sensor: Detect flash_driver_type from dtsi"
Linux Build Service Account [Tue, 16 Aug 2016 23:34:30 +0000 (16:34 -0700)]
Merge "msm: camera: sensor: Detect flash_driver_type from dtsi"

8 years agoMerge "ARM: dts: msm: Add PSCI support for msmfalcon"
Linux Build Service Account [Tue, 16 Aug 2016 23:34:29 +0000 (16:34 -0700)]
Merge "ARM: dts: msm: Add PSCI support for msmfalcon"

8 years agoMerge "clk: msm: clock: Update clock frequencies on MSMCOBALT"
Linux Build Service Account [Tue, 16 Aug 2016 23:34:28 +0000 (16:34 -0700)]
Merge "clk: msm: clock: Update clock frequencies on MSMCOBALT"

8 years agoMerge "ARM: dts: msm: Add support for reset clocks for MSM8996"
Linux Build Service Account [Tue, 16 Aug 2016 23:34:27 +0000 (16:34 -0700)]
Merge "ARM: dts: msm: Add support for reset clocks for MSM8996"

8 years agoMerge "swr-wcd-ctrl: set pointer to null after kfree"
Linux Build Service Account [Tue, 16 Aug 2016 23:34:25 +0000 (16:34 -0700)]
Merge "swr-wcd-ctrl: set pointer to null after kfree"

8 years agoMerge "msm: mdss: disable scaler for pipes with solid_fill"
Linux Build Service Account [Tue, 16 Aug 2016 23:34:24 +0000 (16:34 -0700)]
Merge "msm: mdss: disable scaler for pipes with solid_fill"

8 years agoMerge "soc: qcom: Initialize message pointer with NULL"
Linux Build Service Account [Tue, 16 Aug 2016 23:34:23 +0000 (16:34 -0700)]
Merge "soc: qcom: Initialize message pointer with NULL"

8 years agoMerge "msm: camera: sensor: Add META10 fourcc"
Linux Build Service Account [Tue, 16 Aug 2016 23:34:22 +0000 (16:34 -0700)]
Merge "msm: camera: sensor: Add META10 fourcc"

8 years agoMerge "defconfig: msm: enable IRQ off and preempt off tracers"
Linux Build Service Account [Tue, 16 Aug 2016 23:34:21 +0000 (16:34 -0700)]
Merge "defconfig: msm: enable IRQ off and preempt off tracers"

8 years agoMerge "ASoC: msmcobalt: Add dai-link for VI feedback"
Linux Build Service Account [Tue, 16 Aug 2016 17:20:32 +0000 (10:20 -0700)]
Merge "ASoC: msmcobalt: Add dai-link for VI feedback"

8 years agoMerge "ASoC: wcd934x: Enable VI path on WCD9340"
Linux Build Service Account [Tue, 16 Aug 2016 17:20:31 +0000 (10:20 -0700)]
Merge "ASoC: wcd934x: Enable VI path on WCD9340"

8 years agoMerge "ARM: dts: msm: add support for msmcobalt v2 CPU clock frequency plan"
Linux Build Service Account [Tue, 16 Aug 2016 17:20:30 +0000 (10:20 -0700)]
Merge "ARM: dts: msm: add support for msmcobalt v2 CPU clock frequency plan"

8 years agoMerge "ARM: dts: msm: Add VDD_APC0/APC1 CPR data for msmcobalt v2"
Linux Build Service Account [Tue, 16 Aug 2016 17:20:30 +0000 (10:20 -0700)]
Merge "ARM: dts: msm: Add VDD_APC0/APC1 CPR data for msmcobalt v2"

8 years agoMerge "regulator: cprh-kbss-regulator: support per-rev fuse reference voltages"
Linux Build Service Account [Tue, 16 Aug 2016 17:20:29 +0000 (10:20 -0700)]
Merge "regulator: cprh-kbss-regulator: support per-rev fuse reference voltages"

8 years agoMerge "clk: msm: Add memory barrier after reset assert/deassert"
Linux Build Service Account [Tue, 16 Aug 2016 17:20:28 +0000 (10:20 -0700)]
Merge "clk: msm: Add memory barrier after reset assert/deassert"

8 years agoMerge "ARM: dts: msm: Program venus clock gate 4 on msmcobalt"
Linux Build Service Account [Tue, 16 Aug 2016 17:20:27 +0000 (10:20 -0700)]
Merge "ARM: dts: msm: Program venus clock gate 4 on msmcobalt"

8 years agoMerge "msm: camera: isp: Set no memory retention"
Linux Build Service Account [Tue, 16 Aug 2016 17:20:25 +0000 (10:20 -0700)]
Merge "msm: camera: isp: Set no memory retention"

8 years agoMerge "msm: camera: cpp: Vote AHB with clock enabled and no mem retention"
Linux Build Service Account [Tue, 16 Aug 2016 17:20:24 +0000 (10:20 -0700)]
Merge "msm: camera: cpp: Vote AHB with clock enabled and no mem retention"

8 years agoMerge "msm: camera: jpeg: Set no memory retention"
Linux Build Service Account [Tue, 16 Aug 2016 17:20:23 +0000 (10:20 -0700)]
Merge "msm: camera: jpeg: Set no memory retention"

8 years agoMerge "msm: camera: FD: Set no memory retention"
Linux Build Service Account [Tue, 16 Aug 2016 17:20:23 +0000 (10:20 -0700)]
Merge "msm: camera: FD: Set no memory retention"

8 years agoMerge "msm: kgsl: Fix the ringbuffer wrap around logic"
Linux Build Service Account [Tue, 16 Aug 2016 17:20:22 +0000 (10:20 -0700)]
Merge "msm: kgsl: Fix the ringbuffer wrap around logic"

8 years agoMerge "icnss: Provide APIs for getting SMMU mapping context"
Linux Build Service Account [Tue, 16 Aug 2016 17:20:21 +0000 (10:20 -0700)]
Merge "icnss: Provide APIs for getting SMMU mapping context"

8 years agoMerge "ARM: dts: msm: Add smmu iova address and size for ICNSS"
Linux Build Service Account [Tue, 16 Aug 2016 17:20:21 +0000 (10:20 -0700)]
Merge "ARM: dts: msm: Add smmu iova address and size for ICNSS"

8 years agoMerge "defconfig: arm64: msm: Enable IPA unit-test framework"
Linux Build Service Account [Tue, 16 Aug 2016 17:20:19 +0000 (10:20 -0700)]
Merge "defconfig: arm64: msm: Enable IPA unit-test framework"

8 years agoMerge "msm: kgsl: Disable RB sampler data path optimization"
Linux Build Service Account [Tue, 16 Aug 2016 17:20:19 +0000 (10:20 -0700)]
Merge "msm: kgsl: Disable RB sampler data path optimization"

8 years agoMerge "ARM: dts: msm: Add SMP2P entries for MSMFALCON"
Linux Build Service Account [Tue, 16 Aug 2016 17:20:17 +0000 (10:20 -0700)]
Merge "ARM: dts: msm: Add SMP2P entries for MSMFALCON"

8 years agoMerge "firmware: qcom: tz_log: fix incorrect datatype for warm_jmp_addr."
Linux Build Service Account [Tue, 16 Aug 2016 17:20:16 +0000 (10:20 -0700)]
Merge "firmware: qcom: tz_log: fix incorrect datatype for warm_jmp_addr."

8 years agoMerge "ARM: dts: msm: Set no memory retention on msmcobalt"
Linux Build Service Account [Tue, 16 Aug 2016 17:20:15 +0000 (10:20 -0700)]
Merge "ARM: dts: msm: Set no memory retention on msmcobalt"

8 years agoMerge "msm: vidc: Set no memory retention for video clocks"
Linux Build Service Account [Tue, 16 Aug 2016 17:20:14 +0000 (10:20 -0700)]
Merge "msm: vidc: Set no memory retention for video clocks"

8 years agoMerge "msm: vidc: Compile vidc driver as LKM"
Linux Build Service Account [Tue, 16 Aug 2016 17:20:13 +0000 (10:20 -0700)]
Merge "msm: vidc: Compile vidc driver as LKM"

8 years agoMerge "ARM: dts: msm: Route to sw crypto for hmac and aead on msm8996"
Linux Build Service Account [Tue, 16 Aug 2016 17:20:12 +0000 (10:20 -0700)]
Merge "ARM: dts: msm: Route to sw crypto for hmac and aead on msm8996"

8 years agoMerge "msm: camera: Add support for reading new property tag"
Linux Build Service Account [Tue, 16 Aug 2016 17:20:12 +0000 (10:20 -0700)]
Merge "msm: camera: Add support for reading new property tag"

8 years agoARM: dts: msm: add support for msmcobalt v2 CPU clock frequency plan
Osvaldo Banuelos [Fri, 5 Aug 2016 17:36:10 +0000 (10:36 -0700)]
ARM: dts: msm: add support for msmcobalt v2 CPU clock frequency plan

Define the Silver and Gold cluster OSM look up tables
with the frequencies and data required to support Silver
cluster scaling up to 1.9 GHz and Gold cluster to
2.5 GHz. Also, update the supported frequencies in the msm
and devfreq CPUfreq devices.

CRs-Fixed: 1051857
Change-Id: Id9e9d37c6c0ac5c3ba6f566377bf86dbfe8ccabb
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
8 years agoARM: dts: msm: Add VDD_APC0/APC1 CPR data for msmcobalt v2
Osvaldo Banuelos [Fri, 5 Aug 2016 18:57:35 +0000 (11:57 -0700)]
ARM: dts: msm: Add VDD_APC0/APC1 CPR data for msmcobalt v2

Define the CPR corner information for the VDD_APC0 and
VDD_APC1 devices of the msmcobalt v2 chipset. This enables
CPRh closed-loop operation to reduce power consumption by
the voltage rails powering the Silver and Gold clusters.

CRs-Fixed: 1051863
Change-Id: I40b24c00d2c8ec767ba67951b16e7a3c7cdeb511
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
8 years agoregulator: cprh-kbss-regulator: support per-rev fuse reference voltages
Osvaldo Banuelos [Thu, 11 Aug 2016 22:44:32 +0000 (15:44 -0700)]
regulator: cprh-kbss-regulator: support per-rev fuse reference voltages

Add support for per-chip revision open-loop fuse reference
voltages. This allows for the correct calculation of open-loop
voltages across msmcobalt chip revisions where the fused
reference voltages vary. Lastly, update the compatible string for
existing msmcobalt v1 CPR APC devices.

CRs-Fixed: 1051863
Change-Id: Icff31b265b49d087005ac0e58d7783ff2588548c
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
8 years agoclk: msm: Add memory barrier after reset assert/deassert
Taniya Das [Mon, 15 Aug 2016 13:02:42 +0000 (18:32 +0530)]
clk: msm: Add memory barrier after reset assert/deassert

Memory barrier is required after the reset is asserted and de-asserted, so
add the same.

Change-Id: I17532984f546be97ba9862c07dd694b3fdd592fb
Signed-off-by: Taniya Das <tdas@codeaurora.org>
8 years agoMerge "ARM: dts: msm: add MSM External display node for msmcobalt"
Linux Build Service Account [Sun, 14 Aug 2016 06:13:25 +0000 (23:13 -0700)]
Merge "ARM: dts: msm: add MSM External display node for msmcobalt"

8 years agoMerge "msm: audio: soc: add null checks for hdmi ops"
Linux Build Service Account [Sun, 14 Aug 2016 06:13:24 +0000 (23:13 -0700)]
Merge "msm: audio: soc: add null checks for hdmi ops"

8 years agoMerge "ARM: dts: msm: update pinctrl for touch gpios in msmcobalt"
Linux Build Service Account [Sun, 14 Aug 2016 06:13:23 +0000 (23:13 -0700)]
Merge "ARM: dts: msm: update pinctrl for touch gpios in msmcobalt"

8 years agoMerge "ARM: dts: msm: Update USB bus voting to allow SVS on msmcobalt"
Linux Build Service Account [Sun, 14 Aug 2016 06:13:22 +0000 (23:13 -0700)]
Merge "ARM: dts: msm: Update USB bus voting to allow SVS on msmcobalt"

8 years agoMerge "iommu/arm-smmu: support static context banks"
Linux Build Service Account [Sun, 14 Aug 2016 06:13:21 +0000 (23:13 -0700)]
Merge "iommu/arm-smmu: support static context banks"

8 years agoMerge "arm64: defconfig: msm: enable CPUSETS"
Linux Build Service Account [Sun, 14 Aug 2016 06:13:20 +0000 (23:13 -0700)]
Merge "arm64: defconfig: msm: enable CPUSETS"

8 years agoMerge "ARM: dts: msm: Modify csiphy timer clock rate on msmcobalt"
Linux Build Service Account [Sun, 14 Aug 2016 06:13:19 +0000 (23:13 -0700)]
Merge "ARM: dts: msm: Modify csiphy timer clock rate on msmcobalt"

8 years agoMerge "msm: camera: Add VAF active and suspend handles to eeprom node"
Linux Build Service Account [Sun, 14 Aug 2016 06:13:18 +0000 (23:13 -0700)]
Merge "msm: camera: Add VAF active and suspend handles to eeprom node"

8 years agoMerge "ARM: dts: msm: Fix qsee_ipc_irq_bridge IRQ clear mask for msmcobalt"
Linux Build Service Account [Sun, 14 Aug 2016 06:13:17 +0000 (23:13 -0700)]
Merge "ARM: dts: msm: Fix qsee_ipc_irq_bridge IRQ clear mask for msmcobalt"

8 years agoMerge "ARM: dts: msm: Remove clocks listed under the UFS GDSC node"
Linux Build Service Account [Sun, 14 Aug 2016 06:13:16 +0000 (23:13 -0700)]
Merge "ARM: dts: msm: Remove clocks listed under the UFS GDSC node"

8 years agoMerge "msm: kgsl: update GPU busy statistics"
Linux Build Service Account [Sun, 14 Aug 2016 06:13:15 +0000 (23:13 -0700)]
Merge "msm: kgsl: update GPU busy statistics"

8 years agoMerge "msm: mdss: fix dma fifo read watermark to 15/16 full"
Linux Build Service Account [Sun, 14 Aug 2016 06:13:13 +0000 (23:13 -0700)]
Merge "msm: mdss: fix dma fifo read watermark to 15/16 full"

8 years agoMerge "ARM: dts: msm: add jdi 1080p video mode panel support for msmcobalt"
Linux Build Service Account [Sun, 14 Aug 2016 06:13:11 +0000 (23:13 -0700)]
Merge "ARM: dts: msm: add jdi 1080p video mode panel support for msmcobalt"

8 years agoMerge "arm: dts: msm: Added missing features for HW Encryption support"
Linux Build Service Account [Sun, 14 Aug 2016 06:13:11 +0000 (23:13 -0700)]
Merge "arm: dts: msm: Added missing features for HW Encryption support"

8 years agoMerge "ice: added missing register dump in case of error for ICE 3.0"
Linux Build Service Account [Sun, 14 Aug 2016 06:13:10 +0000 (23:13 -0700)]
Merge "ice: added missing register dump in case of error for ICE 3.0"

8 years agoMerge "ARM: dts: msm: Update the interrupt list for msmcobalt"
Linux Build Service Account [Sun, 14 Aug 2016 06:13:10 +0000 (23:13 -0700)]
Merge "ARM: dts: msm: Update the interrupt list for msmcobalt"

8 years agoMerge "qcom-charger: smblib: update batt capacity status from bms"
Linux Build Service Account [Sun, 14 Aug 2016 06:13:09 +0000 (23:13 -0700)]
Merge "qcom-charger: smblib: update batt capacity status from bms"

8 years agoMerge "ASoC: wcd-mbhc: enable micbias for special headset"
Linux Build Service Account [Sun, 14 Aug 2016 06:13:08 +0000 (23:13 -0700)]
Merge "ASoC: wcd-mbhc: enable micbias for special headset"

8 years agoMerge "ARM: dts: msm: Enable thermal mitigation for msmcobalt charger"
Linux Build Service Account [Sun, 14 Aug 2016 06:13:07 +0000 (23:13 -0700)]
Merge "ARM: dts: msm: Enable thermal mitigation for msmcobalt charger"

8 years agoMerge "qcom-charger: smblib: update ICL votings in parallel charging"
Linux Build Service Account [Sun, 14 Aug 2016 06:13:07 +0000 (23:13 -0700)]
Merge "qcom-charger: smblib: update ICL votings in parallel charging"

8 years agoMerge "defconfig: msmcortex: Enable Seemp Log driver"
Linux Build Service Account [Sun, 14 Aug 2016 06:13:06 +0000 (23:13 -0700)]
Merge "defconfig: msmcortex: Enable Seemp Log driver"

8 years agoMerge "ASoC: wcd9335: Update the Lineout path register configuration"
Linux Build Service Account [Sun, 14 Aug 2016 06:13:05 +0000 (23:13 -0700)]
Merge "ASoC: wcd9335: Update the Lineout path register configuration"

8 years agoMerge "ASoC: wcd: change classh settings as per impedance value"
Linux Build Service Account [Sun, 14 Aug 2016 06:13:04 +0000 (23:13 -0700)]
Merge "ASoC: wcd: change classh settings as per impedance value"

8 years agoMerge "qcom-charger: qpnp-fg-gen3: remove wakelock when reading SRAM props"
Linux Build Service Account [Sun, 14 Aug 2016 06:13:03 +0000 (23:13 -0700)]
Merge "qcom-charger: qpnp-fg-gen3: remove wakelock when reading SRAM props"

8 years agoMerge "clock: qcom: Update the list of clocks supported on MSMFalcon"
Linux Build Service Account [Sat, 13 Aug 2016 11:52:00 +0000 (04:52 -0700)]
Merge "clock: qcom: Update the list of clocks supported on MSMFalcon"

8 years agoMerge "soc: qcom: Fix error checks in service-notifier"
Linux Build Service Account [Sat, 13 Aug 2016 11:51:59 +0000 (04:51 -0700)]
Merge "soc: qcom: Fix error checks in service-notifier"

8 years agoMerge "Revert "genetlink: disallow subscribing to unknown mcast groups""
Linux Build Service Account [Sat, 13 Aug 2016 11:51:58 +0000 (04:51 -0700)]
Merge "Revert "genetlink: disallow subscribing to unknown mcast groups""

8 years agoMerge "cpuset: Add allow_attach hook for cpusets on android."
Linux Build Service Account [Sat, 13 Aug 2016 11:51:58 +0000 (04:51 -0700)]
Merge "cpuset: Add allow_attach hook for cpusets on android."

8 years agoMerge "usb: dwc3: Use clock API to control the memory power states"
Linux Build Service Account [Sat, 13 Aug 2016 11:51:57 +0000 (04:51 -0700)]
Merge "usb: dwc3: Use clock API to control the memory power states"

8 years agoMerge "usb: dwc3: Remove tasklet bottom half handler"
Linux Build Service Account [Sat, 13 Aug 2016 11:51:56 +0000 (04:51 -0700)]
Merge "usb: dwc3: Remove tasklet bottom half handler"

8 years agoMerge "usb: pd: Only request current amount for explicit contract"
Linux Build Service Account [Sat, 13 Aug 2016 11:51:55 +0000 (04:51 -0700)]
Merge "usb: pd: Only request current amount for explicit contract"

8 years agoMerge "ASoC: msm: qdsp6v2: Fix crash during WFD playback and SSR"
Linux Build Service Account [Sat, 13 Aug 2016 11:51:54 +0000 (04:51 -0700)]
Merge "ASoC: msm: qdsp6v2: Fix crash during WFD playback and SSR"

8 years agoMerge "ASoC: msm8x16: Initial change for internal codec support"
Linux Build Service Account [Sat, 13 Aug 2016 11:51:53 +0000 (04:51 -0700)]
Merge "ASoC: msm8x16: Initial change for internal codec support"

8 years agoMerge "msm: ipa: Add support for IPA unit-test framework"
Linux Build Service Account [Sat, 13 Aug 2016 11:51:53 +0000 (04:51 -0700)]
Merge "msm: ipa: Add support for IPA unit-test framework"

8 years agoMerge "ARM: dts: msm: Update USB core clock frequency to allow SVS"
Linux Build Service Account [Sat, 13 Aug 2016 11:51:52 +0000 (04:51 -0700)]
Merge "ARM: dts: msm: Update USB core clock frequency to allow SVS"

8 years agoMerge "USB: dwc3-msm: Add support for setting specific frequency for core clock"
Linux Build Service Account [Sat, 13 Aug 2016 11:51:51 +0000 (04:51 -0700)]
Merge "USB: dwc3-msm: Add support for setting specific frequency for core clock"

8 years agoMerge "drivers: soc: Set APR Glink transport to SMEM"
Linux Build Service Account [Sat, 13 Aug 2016 11:51:51 +0000 (04:51 -0700)]
Merge "drivers: soc: Set APR Glink transport to SMEM"

8 years agoMerge "ASoC: msmcobalt: fix wrong platform device pointer assignment"
Linux Build Service Account [Sat, 13 Aug 2016 11:51:49 +0000 (04:51 -0700)]
Merge "ASoC: msmcobalt: fix wrong platform device pointer assignment"

8 years agoMerge "bluetooth: Add Split A2DP slimbus"
Linux Build Service Account [Sat, 13 Aug 2016 11:51:48 +0000 (04:51 -0700)]
Merge "bluetooth: Add Split A2DP slimbus"

8 years agoMerge "ASoC: msm: qdsp6v2: support for AFE encoder"
Linux Build Service Account [Sat, 13 Aug 2016 11:51:47 +0000 (04:51 -0700)]
Merge "ASoC: msm: qdsp6v2: support for AFE encoder"

8 years agoMerge "ASoC: msm: q6dspv2: add adm channel config support"
Linux Build Service Account [Sat, 13 Aug 2016 11:51:47 +0000 (04:51 -0700)]
Merge "ASoC: msm: q6dspv2: add adm channel config support"

8 years agoMerge "ARM: dts: msm: adjust mdp bw limits for msmcobalt v2"
Linux Build Service Account [Sat, 13 Aug 2016 06:10:49 +0000 (23:10 -0700)]
Merge "ARM: dts: msm: adjust mdp bw limits for msmcobalt v2"

8 years agoARM: dts: msm: Program venus clock gate 4 on msmcobalt
Chinmay Sawarkar [Fri, 29 Jul 2016 22:51:51 +0000 (15:51 -0700)]
ARM: dts: msm: Program venus clock gate 4 on msmcobalt

Enable clock gating of venus core, when the core is in idle
state. HLOS can do this using the Clock Gate 4.

CRs-Fixed: 1048319
Change-Id: Iaa1ed5c24f07b8e18efc35de4f6ae6edea3b9f55
Signed-off-by: Chinmay Sawarkar <chinmays@codeaurora.org>
8 years agomsm: vidc: Set the preset registers before loading FW
Chinmay Sawarkar [Tue, 9 Aug 2016 22:07:00 +0000 (15:07 -0700)]
msm: vidc: Set the preset registers before loading FW

These registers need to be set everytime ARM9 is powered up.
Some may need to be set before ARM9 begins execution.
Hence setting these, before the FW is loaded by PIL.

CRs-Fixed: 1048319
Change-Id: I1d207635b0dd516bbff2007b1a45f5cc038d350e
Signed-off-by: Chinmay Sawarkar <chinmays@codeaurora.org>
8 years agomsm: camera: cpp: Vote AHB with clock enabled and no mem retention
Gautham Mayyuri [Thu, 21 Jul 2016 18:19:03 +0000 (11:19 -0700)]
msm: camera: cpp: Vote AHB with clock enabled and no mem retention

Vote for AHB bandwidth after clocks are enabled. For bandwidth
voting clocks need to be on. Set the memory retention flags for
certain hardware clocks to save power, memory does not need to
be retained for these clocks since the driver reinitializes the
jpeg hardware whenever the clocks are turned on.

CRs-Fixed: 1044777 1044373
Change-Id: Ib8e0ede7e237eb6c43f67e98a3b335067a4a74fc
Signed-off-by: Rajakumar Govindaram <rajakuma@codeaurora.org>
Signed-off-by: Gautham Mayyuri <gmayyuri@codeaurora.org>
8 years agoclock: qcom: Update the list of clocks supported on MSMFalcon
Taniya Das [Wed, 10 Aug 2016 07:18:38 +0000 (12:48 +0530)]
clock: qcom: Update the list of clocks supported on MSMFalcon

Add the new clocks and update the clock ids for GCC, GPU, MMSS clock
controllers. Also add the RPM clocks which are supported and would be
used by the clients for all clock operations for RPM controlled clocks.

There are separate MMSS and GPU clock controllers, so add the dummy
controllers for the same.

Change-Id: I5a98b6128f5d54163ab5d03c4c023a748e6a4e95
Signed-off-by: Taniya Das <tdas@codeaurora.org>
8 years agotty: serial: msm: Move header file into driver
Stephen Boyd [Thu, 12 May 2016 01:02:26 +0000 (18:02 -0700)]
tty: serial: msm: Move header file into driver

This header file is only used by the driver, so let's merge the
two together to reduce files and make it easier to see the whole
driver without flipping through two files. This also makes it
easier to use the structures defined in msm_serial.c in the
functions that are defined in msm_serial.h by placing them in the
proper locations.

CRs-Fixed: 1053499
Change-Id: I1c54b6ab1c27c9b1a7601f809184d27b78ac6e8b
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Acked-by: Andy Gross <andy.gross@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Git-commit: 321737416c72dc3d3dd8753c3684c6eb86d0ea6c
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
8 years agotty: serial: msm: Support more bauds
Stephen Boyd [Fri, 25 Mar 2016 21:35:49 +0000 (14:35 -0700)]
tty: serial: msm: Support more bauds

The msm_find_best_baud() function is written with the assumption
that the port->uartclk rate is fixed to a particular rate at boot
time, but now this driver changes that clk rate at runtime when
the baud is changed.

The way the hardware works is that an input clk rate comes from
the clk controller into the uart hw block. That rate is typically
1843200 or 3686400 Hz. That rate can then be divided by an
internal divider in the hw block to achieve a particular baud on
the serial wire. msm_find_best_baud() is looking for that divider
value.

A few things are wrong with the way the code is written. First,
it assumes that the maximum baud that the uart can support if the
clk rate is fixed at boot is 460800, which would correspond to an
input clk rate of 230400 * 16 == 3686400 Hz.  Except some devices
have a boot rate of 1843200 Hz or max baud of 115200, so
achieving 230400 on those devices doesn't work at all because we
don't increase the clk rate unless max baud is 460800.

Second, we can't achieve bauds higher than 460800 that require
anything besides a divisor of 1, because we always call
msm_find_best_baud() with a fixed port->uartclk rate that will
eventually be changed after we calculate the divisor. So if we
need to get a baud of 500000, we'll just multiply that by 16 and
hope that the clk can give us 500000 * 16 == 8000000 Hz, which it
typically can't do. To really achieve 500000 baud, we need to get
an input clk rate of 24000000 Hz and then divide that by 3 inside
the uart hardware.

Finally, we return success for bauds even when we can't actually
achieve them. This means that when the user asks for 500000 baud,
we actually get 921600 right now, but the user doesn't know that.

Fix all of this by searching through the divisor and clk rate
space with a combination of clk_round_rate() and baud
calculations, keeping track of the best clk rate and divisor we
find if we can't get an exact match. Typically we can get an
exact match with a divisor of 1, but sometimes we need to keep
track and try more frequencies. On my msm8916 device, this
results in all standard bauds in baud_table being supported
except for 1800, 576000, 1152000, and 4000000.

CRs-Fixed: 1053499
Change-Id: Ic480a989bb65b1924f3bd6d38927d1fe54eaaeee
Fixes: 850b37a71bde ("tty: serial: msm: Remove 115.2 Kbps maximum baud rate limitation")
Cc: "Ivan T. Ivanov" <iivanov.xz@gmail.com>
Cc: Matthew McClintock <mmcclint@codeaurora.org>
Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org>
Tested-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Acked-by: Andy Gross <andy.gross@linaro.org>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Tested-by: Cristian Prundeanu <cprundea@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Git-commit: 98952bf510d0c7cdfc284f098bbf4682dc47bc61
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
8 years agotty: msm_serial: remove static clk rate setting in probe
Srinivas Kandagatla [Mon, 7 Mar 2016 02:46:40 +0000 (02:46 +0000)]
tty: msm_serial: remove static clk rate setting in probe

The issue with setting up a fixed clock rate at probe is that it would
overwrite the console rate set by the bootloader for its console device.
This would result in serial out corruption or missing log when we system
is booted with earlycon. This is not a issue if we boot system without
earlycon.

This setup is at least not required with the mainline driver, this code
used to be required because the clk_enable() call would fail if
clk_set_rate() wasn't called first.

Originally the issue was noticed on DB410c which is based on APQ8016
chipset.

Without this patch the console log with earlycon would look like:
...
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=1
[    0.000000] NR_IRQS:64 nr_irqs:64 0
����+HH��0.699378] console [ttyMSM0] enabled
[    0.699378] console [ttyMSM0] enabled
[    0.702003] bootconsole [uart0] disabled
[    0.702003] bootconsole [uart0] disabled
...

with this patch I can see all the skipped lines on the console

CRs-Fixed: 1053499
Change-Id: I029ac3c7a20fdce9b5dfd0bbde8a049ff47dc4bd
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Acked-by: Andy Gross <andy.gross@linaro.org>
Tested-by: Pramod Gurav <gpramod@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Git-commit: 79c9473f115f99906b6ae443708b8ece480e2e88
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
8 years agoearlycon: Use common framework for earlycon declarations
Peter Hurley [Sat, 16 Jan 2016 23:23:39 +0000 (15:23 -0800)]
earlycon: Use common framework for earlycon declarations

Use a single common table of struct earlycon_id for both command line
and devicetree. Re-define OF_EARLYCON_DECLARE() macro to instance a
unique earlycon declaration (the declaration is only guaranteed to be
unique within a compilation unit; separate compilation units must still
use unique earlycon names).

The semantics of OF_EARLYCON_DECLARE() is different; it declares an
earlycon which can matched either on the command line or by devicetree.
EARLYCON_DECLARE() is semantically unchanged; it declares an earlycon
which is matched by command line only. Remove redundant instances of
EARLYCON_DECLARE().

This enables all earlycons to properly initialize struct console
with the appropriate name and index, which improves diagnostics and
enables direct earlycon-to-console handoff.

CRs-Fixed: 1053499
Change-Id: I893ebd28a3e4e7afe8080bcc3e000970fe1fa36b
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Git-commit: 2eaa790989e03900298ad24f77f1086dbbc1aebd
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
8 years agoASoC: msmcobalt: Add dai-link for VI feedback
Sudheer Papothi [Fri, 29 Jul 2016 18:32:29 +0000 (00:02 +0530)]
ASoC: msmcobalt: Add dai-link for VI feedback

Add slimbus dai-link to send data from VI feedback path
to DSP for speaker protection usecase.

Change-Id: I34785a7dd2b141c521c3f2623966459b18a80364
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
8 years agoASoC: wcd934x: Enable VI path on WCD9340
Sudheer Papothi [Tue, 26 Jul 2016 21:51:54 +0000 (03:21 +0530)]
ASoC: wcd934x: Enable VI path on WCD9340

Speaker protection algorithm needs V(voltage) and I(current)
readings from speaker. Enable VI path on the codec to provide
readings to the speaker protection algorithm.

Change-Id: I741e7f3076a7db595297ad7a1ee551c46d5c8213
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
8 years agoARM: dts: msm: add MSM External display node for msmcobalt
Tatenda Chipeperekwa [Wed, 3 Aug 2016 18:50:19 +0000 (11:50 -0700)]
ARM: dts: msm: add MSM External display node for msmcobalt

Add MSM External display node for msmcobalt which is needed
to manage the interaction between external displays (HDMI and
Display Port) and the audio and display frameworks.

CRs-Fixed: 1009284
Change-Id: I54c1eee7a3e1d8f481a9bc629e28f13c5849a3db
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
8 years agomsm: mdss: add external display class helper
Tatenda Chipeperekwa [Wed, 27 Jul 2016 01:11:55 +0000 (18:11 -0700)]
msm: mdss: add external display class helper

Implement the external display class helper as a utility to
manage display interface and audio codec interactions
associated with the cable connect/disconnect events of the
display interfaces. The helper class is responsible for
routing operations called by the audio codec to a particular
display, updating the hdmi switch node, and updating the
audio switch node.

CRs-Fixed: 1009284
Change-Id: Ie8d1006d3f11091a861733485cb67939ad47fdfe
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
8 years agomsm: audio: soc: add null checks for hdmi ops
Tatenda Chipeperekwa [Wed, 3 Aug 2016 00:05:23 +0000 (17:05 -0700)]
msm: audio: soc: add null checks for hdmi ops

Add null checks to prevent hdmi ops from being called
if they have not been defined.

CRs-Fixed: 1009284
Change-Id: If772bd86cc9b754fbc900eb47338429e9b841eef
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
8 years agoicnss: Provide APIs for getting SMMU mapping context
Yuanyuan Liu [Thu, 26 May 2016 18:02:04 +0000 (11:02 -0700)]
icnss: Provide APIs for getting SMMU mapping context

Provide APIs for getting SMMU mapping context to WLAN
driver.

CRs-Fixed: 1049889
Change-Id: Id7c6aa45608911ae2510e953e4c7d8ae19f8a111
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
8 years agoarm64: defconfig: msm: enable CPUSETS
Joonwoo Park [Tue, 9 Aug 2016 00:14:40 +0000 (17:14 -0700)]
arm64: defconfig: msm: enable CPUSETS

Enable CONFIG_CPUSETS which is required by Android.

Change-Id: I6d62d4f0d707e2e64c21d3b67763f9945adc6005
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
8 years agoiommu/arm-smmu: support static context banks
Liam Mark [Mon, 8 Aug 2016 17:14:01 +0000 (10:14 -0700)]
iommu/arm-smmu: support static context banks

Consider any pre-initialized stream match register table entries,
which are of type translation, as static stream ID to context bank
mappings.

When an attach occurs for a stream ID which has a static context bank
mapping ensure that the pre-initialized stream match register table
entry is used for that stream ID.

Contract for using static context banks:
1) Before doing the attach hardware translations must be stopped and
hardware translations are only re-enabled once the required mappings
have been added.
2) Before the attach the static CB must be in stage 1 context bank
bypass (CBn_SCTLR.M == 0).

CRs-Fixed: 1050659
Change-Id: I4037d7861657384eb5b4f67c52b2dbf4ad6e1c2c
Signed-off-by: Liam Mark <lmark@codeaurora.org>
8 years agoMerge "defconfig: arm64: msmcortex: enable display xlog debug for msmcobalt"
Linux Build Service Account [Thu, 11 Aug 2016 19:49:01 +0000 (12:49 -0700)]
Merge "defconfig: arm64: msmcortex: enable display xlog debug for msmcobalt"

8 years agoMerge "msm: mdss: add mdp debug bus for msmcobalt"
Linux Build Service Account [Thu, 11 Aug 2016 19:49:00 +0000 (12:49 -0700)]
Merge "msm: mdss: add mdp debug bus for msmcobalt"