* [PATCH v2 0/5] dt-bindings: mfd: convert zii,rave-sp.txt and child txt to yaml format
@ 2024-10-10 15:42 Frank Li
2024-10-10 15:42 ` [PATCH v2 1/5] dt-bindings: input: convert zii,rave-sp-pwrbutton.txt to yaml Frank Li
` (6 more replies)
0 siblings, 7 replies; 20+ messages in thread
From: Frank Li @ 2024-10-10 15:42 UTC (permalink / raw)
To: Dmitry Torokhov, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Lee Jones, Daniel Thompson, Jingoo Han, Pavel Machek,
Srinivas Kandagatla, Wim Van Sebroeck, Guenter Roeck
Cc: linux-input, devicetree, linux-kernel, dri-devel, linux-leds,
linux-watchdog, Frank Li
Fixed below warnings:
arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-rmb3.dtb: /soc@0/bus@30800000/serial@30890000/mcu: failed to match any schema with compatible: ['zii,rave-sp-rdu2']
arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-rmb3.dtb: /soc@0/bus@30800000/serial@30890000/mcu/watchdog: failed to match any schema with compatible: ['zii,rave-sp-watchdog']
arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-rmb3.dtb: /soc@0/bus@30800000/serial@30890000/mcu/backlight: failed to match any schema with compatible: ['zii,rave-sp-backlight']
arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-rmb3.dtb: /soc@0/bus@30800000/serial@30890000/mcu/pwrbutton: failed to match any schema with compatible: ['zii,rave-sp-pwrbutton']
arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-rmb3.dtb: /soc@0/bus@30800000/serial@30890000/mcu/eeprom@a3: failed to match any schema with compatible: ['zii,rave-sp-eeprom']
arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-rmb3.dtb: /soc@0/bus@30800000/serial@30890000/mcu/eeprom@a4: failed to match any schema with compatible: ['zii,rave-sp-eeprom']
arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-zest.dtb: /soc@0/bus@30800000/serial@30890000/mcu: failed to match any schema with compatible: ['zii,rave-sp-rdu2']
arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-zest.dtb: /soc@0/bus@30800000/serial@30890000/mcu/watchdog: failed to match any schema with compatible: ['zii,rave-sp-watchdog']
arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-zest.dtb: /soc@0/bus@30800000/serial@30890000/mcu/backlight: failed to match any schema with compatible: ['zii,rave-sp-backlight']
arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-zest.dtb: /soc@0/bus@30800000/serial@30890000/mcu/pwrbutton: failed to match any schema with compatible: ['zii,rave-sp-pwrbutton']
arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-zest.dtb: /soc@0/bus@30800000/serial@30890000/mcu/eeprom@a3: failed to match any schema with compatible: ['zii,rave-sp-eeprom']
arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-zest.dtb: /soc@0/bus@30800000/serial@30890000/mcu/eeprom@a4: failed to match any schema with compatible: ['zii,rave-sp-eeprom']
Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
Changes in v2:
- change all maintainer to frank li.
- Link to v1: https://lore.kernel.org/r/20241008-zii_yaml-v1-0-d06ba7e26225@nxp.com
---
Frank Li (5):
dt-bindings: input: convert zii,rave-sp-pwrbutton.txt to yaml
dt-bindings: backlight: convert zii,rave-sp-backlight.txt to yaml
dt-bindings: nvmem: convert zii,rave-sp-eeprom.txt to yaml format
dt-bindings: watchdog: convert zii,rave-sp-wdt.txt to yaml format
dt-bindings: mfd: convert zii,rave-sp.txt to yaml format
.../bindings/input/zii,rave-sp-pwrbutton.txt | 22 --------
.../bindings/input/zii,rave-sp-pwrbutton.yaml | 36 +++++++++++++
.../leds/backlight/zii,rave-sp-backlight.txt | 23 --------
.../leds/backlight/zii,rave-sp-backlight.yaml | 36 +++++++++++++
.../devicetree/bindings/mfd/zii,rave-sp.txt | 39 --------------
.../devicetree/bindings/mfd/zii,rave-sp.yaml | 63 ++++++++++++++++++++++
.../bindings/nvmem/zii,rave-sp-eeprom.txt | 40 --------------
.../bindings/nvmem/zii,rave-sp-eeprom.yaml | 54 +++++++++++++++++++
.../bindings/watchdog/zii,rave-sp-wdt.txt | 39 --------------
.../bindings/watchdog/zii,rave-sp-wdt.yaml | 47 ++++++++++++++++
10 files changed, 236 insertions(+), 163 deletions(-)
---
base-commit: 2c1dd8a45abe738d15a9ebe015a17eeac9a3b13f
change-id: 20241008-zii_yaml-7b4802029873
Best regards,
---
Frank Li <Frank.Li@nxp.com>
^ permalink raw reply [flat|nested] 20+ messages in thread
* [PATCH v2 1/5] dt-bindings: input: convert zii,rave-sp-pwrbutton.txt to yaml
2024-10-10 15:42 [PATCH v2 0/5] dt-bindings: mfd: convert zii,rave-sp.txt and child txt to yaml format Frank Li
@ 2024-10-10 15:42 ` Frank Li
2024-10-10 17:50 ` Rob Herring (Arm)
2024-10-10 18:24 ` Rob Herring (Arm)
2024-10-10 15:42 ` [PATCH v2 2/5] dt-bindings: backlight: convert zii,rave-sp-backlight.txt " Frank Li
` (5 subsequent siblings)
6 siblings, 2 replies; 20+ messages in thread
From: Frank Li @ 2024-10-10 15:42 UTC (permalink / raw)
To: Dmitry Torokhov, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Lee Jones, Daniel Thompson, Jingoo Han, Pavel Machek,
Srinivas Kandagatla, Wim Van Sebroeck, Guenter Roeck
Cc: linux-input, devicetree, linux-kernel, dri-devel, linux-leds,
linux-watchdog, Frank Li
Convert device tree binding doc zii,rave-sp-pwrbutton.txt to yaml format.
Additional changes:
- add ref to input.yaml.
- remove mfd node in example.
Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
.../bindings/input/zii,rave-sp-pwrbutton.txt | 22 -------------
.../bindings/input/zii,rave-sp-pwrbutton.yaml | 36 ++++++++++++++++++++++
2 files changed, 36 insertions(+), 22 deletions(-)
diff --git a/Documentation/devicetree/bindings/input/zii,rave-sp-pwrbutton.txt b/Documentation/devicetree/bindings/input/zii,rave-sp-pwrbutton.txt
deleted file mode 100644
index 43ef770dfeb91..0000000000000
--- a/Documentation/devicetree/bindings/input/zii,rave-sp-pwrbutton.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-Zodiac Inflight Innovations RAVE Supervisory Processor Power Button Bindings
-
-RAVE SP input device is a "MFD cell" device corresponding to power
-button functionality of RAVE Supervisory Processor. It is expected
-that its Device Tree node is specified as a child of the node
-corresponding to the parent RAVE SP device (as documented in
-Documentation/devicetree/bindings/mfd/zii,rave-sp.txt)
-
-Required properties:
-
-- compatible: Should be "zii,rave-sp-pwrbutton"
-
-Example:
-
- rave-sp {
- compatible = "zii,rave-sp-rdu1";
- current-speed = <38400>;
-
- pwrbutton {
- compatible = "zii,rave-sp-pwrbutton";
- };
- }
diff --git a/Documentation/devicetree/bindings/input/zii,rave-sp-pwrbutton.yaml b/Documentation/devicetree/bindings/input/zii,rave-sp-pwrbutton.yaml
new file mode 100644
index 0000000000000..b26e6fe174f22
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/zii,rave-sp-pwrbutton.yaml
@@ -0,0 +1,36 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/input/zii,rave-sp-pwrbutton.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Zodiac Inflight Innovations RAVE Supervisory Processor Power Button
+
+maintainers:
+ - Frank Li <Frank.li@nxp.com>
+
+description:
+ RAVE SP input device is a "MFD cell" device corresponding to power
+ button functionality of RAVE Supervisory Processor. It is expected
+ that its Device Tree node is specified as a child of the node
+ corresponding to the parent RAVE SP device (as documented in
+ Documentation/devicetree/bindings/mfd/zii,rave-sp.yaml)
+
+properties:
+ compatible:
+ const: zii,rave-sp-pwrbutton
+
+required:
+ - compatible
+
+allOf:
+ - $ref: input.yaml
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ pwrbutton {
+ compatible = "zii,rave-sp-pwrbutton";
+ };
+
--
2.34.1
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH v2 2/5] dt-bindings: backlight: convert zii,rave-sp-backlight.txt to yaml
2024-10-10 15:42 [PATCH v2 0/5] dt-bindings: mfd: convert zii,rave-sp.txt and child txt to yaml format Frank Li
2024-10-10 15:42 ` [PATCH v2 1/5] dt-bindings: input: convert zii,rave-sp-pwrbutton.txt to yaml Frank Li
@ 2024-10-10 15:42 ` Frank Li
2024-10-11 3:11 ` Rob Herring (Arm)
` (3 more replies)
2024-10-10 15:42 ` [PATCH v2 3/5] dt-bindings: nvmem: convert zii,rave-sp-eeprom.txt to yaml format Frank Li
` (4 subsequent siblings)
6 siblings, 4 replies; 20+ messages in thread
From: Frank Li @ 2024-10-10 15:42 UTC (permalink / raw)
To: Dmitry Torokhov, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Lee Jones, Daniel Thompson, Jingoo Han, Pavel Machek,
Srinivas Kandagatla, Wim Van Sebroeck, Guenter Roeck
Cc: linux-input, devicetree, linux-kernel, dri-devel, linux-leds,
linux-watchdog, Frank Li
Convert device tree binding doc zii,rave-sp-backlight.txt to yaml format.
Additional Changes:
- Remove mfd parent node at example.
- Ref to backlight's common.yaml
Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
.../leds/backlight/zii,rave-sp-backlight.txt | 23 --------------
.../leds/backlight/zii,rave-sp-backlight.yaml | 36 ++++++++++++++++++++++
2 files changed, 36 insertions(+), 23 deletions(-)
diff --git a/Documentation/devicetree/bindings/leds/backlight/zii,rave-sp-backlight.txt b/Documentation/devicetree/bindings/leds/backlight/zii,rave-sp-backlight.txt
deleted file mode 100644
index ff5c921386502..0000000000000
--- a/Documentation/devicetree/bindings/leds/backlight/zii,rave-sp-backlight.txt
+++ /dev/null
@@ -1,23 +0,0 @@
-Zodiac Inflight Innovations RAVE Supervisory Processor Backlight Bindings
-
-RAVE SP backlight device is a "MFD cell" device corresponding to
-backlight functionality of RAVE Supervisory Processor. It is expected
-that its Device Tree node is specified as a child of the node
-corresponding to the parent RAVE SP device (as documented in
-Documentation/devicetree/bindings/mfd/zii,rave-sp.txt)
-
-Required properties:
-
-- compatible: Should be "zii,rave-sp-backlight"
-
-Example:
-
- rave-sp {
- compatible = "zii,rave-sp-rdu1";
- current-speed = <38400>;
-
- backlight {
- compatible = "zii,rave-sp-backlight";
- };
- }
-
diff --git a/Documentation/devicetree/bindings/leds/backlight/zii,rave-sp-backlight.yaml b/Documentation/devicetree/bindings/leds/backlight/zii,rave-sp-backlight.yaml
new file mode 100644
index 0000000000000..ee93a3e64852a
--- /dev/null
+++ b/Documentation/devicetree/bindings/leds/backlight/zii,rave-sp-backlight.yaml
@@ -0,0 +1,36 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/leds/backlight/zii,rave-sp-backlight.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Zodiac Inflight Innovations RAVE Supervisory Processor Backlight
+
+maintainers:
+ - Frank Li <Frank.Li@nxp.com>
+
+description:
+ RAVE SP backlight device is a "MFD cell" device corresponding to
+ backlight functionality of RAVE Supervisory Processor. It is expected
+ that its Device Tree node is specified as a child of the node
+ corresponding to the parent RAVE SP device (as documented in
+ Documentation/devicetree/bindings/mfd/zii,rave-sp.yaml)
+
+properties:
+ compatible:
+ const: zii,rave-sp-backlight
+
+required:
+ - compatible
+
+allOf:
+ - $ref: common.yaml
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ backlight {
+ compatible = "zii,rave-sp-backlight";
+ };
+
--
2.34.1
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH v2 3/5] dt-bindings: nvmem: convert zii,rave-sp-eeprom.txt to yaml format
2024-10-10 15:42 [PATCH v2 0/5] dt-bindings: mfd: convert zii,rave-sp.txt and child txt to yaml format Frank Li
2024-10-10 15:42 ` [PATCH v2 1/5] dt-bindings: input: convert zii,rave-sp-pwrbutton.txt to yaml Frank Li
2024-10-10 15:42 ` [PATCH v2 2/5] dt-bindings: backlight: convert zii,rave-sp-backlight.txt " Frank Li
@ 2024-10-10 15:42 ` Frank Li
2024-10-10 17:50 ` Rob Herring (Arm)
2024-10-10 18:25 ` Rob Herring (Arm)
2024-10-10 15:42 ` [PATCH v2 4/5] dt-bindings: watchdog: convert zii,rave-sp-wdt.txt " Frank Li
` (3 subsequent siblings)
6 siblings, 2 replies; 20+ messages in thread
From: Frank Li @ 2024-10-10 15:42 UTC (permalink / raw)
To: Dmitry Torokhov, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Lee Jones, Daniel Thompson, Jingoo Han, Pavel Machek,
Srinivas Kandagatla, Wim Van Sebroeck, Guenter Roeck
Cc: linux-input, devicetree, linux-kernel, dri-devel, linux-leds,
linux-watchdog, Frank Li
Convert device tree binding doc zii,rave-sp-eeprom.txt to yaml format.
Additional changes:
- Add ref to nvme.yaml.
- Add reg property.
- Remove mfd at example.
Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
.../bindings/nvmem/zii,rave-sp-eeprom.txt | 40 ----------------
.../bindings/nvmem/zii,rave-sp-eeprom.yaml | 54 ++++++++++++++++++++++
2 files changed, 54 insertions(+), 40 deletions(-)
diff --git a/Documentation/devicetree/bindings/nvmem/zii,rave-sp-eeprom.txt b/Documentation/devicetree/bindings/nvmem/zii,rave-sp-eeprom.txt
deleted file mode 100644
index 0df79d9e07ec2..0000000000000
--- a/Documentation/devicetree/bindings/nvmem/zii,rave-sp-eeprom.txt
+++ /dev/null
@@ -1,40 +0,0 @@
-Zodiac Inflight Innovations RAVE EEPROM Bindings
-
-RAVE SP EEPROM device is a "MFD cell" device exposing physical EEPROM
-attached to RAVE Supervisory Processor. It is expected that its Device
-Tree node is specified as a child of the node corresponding to the
-parent RAVE SP device (as documented in
-Documentation/devicetree/bindings/mfd/zii,rave-sp.txt)
-
-Required properties:
-
-- compatible: Should be "zii,rave-sp-eeprom"
-
-Optional properties:
-
-- zii,eeprom-name: Unique EEPROM identifier describing its function in the
- system. Will be used as created NVMEM deivce's name.
-
-Data cells:
-
-Data cells are child nodes of eerpom node, bindings for which are
-documented in Documentation/devicetree/bindings/nvmem/nvmem.txt
-
-Example:
-
- rave-sp {
- compatible = "zii,rave-sp-rdu1";
- current-speed = <38400>;
-
- eeprom@a4 {
- compatible = "zii,rave-sp-eeprom";
- reg = <0xa4 0x4000>;
- #address-cells = <1>;
- #size-cells = <1>;
- zii,eeprom-name = "main-eeprom";
-
- wdt_timeout: wdt-timeout@81 {
- reg = <0x81 2>;
- };
- };
- }
diff --git a/Documentation/devicetree/bindings/nvmem/zii,rave-sp-eeprom.yaml b/Documentation/devicetree/bindings/nvmem/zii,rave-sp-eeprom.yaml
new file mode 100644
index 0000000000000..d073c51c2b9a9
--- /dev/null
+++ b/Documentation/devicetree/bindings/nvmem/zii,rave-sp-eeprom.yaml
@@ -0,0 +1,54 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/nvmem/zii,rave-sp-eeprom.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Zodiac Inflight Innovations RAVE EEPROM
+
+maintainers:
+ - Frank Li <Frank.Li@nxp.com>
+
+description:
+ RAVE SP EEPROM device is a "MFD cell" device exposing physical EEPROM
+ attached to RAVE Supervisory Processor. It is expected that its Device
+ Tree node is specified as a child of the node corresponding to the
+ parent RAVE SP device (as documented in
+ Documentation/devicetree/bindings/mfd/zii,rave-sp.yaml)
+
+properties:
+ compatible:
+ const: zii,rave-sp-eeprom
+
+ reg:
+ maxItems: 1
+
+ zii,eeprom-name:
+ $ref: /schemas/types.yaml#/definitions/string
+ description:
+ Unique EEPROM identifier describing its function in the
+ system. Will be used as created NVMEM deivce's name.
+
+required:
+ - compatible
+
+allOf:
+ - $ref: nvmem.yaml#
+ - $ref: nvmem-deprecated-cells.yaml#
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ eeprom@a4 {
+ compatible = "zii,rave-sp-eeprom";
+ reg = <0xa4 0x4000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ zii,eeprom-name = "main-eeprom";
+
+ wdt-timeout@81 {
+ reg = <0x81 2>;
+ };
+ };
+
--
2.34.1
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH v2 4/5] dt-bindings: watchdog: convert zii,rave-sp-wdt.txt to yaml format
2024-10-10 15:42 [PATCH v2 0/5] dt-bindings: mfd: convert zii,rave-sp.txt and child txt to yaml format Frank Li
` (2 preceding siblings ...)
2024-10-10 15:42 ` [PATCH v2 3/5] dt-bindings: nvmem: convert zii,rave-sp-eeprom.txt to yaml format Frank Li
@ 2024-10-10 15:42 ` Frank Li
2024-10-10 17:50 ` Rob Herring (Arm)
2024-10-10 18:26 ` Rob Herring (Arm)
2024-10-10 15:42 ` [PATCH v2 5/5] dt-bindings: mfd: convert zii,rave-sp.txt " Frank Li
` (2 subsequent siblings)
6 siblings, 2 replies; 20+ messages in thread
From: Frank Li @ 2024-10-10 15:42 UTC (permalink / raw)
To: Dmitry Torokhov, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Lee Jones, Daniel Thompson, Jingoo Han, Pavel Machek,
Srinivas Kandagatla, Wim Van Sebroeck, Guenter Roeck
Cc: linux-input, devicetree, linux-kernel, dri-devel, linux-leds,
linux-watchdog, Frank Li
Convert device binding doc zii,rave-sp-wdt.txt to yaml format.
Additional changes:
- Ref to watchdog.yaml.
- Remove mfd node in example.
- Remove eeprom part in example.
Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
.../bindings/watchdog/zii,rave-sp-wdt.txt | 39 ------------------
.../bindings/watchdog/zii,rave-sp-wdt.yaml | 47 ++++++++++++++++++++++
2 files changed, 47 insertions(+), 39 deletions(-)
diff --git a/Documentation/devicetree/bindings/watchdog/zii,rave-sp-wdt.txt b/Documentation/devicetree/bindings/watchdog/zii,rave-sp-wdt.txt
deleted file mode 100644
index 3de96186e92e6..0000000000000
--- a/Documentation/devicetree/bindings/watchdog/zii,rave-sp-wdt.txt
+++ /dev/null
@@ -1,39 +0,0 @@
-Zodiac Inflight Innovations RAVE Supervisory Processor Watchdog Bindings
-
-RAVE SP watchdog device is a "MFD cell" device corresponding to
-watchdog functionality of RAVE Supervisory Processor. It is expected
-that its Device Tree node is specified as a child of the node
-corresponding to the parent RAVE SP device (as documented in
-Documentation/devicetree/bindings/mfd/zii,rave-sp.txt)
-
-Required properties:
-
-- compatible: Depending on wire protocol implemented by RAVE SP
- firmware, should be one of:
- - "zii,rave-sp-watchdog"
- - "zii,rave-sp-watchdog-legacy"
-
-Optional properties:
-
-- wdt-timeout: Two byte nvmem cell specified as per
- Documentation/devicetree/bindings/nvmem/nvmem.txt
-
-Example:
-
- rave-sp {
- compatible = "zii,rave-sp-rdu1";
- current-speed = <38400>;
-
- eeprom {
- wdt_timeout: wdt-timeout@8E {
- reg = <0x8E 2>;
- };
- };
-
- watchdog {
- compatible = "zii,rave-sp-watchdog";
- nvmem-cells = <&wdt_timeout>;
- nvmem-cell-names = "wdt-timeout";
- };
- }
-
diff --git a/Documentation/devicetree/bindings/watchdog/zii,rave-sp-wdt.yaml b/Documentation/devicetree/bindings/watchdog/zii,rave-sp-wdt.yaml
new file mode 100644
index 0000000000000..de0d56725dd40
--- /dev/null
+++ b/Documentation/devicetree/bindings/watchdog/zii,rave-sp-wdt.yaml
@@ -0,0 +1,47 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/watchdog/zii,rave-sp-wdt.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Zodiac Inflight Innovations RAVE Supervisory Processor Watchdog
+
+maintainers:
+ - Frank Li <Frank.Li@nxp.com>
+
+description:
+ RAVE SP watchdog device is a "MFD cell" device corresponding to
+ watchdog functionality of RAVE Supervisory Processor. It is expected
+ that its Device Tree node is specified as a child of the node
+ corresponding to the parent RAVE SP device (as documented in
+ Documentation/devicetree/bindings/mfd/zii,rave-sp.yaml)
+
+properties:
+ compatible:
+ enum:
+ - zii,rave-sp-watchdog
+ - zii,rave-sp-watchdog-legacy
+
+ nvmem-cell-names:
+ items:
+ - const: wdt_timeout
+
+ nvmem-cells:
+ maxItems: 1
+
+required:
+ - compatible
+
+allOf:
+ - $ref: watchdog.yaml#
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ watchdog {
+ compatible = "zii,rave-sp-watchdog";
+ nvmem-cells = <&wdt_timeout>;
+ nvmem-cell-names = "wdt_timeout";
+ };
+
--
2.34.1
^ permalink raw reply related [flat|nested] 20+ messages in thread
* [PATCH v2 5/5] dt-bindings: mfd: convert zii,rave-sp.txt to yaml format
2024-10-10 15:42 [PATCH v2 0/5] dt-bindings: mfd: convert zii,rave-sp.txt and child txt to yaml format Frank Li
` (3 preceding siblings ...)
2024-10-10 15:42 ` [PATCH v2 4/5] dt-bindings: watchdog: convert zii,rave-sp-wdt.txt " Frank Li
@ 2024-10-10 15:42 ` Frank Li
2024-10-10 18:31 ` Rob Herring (Arm)
2024-10-15 14:40 ` (subset) " Lee Jones
2024-10-25 16:47 ` (subset) [PATCH v2 0/5] dt-bindings: mfd: convert zii,rave-sp.txt and child txt " Srinivas Kandagatla
2024-10-28 17:15 ` Rob Herring
6 siblings, 2 replies; 20+ messages in thread
From: Frank Li @ 2024-10-10 15:42 UTC (permalink / raw)
To: Dmitry Torokhov, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Lee Jones, Daniel Thompson, Jingoo Han, Pavel Machek,
Srinivas Kandagatla, Wim Van Sebroeck, Guenter Roeck
Cc: linux-input, devicetree, linux-kernel, dri-devel, linux-leds,
linux-watchdog, Frank Li
Convert device binding doc zii,rave-sp.txt to yaml format.
Additional change:
- ref to other zii yaml files.
- remove rave-sp-hwmon and rave-sp-leds.
Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
.../devicetree/bindings/mfd/zii,rave-sp.txt | 39 --------------
.../devicetree/bindings/mfd/zii,rave-sp.yaml | 63 ++++++++++++++++++++++
2 files changed, 63 insertions(+), 39 deletions(-)
diff --git a/Documentation/devicetree/bindings/mfd/zii,rave-sp.txt b/Documentation/devicetree/bindings/mfd/zii,rave-sp.txt
deleted file mode 100644
index e0f901edc0635..0000000000000
--- a/Documentation/devicetree/bindings/mfd/zii,rave-sp.txt
+++ /dev/null
@@ -1,39 +0,0 @@
-Zodiac Inflight Innovations RAVE Supervisory Processor
-
-RAVE Supervisory Processor communicates with SoC over UART. It is
-expected that its Device Tree node is specified as a child of a node
-corresponding to UART controller used for communication.
-
-Required parent device properties:
-
- - compatible: Should be one of:
- - "zii,rave-sp-niu"
- - "zii,rave-sp-mezz"
- - "zii,rave-sp-esb"
- - "zii,rave-sp-rdu1"
- - "zii,rave-sp-rdu2"
-
- - current-speed: Should be set to baud rate SP device is using
-
-RAVE SP consists of the following sub-devices:
-
-Device Description
------- -----------
-rave-sp-wdt : Watchdog
-rave-sp-nvmem : Interface to onboard EEPROM
-rave-sp-backlight : Display backlight
-rave-sp-hwmon : Interface to onboard hardware sensors
-rave-sp-leds : Interface to onboard LEDs
-rave-sp-input : Interface to onboard power button
-
-Example of usage:
-
- rdu {
- compatible = "zii,rave-sp-rdu2";
- current-speed = <1000000>;
-
- watchdog {
- compatible = "zii,rave-sp-watchdog";
- };
- };
-
diff --git a/Documentation/devicetree/bindings/mfd/zii,rave-sp.yaml b/Documentation/devicetree/bindings/mfd/zii,rave-sp.yaml
new file mode 100644
index 0000000000000..1d078c5ef1689
--- /dev/null
+++ b/Documentation/devicetree/bindings/mfd/zii,rave-sp.yaml
@@ -0,0 +1,63 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/mfd/zii,rave-sp.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Zodiac Inflight Innovations RAVE Supervisory Processor
+
+maintainers:
+ - Frank Li <Frank.Li@nxp.com>
+
+description:
+ RAVE Supervisory Processor communicates with SoC over UART. It is
+ expected that its Device Tree node is specified as a child of a node
+ corresponding to UART controller used for communication.
+
+properties:
+ compatible:
+ enum:
+ - zii,rave-sp-niu
+ - zii,rave-sp-mezz
+ - zii,rave-sp-esb
+ - zii,rave-sp-rdu1
+ - zii,rave-sp-rdu2
+
+ "#address-cells":
+ const: 1
+
+ "#size-cells":
+ const: 1
+
+ watchdog:
+ $ref: /schemas/watchdog/zii,rave-sp-wdt.yaml
+
+ backlight:
+ $ref: /schemas/leds/backlight/zii,rave-sp-backlight.yaml
+
+ pwrbutton:
+ $ref: /schemas/input/zii,rave-sp-pwrbutton.yaml
+
+patternProperties:
+ '^eeprom@[0-9a-f]+$':
+ $ref: /schemas/nvmem/zii,rave-sp-eeprom.yaml
+
+required:
+ - compatible
+
+allOf:
+ - $ref: /schemas/serial/serial-peripheral-props.yaml
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ mfd {
+ compatible = "zii,rave-sp-rdu2";
+ current-speed = <1000000>;
+
+ watchdog {
+ compatible = "zii,rave-sp-watchdog";
+ };
+ };
+
--
2.34.1
^ permalink raw reply related [flat|nested] 20+ messages in thread
* Re: [PATCH v2 1/5] dt-bindings: input: convert zii,rave-sp-pwrbutton.txt to yaml
2024-10-10 15:42 ` [PATCH v2 1/5] dt-bindings: input: convert zii,rave-sp-pwrbutton.txt to yaml Frank Li
@ 2024-10-10 17:50 ` Rob Herring (Arm)
2024-10-10 18:24 ` Rob Herring (Arm)
1 sibling, 0 replies; 20+ messages in thread
From: Rob Herring (Arm) @ 2024-10-10 17:50 UTC (permalink / raw)
To: Frank Li
Cc: linux-input, Lee Jones, linux-kernel, Pavel Machek, devicetree,
linux-watchdog, Jingoo Han, Guenter Roeck, Daniel Thompson,
Wim Van Sebroeck, Srinivas Kandagatla, Krzysztof Kozlowski,
Dmitry Torokhov, linux-leds, Conor Dooley, dri-devel
On Thu, 10 Oct 2024 11:42:38 -0400, Frank Li wrote:
> Convert device tree binding doc zii,rave-sp-pwrbutton.txt to yaml format.
> Additional changes:
> - add ref to input.yaml.
> - remove mfd node in example.
>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
> .../bindings/input/zii,rave-sp-pwrbutton.txt | 22 -------------
> .../bindings/input/zii,rave-sp-pwrbutton.yaml | 36 ++++++++++++++++++++++
> 2 files changed, 36 insertions(+), 22 deletions(-)
>
My bot found errors running 'make dt_binding_check' on your patch:
yamllint warnings/errors:
dtschema/dtc warnings/errors:
doc reference errors (make refcheckdocs):
Warning: Documentation/devicetree/bindings/input/zii,rave-sp-pwrbutton.yaml references a file that doesn't exist: Documentation/devicetree/bindings/mfd/zii,rave-sp.yaml
Documentation/devicetree/bindings/input/zii,rave-sp-pwrbutton.yaml: Documentation/devicetree/bindings/mfd/zii,rave-sp.yaml
See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20241010-zii_yaml-v2-1-0ab730607422@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] 20+ messages in thread
* Re: [PATCH v2 3/5] dt-bindings: nvmem: convert zii,rave-sp-eeprom.txt to yaml format
2024-10-10 15:42 ` [PATCH v2 3/5] dt-bindings: nvmem: convert zii,rave-sp-eeprom.txt to yaml format Frank Li
@ 2024-10-10 17:50 ` Rob Herring (Arm)
2024-10-10 18:25 ` Rob Herring (Arm)
1 sibling, 0 replies; 20+ messages in thread
From: Rob Herring (Arm) @ 2024-10-10 17:50 UTC (permalink / raw)
To: Frank Li
Cc: Wim Van Sebroeck, devicetree, Guenter Roeck, Pavel Machek,
Jingoo Han, Srinivas Kandagatla, linux-kernel, dri-devel,
Krzysztof Kozlowski, Dmitry Torokhov, Conor Dooley, Lee Jones,
Daniel Thompson, linux-leds, linux-input, linux-watchdog
On Thu, 10 Oct 2024 11:42:40 -0400, Frank Li wrote:
> Convert device tree binding doc zii,rave-sp-eeprom.txt to yaml format.
> Additional changes:
> - Add ref to nvme.yaml.
> - Add reg property.
> - Remove mfd at example.
>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
> .../bindings/nvmem/zii,rave-sp-eeprom.txt | 40 ----------------
> .../bindings/nvmem/zii,rave-sp-eeprom.yaml | 54 ++++++++++++++++++++++
> 2 files changed, 54 insertions(+), 40 deletions(-)
>
My bot found errors running 'make dt_binding_check' on your patch:
yamllint warnings/errors:
dtschema/dtc warnings/errors:
doc reference errors (make refcheckdocs):
Warning: Documentation/devicetree/bindings/nvmem/zii,rave-sp-eeprom.yaml references a file that doesn't exist: Documentation/devicetree/bindings/mfd/zii,rave-sp.yaml
Documentation/devicetree/bindings/nvmem/zii,rave-sp-eeprom.yaml: Documentation/devicetree/bindings/mfd/zii,rave-sp.yaml
See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20241010-zii_yaml-v2-3-0ab730607422@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] 20+ messages in thread
* Re: [PATCH v2 4/5] dt-bindings: watchdog: convert zii,rave-sp-wdt.txt to yaml format
2024-10-10 15:42 ` [PATCH v2 4/5] dt-bindings: watchdog: convert zii,rave-sp-wdt.txt " Frank Li
@ 2024-10-10 17:50 ` Rob Herring (Arm)
2024-10-10 18:26 ` Rob Herring (Arm)
1 sibling, 0 replies; 20+ messages in thread
From: Rob Herring (Arm) @ 2024-10-10 17:50 UTC (permalink / raw)
To: Frank Li
Cc: Pavel Machek, linux-leds, Srinivas Kandagatla, devicetree,
linux-input, Dmitry Torokhov, Krzysztof Kozlowski, Guenter Roeck,
Conor Dooley, Daniel Thompson, dri-devel, Wim Van Sebroeck,
linux-watchdog, Jingoo Han, Lee Jones, linux-kernel
On Thu, 10 Oct 2024 11:42:41 -0400, Frank Li wrote:
> Convert device binding doc zii,rave-sp-wdt.txt to yaml format.
> Additional changes:
> - Ref to watchdog.yaml.
> - Remove mfd node in example.
> - Remove eeprom part in example.
>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
> .../bindings/watchdog/zii,rave-sp-wdt.txt | 39 ------------------
> .../bindings/watchdog/zii,rave-sp-wdt.yaml | 47 ++++++++++++++++++++++
> 2 files changed, 47 insertions(+), 39 deletions(-)
>
My bot found errors running 'make dt_binding_check' on your patch:
yamllint warnings/errors:
dtschema/dtc warnings/errors:
doc reference errors (make refcheckdocs):
Warning: Documentation/devicetree/bindings/watchdog/zii,rave-sp-wdt.yaml references a file that doesn't exist: Documentation/devicetree/bindings/mfd/zii,rave-sp.yaml
Documentation/devicetree/bindings/watchdog/zii,rave-sp-wdt.yaml: Documentation/devicetree/bindings/mfd/zii,rave-sp.yaml
See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20241010-zii_yaml-v2-4-0ab730607422@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] 20+ messages in thread
* Re: [PATCH v2 1/5] dt-bindings: input: convert zii,rave-sp-pwrbutton.txt to yaml
2024-10-10 15:42 ` [PATCH v2 1/5] dt-bindings: input: convert zii,rave-sp-pwrbutton.txt to yaml Frank Li
2024-10-10 17:50 ` Rob Herring (Arm)
@ 2024-10-10 18:24 ` Rob Herring (Arm)
1 sibling, 0 replies; 20+ messages in thread
From: Rob Herring (Arm) @ 2024-10-10 18:24 UTC (permalink / raw)
To: Frank Li
Cc: Dmitry Torokhov, devicetree, linux-kernel, dri-devel,
linux-watchdog, Lee Jones, Pavel Machek, Krzysztof Kozlowski,
linux-leds, Guenter Roeck, Jingoo Han, linux-input,
Daniel Thompson, Srinivas Kandagatla, Wim Van Sebroeck,
Conor Dooley
On Thu, 10 Oct 2024 11:42:38 -0400, Frank Li wrote:
> Convert device tree binding doc zii,rave-sp-pwrbutton.txt to yaml format.
> Additional changes:
> - add ref to input.yaml.
> - remove mfd node in example.
>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
> .../bindings/input/zii,rave-sp-pwrbutton.txt | 22 -------------
> .../bindings/input/zii,rave-sp-pwrbutton.yaml | 36 ++++++++++++++++++++++
> 2 files changed, 36 insertions(+), 22 deletions(-)
>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH v2 3/5] dt-bindings: nvmem: convert zii,rave-sp-eeprom.txt to yaml format
2024-10-10 15:42 ` [PATCH v2 3/5] dt-bindings: nvmem: convert zii,rave-sp-eeprom.txt to yaml format Frank Li
2024-10-10 17:50 ` Rob Herring (Arm)
@ 2024-10-10 18:25 ` Rob Herring (Arm)
1 sibling, 0 replies; 20+ messages in thread
From: Rob Herring (Arm) @ 2024-10-10 18:25 UTC (permalink / raw)
To: Frank Li
Cc: linux-kernel, dri-devel, Jingoo Han, Conor Dooley, linux-input,
Daniel Thompson, linux-leds, Pavel Machek, Srinivas Kandagatla,
Wim Van Sebroeck, Dmitry Torokhov, linux-watchdog,
Krzysztof Kozlowski, devicetree, Guenter Roeck, Lee Jones
On Thu, 10 Oct 2024 11:42:40 -0400, Frank Li wrote:
> Convert device tree binding doc zii,rave-sp-eeprom.txt to yaml format.
> Additional changes:
> - Add ref to nvme.yaml.
> - Add reg property.
> - Remove mfd at example.
>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
> .../bindings/nvmem/zii,rave-sp-eeprom.txt | 40 ----------------
> .../bindings/nvmem/zii,rave-sp-eeprom.yaml | 54 ++++++++++++++++++++++
> 2 files changed, 54 insertions(+), 40 deletions(-)
>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH v2 4/5] dt-bindings: watchdog: convert zii,rave-sp-wdt.txt to yaml format
2024-10-10 15:42 ` [PATCH v2 4/5] dt-bindings: watchdog: convert zii,rave-sp-wdt.txt " Frank Li
2024-10-10 17:50 ` Rob Herring (Arm)
@ 2024-10-10 18:26 ` Rob Herring (Arm)
1 sibling, 0 replies; 20+ messages in thread
From: Rob Herring (Arm) @ 2024-10-10 18:26 UTC (permalink / raw)
To: Frank Li
Cc: Pavel Machek, Lee Jones, Daniel Thompson, linux-kernel,
Guenter Roeck, Krzysztof Kozlowski, Jingoo Han, devicetree,
Srinivas Kandagatla, dri-devel, Dmitry Torokhov, Wim Van Sebroeck,
linux-watchdog, linux-input, linux-leds, Conor Dooley
On Thu, 10 Oct 2024 11:42:41 -0400, Frank Li wrote:
> Convert device binding doc zii,rave-sp-wdt.txt to yaml format.
> Additional changes:
> - Ref to watchdog.yaml.
> - Remove mfd node in example.
> - Remove eeprom part in example.
>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
> .../bindings/watchdog/zii,rave-sp-wdt.txt | 39 ------------------
> .../bindings/watchdog/zii,rave-sp-wdt.yaml | 47 ++++++++++++++++++++++
> 2 files changed, 47 insertions(+), 39 deletions(-)
>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH v2 5/5] dt-bindings: mfd: convert zii,rave-sp.txt to yaml format
2024-10-10 15:42 ` [PATCH v2 5/5] dt-bindings: mfd: convert zii,rave-sp.txt " Frank Li
@ 2024-10-10 18:31 ` Rob Herring (Arm)
2024-10-15 14:40 ` (subset) " Lee Jones
1 sibling, 0 replies; 20+ messages in thread
From: Rob Herring (Arm) @ 2024-10-10 18:31 UTC (permalink / raw)
To: Frank Li
Cc: Daniel Thompson, linux-kernel, Guenter Roeck, devicetree,
dri-devel, linux-watchdog, Dmitry Torokhov, Conor Dooley,
Jingoo Han, Krzysztof Kozlowski, Lee Jones, Pavel Machek,
linux-input, Wim Van Sebroeck, linux-leds, Srinivas Kandagatla
On Thu, 10 Oct 2024 11:42:42 -0400, Frank Li wrote:
> Convert device binding doc zii,rave-sp.txt to yaml format.
> Additional change:
> - ref to other zii yaml files.
> - remove rave-sp-hwmon and rave-sp-leds.
>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
> .../devicetree/bindings/mfd/zii,rave-sp.txt | 39 --------------
> .../devicetree/bindings/mfd/zii,rave-sp.yaml | 63 ++++++++++++++++++++++
> 2 files changed, 63 insertions(+), 39 deletions(-)
>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH v2 2/5] dt-bindings: backlight: convert zii,rave-sp-backlight.txt to yaml
2024-10-10 15:42 ` [PATCH v2 2/5] dt-bindings: backlight: convert zii,rave-sp-backlight.txt " Frank Li
@ 2024-10-11 3:11 ` Rob Herring (Arm)
2024-10-11 3:13 ` Rob Herring (Arm)
` (2 subsequent siblings)
3 siblings, 0 replies; 20+ messages in thread
From: Rob Herring (Arm) @ 2024-10-11 3:11 UTC (permalink / raw)
To: Frank Li
Cc: linux-kernel, dri-devel, Pavel Machek, Wim Van Sebroeck,
linux-leds, Daniel Thompson, linux-input, devicetree, Lee Jones,
Conor Dooley, Guenter Roeck, Dmitry Torokhov, Jingoo Han,
Srinivas Kandagatla, Krzysztof Kozlowski, linux-watchdog
On Thu, 10 Oct 2024 11:42:39 -0400, Frank Li wrote:
> Convert device tree binding doc zii,rave-sp-backlight.txt to yaml format.
> Additional Changes:
> - Remove mfd parent node at example.
> - Ref to backlight's common.yaml
>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
> .../leds/backlight/zii,rave-sp-backlight.txt | 23 --------------
> .../leds/backlight/zii,rave-sp-backlight.yaml | 36 ++++++++++++++++++++++
> 2 files changed, 36 insertions(+), 23 deletions(-)
>
My bot found errors running 'make dt_binding_check' on your patch:
yamllint warnings/errors:
dtschema/dtc warnings/errors:
doc reference errors (make refcheckdocs):
Warning: Documentation/devicetree/bindings/leds/backlight/zii,rave-sp-backlight.yaml references a file that doesn't exist: Documentation/devicetree/bindings/mfd/zii,rave-sp.yaml
Documentation/devicetree/bindings/leds/backlight/zii,rave-sp-backlight.yaml: Documentation/devicetree/bindings/mfd/zii,rave-sp.yaml
See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20241010-zii_yaml-v2-2-0ab730607422@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] 20+ messages in thread
* Re: [PATCH v2 2/5] dt-bindings: backlight: convert zii,rave-sp-backlight.txt to yaml
2024-10-10 15:42 ` [PATCH v2 2/5] dt-bindings: backlight: convert zii,rave-sp-backlight.txt " Frank Li
2024-10-11 3:11 ` Rob Herring (Arm)
@ 2024-10-11 3:13 ` Rob Herring (Arm)
2024-10-14 14:32 ` Daniel Thompson
2024-10-15 14:40 ` (subset) " Lee Jones
3 siblings, 0 replies; 20+ messages in thread
From: Rob Herring (Arm) @ 2024-10-11 3:13 UTC (permalink / raw)
To: Frank Li
Cc: Jingoo Han, Wim Van Sebroeck, Krzysztof Kozlowski, Guenter Roeck,
Daniel Thompson, linux-kernel, linux-watchdog, devicetree,
Srinivas Kandagatla, linux-leds, Pavel Machek, Dmitry Torokhov,
dri-devel, linux-input, Conor Dooley, Lee Jones
On Thu, 10 Oct 2024 11:42:39 -0400, Frank Li wrote:
> Convert device tree binding doc zii,rave-sp-backlight.txt to yaml format.
> Additional Changes:
> - Remove mfd parent node at example.
> - Ref to backlight's common.yaml
>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
> .../leds/backlight/zii,rave-sp-backlight.txt | 23 --------------
> .../leds/backlight/zii,rave-sp-backlight.yaml | 36 ++++++++++++++++++++++
> 2 files changed, 36 insertions(+), 23 deletions(-)
>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH v2 2/5] dt-bindings: backlight: convert zii,rave-sp-backlight.txt to yaml
2024-10-10 15:42 ` [PATCH v2 2/5] dt-bindings: backlight: convert zii,rave-sp-backlight.txt " Frank Li
2024-10-11 3:11 ` Rob Herring (Arm)
2024-10-11 3:13 ` Rob Herring (Arm)
@ 2024-10-14 14:32 ` Daniel Thompson
2024-10-15 14:40 ` (subset) " Lee Jones
3 siblings, 0 replies; 20+ messages in thread
From: Daniel Thompson @ 2024-10-14 14:32 UTC (permalink / raw)
To: Frank Li
Cc: Dmitry Torokhov, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Lee Jones, Jingoo Han, Pavel Machek, Srinivas Kandagatla,
Wim Van Sebroeck, Guenter Roeck, linux-input, devicetree,
linux-kernel, dri-devel, linux-leds, linux-watchdog
On Thu, Oct 10, 2024 at 11:42:39AM -0400, Frank Li wrote:
> Convert device tree binding doc zii,rave-sp-backlight.txt to yaml format.
> Additional Changes:
> - Remove mfd parent node at example.
> - Ref to backlight's common.yaml
>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Daniel.
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: (subset) [PATCH v2 5/5] dt-bindings: mfd: convert zii,rave-sp.txt to yaml format
2024-10-10 15:42 ` [PATCH v2 5/5] dt-bindings: mfd: convert zii,rave-sp.txt " Frank Li
2024-10-10 18:31 ` Rob Herring (Arm)
@ 2024-10-15 14:40 ` Lee Jones
1 sibling, 0 replies; 20+ messages in thread
From: Lee Jones @ 2024-10-15 14:40 UTC (permalink / raw)
To: Dmitry Torokhov, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Lee Jones, Daniel Thompson, Jingoo Han, Pavel Machek,
Srinivas Kandagatla, Wim Van Sebroeck, Guenter Roeck, Frank Li
Cc: linux-input, devicetree, linux-kernel, dri-devel, linux-leds,
linux-watchdog
On Thu, 10 Oct 2024 11:42:42 -0400, Frank Li wrote:
> Convert device binding doc zii,rave-sp.txt to yaml format.
> Additional change:
> - ref to other zii yaml files.
> - remove rave-sp-hwmon and rave-sp-leds.
>
>
Applied, thanks!
[5/5] dt-bindings: mfd: convert zii,rave-sp.txt to yaml format
commit: f4b00ab2c29960961f9641be8f3e8ba4960fd849
--
Lee Jones [李琼斯]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: (subset) [PATCH v2 2/5] dt-bindings: backlight: convert zii,rave-sp-backlight.txt to yaml
2024-10-10 15:42 ` [PATCH v2 2/5] dt-bindings: backlight: convert zii,rave-sp-backlight.txt " Frank Li
` (2 preceding siblings ...)
2024-10-14 14:32 ` Daniel Thompson
@ 2024-10-15 14:40 ` Lee Jones
3 siblings, 0 replies; 20+ messages in thread
From: Lee Jones @ 2024-10-15 14:40 UTC (permalink / raw)
To: Dmitry Torokhov, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Lee Jones, Daniel Thompson, Jingoo Han, Pavel Machek,
Srinivas Kandagatla, Wim Van Sebroeck, Guenter Roeck, Frank Li
Cc: linux-input, devicetree, linux-kernel, dri-devel, linux-leds,
linux-watchdog
On Thu, 10 Oct 2024 11:42:39 -0400, Frank Li wrote:
> Convert device tree binding doc zii,rave-sp-backlight.txt to yaml format.
> Additional Changes:
> - Remove mfd parent node at example.
> - Ref to backlight's common.yaml
>
>
Applied, thanks!
[2/5] dt-bindings: backlight: convert zii,rave-sp-backlight.txt to yaml
commit: 0eda30af58809224d80dc3bf3f368fc677fe8c08
--
Lee Jones [李琼斯]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: (subset) [PATCH v2 0/5] dt-bindings: mfd: convert zii,rave-sp.txt and child txt to yaml format
2024-10-10 15:42 [PATCH v2 0/5] dt-bindings: mfd: convert zii,rave-sp.txt and child txt to yaml format Frank Li
` (4 preceding siblings ...)
2024-10-10 15:42 ` [PATCH v2 5/5] dt-bindings: mfd: convert zii,rave-sp.txt " Frank Li
@ 2024-10-25 16:47 ` Srinivas Kandagatla
2024-10-28 17:15 ` Rob Herring
6 siblings, 0 replies; 20+ messages in thread
From: Srinivas Kandagatla @ 2024-10-25 16:47 UTC (permalink / raw)
To: Dmitry Torokhov, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Lee Jones, Daniel Thompson, Jingoo Han, Pavel Machek,
Wim Van Sebroeck, Guenter Roeck, Frank Li
Cc: linux-input, devicetree, linux-kernel, dri-devel, linux-leds,
linux-watchdog
On Thu, 10 Oct 2024 11:42:37 -0400, Frank Li wrote:
> Fixed below warnings:
>
> arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-rmb3.dtb: /soc@0/bus@30800000/serial@30890000/mcu: failed to match any schema with compatible: ['zii,rave-sp-rdu2']
> arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-rmb3.dtb: /soc@0/bus@30800000/serial@30890000/mcu/watchdog: failed to match any schema with compatible: ['zii,rave-sp-watchdog']
> arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-rmb3.dtb: /soc@0/bus@30800000/serial@30890000/mcu/backlight: failed to match any schema with compatible: ['zii,rave-sp-backlight']
> arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-rmb3.dtb: /soc@0/bus@30800000/serial@30890000/mcu/pwrbutton: failed to match any schema with compatible: ['zii,rave-sp-pwrbutton']
> arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-rmb3.dtb: /soc@0/bus@30800000/serial@30890000/mcu/eeprom@a3: failed to match any schema with compatible: ['zii,rave-sp-eeprom']
> arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-rmb3.dtb: /soc@0/bus@30800000/serial@30890000/mcu/eeprom@a4: failed to match any schema with compatible: ['zii,rave-sp-eeprom']
> arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-zest.dtb: /soc@0/bus@30800000/serial@30890000/mcu: failed to match any schema with compatible: ['zii,rave-sp-rdu2']
> arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-zest.dtb: /soc@0/bus@30800000/serial@30890000/mcu/watchdog: failed to match any schema with compatible: ['zii,rave-sp-watchdog']
> arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-zest.dtb: /soc@0/bus@30800000/serial@30890000/mcu/backlight: failed to match any schema with compatible: ['zii,rave-sp-backlight']
> arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-zest.dtb: /soc@0/bus@30800000/serial@30890000/mcu/pwrbutton: failed to match any schema with compatible: ['zii,rave-sp-pwrbutton']
> arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-zest.dtb: /soc@0/bus@30800000/serial@30890000/mcu/eeprom@a3: failed to match any schema with compatible: ['zii,rave-sp-eeprom']
> arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-zest.dtb: /soc@0/bus@30800000/serial@30890000/mcu/eeprom@a4: failed to match any schema with compatible: ['zii,rave-sp-eeprom']
>
> [...]
Applied, thanks!
[3/5] dt-bindings: nvmem: convert zii,rave-sp-eeprom.txt to yaml format
commit: 17d6f058403d4e3458ec9c7dae607c065cabe089
Best regards,
--
Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [PATCH v2 0/5] dt-bindings: mfd: convert zii,rave-sp.txt and child txt to yaml format
2024-10-10 15:42 [PATCH v2 0/5] dt-bindings: mfd: convert zii,rave-sp.txt and child txt to yaml format Frank Li
` (5 preceding siblings ...)
2024-10-25 16:47 ` (subset) [PATCH v2 0/5] dt-bindings: mfd: convert zii,rave-sp.txt and child txt " Srinivas Kandagatla
@ 2024-10-28 17:15 ` Rob Herring
6 siblings, 0 replies; 20+ messages in thread
From: Rob Herring @ 2024-10-28 17:15 UTC (permalink / raw)
To: Frank Li
Cc: Dmitry Torokhov, Krzysztof Kozlowski, Conor Dooley, Lee Jones,
Daniel Thompson, Jingoo Han, Pavel Machek, Srinivas Kandagatla,
Wim Van Sebroeck, Guenter Roeck, linux-input, devicetree,
linux-kernel, dri-devel, linux-leds, linux-watchdog
On Thu, Oct 10, 2024 at 11:42:37AM -0400, Frank Li wrote:
> Fixed below warnings:
>
> arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-rmb3.dtb: /soc@0/bus@30800000/serial@30890000/mcu: failed to match any schema with compatible: ['zii,rave-sp-rdu2']
> arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-rmb3.dtb: /soc@0/bus@30800000/serial@30890000/mcu/watchdog: failed to match any schema with compatible: ['zii,rave-sp-watchdog']
> arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-rmb3.dtb: /soc@0/bus@30800000/serial@30890000/mcu/backlight: failed to match any schema with compatible: ['zii,rave-sp-backlight']
> arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-rmb3.dtb: /soc@0/bus@30800000/serial@30890000/mcu/pwrbutton: failed to match any schema with compatible: ['zii,rave-sp-pwrbutton']
> arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-rmb3.dtb: /soc@0/bus@30800000/serial@30890000/mcu/eeprom@a3: failed to match any schema with compatible: ['zii,rave-sp-eeprom']
> arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-rmb3.dtb: /soc@0/bus@30800000/serial@30890000/mcu/eeprom@a4: failed to match any schema with compatible: ['zii,rave-sp-eeprom']
> arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-zest.dtb: /soc@0/bus@30800000/serial@30890000/mcu: failed to match any schema with compatible: ['zii,rave-sp-rdu2']
> arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-zest.dtb: /soc@0/bus@30800000/serial@30890000/mcu/watchdog: failed to match any schema with compatible: ['zii,rave-sp-watchdog']
> arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-zest.dtb: /soc@0/bus@30800000/serial@30890000/mcu/backlight: failed to match any schema with compatible: ['zii,rave-sp-backlight']
> arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-zest.dtb: /soc@0/bus@30800000/serial@30890000/mcu/pwrbutton: failed to match any schema with compatible: ['zii,rave-sp-pwrbutton']
> arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-zest.dtb: /soc@0/bus@30800000/serial@30890000/mcu/eeprom@a3: failed to match any schema with compatible: ['zii,rave-sp-eeprom']
> arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-zest.dtb: /soc@0/bus@30800000/serial@30890000/mcu/eeprom@a4: failed to match any schema with compatible: ['zii,rave-sp-eeprom']
>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
> Changes in v2:
> - change all maintainer to frank li.
> - Link to v1: https://lore.kernel.org/r/20241008-zii_yaml-v1-0-d06ba7e26225@nxp.com
>
> ---
> Frank Li (5):
> dt-bindings: input: convert zii,rave-sp-pwrbutton.txt to yaml
> dt-bindings: backlight: convert zii,rave-sp-backlight.txt to yaml
> dt-bindings: nvmem: convert zii,rave-sp-eeprom.txt to yaml format
> dt-bindings: watchdog: convert zii,rave-sp-wdt.txt to yaml format
> dt-bindings: mfd: convert zii,rave-sp.txt to yaml format
Applied 1 and 4 since they still haven't been picked up and linux-next
is warning due to the whole series not being applied. Once again, these
MFD bindings need to go in via 1 tree.
Rob
^ permalink raw reply [flat|nested] 20+ messages in thread
end of thread, other threads:[~2024-10-28 17:15 UTC | newest]
Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-10 15:42 [PATCH v2 0/5] dt-bindings: mfd: convert zii,rave-sp.txt and child txt to yaml format Frank Li
2024-10-10 15:42 ` [PATCH v2 1/5] dt-bindings: input: convert zii,rave-sp-pwrbutton.txt to yaml Frank Li
2024-10-10 17:50 ` Rob Herring (Arm)
2024-10-10 18:24 ` Rob Herring (Arm)
2024-10-10 15:42 ` [PATCH v2 2/5] dt-bindings: backlight: convert zii,rave-sp-backlight.txt " Frank Li
2024-10-11 3:11 ` Rob Herring (Arm)
2024-10-11 3:13 ` Rob Herring (Arm)
2024-10-14 14:32 ` Daniel Thompson
2024-10-15 14:40 ` (subset) " Lee Jones
2024-10-10 15:42 ` [PATCH v2 3/5] dt-bindings: nvmem: convert zii,rave-sp-eeprom.txt to yaml format Frank Li
2024-10-10 17:50 ` Rob Herring (Arm)
2024-10-10 18:25 ` Rob Herring (Arm)
2024-10-10 15:42 ` [PATCH v2 4/5] dt-bindings: watchdog: convert zii,rave-sp-wdt.txt " Frank Li
2024-10-10 17:50 ` Rob Herring (Arm)
2024-10-10 18:26 ` Rob Herring (Arm)
2024-10-10 15:42 ` [PATCH v2 5/5] dt-bindings: mfd: convert zii,rave-sp.txt " Frank Li
2024-10-10 18:31 ` Rob Herring (Arm)
2024-10-15 14:40 ` (subset) " Lee Jones
2024-10-25 16:47 ` (subset) [PATCH v2 0/5] dt-bindings: mfd: convert zii,rave-sp.txt and child txt " Srinivas Kandagatla
2024-10-28 17:15 ` 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).