Documentation/devicetree/bindings/spi/spi-sunplus-sp7021.yaml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-)
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
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.
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
© 2016 - 2026 Red Hat, Inc.