2020-10-03 23:52:37

by Icenowy Zheng

[permalink] [raw]
Subject: [PATCH 0/2] Try to fix DT schema problems for V3-series DTs

This patchset tries to fix DT schema verification errors that exist in
V3-series device trees.

The first patch drops bogus properties that is not needed in PineCube
DT, and the second one adds compatible to the binding.

Icenowy Zheng (2):
ARM: dts: sun8i: s3: drop bogus cells for CSI subnode on PineCube
dt-bindings: sram: sunxi-sram: add V3s compatible string

.../bindings/sram/allwinner,sun4i-a10-system-control.yaml | 3 +++
arch/arm/boot/dts/sun8i-s3-pinecube.dts | 3 ---
2 files changed, 3 insertions(+), 3 deletions(-)

--
2.28.0


2020-10-03 23:55:03

by Icenowy Zheng

[permalink] [raw]
Subject: [PATCH 2/2] dt-bindings: sram: sunxi-sram: add V3s compatible string

Add compatible string for V3s, with H3 one as fallback.

This is used in device tree now, but not standardized in DT binding.

Signed-off-by: Icenowy Zheng <[email protected]>
---
.../bindings/sram/allwinner,sun4i-a10-system-control.yaml | 3 +++
1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/sram/allwinner,sun4i-a10-system-control.yaml b/Documentation/devicetree/bindings/sram/allwinner,sun4i-a10-system-control.yaml
index 6ebcbc153691..b66a07e21d1e 100644
--- a/Documentation/devicetree/bindings/sram/allwinner,sun4i-a10-system-control.yaml
+++ b/Documentation/devicetree/bindings/sram/allwinner,sun4i-a10-system-control.yaml
@@ -33,6 +33,9 @@ properties:
- const: allwinner,sun4i-a10-system-control
- const: allwinner,sun8i-a23-system-control
- const: allwinner,sun8i-h3-system-control
+ - items:
+ - const: allwinner,sun8i-v3s-system-control
+ - const: allwinner,sun8i-h3-system-control
- items:
- const: allwinner,sun8i-r40-system-control
- const: allwinner,sun4i-a10-system-control
--
2.28.0

2020-10-05 08:24:19

by Maxime Ripard

[permalink] [raw]
Subject: Re: [PATCH 0/2] Try to fix DT schema problems for V3-series DTs

On Sun, Oct 04, 2020 at 07:48:42AM +0800, Icenowy Zheng wrote:
> This patchset tries to fix DT schema verification errors that exist in
> V3-series device trees.
>
> The first patch drops bogus properties that is not needed in PineCube
> DT, and the second one adds compatible to the binding.
>
> Icenowy Zheng (2):
> ARM: dts: sun8i: s3: drop bogus cells for CSI subnode on PineCube
> dt-bindings: sram: sunxi-sram: add V3s compatible string

Squashed the first one and applied the second, thanks!
Maxime


Attachments:
(No filename) (525.00 B)
signature.asc (235.00 B)
Download all attachments