[PATCH v3 00/12] dt-bindings: ufs: add common platform bindings + fixes

Krzysztof Kozlowski posted 12 patches 2 years, 8 months ago
.../devicetree/bindings/ufs/cdns,ufshc.txt    |  32 ---
.../devicetree/bindings/ufs/cdns,ufshc.yaml   |  68 +++++
.../bindings/ufs/hisilicon,ufs.yaml           |  90 +++++++
.../devicetree/bindings/ufs/mediatek,ufs.yaml |  67 +++++
.../devicetree/bindings/ufs/qcom,ufs.yaml     | 242 ++++++++++++++++++
.../bindings/ufs/samsung,exynos-ufs.yaml      |  13 +-
.../bindings/ufs/snps,tc-dwc-g210.yaml        |  51 ++++
.../bindings/ufs/tc-dwc-g210-pltfrm.txt       |  26 --
.../devicetree/bindings/ufs/ti,j721e-ufs.yaml |   7 +-
.../devicetree/bindings/ufs/ufs-common.yaml   |  82 ++++++
.../devicetree/bindings/ufs/ufs-hisi.txt      |  42 ---
.../devicetree/bindings/ufs/ufs-mediatek.txt  |  45 ----
.../devicetree/bindings/ufs/ufs-qcom.txt      |  63 -----
.../devicetree/bindings/ufs/ufshcd-pltfrm.txt |  90 -------
MAINTAINERS                                   |   1 +
arch/arm64/boot/dts/hisilicon/hi3660.dtsi     |   4 +-
arch/arm64/boot/dts/hisilicon/hi3670.dtsi     |   4 +-
.../boot/dts/qcom/msm8996-xiaomi-common.dtsi  |   1 -
arch/arm64/boot/dts/qcom/msm8996.dtsi         |   3 +-
arch/arm64/boot/dts/qcom/sm8350.dtsi          |   3 -
20 files changed, 614 insertions(+), 320 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/ufs/cdns,ufshc.txt
create mode 100644 Documentation/devicetree/bindings/ufs/cdns,ufshc.yaml
create mode 100644 Documentation/devicetree/bindings/ufs/hisilicon,ufs.yaml
create mode 100644 Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml
create mode 100644 Documentation/devicetree/bindings/ufs/qcom,ufs.yaml
create mode 100644 Documentation/devicetree/bindings/ufs/snps,tc-dwc-g210.yaml
delete mode 100644 Documentation/devicetree/bindings/ufs/tc-dwc-g210-pltfrm.txt
create mode 100644 Documentation/devicetree/bindings/ufs/ufs-common.yaml
delete mode 100644 Documentation/devicetree/bindings/ufs/ufs-hisi.txt
delete mode 100644 Documentation/devicetree/bindings/ufs/ufs-mediatek.txt
delete mode 100644 Documentation/devicetree/bindings/ufs/ufs-qcom.txt
delete mode 100644 Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt
[PATCH v3 00/12] dt-bindings: ufs: add common platform bindings + fixes
Posted by Krzysztof Kozlowski 2 years, 8 months ago
Hi,

Not tested on hardware, so please kindly test.
Bindings maintainers might need checking - taken from git log.

Changes since v2
================
1. Do not deprecate freq-table-hz, but instead update dtschema to accept
   uint32-matrix. See:
   https://github.com/devicetree-org/dt-schema/pull/69
2. Drop patches and changes related to freq-table-hz -> freq-table conversion.
3. Add tags.
4. Change maintainer of qcom,ufs.

Changes since v1
================
1. Make freq-table as matrix of tuples (Nishanth).
2. New patches: convert all bindings and fix up DTS files.
3. Several minor fixes in UFS bindings.

Dependencies
============
None dependencies. The DTS patches can go independently via respective
maintainers. The dt-bindings patches could go via UFS tree.

Best regards,
Krzysztof

