[PATCH 2/2] phy: qcom: qmp-usb: Add support for SA8255P
Mattijs Korpershoek
mkorpershoek at kernel.org
Wed Jul 8 06:50:33 PDT 2026
On Wed, Jul 08, 2026 at 16:20, Dmitry Baryshkov <dmitry.baryshkov at oss.qualcomm.com> wrote:
> On Wed, Jul 08, 2026 at 02:54:21PM +0200, Mattijs Korpershoek wrote:
>> From: Sriram Dash <quic_sriramd at quicinc.com>
>>
>> The Qualcomm automotive SA8255p SoC relies on firmware to configure
>> platform resources, including clocks, interconnects and TLMM.
>> The driver requests resources operations over SCMI using power protocols.
>>
>> The SCMI power protocol enables or disables resources like clocks,
>> interconnect paths, and TLMM (GPIOs) using runtime PM framework APIs,
>> such as resume/suspend, to control power on/off.
>>
>> Power domain "usb_core" controls the GDSC, resets, and TLMM (GPIOs)
>> whereas power domain "usb_transfer" controls clocks and interconnects.
>>
>> In this variant, two disjoint sets of resources are modeled against
>> the power domain suppliers which can be turned on/off to achieve modeled
>> device states. Two modeled low power states d1 and d3 are supported.
>>
>> transition: d0 <--> d3 :: both core and transfer suppliers
>> transition: d0 <--> d1 :: only transfer supplier
>
> Sashiko warns about PM resource leaks and those warnings seems legit.
Yes, I will double check all the comments and reply to the sashiko
review (and probably spin a v2)
>
>>
>> Signed-off-by: Sriram Dash <quic_sriramd at quicinc.com>
>> Signed-off-by: Shazad Hussain <quic_shazhuss at quicinc.com>
>> Signed-off-by: Mattijs Korpershoek <mkorpershoek at kernel.org>
>> ---
>> drivers/phy/qualcomm/phy-qcom-qmp-usb.c | 175 ++++++++++++++++++++++++++++----
>> 1 file changed, 155 insertions(+), 20 deletions(-)
>>
>
> --
> With best wishes
> Dmitry
More information about the linux-phy
mailing list