Commit graph

569215 commits

Author SHA1 Message Date
Ashwini Rao
0f31b83fcf msm: fd: Add FD HW reset sequence after halt
The FD hardware needs to be reset everytime after halt
is called. Adding the reset sequence.

CRs-fixed: 961394

Change-Id: I129de341e619d8c8f6faa69d43c9d13ba21dd88f
Signed-off-by: Ashwini Rao <ashwinik@codeaurora.org>
2016-03-25 16:02:55 -07:00
Krishnankutty Kolathappilly
850b0ec74f ARM: dts: msm: Add camera post processing node for msmcobalt
Add CPP dtsi entries for msmcobalt.

CRs-Fixed: 980150
Change-Id: Ib9d80cf3a4f5851030fef2baeeb85ce9aabd9e90
Signed-off-by: Krishnankutty Kolathappilly <kkolatha@codeaurora.org>
2016-03-25 16:02:55 -07:00
Lakshmi Narayana Kalavala
b6e680b53b msm: cpp: Changes to adapt cpp driver to soc layer
Adapt CPP driver to SOC layer by replacing the msm specific
routines with SOC API which eases the portability of cpp driver
on to non-msm platforms.

Change-Id: I8cd6bdcaa9d310b770f2dfe66047c64316a309de
Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
2016-03-25 16:02:54 -07:00
Lakshmi Narayana Kalavala
5a3ebc46d9 msm: camera: Change API to set and get clock rate
Some of the camera modules need to get the clock rate
back after rounded to a new value, Hence change the
msm_camera_clk_set_rate API to return the rounded
clock rate after setting it.

Change-Id: Ie3ed17ad6658e51448a769fd141aef63ff0c79fe
Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
2016-03-25 16:02:54 -07:00
Deepak Katragadda
7f82315e56 ARM: dts: msm: Add the reset-aon-logic flag to GPU GDSC node on MSMCOBALT
On MSMCOBALT, while enabling the gpu_gx_gdsc, the DEMET cells
need to be explicitly reset by using the domain_addr register.

CRs-Fixed: 922984
Change-Id: I794005ac976eff01e5ffff93e4a60970b15f5f05
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
2016-03-25 16:02:53 -07:00
Deepak Katragadda
c01c9e3828 clk: msm: gdsc: Add support to reset the AON logic for GPU gdsc
On MSMCOBALT, while enabling the gpu_gx_gdsc, the DEMET cells
need to be explicitly reset by using the domain_addr register.
Add support in the gdsc driver to do this.

CRs-Fixed: 922984
Change-Id: I145a581a50719427b7303720a48cd421e2e1ef45
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
2016-03-25 16:02:53 -07:00
Devdutt Patnaik
26f78f4bc6 usb: f_gsi: Send Function Suspend state to GSI EP OP for suspend
We need to skip checking for link state being in U3
when we receive a Function Suspend. Pass in this information
to GSI EP OP that checks if we are good to suspend channels
with IPA. We skip the check for U3 if we are handling Function
Suspend and check for U3 when we are handling Bus Suspend.

CRs-Fixed: 966352
Change-Id: I29ee0326edbe33b02884495ddc89484bef21e7e0
Signed-off-by: Devdutt Patnaik <dpatnaik@codeaurora.org>
2016-03-25 16:02:52 -07:00
Devdutt Patnaik
5028f26ab3 usb: dwc3: Skip check for U3 when handling Function Suspend
Skip check for U3 link state when we receive Function Suspend.
Link is not in U3 when host sends Function Suspend, but will
be in U3 if/when the subsequent Bus Suspend arrives.
If we check for U3 in the case of Function Suspend, we will
not disconnect channels with IPA as the API that checks
pre-conditions for suspend will always return FALSE.
The U3 check is done as usual in the case of Bus Suspend from
the host.

