[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b772d61e-ba75-4f45-946d-211a0bb755d0@oss.qualcomm.com>
Date: Sat, 6 Dec 2025 21:42:11 +0530
From: Krishna Kurapati <krishna.kurapati@....qualcomm.com>
To: Konrad Dybcio <konrad.dybcio@....qualcomm.com>
Cc: linux-arm-msm@...r.kernel.org, linux-phy@...ts.infradead.org,
Vinod Koul <vkoul@...nel.org>,
Kishon Vijay Abraham I <kishon@...nel.org>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konradybcio@...nel.org>,
Luca Weiss
<luca.weiss@...rphone.com>,
Neil Armstrong <neil.armstrong@...aro.org>,
Johan Hovold <johan+linaro@...nel.org>,
Pengyu Luo <mitltlatltl@...il.com>, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 2/3] phy: qualcomm: phy-qcom-eusb2-repeater: Add
squelch detect param update
On 12/5/2025 7:01 PM, Konrad Dybcio wrote:
> On 12/4/25 5:46 AM, Krishna Kurapati wrote:
>> Add support for overriding Squelch Detect parameter.
>>
>> Signed-off-by: Krishna Kurapati <krishna.kurapati@....qualcomm.com>
>> ---
>> .../phy/qualcomm/phy-qcom-eusb2-repeater.c | 22 +++++++++++++++++++
>> 1 file changed, 22 insertions(+)
>>
>> diff --git a/drivers/phy/qualcomm/phy-qcom-eusb2-repeater.c b/drivers/phy/qualcomm/phy-qcom-eusb2-repeater.c
>> index 651a12b59bc8..a75b37d4e16d 100644
>> --- a/drivers/phy/qualcomm/phy-qcom-eusb2-repeater.c
>> +++ b/drivers/phy/qualcomm/phy-qcom-eusb2-repeater.c
>> @@ -37,6 +37,17 @@
>> #define EUSB2_TUNE_EUSB_EQU 0x5A
>> #define EUSB2_TUNE_EUSB_HS_COMP_CUR 0x5B
>>
>> +static const int squelch_detector[] = {
>> + [0] = -6000,
>> + [1] = -5000,
>> + [2] = -4000,
>> + [3] = -3000,
>> + [4] = -2000,
>> + [5] = -1000,
>> + [6] = 0,
>> + [7] = 1000,
>> +};
>
> I forgot to ask, do these values apply to all of the supported repeaters?
>
I checked smb2360/pmih010x_eusb2_repeater and pm8550b repeaters
(SM8{5/6/7}50/ Kaanapali/ Hamoa). For all of them, the above table is same.
Regards,
Krishna,
> i.e.
>
> PM8550B
> PMIV0104
> SMB2360
>
> Konrad
Powered by blists - more mailing lists