This change enables vdd and vdd-io power supply for sdhc2
in msm8998 v2.1 interposer msmfalcon QRD dts file.
CRs-Fixed: 1099484
Change-Id: I58c30a50c7834e7897daa2849b9885b3e797cf07
Signed-off-by: Liangliang Lu <luliang@codeaurora.org>
Some clocks are critical for system booting and should
not be gated until a driver that knows best claims
those clocks. Add CLK_ENABLE_HAND_OFF flag for system
critical clocks.
Also add FORCE_ENABLE_RCGR flag to force enable/disable
RCG and fix camss_jpeg0 voter clock.
Change-Id: I482bbf480d4129cdc6a1dfe08f37a1ec56c3131e
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
get_ice_device_from_storage_type can return error pointer which is
not NULL in case of error, this was not checked, changes fixes this.
Change-Id: I7dd8a068454a7bd250189ff9467c685af449f81b
Signed-off-by: Andrey Markovytch <andreym@codeaurora.org>
MSM8996 requires the voter & voter branch clocks to be
available for clients to be able to enable/disable and
set rate on these clocks.
Also add support for keeping active set vote on mmssnoc
and pnoc voter clocks.
Change-Id: Ie596ddee60aac3e6fc996f9a3e8dc988b0f4aa88
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
Burst length is only a 2 bit register, which can take max value
of 3 which corresponds to burst length of 16
commit ec486b025d ("msm: camera: isp: Update burst length for msmfalcon")
Change-Id: I37d5ef9d9ecb510a8af04db986dd341fbadaba04
Signed-off-by: Srikanth Uyyala <suyyala@codeaurora.org>
Global Clock Controller(GCC) needs to vote for volatge level on
rail for the clock frequencies, so add voltage voting in GCC.
Also clean up clock flags and parent info for few clocks.
Change-Id: Ib4cc69afb32a7654bbdd98f2efff901729c4d3da
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
Current configuration validation is performed when both
stream on is set and minimum buffers are queued. This is
too late for client application that queues buffer only in
commit phase. Since commit cannot fail, client application
cannot recover from configuration error. To support earlier
configuration validation in pre-commit phase, move configuration
validation to stream on state.
CRs-Fixed: 1102087
Change-Id: Id4541d7064d54e3bab8505c590cf624e58d111c1
Signed-off-by: Alan Kwong <akwong@codeaurora.org>
GFX LDO regulator driver powers GPU subsystem in msmfalcon. This
LDO regulator is CPR managed. Enable GFX LDO regulator and platform
specific MMSS CPR regulator to be compiled for msmfalcon.
CRs-Fixed: 1068294
Change-Id: I2111fe55c9335d57ac91f18f4a4fb3689d80660d
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
The MMSS CPR in msmfalcon requires a slightly different configuration
than the existing cpr3 based MMSS CPR instances. Create a new platform
specific mmss cpr file for capturing the falcon specific configuration.
CRs-Fixed: 1068294
Change-Id: I779074d0aba35827e1a8264385149967cb9973f3
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
MSMFALCON platform can support either PM2FALCON or PM3FALCON PMICs,
add support for the same.
CRs-Fixed: 1104886
Change-Id: Ic44359e224e0f9070238748bd9b16eed35974ba6
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>