* [PATCH 1/1] bindings: siox: convert eckelmann,siox-gpio.txt to yaml format
@ 2025-09-04 19:53 Frank Li
2025-09-05 15:02 ` Rob Herring (Arm)
0 siblings, 1 reply; 2+ messages in thread
From: Frank Li @ 2025-09-04 19:53 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list
Cc: imx
Convert eckelmann,siox-gpio.txt to yaml format.
Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
.../bindings/siox/eckelmann,siox-gpio.txt | 19 --------
.../bindings/siox/eckelmann,siox-gpio.yaml | 46 +++++++++++++++++++
2 files changed, 46 insertions(+), 19 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/siox/eckelmann,siox-gpio.txt
create mode 100644 Documentation/devicetree/bindings/siox/eckelmann,siox-gpio.yaml
diff --git a/Documentation/devicetree/bindings/siox/eckelmann,siox-gpio.txt b/Documentation/devicetree/bindings/siox/eckelmann,siox-gpio.txt
deleted file mode 100644
index 55259cf39c251..0000000000000
--- a/Documentation/devicetree/bindings/siox/eckelmann,siox-gpio.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Eckelmann SIOX GPIO bus
-
-Required properties:
-- compatible : "eckelmann,siox-gpio"
-- din-gpios, dout-gpios, dclk-gpios, dld-gpios: references gpios for the
- corresponding bus signals.
-
-Examples:
-
- siox {
- compatible = "eckelmann,siox-gpio";
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_siox>;
-
- din-gpios = <&gpio6 11 0>;
- dout-gpios = <&gpio6 8 0>;
- dclk-gpios = <&gpio6 9 0>;
- dld-gpios = <&gpio6 10 0>;
- };
diff --git a/Documentation/devicetree/bindings/siox/eckelmann,siox-gpio.yaml b/Documentation/devicetree/bindings/siox/eckelmann,siox-gpio.yaml
new file mode 100644
index 0000000000000..c4ecd071a08dc
--- /dev/null
+++ b/Documentation/devicetree/bindings/siox/eckelmann,siox-gpio.yaml
@@ -0,0 +1,46 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/siox/eckelmann,siox-gpio.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Eckelmann SIOX GPIO bus
+
+maintainers:
+ - Frank Li <Frank.Li@nxp.com>
+
+properties:
+ compatible:
+ const: eckelmann,siox-gpio
+
+ din-gpios:
+ maxItems: 1
+
+ dout-gpios:
+ maxItems: 1
+
+ dclk-gpios:
+ maxItems: 1
+
+ dld-gpios:
+ maxItems: 1
+
+required:
+ - compatible
+ - din-gpios
+ - dout-gpios
+ - dclk-gpios
+ - dld-gpios
+
+examples:
+ - |
+ siox {
+ compatible = "eckelmann,siox-gpio";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_siox>;
+
+ din-gpios = <&gpio6 11 0>;
+ dout-gpios = <&gpio6 8 0>;
+ dclk-gpios = <&gpio6 9 0>;
+ dld-gpios = <&gpio6 10 0>;
+ };
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/1] bindings: siox: convert eckelmann,siox-gpio.txt to yaml format
2025-09-04 19:53 [PATCH 1/1] bindings: siox: convert eckelmann,siox-gpio.txt to yaml format Frank Li
@ 2025-09-05 15:02 ` Rob Herring (Arm)
0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring (Arm) @ 2025-09-05 15:02 UTC (permalink / raw)
To: Frank Li; +Cc: Krzysztof Kozlowski, devicetree, imx, Conor Dooley, linux-kernel
On Thu, 04 Sep 2025 15:53:35 -0400, Frank Li wrote:
> Convert eckelmann,siox-gpio.txt to yaml format.
>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
> .../bindings/siox/eckelmann,siox-gpio.txt | 19 --------
> .../bindings/siox/eckelmann,siox-gpio.yaml | 46 +++++++++++++++++++
> 2 files changed, 46 insertions(+), 19 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/siox/eckelmann,siox-gpio.txt
> create mode 100644 Documentation/devicetree/bindings/siox/eckelmann,siox-gpio.yaml
>
My bot found errors running 'make dt_binding_check' on your patch:
yamllint warnings/errors:
dtschema/dtc warnings/errors:
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/siox/eckelmann,siox-gpio.yaml: 'oneOf' conditional failed, one must be fixed:
'unevaluatedProperties' is a required property
'additionalProperties' is a required property
hint: Either unevaluatedProperties or additionalProperties must be present
from schema $id: http://devicetree.org/meta-schemas/core.yaml#
doc reference errors (make refcheckdocs):
See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20250904195338.530618-1-Frank.Li@nxp.com
The base for the series is generally the latest rc1. A different dependency
should be noted in *this* patch.
If you already ran 'make dt_binding_check' and didn't see the above
error(s), then make sure 'yamllint' is installed and dt-schema is up to
date:
pip3 install dtschema --upgrade
Please check and re-submit after running the above command yourself. Note
that DT_SCHEMA_FILES can be set to your schema file to speed up checking
your schema. However, it must be unset to test all examples with your schema.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-09-05 15:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-04 19:53 [PATCH 1/1] bindings: siox: convert eckelmann,siox-gpio.txt to yaml format Frank Li
2025-09-05 15:02 ` Rob Herring (Arm)
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).