[PATCH v2 2/3] phy: qualcomm: phy-qcom-eusb2-repeater: Add squelch detect param update
Konrad Dybcio
konrad.dybcio at oss.qualcomm.com
Fri Dec 5 05:31:49 PST 2025
On 12/4/25 5:46 AM, Krishna Kurapati wrote:
> Add support for overriding Squelch Detect parameter.
>
> Signed-off-by: Krishna Kurapati <krishna.kurapati at oss.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.e.
PM8550B
PMIV0104
SMB2360
Konrad
More information about the linux-phy
mailing list