mbox series

[RESEND,v2,00/13] phy: qcom-qmp-usb: fix sc8280xp binding

Message ID 20221028160435.26948-1-johan+linaro@kernel.org
Headers show
Series phy: qcom-qmp-usb: fix sc8280xp binding | expand

Message

Johan Hovold Oct. 28, 2022, 4:04 p.m. UTC
[ Resending with devicetree list on CC ]

This series fixes the USB PHY devicetree binding for SC8280XP and adds
support for the new updated binding to the driver.

The first half of the series clean up the driver in preparation for
supporting SC8280XP and its new binding that drops the legacy child node
and the (incomplete) description of register subregions.

The other QMP bindings suffer from similar problems and the PCIe and UFS
drivers are being fixed here:

        https://lore.kernel.org/lkml/20221021110947.28103-1-johan+linaro@kernel.org/
        https://lore.kernel.org/lkml/20221024090041.19574-1-johan+linaro@kernel.org/

and a follow-on series will do corresponding changes to the combo QMP
bindings and driver.

Note that these patches depend on the linux-phy next branch of today.

Johan


Changes in v2
 - add missing "3" to current bindings file name
   "qcom,msm8996-qmp-usb3-phy.yaml" to match compatible
 - add missing "-uni" infix to new bindings file name
   "qcom,sc8280xp-qmp-usb3-uni-phy.yaml" to match compatible (Krzysztof)


Johan Hovold (13):
  phy: qcom-qmp-usb: fix sc8280xp PCS_USB offset
  phy: qcom-qmp-usb: sort device-id table
  phy: qcom-qmp-usb: move device-id table
  phy: qcom-qmp-usb: move pm ops
  phy: qcom-qmp-usb: merge driver data
  phy: qcom-qmp-usb: clean up device-tree parsing
  phy: qcom-qmp-usb: clean up probe initialisation
  phy: qcom-qmp-usb: rename PHY ops structure
  phy: qcom-qmp-usb: clean up PHY init
  dt-bindings: phy: qcom,qmp-usb: rename current bindings
  dt-bindings: phy: qcom,qmp-usb: fix sc8280xp binding
  phy: qcom-qmp-usb: restructure PHY creation
  phy: qcom-qmp-usb: add support for updated sc8280xp binding

 ...hy.yaml => qcom,msm8996-qmp-usb3-phy.yaml} |  20 +-
 .../phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml   | 105 ++++
 drivers/phy/qualcomm/phy-qcom-qmp-usb.c       | 532 +++++++++---------
 3 files changed, 368 insertions(+), 289 deletions(-)
 rename Documentation/devicetree/bindings/phy/{qcom,qmp-usb-phy.yaml => qcom,msm8996-qmp-usb3-phy.yaml} (95%)
 create mode 100644 Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml

Comments

Vinod Koul Nov. 5, 2022, 7:29 a.m. UTC | #1
On 28-10-22, 18:04, Johan Hovold wrote:
> [ Resending with devicetree list on CC ]
> 
> This series fixes the USB PHY devicetree binding for SC8280XP and adds
> support for the new updated binding to the driver.
> 
> The first half of the series clean up the driver in preparation for
> supporting SC8280XP and its new binding that drops the legacy child node
> and the (incomplete) description of register subregions.

Applied, thanks