1.Disable some pmic dt nodes/properties which are not required for kera.
2. update regulator voltage support for kera
as per latest HW recommendation.
3. Update i2c instance for kera for slave charger debug support.
Change-Id: Iebcf53837ff021db418fb2cbd16f1fb1ba494304
Signed-off-by: Kavya Nunna <quic_knunna@quicinc.com>
Add ufs proxy power supply to add an additional vote for VCCQ LDO.
In case of ufs shutdown, UFS VCCQ LDO would be turned off by PMIC
regulator itself.
Change-Id: I210474d8856f8b1160cc707db17898b1c0403093
Signed-off-by: Manish Pandey <quic_mapa@quicinc.com>
Increase cma size by 4MB for use by memshare IMS usecase.
This is inline with sun.
Change-Id: I81f6da44aa02c00c895854d69dbd949b70f541ff
Signed-off-by: Vijayanand Jitta <quic_vjitta@quicinc.com>
Add pmd802x device node in debug SPMI bus so that it can get populated
and exported in regmap debugfs node for debug purpose.
Change-Id: I7ea3cc95064283a82bbf44997ec25df1e8bf1edf
Signed-off-by: Fenglin Wu <quic_fenglinw@quicinc.com>
Add thermal overlay support for kera and tuna.
Change-Id: I87a87a173715e9d748e8bab7250d34530be03554
Signed-off-by: Priyansh Jain <quic_priyjain@quicinc.com>
no-amc tag is intended to be used for camera voter
and using it with display voter will lead to display
underruns as AMC votes will not get committed.
Change-Id: I94df2e368d15d6266109cd83e473bb0b5dab4e08
Signed-off-by: Raviteja Laggyshetty <quic_rlaggysh@quicinc.com>
Add support for QRD platform which uses moselle attach
with UFS2 in kera.
Change-Id: Idc6b8cf4418bda35e5d3b047e980370625ab00b6
Signed-off-by: Wasim Nazir <quic_wasimn@quicinc.com>
Separate common files and create module specific files.
Common platform changes should go into platform specific
common files like kera-mtp.dtsi & module specific changes
should go into corresponding module specific files like
kera-mtp-wcn7750-ufs4.dtsi.
Change-Id: Ib8b9fa2609d7dfd883a155af9ffc54ff1fc93d79
Signed-off-by: Wasim Nazir <quic_wasimn@quicinc.com>
Add the eUSB2 repeater node and references for PM7550BA and
PMIV010x.
pm7550ba -> ATP and MTP.
pmib010x -> QRD and CDP.
Change-Id: If971486537915c1f3b8e13a66d294e1fef2596cd
Signed-off-by: Uttkarsh Aggarwal <quic_uaggarwa@quicinc.com>
Change https://lore.kernel.org/all/20230525113034.46880-1-tony@atomide.com
registers serial core controller as a child of msm uart device.
Since child should suspend first, due to the child's auto suspend
delay (SERIAL_PORT_AUTOSUSPEND_DELAY_MS), additional 500msecs
delay is added during msm_geni_serial_runtime_suspend.
Added new dtsi flag 'qcom,suspend-ignore-children', to ignore
dependencies on children by runtime PM framework, this helps to
exit quickly from msm_geni_serial_runtime_suspend and save power.
Signed-off-by: Visweswara Tanuku <quic_vtanuku@quicinc.com>
Signed-off-by: Panicker Harish <quic_pharish@quicinc.com>
Temporarily disable mem-offline node in tuna to resolve
bootup crash due to page allocation from movable zone.
The bad page state was reported for Movable zone
[ 84.281664][ T1622] BUG: Bad page state in process Jit thread pool pfn:a22bfe
[ 84.291750][ T1622] page:fffffffe268aff80 refcount:-1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xa22bfe
[ 84.301978][ T1622] flags: 0x4000000000000000(zone=2|kasantag=0x0)
[ 84.312225][ T1622] page_type: 0xffffffff()
[ 84.342884][ T1622] page dumped because: nonzero _refcount
[ 84.385712][ T1622] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x140dc2(GFP_HIGHUSER|GFP_COMP|GFP_ZERO),pid1462, tgid 1434 (binder:1434_1), ts 73871020589, free_ts 82485610563
<https://android-review.googlesource.com/c/kernel/common/+/3345971>
This fixes the bootup crash by TAO preventing page allocation
from movable zone but will land in QCOM branches through LTS.
Once landed revert back this temporary change.
Change-Id: Ibde1fab99236e3d44356ba412d53eac8da4cee03
Signed-off-by: Vijayanand Jitta <quic_vjitta@quicinc.com>
Currently, the static gpii mask for gpi_dma0 is incorrectly
set to 0x20, which is resulting in i2c read failure.
To prevent this i2c read failure, the static gpii mask
value for gpi_dma0 needs to be updated to 0x40.
'Fixes: 5d97d9eda4527 ("ARM: dts: msm: Add memory and clock
support for vm ravelin")'.
Change-Id: I4f1785b1f1544e436e511af2622ccf365f3cbcfe
Signed-off-by: Prakash Yadachi <quic_pyadachi@quicinc.com>
Replace regulators with per-device genpd power domain and
add interconnect for kgsl-smmu on kera.
Change-Id: Ifcb5f866a49383b502ca9c39148fc20de46ac588
Signed-off-by: Vijayanand Jitta <quic_vjitta@quicinc.com>
Temporarily disable mem-offline node in tuna to resolve
bootup crash due to page allocation from movable zone.
The bad page state was reported for Movable zone
[ 84.281664][ T1622] BUG: Bad page state in process Jit thread pool pfn:a22bfe
[ 84.291750][ T1622] page:fffffffe268aff80 refcount:-1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xa22bfe
[ 84.301978][ T1622] flags: 0x4000000000000000(zone=2|kasantag=0x0)
[ 84.312225][ T1622] page_type: 0xffffffff()
[ 84.342884][ T1622] page dumped because: nonzero _refcount
[ 84.385712][ T1622] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x140dc2(GFP_HIGHUSER|GFP_COMP|GFP_ZERO),pid1462, tgid 1434 (binder:1434_1), ts 73871020589, free_ts 82485610563
<https://android-review.googlesource.com/c/kernel/common/+/3345971>
This fixes the bootup crash by TAO preventing page allocation
from movable zone but will land in QCOM branches through LTS.
Once landed revert back this temporary change.
Change-Id: I18b72d87168671987168f905d2e14d85f8b109fe
Signed-off-by: Vijayanand Jitta <quic_vjitta@quicinc.com>
GLINK PKT provides a userspace interface to RPMSG GLINK through
character device nodes. Add the loopback node and corresponding
channel device to enable GLINK communication from userspace to
communicate with loopback test server.
Change-Id: I2ba608d21b3898f77857035fb214bcb8e49bb596
Signed-off-by: Pranav Mahesh Phansalkar <quic_pphansal@quicinc.com>
Add entries to specify the dev-id, net-id and low-latency fields
to configure forwarding in qrtr-mhi transport for HMT and HSP.
Forwarding via APPS qrtr-mhi should be disabled in case of HMT
(dev-id:1107) since there's a direct MHI satellite path between
ADSP and WLAN, and should be enabled for HSP (dev-id:1103).
Change-Id: I2aa50121134eceff403f5dc3ad9588820963e05f
Signed-off-by: Pranav Mahesh Phansalkar <quic_pphansal@quicinc.com>
Update bootargs to make it compatible
with pre-sil.
Change-Id: Ifed16d126603556a1a4e11e4ce4a630d8a50c978
Signed-off-by: Wasim Nazir <quic_wasimn@quicinc.com>
Update S1G regulator support for tuna atp as it has kiwi
by default.
While at it, Disable some unused nodes for tuna spmi debug bus.
Change-Id: I28f697b11c4bd5cdaf3cfd0eaa0a9397b415e3fa
Signed-off-by: Kavya Nunna <quic_knunna@quicinc.com>
Remove CXM UART2 GPIO(100,116) from list of reserved GPIOs
as it is not PORed.
Change-Id: I18eaacf40ce766dab0e2c546f62829a06384b84a
Signed-off-by: Wasim Nazir <quic_wasimn@quicinc.com>
eUSB2 HPG revision 1.0.2 recommends to program eusb register
USB_PHY_CFG_CTRL_1 to be programmed to 0x00 on phy init.
Since this divergence is only applicable for specific version therefore
updating the override sequence with the appropriate value.
Change-Id: I132acac6eaa0f2c5a718b63a089ff995a6be17ab
Signed-off-by: Uttkarsh Aggarwal <quic_uaggarwa@quicinc.com>