doc: dt-binding: mxs-usb-phy: fix fsl,tx-cal-45-dn-ohms max and min value
Subsystems (4)
Frank Li
maintainerPATCH 1/2 doc: dt-binding: mxs-usb-phy: fix fsl,tx-cal-45-dn-ohms max and min value
According to spec:
0000 +19.95% .... 1111 -21.68%
45 * (1 + 19.95%) = 53.9775
45 * (1 - 21.68%) = 35.244
Chanege fsl,tx-cal-45-dn-ohms and fsl,tx-cal-45-dp-ohms range to [35-54] from [30-55]
Signed-off-by Frank Li <[email protected]>
--- Documentation/devicetree/bindings/phy/mxs-usb-phy.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/phy/mxs-usb-phy.txt +2 -2
@@ -14,10 +14,10 @@ Required properties: - fsl,anatop: phandle for anatop register, it is only for imx6 SoC series Optional properties: -- fsl,tx-cal-45-dn-ohms: Integer [30-55]. Resistance (in ohms) of switchable +- fsl,tx-cal-45-dn-ohms: Integer [35-54]. Resistance (in ohms) of switchable high-speed trimming resistor connected in parallel with the 45 ohm resistor that terminates the DN output signal. Default: 45 -- fsl,tx-cal-45-dp-ohms: Integer [30-55]. Resistance (in ohms) of switchable +- fsl,tx-cal-45-dp-ohms: Integer [35-54]. Resistance (in ohms) of switchable high-speed trimming resistor connected in parallel with the 45 ohm resistor that terminates the DP output signal. Default: 45 - fsl,tx-d-cal: Integer [79-119]. Current trimming value (as a percentage) of
Signature · 1 line
2.35.1
Frank Li
maintainerPATCH 2/2 usb: phy: mxs: fix MXS_PHY_TX_CAL45_MIN and MXS_PHY_TX_CAL45_MAX
According to spec:
0000 +19.95%
....
1111 -21.68%
45 * (1 + 19.95%) = 53.9775
45 * (1 - 21.68%) = 35.244Fix MXS_PHY_TX_CAL45_MIN from 30 to 35
Fix MXS_PHY_TX_CAL45_MAX from 55 to 54
Signed-off-by Frank Li <[email protected]>
--- drivers/usb/phy/phy-mxs-usb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/usb/phy/phy-mxs-usb.c +2 -2
@@ -193,8 +193,8 @@#define MXS_PHY_NEED_IP_FIX BIT(3)/* Minimum and maximum values for device tree entries */ -#define MXS_PHY_TX_CAL45_MIN 30 -#define MXS_PHY_TX_CAL45_MAX 55 +#define MXS_PHY_TX_CAL45_MIN 35 +#define MXS_PHY_TX_CAL45_MAX 54#define MXS_PHY_TX_D_CAL_MIN 79#define MXS_PHY_TX_D_CAL_MAX 119
Signature · 1 line
2.35.1
Quoted 5 lines · Frank Li
According to spec:
0000 +19.95% .... 1111 -21.68%
Quoted 7 lines
45 * (1 + 19.95%) = 53.9775
45 * (1 - 21.68%) = 35.244Chanege fsl,tx-cal-45-dn-ohms and fsl,tx-cal-45-dp-ohms range to [35-54] from [30-55]
Signed-off-by Frank Li <[email protected]>
Best regards,
Krzysztof