mbox series

[v9,0/3] Add QCOM SNPS PHY overriding params support

Message ID 1655095653-27892-1-git-send-email-quic_kriskura@quicinc.com
Headers show
Series Add QCOM SNPS PHY overriding params support | expand

Message

Krishna Kurapati June 13, 2022, 4:47 a.m. UTC
Added support for overriding tuning parameters in QCOM SNPS PHY
from device tree. This parameter tuning is required to tune the
hs signal on dp/dm lines for electrical compliance to be successful.

changes in v9:
Fixed nitpick in driver code.

changes in v8:
Fixed nitpick in driver code.

changes in v7:
Fixed nitpick in driver code and dtsi file.

changes in v6:
Fixed errors in dt-bindings.
Fixed nitpick in driver code.

changes in v5:
Fixed nitpicks in code.
Added minimum and maximum for each parameter added in dt-bindings.
Added proper suffixes to each parameter as per dtschema.

changes in v4:
Fixed nitpicks in code.
Initial compliance test results showed overshoot in the middle of eye
diagram. The current dt values were put in place to correct it and fix
overshoot issue.

changes in v3:
Added support for phy tuning parameters to be represented in bps and
corresponding register values to be written are obtained by traversing
through data map declared in the driver.

changes in v2:
Reading the individual fields in each overriding register from
device tree.

Krishna Kurapati (2):
  phy: qcom-snps: Add support for overriding phy tuning parameters
  arm64: dts: qcom: sc7280: Update SNPS Phy params for SC7280 IDP device

Sandeep Maheswaram (1):
  dt-bindings: phy: qcom,usb-snps-femto-v2: Add phy override params
    bindings

 .../bindings/phy/qcom,usb-snps-femto-v2.yaml       |  88 +++++++
 arch/arm64/boot/dts/qcom/sc7280-idp.dtsi           |   6 +
 drivers/phy/qualcomm/phy-qcom-snps-femto-v2.c      | 260 ++++++++++++++++++++-
 3 files changed, 352 insertions(+), 2 deletions(-)

Comments

Vinod Koul June 17, 2022, 12:32 a.m. UTC | #1
On 13-06-22, 10:17, Krishna Kurapati wrote:
> Added support for overriding tuning parameters in QCOM SNPS PHY
> from device tree. This parameter tuning is required to tune the
> hs signal on dp/dm lines for electrical compliance to be successful.

Why is [PATCH....] not appearing in title (hint dont touch these
manually, use -v 9 in git format-patch to generate...
Krishna Kurapati June 17, 2022, 4:38 a.m. UTC | #2
On 6/17/2022 6:02 AM, Vinod Koul wrote:
> On 13-06-22, 10:17, Krishna Kurapati wrote:
>> Added support for overriding tuning parameters in QCOM SNPS PHY
>> from device tree. This parameter tuning is required to tune the
>> hs signal on dp/dm lines for electrical compliance to be successful.
> Why is [PATCH....] not appearing in title (hint dont touch these
> manually, use -v 9 in git format-patch to generate...
My bad. Missed it while pushing v9 patches. Will make sure to take care 
of this.
Regards,
Krishna,