Make sure iommu_map_range() does not leave a partial
mapping on error if part of the range is already
mapped.
Change-Id: I0ddeb0e0169b579f1efdeca4071fce4ee75a11f8
Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>
msm_soc_version_supports_iommu_v1() was defined outside the guard.
Change-Id: I8db106908b08b89e267550d81d031cdb028b92a2
Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>
Update android function drivers like diag, adb, modem, rmnet, mtp
and accessory to operate in super speed. The burst capability is
not enabled for now.
Change-Id: Ie95cbfc9444c56c8268b70e2916713190699c71a
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
The bMaxPower field in the configuration descriptor should be specified
in different units for super speed devices. This field units are 2mA for
high speed connection and 8mA for super speed connection.
Without this fix, USB3 SS host drivers refuse to configure the super speed
device since it request for too much current to draw.
Change-Id: I586b92940163089ae691b2bb627712a723e68e36
Signed-off-by: Ido Shayevitz <idos@codeaurora.org>
Top CSR programming is required to keep the cores
into GDFS once CORE0 comes out of the PC. Add this
feature for C2 & C3 for 8x25Q.
Change-Id: I61b398cebc3eee600083ea68d14f295bd217a1ad
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
Set the "DBGPWRUPEREQ_OVERRIDE" bits for C2 & C3. This allows
the cores to go into LPM when the debugger is connected.
Change-Id: If43cc669aaccf474b15d686f46769eaf0f8fe0e9
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
Configure the boot remapper register for C2 and C3 cores.
When the cores C2/C3 come out of LPM (PC & GDFS), they
start executing from the address configured in the boot
remapper register.
Change-Id: Ia7c5c2c8d568185e0d47466e42979524c36a55fc
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
This function belongs to the file mmc_block_test.c since
it is used only in this file.
Change-Id: Ia832da6341b3053f0e4825d711668a3642482221
Signed-off-by: Lee Susman <lsusman@codeaurora.org>
The battery gauge monitors the current and voltage every 1 second.
Therefore a delay from the time that the charger start/stop charging
until the battery gauge detects it.
Change-Id: Ib04c471f3c32936b0efcdb16476dbbb93eb653d5
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
Changes to pass ION_SECURE in the correct argument field
while calling ion_alloc. Without this change secure session
fails.
Change-Id: Ifa4878b1c312beafc735cb649570913159799d7c
Signed-off-by: Srinu Gorle <sgorle@codeaurora.org>
LD013 can support two voltage levels 1.8V and 2.95V.
Update the regulator-min-microvolt parameter so that
it reflects correct min. voltage supported (1.8V).
Change-Id: I129ce95583c989b6e96275fcea7cf93984a68d3b
Signed-off-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
Add the qcom,not-wakeup flag to the SPMI arbiter device node so
that irq_set_irq_wake() is not called. This ensures that PMIC
drivers may be tested before MPM, RPM-SMD, and SMD drivers are
validated on MPQ8092.
This change should be reverted once the MPM driver is working
on target.
Change-Id: Icb217adfa2b9b394792ff4f0189db212c6c13e82
Signed-off-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
The stubs for some of the Ion functions have gotten stale since the
last Ion API change. Update these to avoid compile errors when Ion is
not included in the build.
Change-Id: Idfe475c0f1990e5a9b5919434a27ae9dd63ffcb4
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
Allow the serial device tree node to specify a UART line
number to support explicitly binding an HSL serial port to
a named TTY device.
Change-Id: Icb5b6882c9784ee7676ad849197e9a557f73513c
Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>