Message ID | 20220306111125.116455-3-krzysztof.kozlowski@canonical.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | dt-bindings: ufs: add common platform bindings + fixes | expand |
>-----Original Message----- >From: Krzysztof Kozlowski [mailto:krzysztof.kozlowski@canonical.com] >Sent: Sunday, March 6, 2022 4:41 PM >To: Alim Akhtar <alim.akhtar@samsung.com>; Avri Altman ><avri.altman@wdc.com>; Rob Herring <robh+dt@kernel.org>; Krzysztof >Kozlowski <krzysztof.kozlowski@canonical.com>; Andy Gross ><agross@kernel.org>; Bjorn Andersson <bjorn.andersson@linaro.org>; Wei >Xu <xuwei5@hisilicon.com>; Matthias Brugger <matthias.bgg@gmail.com>; >Jan Kotas <jank@cadence.com>; Li Wei <liwei213@huawei.com>; Stanley Chu ><stanley.chu@mediatek.com>; Vignesh Raghavendra <vigneshr@ti.com>; >linux-scsi@vger.kernel.org; devicetree@vger.kernel.org; linux- >kernel@vger.kernel.org; linux-arm-msm@vger.kernel.org; linux-arm- >kernel@lists.infradead.org; linux-samsung-soc@vger.kernel.org; linux- >mediatek@lists.infradead.org >Cc: Rob Herring <robh@kernel.org> >Subject: [PATCH v3 02/12] dt-bindings: ufs: samsung,exynos-ufs: use common >bindings > >Use common UFS bindings in Samsung Exynos UFS to cover generic/common >properties in DTS. > >Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> >Reviewed-by: Rob Herring <robh@kernel.org> >--- Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com> > .../devicetree/bindings/ufs/samsung,exynos-ufs.yaml | 13 ++++--------- > 1 file changed, 4 insertions(+), 9 deletions(-) > >diff --git a/Documentation/devicetree/bindings/ufs/samsung,exynos- >ufs.yaml b/Documentation/devicetree/bindings/ufs/samsung,exynos- >ufs.yaml >index 95ac1c18334d..c949eb617313 100644 >--- a/Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml >+++ b/Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml >@@ -11,12 +11,11 @@ maintainers: > > description: | > Each Samsung UFS host controller instance should have its own node. >- This binding define Samsung specific binding other then what is used >- in the common ufshcd bindings >- [1] Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt > >-properties: >+allOf: >+ - $ref: ufs-common.yaml > >+properties: > compatible: > enum: > - samsung,exynos7-ufs >@@ -47,9 +46,6 @@ properties: > - const: core_clk > - const: sclk_unipro_main > >- interrupts: >- maxItems: 1 >- > phys: > maxItems: 1 > >@@ -67,13 +63,12 @@ properties: > required: > - compatible > - reg >- - interrupts > - phys > - phy-names > - clocks > - clock-names > >-additionalProperties: false >+unevaluatedProperties: false > > examples: > - | >-- >2.32.0
diff --git a/Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml b/Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml index 95ac1c18334d..c949eb617313 100644 --- a/Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml +++ b/Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml @@ -11,12 +11,11 @@ maintainers: description: | Each Samsung UFS host controller instance should have its own node. - This binding define Samsung specific binding other then what is used - in the common ufshcd bindings - [1] Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt -properties: +allOf: + - $ref: ufs-common.yaml +properties: compatible: enum: - samsung,exynos7-ufs @@ -47,9 +46,6 @@ properties: - const: core_clk - const: sclk_unipro_main - interrupts: - maxItems: 1 - phys: maxItems: 1 @@ -67,13 +63,12 @@ properties: required: - compatible - reg - - interrupts - phys - phy-names - clocks - clock-names -additionalProperties: false +unevaluatedProperties: false examples: - |