CRs-Fixed: 966352
Change-Id: Ie9ee045a096b58256d2e8814338ffe0aa3c01163
Signed-off-by: Devdutt Patnaik <dpatnaik@codeaurora.org>
2016-03-25 16:02:52 -07:00
Devdutt Patnaik
64e4a14d1f usb: f_gsi: Fix IP address assigment failure on RNDIS enable/disable
IP address re-assignment fails when we disable and
enable RNDIS adaptor from device manager. This is
observed only in composite functions such as ADB + RNDIS.
In "RNDIS only" compositions the issue is not observed
as host typically sends a RESET when we re-enable the RNDIS
adaptor. Add support in the GSI state machine to connect channels
to IPA and enable GSI data path in response to PACKET FILTER
message with FLOW CONTROL DISABLE option when we are in the
INITIALIZED state. Previously we only treated the PACKET FILTER
message as a valid input when in the CONNECT_IN_PROGRESS state.

CRs-Fixed: 975930
Change-Id: I97471f128958a915001a5b49c98036076fb8c18c
Signed-off-by: Devdutt Patnaik <dpatnaik@codeaurora.org>
2016-03-25 16:02:51 -07:00
Oleg Perelet
bcb441b2e2 msm: kgsl: Invoke AGC handshake on A540
Invoke AGC handshake on A540 even when LM is disabled, pass
0 for LM and pass HW patchid.

CRs-Fixed: 973565
Change-Id: I62c32b55bf2e3a1ec498b1ec0a8bebf34ac803a9
Signed-off-by: Oleg Perelet <operelet@codeaurora.org>
2016-03-25 16:02:50 -07:00
Deepak Katragadda
5dda28c7bd clk: msm: clock-gpu-cobalt: Use the xo_ao source for GPUCC
The root clock for all GPUCC clocks, gpucc_cxo_clk is currently
being sourced off the cxo_clk_src clock. This will not allow XO
shutdown to happen. Use the cxo_clk_src_ao instead.

CRs-Fixed: 983874
Change-Id: I7f8dd9ea28114d3d06fec3397064356b4deb6e7e
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
2016-03-25 16:02:50 -07:00
Carter Cooper
3ad47c7df0 msm: kgsl: Streamline ringbuffer initialization
Move device specific features to the device rather than trying
to do them in the common initialization code.

Change-Id: I812db29a2eae90ca532755c265aaa2e52db972d7
Signed-off-by: Carter Cooper <ccooper@codeaurora.org>
2016-03-25 16:02:49 -07:00
Ajay Singh Parmar
8e9072d633 msm: mdss: hdmi: hdcp: load keys separately before authentication
Retrieve and load the HDCP keys before starting authentication so
that HDCP internal state machine can be initialized completely on
cable connection to avoid possible authentication failures.

Change-Id: I873fb02589bb6c19938743d44dc56ed1cfff7260
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2016-03-25 16:02:49 -07:00
Phani Kumar Uppalapati
aea583fcef ARM: dts: msm: Add codec reset gpio device node for msm8996
Add codec reset gpio device tree node for msm8996 target
specifying active and sleep pinctrl states.

CRs-Fixed: 968161
Change-Id: I040e8f54c6c86ab66d7fc824d5aab006f8d5f08f
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2016-03-25 16:02:48 -07:00
Sushmita Susheelendra
82dd02436d msm: kgsl: Disable guardpage for A5x and suppress pagefaults
Disable the guardpage workaround for A5x and instead
selectively suppress pagefaults. Suppress read pagefaults
that are likely caused due to UCHE overfetches. For this,
the fault address must be within the first 64 bytes of a
page and the fault page must be preceded by a valid allocation.

CRs-Fixed: 975293
Change-Id: I6a0995af3ab4129c6923726043c5f34c747641f9
Signed-off-by: Sushmita Susheelendra <ssusheel@codeaurora.org>
2016-03-25 16:02:48 -07:00
Ravinder Konka
1d7b749427 msm: ipa: use timeout mechanism for holb monitoring command
When we use polling mechanism for holb monitoring command
Uc will still try to send a interrupt to notify the response.
This can result in a sync mismatch between AP and Uc and will
result in a panic. Make changes to use timeout mechanism
for holb monitoring command as well.

Change-Id: I8c74cfedff30f90dceec7f89b153018c307afa0a
Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com>
Signed-off-by: Ravinder Konka <rkonka@codeaurora.org>
2016-03-25 16:02:47 -07:00
Gidon Studinski
019f25d9e8 msm: ipa: fix multiple issues
Fix multiple Static Analysis issues.

