Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: phy: imx8mq-usb: add imx95 tuning support

The parameter value of below 3 properties are USB PHY specific. i.MX8MP
and i.MX95 USB PHY has different meanings. This will enlarge parameters
value and add constraints for them.

- fsl,phy-tx-vref-tune-percent
- fsl,phy-tx-rise-tune-percent
- fsl,phy-comp-dis-tune-percent

Reviewed-by: Jun Li <jun.li@nxp.com>
Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250430094502.2723983-2-xu.yang_2@nxp.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Xu Yang and committed by
Vinod Koul
7325e099 5b3a91b2

+31 -3
+31 -3
Documentation/devicetree/bindings/phy/fsl,imx8mq-usb-phy.yaml
··· 43 43 fsl,phy-tx-vref-tune-percent: 44 44 description: 45 45 Tunes the HS DC level relative to the nominal level 46 - minimum: 94 46 + minimum: 90 47 47 maximum: 124 48 48 49 49 fsl,phy-tx-rise-tune-percent: 50 50 description: 51 51 Adjusts the rise/fall time duration of the HS waveform relative to 52 52 its nominal value 53 - minimum: 97 54 - maximum: 103 53 + minimum: 90 54 + maximum: 120 55 55 56 56 fsl,phy-tx-preemp-amp-tune-microamp: 57 57 description: ··· 110 110 properties: 111 111 reg: 112 112 maxItems: 1 113 + 114 + - if: 115 + properties: 116 + compatible: 117 + enum: 118 + - fsl,imx8mq-usb-phy 119 + - fsl,imx8mp-usb-phy 120 + then: 121 + properties: 122 + fsl,phy-tx-vref-tune-percent: 123 + minimum: 94 124 + fsl,phy-tx-rise-tune-percent: 125 + minimum: 97 126 + maximum: 103 127 + 128 + - if: 129 + properties: 130 + compatible: 131 + contains: 132 + enum: 133 + - fsl,imx95-usb-phy 134 + then: 135 + properties: 136 + fsl,phy-tx-vref-tune-percent: 137 + maximum: 108 138 + fsl,phy-comp-dis-tune-percent: 139 + minimum: 94 140 + maximum: 104 113 141 114 142 - if: 115 143 required: