linux/include/dt-bindings/phy
Johan Hovold e1c4c5436b dt-bindings: phy: qcom,qmp-usb3-dp: fix sc8280xp binding
The current QMP USB3-DP PHY bindings are based on the original MSM8996
binding which provided multiple PHYs per IP block and these in turn were
described by child nodes.

The QMP USB3-DP PHY block provides a single multi-protocol PHY and even
if some resources are only used by either the USB or DP part of the
device there is no real benefit in describing these resources in child
nodes.

The original MSM8996 binding also ended up describing the individual
register blocks as belonging to either the wrapper node or the PHY child
nodes.

This is an unnecessary level of detail which has lead to problems when
later IP blocks using different register layouts have been forced to fit
the original mould rather than updating the binding. The bindings are
arguable also incomplete as they only the describe register blocks used
by the current Linux drivers (e.g. does not include the PCS LANE
registers).

This is specifically true for later USB4-USB3-DP QMP PHYs where the TX
registers are used by both the USB3 and DP parts of the PHY (and where
the USB4 part of the PHY was not covered by the binding at all). Notably
there are also no DP "RX" (sic) registers as described by the current
bindings and the DP "PCS" region is really a set of DP_PHY registers.

Add a new binding for the USB4-USB3-DP QMP PHYs found on SC8280XP which
further bindings can be based on.

Note that the binding uses a PHY index to access either the USB3 or DP
part of the PHY and that this can later be used also for the USB4 part
if needed.

Similarly, the clock inputs and outputs can later be extended to support
USB4.

Also note that the current binding is simply removed instead of being
deprecated as it was only recently merged and would not allow for
supporting DP mode.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20221121085058.31213-3-johan+linaro@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2022-11-24 22:51:50 +05:30
..
phy-am654-serdes.h dt-bindings: phy: ti: Add dt binding documentation for SERDES in AM654x SoC 2019-04-17 14:13:18 +05:30
phy-cadence.h dt-bindings: phy: cadence-sierra: Add clock ID for derived reference clock 2021-12-27 16:35:09 +05:30
phy-imx8-pcie.h dt-bindings: phy: phy-imx8-pcie: Add binding for the pad modes of imx8 pcie phy 2021-12-14 20:02:32 +05:30
phy-lan966x-serdes.h dt-bindings: phy: Add constants for lan966x serdes 2021-11-23 13:09:08 +05:30
phy-lantiq-vrx200-pcie.h dt-bindings: phy: add binding for the Lantiq VRX200 and ARX300 PCIe PHYs 2019-08-23 09:40:46 +05:30
phy-ocelot-serdes.h dt-bindings: phy: Update SERDES_MAX to be SERDES_MAX + 1 2018-10-22 19:27:14 -07:00
phy-pistachio-usb.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 422 2019-06-05 17:37:15 +02:00
phy-qcom-qmp.h dt-bindings: phy: qcom,qmp-usb3-dp: fix sc8280xp binding 2022-11-24 22:51:50 +05:30
phy-qcom-qusb2.h dt-bindings: phy-qcom-usb2: Add support to override tuning values 2018-05-20 21:51:31 +05:30
phy-ti.h dt-bindings: phy: ti,phy-j721e-wiz: Add bindings for AM64 SERDES Wrapper 2021-03-17 12:02:40 +05:30
phy.h dt-bindings: phy: Add PHY_TYPE_USXGMII definition 2022-08-30 10:42:57 +05:30