All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] dt-bindings:spi: Fix error for test.
@ 2022-01-28  2:34 Li-hao Kuo
  2022-01-28 12:57 ` Mark Brown
  2022-01-31 14:08 ` Rob Herring
  0 siblings, 2 replies; 3+ messages in thread
From: Li-hao Kuo @ 2022-01-28  2:34 UTC (permalink / raw)
  To: broonie, robh+dt, linux-spi, devicetree, linux-kernel
  Cc: wells.lu, lh.kuo, Li-hao Kuo

Fix error for test remove the include path and modify parameters
---
 Documentation/devicetree/bindings/spi/spi-sunplus-sp7021.yaml | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/Documentation/devicetree/bindings/spi/spi-sunplus-sp7021.yaml b/Documentation/devicetree/bindings/spi/spi-sunplus-sp7021.yaml
index 24382cd..3dd164d 100644
--- a/Documentation/devicetree/bindings/spi/spi-sunplus-sp7021.yaml
+++ b/Documentation/devicetree/bindings/spi/spi-sunplus-sp7021.yaml
@@ -20,8 +20,7 @@ properties:
 
   reg:
     items:
-      - the SPI master registers
-      - the SPI slave registers
+    minItems: 2
 
   reg-names:
     items:
@@ -59,8 +58,6 @@ unevaluatedProperties: false
 
 examples:
   - |
-    #include <dt-bindings/clock/sp-sp7021.h>
-    #include <dt-bindings/reset/sp-sp7021.h>
     #include <dt-bindings/interrupt-controller/irq.h>
     spi@9C002D80 {
         compatible = "sunplus,sp7021-spi";
@@ -73,8 +70,8 @@ examples:
         interrupts = <144 IRQ_TYPE_LEVEL_HIGH>,
                      <146 IRQ_TYPE_LEVEL_HIGH>,
                      <145 IRQ_TYPE_LEVEL_HIGH>;
-        clocks = <&clkc SPI_COMBO_0>;
-        resets = <&rstc RST_SPI_COMBO_0>;
+        clocks = <&clkc 0x32>;
+        resets = <&rstc 0x22>;
         pinctrl-names = "default";
         pinctrl-0 = <&pins_spi0>;
     };
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-31 14:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-28  2:34 [PATCH -next] dt-bindings:spi: Fix error for test Li-hao Kuo
2022-01-28 12:57 ` Mark Brown
2022-01-31 14:08 ` Rob Herring

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.