Krzysztof Kozlowski (12):
  dt-bindings: ufs: add common platform bindings
  dt-bindings: ufs: samsung,exynos-ufs: use common bindings
  dt-bindings: ufs: cdns,ufshc: convert to dtschema
  dt-bindings: ufs: drop unused/old ufs-qcom PHY bindings
  dt-bindings: ufs: qcom,ufs: convert to dtschema
  dt-bindings: ufs: hisilicon,ufs: convert to dtschema
  dt-bindings: ufs: mediatek,ufs: convert to dtschema
  dt-bindings: ufs: snps,tc-dwc-g210: convert to dtschema
  arm64: dts: hisilicon: align 'freq-table-hz' with dtschema in UFS
  arm64: dts: qcom: msm8996: drop unsupported UFS
    vddp-ref-clk-max-microamp
  arm64: dts: qcom: msm8996: correct UFS compatible
  arm64: dts: qcom: sm8350: drop duplicated ref_clk in UFS

 .../devicetree/bindings/ufs/cdns,ufshc.txt    |  32 ---
 .../devicetree/bindings/ufs/cdns,ufshc.yaml   |  68 +++++
 .../bindings/ufs/hisilicon,ufs.yaml           |  90 +++++++
 .../devicetree/bindings/ufs/mediatek,ufs.yaml |  67 +++++
 .../devicetree/bindings/ufs/qcom,ufs.yaml     | 242 ++++++++++++++++++
 .../bindings/ufs/samsung,exynos-ufs.yaml      |  13 +-
 .../bindings/ufs/snps,tc-dwc-g210.yaml        |  51 ++++
 .../bindings/ufs/tc-dwc-g210-pltfrm.txt       |  26 --
 .../devicetree/bindings/ufs/ti,j721e-ufs.yaml |   7 +-
 .../devicetree/bindings/ufs/ufs-common.yaml   |  82 ++++++
 .../devicetree/bindings/ufs/ufs-hisi.txt      |  42 ---
 .../devicetree/bindings/ufs/ufs-mediatek.txt  |  45 ----
 .../devicetree/bindings/ufs/ufs-qcom.txt      |  63 -----
 .../devicetree/bindings/ufs/ufshcd-pltfrm.txt |  90 -------
 MAINTAINERS                                   |   1 +
 arch/arm64/boot/dts/hisilicon/hi3660.dtsi     |   4 +-
 arch/arm64/boot/dts/hisilicon/hi3670.dtsi     |   4 +-
 .../boot/dts/qcom/msm8996-xiaomi-common.dtsi  |   1 -
 arch/arm64/boot/dts/qcom/msm8996.dtsi         |   3 +-
 arch/arm64/boot/dts/qcom/sm8350.dtsi          |   3 -
 20 files changed, 614 insertions(+), 320 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/ufs/cdns,ufshc.txt
 create mode 100644 Documentation/devicetree/bindings/ufs/cdns,ufshc.yaml
 create mode 100644 Documentation/devicetree/bindings/ufs/hisilicon,ufs.yaml
 create mode 100644 Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml
 create mode 100644 Documentation/devicetree/bindings/ufs/qcom,ufs.yaml
 create mode 100644 Documentation/devicetree/bindings/ufs/snps,tc-dwc-g210.yaml
 delete mode 100644 Documentation/devicetree/bindings/ufs/tc-dwc-g210-pltfrm.txt
 create mode 100644 Documentation/devicetree/bindings/ufs/ufs-common.yaml
 delete mode 100644 Documentation/devicetree/bindings/ufs/ufs-hisi.txt
 delete mode 100644 Documentation/devicetree/bindings/ufs/ufs-mediatek.txt
 delete mode 100644 Documentation/devicetree/bindings/ufs/ufs-qcom.txt
 delete mode 100644 Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt

-- 
2.32.0
Re: [PATCH v3 00/12] dt-bindings: ufs: add common platform bindings + fixes
Posted by Rob Herring 2 years, 8 months ago
On Sun, Mar 06, 2022 at 12:11:13PM +0100, Krzysztof Kozlowski wrote:
> Hi,
> 
> Not tested on hardware, so please kindly test.
> Bindings maintainers might need checking - taken from git log.
> 
> Changes since v2
> ================
> 1. Do not deprecate freq-table-hz, but instead update dtschema to accept
>    uint32-matrix. See:
>    https://github.com/devicetree-org/dt-schema/pull/69
> 2. Drop patches and changes related to freq-table-hz -> freq-table conversion.
> 3. Add tags.
> 4. Change maintainer of qcom,ufs.
> 
> Changes since v1
> ================
> 1. Make freq-table as matrix of tuples (Nishanth).
> 2. New patches: convert all bindings and fix up DTS files.
> 3. Several minor fixes in UFS bindings.
> 
> Dependencies
> ============
> None dependencies. The DTS patches can go independently via respective
> maintainers. The dt-bindings patches could go via UFS tree.
> 
> Best regards,
> Krzysztof
> 
> Krzysztof Kozlowski (12):
>   dt-bindings: ufs: add common platform bindings
>   dt-bindings: ufs: samsung,exynos-ufs: use common bindings
>   dt-bindings: ufs: cdns,ufshc: convert to dtschema
>   dt-bindings: ufs: drop unused/old ufs-qcom PHY bindings
>   dt-bindings: ufs: qcom,ufs: convert to dtschema
>   dt-bindings: ufs: hisilicon,ufs: convert to dtschema
>   dt-bindings: ufs: mediatek,ufs: convert to dtschema
>   dt-bindings: ufs: snps,tc-dwc-g210: convert to dtschema

