Work-around for hangs during bootup.
No ramdumps/tools available to debug during BU.
So, disable hibern8 during clock gating.
This would let the clocks to be off thus allowing CxPC.
Clock scaling needs SYS1CLK_1US_REG and
DME_VS_CORE_CLK_CTRL.MAX_CORE_CLK_1US_CYCLES and
PA_VS_CORE_CLK_40NS_CYCLES to be defined for 403Mhz.
Disable clock scaling until values are determined.
Change-Id: I702a561ecce627a8b00a676fc2e6118ce1ebc4a0
Signed-off-by: Asutosh Das <quic_asutoshd@quicinc.com>
When building with legacy build.sh, the host dtc tools are not
generated due to a faulty logic check.
Fix the logic check and make the build environment explicit.
Change-Id: Id4f58fd812f3135379f47a22025f3030ecf68b58
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
Update pineapple config data to bring it in line with latest HW updates.
Change-Id: I99fb80af935eb8b348da41dd5c3b503c08fa6615
Signed-off-by: Guru Das Srinagesh <quic_gurus@quicinc.com>
Update the driver to match the data TLMM block data on pineapple SoC.
Change-Id: Ifd86ab32f6490b4e3fef379e28d716a555504211
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
Remove delay from QMP phy initialisation sequence. Its
not required in USB QMP DP/UNI phys as they use SE clk.
Change-Id: I6d22bd9c2f870b94bee49db65e057df1ab2acb44
Signed-off-by: Prashanth K <quic_prashk@quicinc.com>
Correctly configure the REG_UFS_CFG0 register for supporting
UFS4.0 devices on pineapple platforms.
Change-Id: If2edfb4d939a15d08bcdc2150e4badd086bc7ccf
Signed-off-by: Bao D. Nguyen <quic_nguyenb@quicinc.com>
The bootloader software is aware of the type of UFS device populated
on the board. It passes this information through a UFS's controller
spare register.
Retrieve the UFS device type information passed from the
bootloader. Together with the Device Tree settings for the UFS's
rate and PHY's submode, configure the UFS PHY properly to work
with different types of UFS device populated on the board.
Change-Id: Ide107ef87405fb9c8c30f6ada67613bc44ef28e8
Signed-off-by: Bao D. Nguyen <quic_nguyenb@quicinc.com>
Make the msm shared memory driver as a dynamic module instead of static.
Change-Id: I19ae80e8e700b77ff03f05a3b879755440572e76
Signed-off-by: Richard Patrick <quic_richardp@quicinc.com>
Signed-off-by: Sayali Lokhande <quic_sayalil@quicinc.com>
If vm-nav-path dtsi property is set, then the shared memory region will
be given access to vm-nav-path also.
Change-Id: I0aef894dbee78c2e3d7d67f61a238a889050037a
Signed-off-by: Sridhar Arra <sarra@codeaurora.org>
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Signed-off-by: Richard Patrick <quic_richardp@quicinc.com>
Signed-off-by: Sayali Lokhande <quic_sayalil@quicinc.com>
If guard_memory dtsi property is set, then the shared memory
region will be guarded by SZ_4K at the start and at the end.
This is needed to overcome the XPU limitation on few MSM HW,
so as to make this memory not contiguous with other allocations
that may possibly happen from other clients in the system.
Change-Id: I57637619cea8fe7f0f7254624e07177ea4a4fce0
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Signed-off-by: Richard Patrick <quic_richardp@quicinc.com>
Signed-off-by: Sayali Lokhande <quic_sayalil@quicinc.com>
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: I29b9be8ebeec3f0e4d16f1b13203363eb4c1dd2b
Signed-off-by: Bao D. Nguyen <quic_nguyenb@quicinc.com>
These changes enable IPCC_COMPUTE_L0 SSR signal.
This will be used by IPCLite to send SSR signals to
remote subsystems over compute_l0 interrupt line.
Change-Id: Ic8ac4d332a1386081b7f766f07c9fd0fa8a21498
Signed-off-by: Viraj Mandlekar <quic_vmandlek@quicinc.com>
Add remote debugger device configuration. The Remote Debugger driver
allows a debugger running on a host PC to communicate with a remote
stub running on peripheral subsystems.
Change-Id: Ib3faed59b8f54213341aa52248e33091fffea061
Signed-off-by: Devender Kaushik <quic_dkaushik@quicinc.com>
These changes enable IPCC_COMPUTE_L0 signals and
broadcast client. These will be used by the new IPCLite
communication protocol to communicate with
remote subsystems over compute_l0 interrupt line.
Change-Id: I7aac6f121c53136b8cc19f1d1e166ccc2d59caee
Signed-off-by: smaniar <smaniar@codeaurora.org>