Option added not to bypass SMMU and use
fastmap DMA APIs for 11ad use-cases.
SMMU address range is changed to have the
max possible.
Change-Id: I073ab59cc4ef1b71545a9e77b76d94f09d659aac
CRs-Fixed: 1105323
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
The spi_qsd driver allows peeking/poking registers via debugfs.
Currently a static variable is used as the user data to get to the spi
controller data structure. Unfortunately this means that the last device
to probe is always obtained.
Fix this to use a member of the spi controller data structure instead.
Change-Id: I711354941b4168f3f6ffe2d29185597bdad4da89
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
This patch prevents the arise of dangling pointer after
kfree operation on pointer.
CRs-Fixed: 1083444
Change-Id: Ie2702223379b9c77ce4fe30376d446c63223dbc8
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
Specify the number of strings and full scale current in WLED property
according to the hardware design of QRD8998 SKUK.
CRs-Fixed: 1104977
Change-Id: I575aecb616a56974ec2680e5888190adb40c969a
Signed-off-by: cyizhao <cyizhao@codeaurora.org>
QRD SKUK and VR1 has fixed battery design and the batteries have defect
of the NTC design which is very easy to hit soft hot threshold when
charging at 1C while the battery cell is actually stay much cooler.
Disable soft hot jeita threshold according to the battery vendor's and
hardware team's suggestion to make sure the battery could sustain at 1C
charging current longer.
CRs-Fixed: 1104853
Change-Id: If624bf14e8588e50fa6a97d29b528d7d02ef64dc
Signed-off-by: cyizhao <cyizhao@codeaurora.org>
The code in wmi_call uses the wil->wmi_call completion
structure to wait for a reply.
In some scenarios, complete was called twice on the
completion structure. This happened mainly with a disconnect
event which can arrive both unsolicited and as a reply to
a disconnect request. In this case the completion structure
was left marked as "done" and the next wmi_call returned
immediately with a corrupted reply buffer. This caused
unexpected results including crashes.
Fix this by adding the missing call to reinit_completion.
CRs-Fixed: 1105246
Change-Id: I4de26881620dde4230d0a907bd0fd39bebe2bb3d
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
OSM cpu clock node is required by cpufreq client to be able to scale cpu
frequency. Add tables of various speed bins supported and keep the status
of the clock node disabled for now.
Change-Id: I0aca021e51ef9ae59dedce855430a63937eb98c6
Signed-off-by: Taniya Das <tdas@codeaurora.org>
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>