OSDN Git Service

dt-bindings: phy: qcom,qmp-ufs: fix sc8280xp binding
authorJohan Hovold <johan+linaro@kernel.org>
Mon, 24 Oct 2022 09:00:39 +0000 (11:00 +0200)
committerVinod Koul <vkoul@kernel.org>
Fri, 28 Oct 2022 13:00:30 +0000 (18:30 +0530)
commit7741f31ae44568f9c32046aaf4c6c41a51359f6d
tree967e94f7066804c49604fde5b455f86ed745d2d6
parent54293c08f2c01efff4a8c1c61290e5f8e34df2df
dt-bindings: phy: qcom,qmp-ufs: fix sc8280xp binding

The current QMP UFS PHY bindings are based on the original MSM8996 PCIe
PHY binding which provided multiple PHYs per IP block and these in turn
were described by child nodes.

The QMP UFS PHY block only provide a single PHY and the remnant child
node does not really reflect the hardware.

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.

Add a new binding for the UFS QMP PHYs found on SC8280XP which further
bindings can be based on.

Note that the current binding is simply removed instead of being
deprecated as it was only recently merged and support for SC8280XP is
still under development.

Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20221024090041.19574-9-johan+linaro@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Documentation/devicetree/bindings/phy/qcom,msm8996-qmp-ufs-phy.yaml
Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml [new file with mode: 0644]