[PATCH v2 0/2] Add phy tuning support for imx8mq-usb

From: Johannes Zink
Date: Tue May 16 2023 - 12:21:29 EST


This series adds support for USB phy tuning parameters, which are
required for meeting USB certification and EMI qualification.

Patch 1/2 adds the required properties to the fsl,imx8mq-usb-phy
devicetree binding.

Patch 2/2 adds the phy tuning parameters to the phy-fsl-imx8mp driver.
This patch is ported and cleaned up from the downstream Freescale vendor
tree.

Best regards,
Johannes

Johannes Zink (1):
dt-bindings: phy: imx8mq-usb: add phy tuning properties

Li Jun (1):
phy: fsl-imx8mp-usb: add support for phy tuning

---

Changelog:

v1 -> v2: worked in review from Krzysztof and Rob, thanks for your
review:
- extract more useful descriptions of the properties from the
datasheet
- use unit postfixes for the device tree properties to facilitate
porting in the future
- add more information about some of the properties (thanks to Li Jun
for clarification)
- adjust parsing of the devicetree properties in the driver to scale
to the proper register values

Signed-off-by: Johannes Zink <j.zink@xxxxxxxxxxxxxx>

---
Johannes Zink (1):
dt-bindings: phy: imx8mq-usb: add phy tuning properties

Li Jun (1):
phy: fsl-imx8mp-usb: add support for phy tuning

.../bindings/phy/fsl,imx8mq-usb-phy.yaml | 47 +++++
drivers/phy/freescale/phy-fsl-imx8mq-usb.c | 218 +++++++++++++++++++++
2 files changed, 265 insertions(+)
---
base-commit: 7a503071e06db4409b7066b8ecca9f3da03dd3b1
change-id: 20230516-lustige-usb-phy-dinge-f8dfccb35bc5

Best regards,
--
Johannes Zink <j.zink@xxxxxxxxxxxxxx>