Various CPR parameters and the set of supported GPU frequencies
change between MSMCOBALT v1 and v2. Specify the v2 values for
the VDD_GFX CPR regulator device.
Change-Id: Ia96fdead344e45fa90b57f43c4bf624f90dc5d37
CRs-Fixed: 1054539
Signed-off-by: David Collins <collinsd@codeaurora.org>
MSMCOBALT v2 uses different open-loop fuse reference voltages
than MSMCOBALT v1. Update the cpr3-mmss-regulator driver so that
it uses the proper set of reference voltages for v1 and v2. Also
change the compatible string of existing MSMCOBALT
cpr3-mmss-regulator devices to be for v1 explicitly so that the
v2 reference voltages are not erroneously used on v1 boards.
Change-Id: I6afda07bb4f37fc753d11e0c142175b962069f0c
CRs-Fixed: 1054539
Signed-off-by: David Collins <collinsd@codeaurora.org>
UFS clock scaling might start kicking in even before the device
is running at the fastest interface speed which is undesirable.
This change moves the clock scaling kick start only after the
device is detected and running at the fastest interface speed.
Change-Id: Id9af7b31eab5b67f4cf2eb38c4e90a568e7968c5
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Fix compilation error for service-locator when Kconfig option
is not enabled as in perf build.
Change-Id: I42bfe4417de8ed7a2e74500bf4f3aee0bedc811c
Signed-off-by: Avaneesh Kumar Dwivedi <akdwived@codeaurora.org>
cleanup, avoid printing messages on normal behavior.
Change-Id: I9258ae9a0db8028f8bec88c1d56a59c86377f366
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
The PMIC_STATE is expected to move to idle after the VCTL register
value is written to the PMIC.
Also update the PMIC_STATE poll timeout to 500us for all the targets.
CRs-Fixed: 1024714
Change-Id: If9d9875a967179c6ee5fced8f019c01f1a2f0583
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
Device reboot to edl, it's for switching device to emergency dload mode.
So it's need to keep device to do warm reset.
Change-Id: I8f5d0845c6f2d37ea740949ce56e02c4cc7412be
Signed-off-by: Lijuan Gao <lijuang@codeaurora.org>
Add gpio controller node for msmcolbalt, so that we can initialize
and control us_euro/hifi_hph_en switches on board.
Change-Id: I5e39d88ab2e814d7bfb386b0355a65ee166cfbb0
Signed-off-by: Walter Yang <yandongy@codeaurora.org>
Add pinctrl support in machine driver to control hph_en0/hph_en1
gpios owned by wcd934x.
Change-Id: I99a7746259c563379d060c10bbd602d3e6a65746
Signed-off-by: Walter Yang <yandongy@codeaurora.org>
Few msm targets do not have video concealment support.
As concealment not happening for corrupted frames,
filled length will be zero. But video clients are expecting
time stamp information for corrupted frames as well.
Remove filled length verification to propagate timestamp information.
CRs-Fixed: 1041031
Change-Id: Ic3d204189f9ecb812705f501f269c085c8bbe34f
Signed-off-by: Srinu Gorle <sgorle@codeaurora.org>
Signed-off-by: Karthikeyan Periasamy <kperiasa@codeaurora.org>
This enables the SOCK_DESTROY feature for TCP sockets. When changing
networks, this is needed to close all blocking calls on existing
sockets and return ECONNABORTED and close the socket gracefully.
The other end of the connection is sent a RST to notify this event.
This feature was earlier implemented using IOCTL SIOCKILLADDR and
called a custom function tcp_nuke_addr internally. This
functionality will be deprecated going forward in favor of
SOCK_DESTROY.
CRs-Fixed: 1056029
Change-Id: Ibdba6c1a4fc4ce75d8ba1b6c61353ab6662e7914
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
For emulation platform, there are multiple PHY init sequence passed
through device tree. On some platform all PHY init sequence is not
required. This results into using zero as value and offset with PHY
init sequence which is not passed through device tree as of_get_property()
doesn't update size variable if property is not found. Hence reset size
variable to zero before querying next property size.
CRs-Fixed: 1056000
Change-Id: I0c1af2e3a4f3d530af8d8bbec2f41408ab78ed96
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Aligns the frequencies to the FMAX values defined by clock
driver for venus on msmcobalt v2 target. Also link these
frequencies to appropriate load values and imem ab levels.
CRs-Fixed: 1053136
Change-Id: I755d1ad62de97ded55f73148e1a56bc3afafc03b
Signed-off-by: Chinmay Sawarkar <chinmays@codeaurora.org>
This commit adds support for msmcobalt v2.1 chip on mtp, cdp and
qrd platforms.
CRs-Fixed: 1053410
Change-Id: I877e9816a226a54b16167cc6978e97fd0b298fb8
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
Add an initial core-dev mapping table for memlat to
improve power and performance.
Change-Id: I90b400adb7607aa9833a39e0d58e978336b6c1bc
Signed-off-by: Amir Vajid <avajid@codeaurora.org>
As per USB 3.1 Specification, Revision 1.0, Section 9.6 all new
devices running at SuperSpeed or higher speeds must report a
bcdUSB of 0x0310.
Change-Id: I253d0114fadb33456c7a0eb823d29aade1f33dc1
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Add sysfs node to provide the status of display-port's cable
connection. Framework may query about the interface connection
status before powering it on.
Change-Id: I43d0d18b875c4516727f91c57cfb571e3ac91706
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>