Memory mapped through kgsl_mmu_map_global() is supposed to have
the same gpu address in all pagetables. And the memdesc will
persist beyond the lifetime of any single pagetable.
Therefore, memdesc->gpuaddr should not be zeroed for these
memdescs.
Change-Id: I0f46aaee2b9e87f839e78b7978cdf1bb4239d6f5
Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>
SD/MMC card erase functionality is available in core
layer. Enable MMC_CAP_ERASE capability from host side
so that users can use erase, trim, secure erase, secure trim
operations based on the card capability.
Change-Id: Icf35cd3038b0a95d653387d42870357c4c3853c0
Signed-off-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
This driver includes voltage regulator configuration,
clock configuration, sensor gpio settings and sensor
register settings to enable preview and snapshot for
Sony IMX091 sensor.
Change-Id: Ib974e78bdb4310350c27eda20e0cc49e4c34916e
Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
MDM9615 has identical configuration for the number
of sensors and slope with MSM8960. Add support to
enable the TSENS for calibrated parts.
Change-Id: Ieb1f118ce916ab5a4f079b18b11541d86c3a5560
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
* changes:
msm: board-8930: Allow SMPS 4 to be set to 1.95 V
msm: board-8930: Configure PM8038 SMPS regulators to use auto mode and LPM
msm: board: Specify force_mode and sleep_set_force_mode per regulator
msm: board: Initialize sleep_set_force_mode parameters
msm: rpm-regulator: Add sleep-set force mode parameter
* changes:
mmc: core: Remove BROKEN_CLK_GATING quirk for WCN1314 cards
mmc: msm_sdcc: fixup for enabling MMC_CLKGATE feature for SDIO cards
mmc: core: Export mmc_set_ios so that host drivers can use it
This workaround is now handled in secure context within the call
to pas_auth_and_reset(). Remove the unnecessary code. With recent
secure image builds, the accesses performed by the removed code
had no effect anyway, since the registers involved are protected
behind an XPU.
Change-Id: If2c34517e290f44a41980c9812fff1f21e8052b7
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
If a peripheral is not registered and a driver calls
pil_force_{boot,shutdown}() the function silently returns an
error value or void. Print an error message so that log analysis
can find these problems more easily.
Change-Id: I6b535c2e7ac548b502941f37306f61890ef9b569
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
If the RPM triggers the LOW interrupt it means the RPM has error
fataled. Handle this case so we don't sit spinning on the RPM to
respond until our watchdog times out. We also check this while
polling the ack interrupt in msm_rpm_busy_wait_for_request_completion().
This should allow us to have a nice panic output in the logs
whenever the RPM has crashed and is no longer responsive.
Change-Id: Ia40b95eaffe5bbaa10b62f85ae849eb36b1384e6
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Change the RPM regulator configuration data for PM8921 SMPS 4 on
MSM8960 so that RPM requests are made with force mode = auto
instead of force mode = none. Auto mode allows the regulator to
switch automatically between HPM and LPM in hardware based on
real time current load.
Change-Id: Ide406ab8e353dcb79ab76832221deeec09f4e706
Signed-off-by: David Collins <collinsd@codeaurora.org>
Change the min_uV constraint for PMIC 8038 SMPS 4 to 1.95 V
and change the Sitar configuration data to utilize this new
lower value. All Apps use cases should be able to function
properly with SMPS 4 set to 1.95 V. Therefore, the lower voltage
should be used in order to save power.
Change-Id: Ie3ad89828aabd28234f2c953ec06be3b62e2dc13
Signed-off-by: David Collins <collinsd@codeaurora.org>
Modify the macros and initialization tables in the 8960, 8930,
and 8064 board files so that force_mode and sleep_set_force_mode
are specified individually for SMPS regulators.
Several SMPS regulators on each of these targets will need to be
set to use Auto mode instead of no force mode.
Change-Id: I71f2ec2cad347ce7cbf11cff4c9d75cc7fc02f72
Signed-off-by: David Collins <collinsd@codeaurora.org>
Change the RPM regulator configuration data for PM8038 SMPS
regulators on MSM8930 so that active set RPM requests are made
with force mode = auto instead of force mode = none. Also change
force mode to LPM for sleep set requests.
Auto mode allows a regulator to switch automatically between
HPM and LPM in hardware based on real-time current load. Forced
LPM is utilized in the sleep set because it allows for
additional power savings beyond auto mode.
Change-Id: I02ece53063d50d80ad62f33d62899ef631d731aa
Signed-off-by: David Collins <collinsd@codeaurora.org>
Fill in the sleep_set_force_mode parameter in the configuration
macros for all targets that use the rpm-regulator driver. The
sleep-set value should match the active-set value for now. This
ends up being "none" in all cases.
Change-Id: Ia96e2341b651ffcb49438a6d6ec51374e2330079
Signed-off-by: David Collins <collinsd@codeaurora.org>
Add a new sleep_set_force_mode parameter into the rpm-regulator
driver platform data structure. Modify sleep-set requests to use
this value for force mode.
This parameter is intended to be used to capture platform
specific mode requirements for certain regulators which cannot
be managed by modifying peak current (ip) alone.
Change-Id: I7f25e546ae7feef1b5e8312a4198e855312a58c7
Signed-off-by: David Collins <collinsd@codeaurora.org>
enable V4l2 (video for linux 2) support for camera in
7627a and 8625 targets.
Change-Id: I2c2413272dcd46505832054b13f74fb9e2aff2b9
Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>