The instance of video codec device is added to support
video for 8064. The video codec device instance contains
information of mem type used, vidc bus data and the resources.
Signed-off-by: Mohan Kumar Gubbihalli Lachma Naik <mgubbi@codeaurora.org>
Change-Id: I022df64b2b41524bbb6d9c5d98a898508fe4eb80
New perf level 3 (128M mdp clk) is used to play 720p landscape video,
changed from previous perf level 2 (160M mdp clk), to save power.
Change-Id: I911a9b862ffdcea7d507d4140fac78aa7cffdd47
Signed-off-by: Huaibin Yang <huaibiny@codeaurora.org>
Set gpios #18,19 to 1 to enable LiQUID speakers.
Change-Id: I29cd7bede924a6fd50f97868a3990bfc0bbe2840
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
Remove the hack in rpm_vreg_set_voltage and rpm_vreg_set_frequency
which makes them no-ops for 8064. Now that 8064 has full RPM
support, the acpuclock driver should be allowed to send regulator
requests to the RPM.
This change is a revert of the following commit after the hack was
merged into rpm-regulator.c from rpm-regulator-8960.c:
6ea0dcbf34
Change-Id: I410f5a1cc45d9acbaf38c4320eeebdb2ae41652a
Signed-off-by: David Collins <collinsd@codeaurora.org>
Modify the rpm-regulator driver so that rpm_vreg_set_voltage
supports voltage switch type regulators which do not have a
voltage setting.
For these types of regulators make rpm_vreg_set_voltage calls
map as follows:
1. max_uV > 0 --> vote to enable the voltage switch
2. max_uV == 0 --> vote to disable the voltage switch
This modification is needed so that the acpuclock driver can call
rpm_vreg_set_voltage successfully for a voltage switch on the
APQ8064 platform.
Change-Id: Ibde2ded8fe578cb82e0a3bc28cdf046017583e06
Signed-off-by: David Collins <collinsd@codeaurora.org>
Switch control of most regulators from the pm8xxx-regulator
driver to the rpm-regulator driver. pm8xxx-regulator will still
be used for LDO 26 because it is not handled by the RPM.
USB OTG MVS and HDMI MVS will also remain under pm8xxx-regulator
control because they are Apps-only and require integration with
GPIO control FETs to be useful.
Change-Id: I55115d8cca17f3e9046efaeb47bb5d9ebd1828fb
Signed-off-by: David Collins <collinsd@codeaurora.org>
Enable the IOMMU driver in the 8960 defconfigs.
Change-Id: Ib0e9cedf098e0cfc9fb65bc8e6a25c52a538b3bc
Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>
Update the footswitch probe function to support 8064 in
a code path had been previously untested.
Change-Id: I480a238e60ec0a37cadc392f76f39c98519db035
Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>
Various tech teams require PMIC gpios to be configured
in order to use them. Add the required default
configuration.
Also, wrap PMIC 8921 MPP 8 in a gpio-regulator device
so that the USB4 driver can be simplified.
MPP 8 represents the GOBI_3.3_PWR_EN signal on 8064
Liquid devices, and HAPTIC_PWR_EN on MTP devices.
While at it, update MPP7 type according the Avenger GPIO
config specification.
Change-Id: Ib09ef9e65bb1b5ce967ba4f8863f4f090873126a
Signed-off-by: Jay Chokshi <jchokshi@codeaurora.org>
CDP and Liquid support Atmel mXT1386E touch controller.
Change-Id: Ifa5fe9647fedb298c4c9df43b89a1cbca319de0f
Signed-off-by: Jing Lin <jinglin@codeaurora.org>
Add an array for i2c devices and a function that registers these
devices.
Change-Id: Ib2452362ad469c60566e222998b4efe1c5446dea
Signed-off-by: Jing Lin <jinglin@codeaurora.org>
Add the device definitions and platform data to support I2C
QUP on GSBI3.
Change-Id: Ic29dfd9705cffd8c4f3482fa0a37742f9a60af38
Signed-off-by: Jing Lin <jinglin@codeaurora.org>