* [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
* Re: [PATCH -next] dt-bindings:spi: Fix error for test.
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
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2022-01-28 12:57 UTC (permalink / raw)
To: Li-hao Kuo; +Cc: robh+dt, linux-spi, devicetree, linux-kernel, wells.lu, lh.kuo
[-- Attachment #1: Type: text/plain, Size: 449 bytes --]
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.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH -next] dt-bindings:spi: Fix error for test.
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
1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2022-01-31 14:08 UTC (permalink / raw)
To: Li-hao Kuo
Cc: Mark Brown, linux-spi, devicetree, linux-kernel,
Wells Lu 呂芳騰,
LH.Kuo
On Thu, Jan 27, 2022 at 8:34 PM Li-hao Kuo <lhjeff911@gmail.com> 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
^ permalink raw reply [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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).