2022-01-29 08:16:15

by Li-hao Kuo

[permalink] [raw]
Subject: [PATCH -next] dt-bindings:spi: Fix error for test.

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


2022-01-31 11:02:42

by Mark Brown

[permalink] [raw]
Subject: Re: [PATCH -next] dt-bindings:spi: Fix error for test.

On Fri, Jan 28, 2022 at 10:34:50AM +0800, Li-hao Kuo wrote:
> 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(-)

You've not provided a Signed-off-by for this so I can't do anything with
it, please see Documentation/process/submitting-patches.rst for details
on what this is and why it's important.


Attachments:
(No filename) (458.00 B)
signature.asc (499.00 B)
Download all attachments

2022-02-01 20:40:16

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH -next] dt-bindings:spi: Fix error for test.

On Thu, Jan 27, 2022 at 8:34 PM Li-hao Kuo <[email protected]> wrote:
>
> 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

items:
- description: SPI master registers
- description: SPI slave registers