Patches 1-8 applied.

Rob

>   arm64: dts: hisilicon: align 'freq-table-hz' with dtschema in UFS
>   arm64: dts: qcom: msm8996: drop unsupported UFS
>     vddp-ref-clk-max-microamp
>   arm64: dts: qcom: msm8996: correct UFS compatible
>   arm64: dts: qcom: sm8350: drop duplicated ref_clk in UFS
> 
>  .../devicetree/bindings/ufs/cdns,ufshc.txt    |  32 ---
>  .../devicetree/bindings/ufs/cdns,ufshc.yaml   |  68 +++++
>  .../bindings/ufs/hisilicon,ufs.yaml           |  90 +++++++
>  .../devicetree/bindings/ufs/mediatek,ufs.yaml |  67 +++++
>  .../devicetree/bindings/ufs/qcom,ufs.yaml     | 242 ++++++++++++++++++
>  .../bindings/ufs/samsung,exynos-ufs.yaml      |  13 +-
>  .../bindings/ufs/snps,tc-dwc-g210.yaml        |  51 ++++
>  .../bindings/ufs/tc-dwc-g210-pltfrm.txt       |  26 --
>  .../devicetree/bindings/ufs/ti,j721e-ufs.yaml |   7 +-
>  .../devicetree/bindings/ufs/ufs-common.yaml   |  82 ++++++
>  .../devicetree/bindings/ufs/ufs-hisi.txt      |  42 ---
>  .../devicetree/bindings/ufs/ufs-mediatek.txt  |  45 ----
>  .../devicetree/bindings/ufs/ufs-qcom.txt      |  63 -----
>  .../devicetree/bindings/ufs/ufshcd-pltfrm.txt |  90 -------
>  MAINTAINERS                                   |   1 +
>  arch/arm64/boot/dts/hisilicon/hi3660.dtsi     |   4 +-
>  arch/arm64/boot/dts/hisilicon/hi3670.dtsi     |   4 +-
>  .../boot/dts/qcom/msm8996-xiaomi-common.dtsi  |   1 -
>  arch/arm64/boot/dts/qcom/msm8996.dtsi         |   3 +-
>  arch/arm64/boot/dts/qcom/sm8350.dtsi          |   3 -
>  20 files changed, 614 insertions(+), 320 deletions(-)
>  delete mode 100644 Documentation/devicetree/bindings/ufs/cdns,ufshc.txt
>  create mode 100644 Documentation/devicetree/bindings/ufs/cdns,ufshc.yaml
>  create mode 100644 Documentation/devicetree/bindings/ufs/hisilicon,ufs.yaml
>  create mode 100644 Documentation/devicetree/bindings/ufs/mediatek,ufs.yaml
>  create mode 100644 Documentation/devicetree/bindings/ufs/qcom,ufs.yaml
>  create mode 100644 Documentation/devicetree/bindings/ufs/snps,tc-dwc-g210.yaml
>  delete mode 100644 Documentation/devicetree/bindings/ufs/tc-dwc-g210-pltfrm.txt
>  create mode 100644 Documentation/devicetree/bindings/ufs/ufs-common.yaml
>  delete mode 100644 Documentation/devicetree/bindings/ufs/ufs-hisi.txt
>  delete mode 100644 Documentation/devicetree/bindings/ufs/ufs-mediatek.txt
>  delete mode 100644 Documentation/devicetree/bindings/ufs/ufs-qcom.txt
>  delete mode 100644 Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt
> 
> -- 
> 2.32.0
> 
>