[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220228124345.99474-3-singh.kuldeep87k@gmail.com>
Date: Mon, 28 Feb 2022 18:13:44 +0530
From: Kuldeep Singh <singh.kuldeep87k@...il.com>
To: Mark Brown <broonie@...nel.org>,
linux-arm-kernel@...ts.infradead.org, linux-spi@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: Rob Herring <robh+dt@...nel.org>,
Linus Walleij <linus.walleij@...aro.org>
Subject: [PATCH 2/3] dt-bindings: spi: Update clock-names property for ARM pl022
Below are the possibilities of pl022 clock-names property:
- apb_pclk
- [sspclk, SSPCLK, spiclk], apb_pclk
The current schema refers to second case and does not consider first
one. Hence, resolve the below dtc warnings by updating clock properties:
arch/arm64/boot/dts/lg/lg1313-ref.dt.yaml: spi@...00000: clock-names:0:
'apb_pclk' is not one of ['SSPCLK', 'sspclk']
From schema: Documentation/devicetree/bindings/spi/spi-pl022.yaml
Signed-off-by: Kuldeep Singh <singh.kuldeep87k@...il.com>
---
Documentation/devicetree/bindings/spi/spi-pl022.yaml | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/spi/spi-pl022.yaml b/Documentation/devicetree/bindings/spi/spi-pl022.yaml
index 7d36e15db5b3..5f6926a58b15 100644
--- a/Documentation/devicetree/bindings/spi/spi-pl022.yaml
+++ b/Documentation/devicetree/bindings/spi/spi-pl022.yaml
@@ -38,11 +38,14 @@ properties:
maxItems: 2
clock-names:
- items:
+ oneOf:
- enum:
- - SSPCLK
- - sspclk
- - const: apb_pclk
+ - apb_pclk
+ - items:
+ - enum:
+ - sspclk
+ - SSPCLK
+ - const: apb_pclk
pl022,autosuspend-delay:
description: delay in ms following transfer completion before the
--
2.25.1
Powered by blists - more mailing lists