CRs-Fixed: 964748
Change-Id: I5a47d03a5b134235ec0cb6e87d83c30193481016
Signed-off-by: Gidon Studinski <gidons@codeaurora.org>
2016-03-25 16:02:47 -07:00
Yeleswarapu Nagaradhesh
1797f0368c ASoC: wcd_cpe_core: initialize return variable
The return variable is initialized if there is an error and is
left uninitialized otherwise. There is a possibility of returning
garbage.

CRs-Fixed: 980968
Change-Id: I2a21ef7934472ae2fd59d6277df4b3e9b401b489
Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
2016-03-25 16:02:46 -07:00
Kaushal Kumar
f9b5c372bb Revert "of/platform: Move platform devices under /sys/devices/platform"
This reverts commit 43c0767e17 ("of/platform: Move platform
devices under /sys/devices/platform"). Userspace code that
expects to find devices under a fixed /sys/devices/... path are
affected by moving platform devices under /sys/devices/platform.

Change-Id: I6a108c46c1b2e3985797bb86a3ed84a29ab286a8
Signed-off-by: Kaushal Kumar <kaushalk@codeaurora.org>
2016-03-25 16:02:46 -07:00
Sivan Reinstein
b2d171c18b msm: ipa: protect qmi context using mutex
This change adds logic to prevent invalid access of qmi ctx
during SSR clean up using mutex.

Change-Id: I689deaf093909a951a9e5847241ee3938fea240b
Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com>
Acked-by: David Arinzon <darinzon@qti.qualcomm.com>
Signed-off-by: Sivan Reinstein <sivanr@codeaurora.org>
Signed-off-by: Ravinder Konka <rkonka@codeaurora.org>
2016-03-25 16:02:45 -07:00
Yeleswarapu Nagaradhesh
b43518d9f5 ASoC: wcd: update handling of invalid cases
initialize return variable and add default case inside the
switch statement.

CRs-Fixed: 980968
Change-Id: If1fe566a8f88f1384826670220b8352310a3f996
Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
2016-03-25 16:02:45 -07:00
Ashay Jaiswal
3ad71a8681 power: smb135x-charger: report icl status in parallel mode
Report the input current limited status via the power supply in
parallel mode in order to better optimize for HVDCP usecases.

Change-Id: Ibd3865828ccbfa44b36839f5d11e7a60b7ada77d
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
2016-03-25 16:02:44 -07:00
Tirupathi Reddy
0dc93b15a8 regulator: cpr4: Add miscellaneous fuse based voltage adjustments
Apply voltage adjustments for required voltage corners based on
different values of selected miscellaneous fuse bits. Apply the
adjustments to both open-loop voltages and closed-loop target
quotients.

CRs-Fixed: 982984
Change-Id: Ic45949afc8445d35c245434a7f51e4859a5978ad
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
2016-03-25 16:02:44 -07:00
Sravanthi Kollukuduru
7f3712ee81 msm: mdss: Swap the LP1 and LP2 flags
The LP1 and LP2 flags must be swapped to be in accordance
with the old HAL mapping used by MDP3 driver.

Change-Id: Id4b0b41d102f9aef2836901b2bea5e961ec0962b
Signed-off-by: Sravanthi Kollukuduru <skolluku@codeaurora.org>
2016-03-25 16:02:43 -07:00
Laxminath Kasam
3369208e89 ASoC: Initialize val to avoid access garbage value
In DAPM, when booting up widgets connect variable
is sometimes initialized with value 1 even though
expected to be 0. This is due to val not initialized
locally in API dapm_set_mixer_path_status and can
result in using garbage value.

CRs-Fixed: 982805
Change-Id: I172558f64c19750c461befda3aa16ca6480ab507
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2016-03-25 16:02:42 -07:00
Deepak Katragadda
8de5713e78 clk: msm: clock: Source the RBCPR clock from active-only XO resource
Use the cxo_clk_src_ao resource to source the HMSS CPR RCG. In
addition, remove it's vote on the CX rail since CX is guaranteed
to be at least SVS2 as long as even one CPU is online.

CRs-Fixed: 983870
Change-Id: I5a4d37310e56235a590e8a93dc8a33d6c3e46e4d
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
2016-03-25 16:02:42 -07:00
Jack Pham
228f6d6f8b ARM: dts: msm: Add USB VBUS configuration for MSM8996 CDP_AU
USB 5V VBUS can be switched independently for the two USB
instances on the CDP_AU board. Add the PM8994 GPIO/MPP
configurations and expose them as usb_vbus_vreg,
usb_otg_switch and usb2_otg_switch regulators that can be
controlled by the USB controller device instances.

Also fix up the &usb3 node. Due to commit c51ea2bbbce87
("ARM: dts: msm: Add GIC ITS extensions for 8996") changing
the size of address-cells for the &intc node, the interrupt-map
property needs to be updated to the new format. Also update
the correct IRQ numbers and add the missing ss_phy_irq to
sync up with the msm8996 SOC DT definition. Finally, remove
the unused vdda supply entries as well.

CRs-fixed: 971957
Change-Id: Id53f0a54e16b194bc12e57fac3e52efc43ebdc6c
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2016-03-25 16:02:41 -07:00
Deepak Katragadda
dc20a2e38b clk: msm: clock-mmss-cobalt: Add support for some display clocks
The mmss_mdss_byte0/1_intf_clk clocks are needed by the display
driver. Add support to program them in the clock driver.

CRs-Fixed: 981902
Change-Id: I17b1ecaec9c98261faa49c6f088c4802a716ecf7
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
2016-03-25 16:02:41 -07:00
Runmin Wang
be330463b1 ARM: dts: msm: Disable watchdog on MSMCOBALT Virtio
Turn off watchdog on Virtio on MSMCOBALT.

CRs-Fixed: 983131
Change-Id: I2684d52b95cb446013d2620de252b6abe3e1e5bd
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2016-03-25 16:02:40 -07:00
Prakash Kamliya
4689a97525 msm: kgsl: Change the active context tracker
The active context tracker that we bolted on the side of the
dispatcher was designed mainly to see if there was 1 OR more than 1
active context, not much more than that.  Since it is apparent that
we'll need to track up to 4 contexts and possibly more later the
algorithm needs to change.

The new algorithm puts all active contexts on a linked list  - every
time a context is used it is popped from the list and put on the
tip with an updated time. To count the number of active contexts
walk the list until you get a context with an active time older than
you are looking for.  You also can do other magic on the context,
like see if it matches up with a given command queue.

Change-Id: Ic0dedbad6be9fd1925121ee54e0000c42b089f44
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Prakash Kamliya <pkamliya@codeaurora.org>
2016-03-25 16:02:40 -07:00
Vijayavardhan Vennapusa
117c9a3b27 USB: dwc3-msm: Enable power event irq in case of host bus suspend
Currently MPM pin for DP line state change is not mapped to irq.
Only MPM for DM line state chagne is mapped to hs_phy irq. But this
results in delayed device detection in VDDmin when HS/FS devices
are connected in host mode. Hence enable power event irq during
host bus suspend so that MPM pin for DP line state can be also
mapped for early detection of HS/FS devices during VDDmin.

CRs-Fixed: 972212
Change-Id: I71d7c3c374a23b51a0489cf44410d76d5734d009
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
2016-03-25 16:02:39 -07:00
Ingrid Gallardo
88e3bbd091 msm: mdss: fix to update the configuration for display related GPIOs
After commit dbe80b7cc96a1f3f23246552fbd2352f334fa857 ("ARM: dts: msm:
remove gpio output settings in dsi pinctrl") driver is no longer
defining in the pinctrl the gpios as output high configuration;
so driver now has to explicitly configure gpio output direction.
This change add the settings in the driver to configure the gpio
as output pin, fixing panel issues when booting-up with
continuous splash disabled.

Change-Id: I1ac3c5dd07cff4a30cce9de3c340f071dd84d49a
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
2016-03-25 16:02:39 -07:00
Devdutt Patnaik
d5d9af1ba9 usb: f_gsi: Add support for DPL suspend/resume
Fixes EP configuration for DPL resume sequence.
Sets correct interrupter number for DPL composition
and also checks for NULL on notify EP in the
resume path.

CRs-Fixed: 983160
Change-Id: I7e9bf0aa839e63d8cfe801d3b81dd5f48a315575
Signed-off-by: Devdutt Patnaik <dpatnaik@codeaurora.org>
2016-03-25 16:02:38 -07:00
Shashank Mittal
e39b9e71e0 ARM: dts: msm: add CTI devices for msmcobalt
Add CTI devices for msmcobalt target. These devices can be used to
send cross triggers between different components

Change-Id: Ia5902c62b699c5f373f567dd18cbe38f10a275a3
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
2016-03-25 16:02:38 -07:00
Shashank Mittal
3a727d709c coresight: add CTI driver support in upstream implementation
Add CTI driver in upstream implementation of Coresight driver.

This change copies drivers/coresight/coresight-cti.c (commit :
c155168578a793cafa0c41132554ac5af94926f1) to driver/hwtracing/coresight
directory.

Change-Id: I4b4b23755c36254d94bd6698b46f15da19c30712
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
2016-03-25 16:02:37 -07:00
Shashank Mittal
7d151e606e coresight: set invalid default cpu id
Current code sets default CPU id as of CPU0. This causes a failure in
case where device tree declares a CoreSight node that is associated with
a CPU that's not available on that target. This causes complete failure of
the system.

Set default CPU id to -1 to avoid this problem.

Change-Id: I77e5f734666a5f806013d685e89902ce5983cf49
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
2016-03-25 16:02:37 -07:00
Oleg Perelet
019f188ab5 msm: kgsl: Change GPU RAC hardware clockgating
On A5xx disable LRZ clockgating, by setting 0x0
for bits 18:16 of RBBM_CLOCK_CNTL2_RAC.

CRs-Fixed: 964234
Change-Id: Icf858e3431e1c7f9943762067a74b1ce2af7ca6f
Signed-off-by: Oleg Perelet <operelet@codeaurora.org>
2016-03-25 16:02:36 -07:00
Padmanabhan Komanduru
26b57cf172 clk: msm: mdss: update the frame rate count supported for DFPS
Update the number of frame rates supported for dynamic refresh
feature from 10 to 20. This is needed to support all the fps
values requested by display HAL between minimum fps and maxiumum
fps based on the requirement.

Change-Id: Ib7487ad17261ac8c4d6929787899161061e71078
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
2016-03-25 16:02:36 -07:00
Prasad Sodagudi
efea890321 genirq: call cancel_work_sync from irq_set_affinity_notifier
When ever notification of IRQ affinity changes, call
cancel_work_sync from irq_set_affinity_notifier to cancel
all pending works to avoid work list corruption.

Change-Id: I1f093bcc43be8c6696bad29250e4926cbc6c4029
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
2016-03-25 16:02:35 -07:00
Mao Li
954d864622 input: synaptics_dsx_2.6: update driver to enable touch S332U
Synaptics reference driver V2.6 is being cleaned up to enable touch
controller S332U. Add Kconfig and Makefile changes to enable Synaptics dsx
V2.6 driver's compilation.

CRs-Fixed: 943896
Change-Id: I7e79e9ee321b7a7c90d27f065281dc73cee65391
Signed-off-by: Mao Li <maol@codeaurora.org>
2016-03-25 16:02:35 -07:00
Phani Kumar Uppalapati
07ceb38173 ASoC: wcd-mbhc: Avoid fake headset report during headphone remove
When headphone is removed while 3 second polling is still in progress,
mbhc hs comparator result will be read as "0" and this causes reporting
a fake headset insert event to user-space followed by headphone removal.
Avoid sending this fake headset insert event to user-space by checking
for the microphone clamp bit from codec mbhc hardware.

CRs-fixed: 941089
Change-Id: I96d96dca92a6c99bbb25ab70a2706e730c28818b
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2016-03-25 16:02:34 -07:00
Phani Kumar Uppalapati
4aaf0c05a5 drivers: mfd: Return EPROBE_DEFER during codec failure
In case of any codec access failure, return -EPROBE_DEFER
so that slimbus driver can probe the codec again
to toggle codec reset and retry codec access.

CRs-fixed: 969497
Change-Id: I570e7357a6d7810c495f56bbb626b8e823892837
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2016-03-25 16:02:34 -07:00
Roberto Granados Dorado
92881d2ede ASoC: msm: qdsp6v2: Add missing routing for MI2S interfaces
This change adds some routing missing plus few other fixes needed
when MI2S interfaces are used.

CRs-fixed: 909961
Change-Id: Ic1e234c955a6162d67fd97ac7647ec810ede204c
Signed-off-by: Roberto Granados Dorado <robertog@codeaurora.org>
2016-03-25 16:02:33 -07:00
Harry Yang
fe96617b87 power: qpnp-smbcharger: return UNKNOWN in case of no charger present
POWER_SUPPLY_TYPE_USB_DCP type is returned in read_usb_type() if no
charger is connected, which might cause APSD to unnecessarily rerun.
To fix it, POWER_SUPPLY_TYPE_UNKNOWN should be returned instead.

A bug is also fixed by returning right after IDEV_STS register
read error in this function .

CRs-fixed: 963745
Change-Id: Ia399e05fe8d0ad13c2f1f272c6737e8798177174
Signed-off-by: Harry Yang <harryy@codeaurora.org>
2016-03-25 16:02:32 -07:00
Manaf Meethalavalappu Pallikunhi
c35b73cf03 msm: lmh_lite: Pass proper size for dma memory free API call
Use proper size for dma memory free call API while saving lmh sensors
list in lmh hardware driver otherwise it leads to memory leak or
unexpected crash if scm_call error path is executed.

CRs-Fixed: 982320
Change-Id: I31ac79585c8899b44ece745676d9af79fe8bca78
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
2016-03-25 16:02:32 -07:00
AnilKumar Chimata
9a11e43908 qseecom: Remove the dead code from driver
For kernel clients, some of the flags are maintained which is not required
as those are specific to userspace clients. So remove the code which is
not required.

Change-Id: If7fb51cc17e9a8c0f3c2632e9c42d84489bda4f6
Signed-off-by: Mallikarjuna Reddy Amireddy <mamire@codeaurora.org>
2016-03-25 16:02:31 -07:00
David Collins
73c7ed27c7 ARM: dts: msm: raise APCC CPR floor to 625 mV for CPR Rev < 6 on msm8996v3
A small fraction of MSM8996v3 parts with CPR revision 0 to 5 may
not operate properly at very low VDD_APCC voltages.  Therefore
increase the VDD_APCC CPR floor voltage for these parts to 625 mV
in order to guarantee stable operation.

Also change the maximum CPR floor to ceiling voltage range from
80 mV to 50 mV for all MinSVS and LowSVS corners in order to
ensure stable operation.

Change-Id: I71c32aac8ef7d54dfcf48098aaf5d5909762df15
CRs-Fixed: 981898
Signed-off-by: David Collins <collinsd@codeaurora.org>
2016-03-25 16:02:31 -07:00
Devesh Jhunjhunwala
a6d5966010 msm: qpnp-misc: add support to configure PWM source
Add the qcom,pwm-sel and qcom,enable-gp-driver properties to
the MISC device driver to enable configuring the PWM source.
Currently this will be supported only for pmdcalifornium.

CRs-Fixed: 972331
Change-Id: I320edac22b20d748a531a41eaff06162092cfd3d
Signed-off-by: Devesh Jhunjhunwala <deveshj@codeaurora.org>
2016-03-25 16:02:30 -07:00
Jonathan Wicks
bdc703239b msm: kgsl: Add documentation to the new cmdbatch profiling flag
Add documentation for KGSL_CMDBATCH_PROFILING_KTIME to make it
clear that KGSL_CMDBATCH_PROFILING must also be set.

CRs-Fixed: 977455
Change-Id: I44f9dbc006450fbe226b642ee66b8d49dd1108cc
Signed-off-by: Jonathan Wicks <jwicks@codeaurora.org>
2016-03-25 16:02:30 -07:00
Padmanabhan Komanduru
ce96391696 clk: msm: mdss: update the programming of DYNAMIC_REFRESH_PLL_UPPER_ADDR2
As part of dynamic refresh sequence, we program PLL_UPPER_ADDR2 register to
0x003FFE00 instead of 0x001FFE00. This causes a register write to
DSIPHY_PLL_KVCO_COUNT1 to 0x1 during the dynamic refresh operation whereas
the register write is supposed to happen for DSIPHY_CMN_PLL_CNTRL register.
Update the write value to DYNAMIC_REFRESH_PLL_UPPER_ADDR2 to take care
of this.

Change-Id: I991920d5a45e79670a4a033c8a83bef6c7f3136b
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
2016-03-25 16:02:29 -07:00