Early boot kernel logs are enabled with earlycon cmdline option.
If earlycon device is passed to earlycon as a parameter with "=dev",
it is considered, otherwise kernel relies on stdout-path for the device.
Since this device can be different for different chipsets, sharing the
same compiled binary, the value passed to earlycon parameter can
be wrong for some of the chipsets, which is leading to issues like
invalid address access or garbled logs in some cases.
To fix this, add earlycon without any value so that the right
device can be picked from stdout-path. For chipsets not having
stdout-path defined, keep passing earlycon value if it is explicitly
defined in target bazel file.
Also, remove default earlycon param value for Pineapple family of
chipsets to avoid adding wrong address for Cliffs, Volcano SoCs.
Change-Id: If40d23a3916f1f148e26033d67408279dfca5493
Signed-off-by: Naini Singh <quic_nainsing@quicinc.com>
Signed-off-by: Naman Jain <quic_namajain@quicinc.com>
Enable LCDB and WLED and PM8008 drivers for volcano.
Change-Id: Iaeb677d277b3df454f2a5a34449ab067730bc80c
Signed-off-by: Kavya Nunna <quic_knunna@quicinc.com>
Volcano UFS PHY is reused from crow, hence Enable
CONFIG_PHY_QCOM_UFS_V4_CROW to enable ufs-phy driver
for volcano SoCs.
Also add UFS PHY module in modules.list.msm.pineapple
so that the module is loaded automatically from the
first stage RAM disk image during Linux kernel boot up.
Change-Id: I2774b710edc1e36823da41d8a577e7c38e4e3632
Signed-off-by: Manish Pandey <quic_mapa@quicinc.com>
Add support for CAMCC and DISPCC clock drivers module on volcano
platform.
Change-Id: I31c97be7b053b532b05cf81019db53bf4a5b5145
Signed-off-by: Ajit Pandey <quic_ajipan@quicinc.com>
Add support for GCC, GPUCC and VIDEOCC clock drivers module on volcano
platform.
Change-Id: Iff7a674dd4aa19f7d05c826b9df12b9ff23d7ed1
Signed-off-by: Ajit Pandey <quic_ajipan@quicinc.com>
Enable the interconnect driver so that consumers are
able to obtain their path handles properly.
Change-Id: Ifddc37c584616a4c4434de1a03b07746b97e5b3d
Signed-off-by: Raviteja Laggyshetty <quic_rlaggysh@quicinc.com>
Add pinctrl config to support pin control in Volcano SoC.
Change-Id: I75fb6853776f200d332711c672fb591210390d37
Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com>
Enable VIBRATOR_LDO and AMOLED modules for Cliffs platform.
Change-Id: Ic6b6f4db0ec9e1e94eb55dd535ad0c64aace472b
Signed-off-by: Rakesh Kota <quic_kotarake@quicinc.com>
Currently, there's no way to generate a dpm.img file from the Bazel
build. As this should be generated when a dpm overlay dtbo exists,
generate it in that case.
To make use of this macro, just set dpm_overlay = True when defining
an LA target.
Change-Id: I10222499737ffb9b43cb2bac235ada66c8cae2e5
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
Due to introduction of bazel build environment, with current
design we have to add all phy modules in every target bzl file
which are built as a CONFIG_PHY_QCOM_UFS_V4.
Define unique configs for individual platform to avoid
including all ufs-phy drivers in every target bzl file.
Change-Id: I3a9f744678b8d3ab5f85a12b04da8aca702e5379
Signed-off-by: Manish Pandey <quic_mapa@quicinc.com>
Add support for debug clock controller driver on cliffs
platform.
Change-Id: Ia31f3cbc603ecf9f378ee7f8cea90f46d873e5d7
Signed-off-by: Jagadeesh Kona <quic_jkona@quicinc.com>
Disable rq_stats driver for pineapple for it's not in use currently.
Change-Id: Ibf4be7f75d24e44d388d483d602424b4c01d055f
Signed-off-by: Jingyi Wang <quic_jingyw@quicinc.com>
Add support for camera clock controller driver on cliffs
platform.
Change-Id: Ibcfee8848a553e50d10e6b7b5c80424581db6ddf
Signed-off-by: Jagadeesh Kona <quic_jkona@quicinc.com>
QFPROM SYS driver provides access to the child nodes
of QFPROM to user space. Enable it on chipsets using
pineapple defconfig.
Change-Id: I2a8175ec1dfc116e803058ee574f9db0356ac2c0
Signed-off-by: Naman Jain <quic_namajain@quicinc.com>
Enable thermal zone config debug driver to support reading the
entire thermal zone configurations from userspace via debugfs
interface.
Change-Id: Ide9bd09bbd07ff866ad9f8fbec1efa596ad77560
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
Add Waipio UFS phy driver snapshot from msm-5.10 'commit acc26f639df1
("drivers: phy: ufs: Add ufs phy for Waipio SoC")'.
Add phy-qcom-ufs-qmp-v4-waipio.ko for other targets as it is
compiled under a generic config CONFIG_PHY_QCOM_UFS_V4.
Change-Id: If6e00b290eecb7d6f8db51a126ed82d071d08b4d
Signed-off-by: Shazad Hussain <quic_shazhuss@quicinc.com>
Enable the interconnect driver so that consumers are
able to obtain their path handles properly.
Change-Id: I720bbe89352067fd78015662038ae94e4dacfe78
Signed-off-by: Raviteja Laggyshetty <quic_rlaggysh@quicinc.com>
Add support for GCC & GPUCC clock drivers on cliffs
platform.
Change-Id: Ie5e23b493c0fef008dbd85bbb5a9ca8d709707b2
Signed-off-by: Jagadeesh Kona <quic_jkona@quicinc.com>
A copy-paste error prevented the copying of the generated
extra_bootconfig file even when board_bootconfig_extras was specified if
additionally, board_kernel_cmdline_extras was not specified. Fix this.
In addition, also fix the error of board_bootconfig_extras and
board_kernel_cmdline_extras accumulating values over all the variants
when the intention is for them to only contain values per variant.
Fixes: 8a0b83b567 ("ANDROID: build: Pass variant-specific bootconfig params to vendor")
Change-Id: I944b806e8f65f5b90027d263101b0893586e3eff
Signed-off-by: Guru Das Srinagesh <quic_gurus@quicinc.com>
Enable msm_show_epoch driver to how epoch values when
device enters and exits out of suspend.
Change-Id: Ib00d3ea0c88516dae4c37793584f78419c7e5990
Signed-off-by: Minghao Zhang <quic_minghao@quicinc.com>
Enable the EHST test module in consolidated build variants, so USB
compliance tests can be run in USB host mode.
Change-Id: I0dd58d134f6db8f335619c52721d3ff237acd993
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
Enable the inclusion of variant-specific Android bootconfig parameters in
vendor builds through the generation of a file containing them.
Set "androidboot.console" to 0 for Vendor GKI variant by this method.
Previously, this was set via the kernel command line, which leads to a
VTS test failure that forbids "androidboot.*" parameters from being
specified via kernel command line and redirects their inclusion via the
`bootconfig` mechanism.
Change-Id: Id449bd82d655082add0a80b3be221ada97fc1933
Signed-off-by: Guru Das Srinagesh <quic_gurus@quicinc.com>