[00/10] phy: qcom-qmp-ufs: fix sc8280xp binding

Message ID 20221024090041.19574-1-johan+linaro@kernel.org
Headers
Series phy: qcom-qmp-ufs: fix sc8280xp binding |

Message

Johan Hovold Oct. 24, 2022, 9 a.m. UTC
  This series fixes the UFS 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 driver
is being fixed here:

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

and follow-on series will do corresponding changes to the USB and combo
QMP bindings and drivers.

Note that these patches depend on the linux-phy next branch of today and
the following two series:

 1. [PATCH v2 00/14] phy: qcom-qmp: further prep cleanups

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

 2. [PATCH 00/20] phy: qcom-qmp: further prep fixes and cleanups (set 3)

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

Johan


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

 ...phy.yaml => qcom,msm8996-qmp-ufs-phy.yaml} |  17 +-
 .../phy/qcom,sc8280xp-qmp-ufs-phy.yaml        |  83 ++++
 drivers/phy/qualcomm/phy-qcom-qmp-ufs.c       | 381 +++++++++---------
 3 files changed, 287 insertions(+), 194 deletions(-)
 rename Documentation/devicetree/bindings/phy/{qcom,qmp-ufs-phy.yaml => qcom,msm8996-qmp-ufs-phy.yaml} (93%)
 create mode 100644 Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml
  

Comments

Dmitry Baryshkov Oct. 24, 2022, 2:03 p.m. UTC | #1
On 24/10/2022 12:00, Johan Hovold wrote:
> This series fixes the UFS 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 driver
> is being fixed here:
> 
> 	https://lore.kernel.org/lkml/20221021110947.28103-1-johan+linaro@kernel.org/
> 
> and follow-on series will do corresponding changes to the USB and combo
> QMP bindings and drivers.

Great! I'm looking forward to seeing the combo patchset. Then I can 
probably rebase my regs layout patches on top of your tree.

> 
> Note that these patches depend on the linux-phy next branch of today and
> the following two series:
> 
>   1. [PATCH v2 00/14] phy: qcom-qmp: further prep cleanups
> 
>      https://lore.kernel.org/lkml/20221012081241.18273-1-johan+linaro@kernel.org
> 
>   2. [PATCH 00/20] phy: qcom-qmp: further prep fixes and cleanups (set 3)
> 
>      https://lore.kernel.org/lkml/20221012084846.24003-1-johan+linaro@kernel.org
> 
> Johan
> 
> 
> Johan Hovold (10):
>    phy: qcom-qmp-ufs: move device-id table
>    phy: qcom-qmp-ufs: merge driver data
>    phy: qcom-qmp-ufs: clean up device-tree parsing
>    phy: qcom-qmp-ufs: clean up probe initialisation
>    phy: qcom-qmp-ufs: rename PHY ops structure
>    phy: qcom-qmp-ufs: clean up PHY init
>    dt-bindings: phy: qcom,qmp-ufs: rename current bindings
>    dt-bindings: phy: qcom,qmp-ufs: fix sc8280xp binding
>    phy: qcom-qmp-ufs: restructure PHY creation
>    phy: qcom-qmp-ufs: add support for updated sc8280xp binding
> 
>   ...phy.yaml => qcom,msm8996-qmp-ufs-phy.yaml} |  17 +-
>   .../phy/qcom,sc8280xp-qmp-ufs-phy.yaml        |  83 ++++
>   drivers/phy/qualcomm/phy-qcom-qmp-ufs.c       | 381 +++++++++---------
>   3 files changed, 287 insertions(+), 194 deletions(-)
>   rename Documentation/devicetree/bindings/phy/{qcom,qmp-ufs-phy.yaml => qcom,msm8996-qmp-ufs-phy.yaml} (93%)
>   create mode 100644 Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-ufs-phy.yaml
>
  
Vinod Koul Oct. 28, 2022, 1 p.m. UTC | #2
On 24-10-22, 11:00, Johan Hovold wrote:
> This series fixes the UFS 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