Add qpnp-flash-v2 driver for kona.
This is taken as a snapshot from msm-5.4 kernel
'commit 40ccd6775f80 ("qpnp-flash-v2: Add
support for qpnp-flash-v2 driver")'.
Also, replace the iio_channel_get with devm_iio_channel_get.
Change-Id: I90bfda0ace7b86deb96efac169978c6fb7f8fa23
Signed-off-by: Zihang Hu <quic_zihahu@quicinc.com>
In gh_boost_rmfreq(), cpufreq_cpu_get() may return nullptr, add
nullptr checker to avoid potential nullptr dereference.
Change-Id: I71c88b5a42ae786813808bbf648439403d7c0582
Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
Enable the inclusion of variant-specific kernel command line parameters
in vendor builds through the generation of a file containing them.
Set "androidboot.console" to 0 and 1 for Vendor GKI and consolidate
variants respectively, by this method.
Additionally, enable "nosoftlockup" for the GKI variant of both Kernel
Platform and Vendor builds by this method.
Change-Id: Id2ce57bad4556cfa96c1a0215141a1f015066e8b
Signed-off-by: Vamsi Krishna Lanka <quic_vamslank@quicinc.com>
Signed-off-by: Guru Das Srinagesh <quic_gurus@quicinc.com>
Some targets require different boot image sizes, so allow that to be
configurable instead of hard-coded.
Change-Id: Iaac716f5baf91e99e0e91e71ab7da73edbbb46b7
Signed-off-by: Guru Das Srinagesh <quic_gurus@quicinc.com>
Currently, the bus votes are hardcoded in the driver,
therefore having different votes for different SOCs is
not possible as the vote values will remain the same for
all. However, it is possible to do it through dt files as
it would be different for every SOC.
Implemented this by introducing a function
dwc3_msm_interconnect_vote_populate which reads the dt
file values passed and update the existing matrix
bus_vote_values of NOM & SVS used for bus voting.
Change-Id: If22d4e98f76e2a2e7aaebfe632e20a2225e30b3c
Signed-off-by: Udipto Goswami <quic_ugoswami@quicinc.com>
Add UFS's modules so that they are loaded automatically
during Linux kernel boot up.
Change-Id: I336572e5898bc42813758032c6b887434a029d7a
Signed-off-by: Manish Pandey <quic_mapa@quicinc.com>