Re: [PATCH 1/3] dt-bindings: gpio: Conver Unisoc GPIO controller binding to yaml
From: Krzysztof Kozlowski <hidden>
Date: 2022-09-28 11:31:35
Also in:
linux-gpio, lkml
From: Krzysztof Kozlowski <hidden>
Date: 2022-09-28 11:31:35
Also in:
linux-gpio, lkml
On 28/09/2022 11:29, Chunyan Zhang wrote:
From: Chunyan Zhang <redacted> Convert the Unisoc gpio controller binding to DT schema format.
Thank you for your patch. There is something to discuss/improve.
diff --git a/Documentation/devicetree/bindings/gpio/sprd,gpio.yaml b/Documentation/devicetree/bindings/gpio/sprd,gpio.yaml new file mode 100644 index 000000000000..c0cd1ed9809b --- /dev/null +++ b/Documentation/devicetree/bindings/gpio/sprd,gpio.yaml@@ -0,0 +1,70 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright 2022 Unisoc Inc. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpio/sprd,gpio.yaml#
Use compatible as filename, so sprd,sc9860-gpio.yaml
+$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Unisoc GPIO controller +
Best regards, Krzysztof