Repository navigation
Add SMBLite charger support for PM4125 - #1558
raryan-qcom wants to merge 3 commits into
Conversation
PM4125 integrates the SMBLite switch-mode battery charger IP, which differs enough from the SMB2 IP already supported on PMI8998/PM660 (separate SPMI peripheral bases per block, a different interrupt set, raw ADC-based JEITA thresholds) that it has no existing binding to reuse. Add one to describe it. Link: https://lore.kernel.org/all/20261126-smblite-charger-for-pm4125-v2-1-20656509518b@oss.qualcomm.com/ Signed-off-by: Raj Aryan <raj.aryan@oss.qualcomm.com> Signed-off-by: Rakesh Kota <rakesh.kota@oss.qualcomm.com>
PM4125 uses the SMBLite charger IP, a reduced-feature variant of SMB2. While both use the same SPMI bus and driver model, they differ in register layout, status reporting, recharge mode and JEITA configuration. Extend qcom_smbx to handle these differences so PM4125 can use the existing charger driver. Select register bases and handling based on chip->type, allowing SMB2 and SMBLite to share one driver and power-supply class device. Link: https://lore.kernel.org/all/20261126-smblite-charger-for-pm4125-v2-2-20656509518b@oss.qualcomm.com/ Signed-off-by: Raj Aryan <raj.aryan@oss.qualcomm.com> Signed-off-by: Rakesh Kota <rakesh.kota@oss.qualcomm.com>
… bridge PM4125 integrates an SMBLite switch-mode battery charger. Add its charger node to the PM4125 device tree and enable it on the Shikra CQM SOM. Shikra's primary HS phy endpoint was wired directly to the dwc3 controller, leaving no place to switch the USB role at runtime. Route it through an intermediate connector/controller port pair and mark the phy usb-role-switch capable, needed by the upcoming QUSB2 charger-detection work. Link: https://lore.kernel.org/all/20261126-smblite-dt-v1-1-0f4f4401db3b@oss.qualcomm.com/ Signed-off-by: Raj Aryan <raj.aryan@oss.qualcomm.com> Signed-off-by: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com> Signed-off-by: Rakesh Kota <rakesh.kota@oss.qualcomm.com>
|
Merge Check Failed: CR Not Eligible for Merge CR 4759514 is not eligible for merge. The parent software image for kernel.qli.2.0 is not development complete. Entity: Please ensure the CR passes both CCT (ComponentChangeTasks) and ICT (Integration Change Tasks) validations. |
PR #1558 — validate-patchPR: #1558
Final Summary
|
PR #1558 — checker-log-analyzerPR: #1558
Detailed report: Full report
|
The PM4125 PMIC, used on the Qualcomm CQ2390 platform (cocos),
integrates the SMBLite switch-mode battery charger IP. The existing
qcom_smbx charger driver only supports the SMB2 charger IP found on
PMI8998 and PM660, so PM4125 currently has no charger support at
all.
SMBLite is a reduced-feature variant of SMB2: it shares the same
SPMI bus and overall driver model, but uses a different register base
layout (five separate SPMI peripheral bases instead of a single base
with fixed offsets), a different battery-overvoltage status
register, SOC-based recharge instead of VBAT-based recharge, and a
different JEITA configuration sequence.
This series extends the existing qcom_smbx driver to support both chip
types side by side, selecting the correct register bases and handling
logic based on chip->type. This keeps a single driver and power-supply
class device covering both SMB2 and SMBLite hardware.
CRs-Fixed: 4759514