* [PATCH v2 00/11] Convert DA906{1,2} bindings to json-schema
@ 2023-12-02 19:25 Biju Das
2023-12-02 19:25 ` [PATCH v2 01/11] dt-bindings: watchdog: dlg,da9062-watchdog: Add fallback for DA9061 watchdog Biju Das
` (10 more replies)
0 siblings, 11 replies; 37+ messages in thread
From: Biju Das @ 2023-12-02 19:25 UTC (permalink / raw)
To: Wim Van Sebroeck, Guenter Roeck, Dmitry Torokhov, Lee Jones,
Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: Biju Das, Steve Twiss, Support Opensource, linux-watchdog,
linux-input, Rafael J. Wysocki, Daniel Lezcano, Zhang Rui,
Lukasz Luba, linux-pm, devicetree, Geert Uytterhoeven,
Prabhakar Mahadev Lad, Biju Das, linux-renesas-soc
Convert the below bindings to json-schema
1) DA906{1,2} mfd bindings
2) DA906{1,2,3} onkey bindings
3) DA906{1,2,3} thermal bindings
Also add fallback for DA9061 watchdog device and document
DA9063 watchdog device.
v1->v2:
Ref : https://lore.kernel.org/all/20231201110840.37408-5-biju.das.jz@bp.renesas.com/
* Made as a separate series
* DA9062 and DA9061 merged with DA9063
* Sorted the child devices
* mfd,onkey and thermal are pointing to child bindings
Biju Das (11):
dt-bindings: watchdog: dlg,da9062-watchdog: Add fallback for DA9061
watchdog
dt-bindings: watchdog: dlg,da9062-watchdog: Document DA9063 watchdog
dt-bindings: input: Convert da906{1,2,3} onkey to json-schema
dt-bindings: thermal: Convert da906{1,2} thermal to json-schema
dt-bindings: mfd: dlg,da9063: Update watchdog property
dt-bindings: mfd: dlg,da9063: Update onkey property
dt-bindings: mfd: dlg,da9063: Sort child devices
dt-bindings: mfd: da9062: Update watchdog description
dt-bindings: mfd: da9062: Update onkey description
dt-bindings: mfd: da9062: Update thermal description
dt-bindings: mfd: dlg,da9063: Convert da9062 to json-schema
.../bindings/input/da9062-onkey.txt | 47 ----
.../bindings/input/dlg,da9062-onkey.yaml | 61 +++++
.../devicetree/bindings/mfd/da9062.txt | 124 ----------
.../devicetree/bindings/mfd/dlg,da9063.yaml | 220 +++++++++++++++---
.../bindings/thermal/da9062-thermal.txt | 36 ---
.../bindings/thermal/dlg,da9062-thermal.yaml | 58 +++++
.../watchdog/dlg,da9062-watchdog.yaml | 12 +-
7 files changed, 313 insertions(+), 245 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/input/da9062-onkey.txt
create mode 100644 Documentation/devicetree/bindings/input/dlg,da9062-onkey.yaml
delete mode 100644 Documentation/devicetree/bindings/mfd/da9062.txt
delete mode 100644 Documentation/devicetree/bindings/thermal/da9062-thermal.txt
create mode 100644 Documentation/devicetree/bindings/thermal/dlg,da9062-thermal.yaml
--
2.39.2
^ permalink raw reply [flat|nested] 37+ messages in thread
* [PATCH v2 01/11] dt-bindings: watchdog: dlg,da9062-watchdog: Add fallback for DA9061 watchdog
2023-12-02 19:25 [PATCH v2 00/11] Convert DA906{1,2} bindings to json-schema Biju Das
@ 2023-12-02 19:25 ` Biju Das
2023-12-03 11:34 ` Conor Dooley
2023-12-02 19:25 ` [PATCH v2 02/11] dt-bindings: watchdog: dlg,da9062-watchdog: Document DA9063 watchdog Biju Das
` (9 subsequent siblings)
10 siblings, 1 reply; 37+ messages in thread
From: Biju Das @ 2023-12-02 19:25 UTC (permalink / raw)
To: Wim Van Sebroeck, Guenter Roeck, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: Biju Das, Steve Twiss, linux-watchdog, devicetree,
Geert Uytterhoeven, Prabhakar Mahadev Lad, Biju Das,
linux-renesas-soc
The DA9061 watchdog is identical to DA9062 watchdog, so no driver changes
are required. The fallback compatible string "dlg,da9062-watchdog" will be
used on DA9061 watchdog.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
---
v2:
* New patch
---
.../bindings/watchdog/dlg,da9062-watchdog.yaml | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/watchdog/dlg,da9062-watchdog.yaml b/Documentation/devicetree/bindings/watchdog/dlg,da9062-watchdog.yaml
index f058628bb632..2b71fdb9251c 100644
--- a/Documentation/devicetree/bindings/watchdog/dlg,da9062-watchdog.yaml
+++ b/Documentation/devicetree/bindings/watchdog/dlg,da9062-watchdog.yaml
@@ -14,9 +14,14 @@ allOf:
properties:
compatible:
- enum:
- - dlg,da9061-watchdog
- - dlg,da9062-watchdog
+ oneOf:
+ - items:
+ - enum:
+ - dlg,da9062-watchdog
+ - items:
+ - enum:
+ - dlg,da9061-watchdog
+ - const: dlg,da9062-watchdog # da9062-watchdog fallback
dlg,use-sw-pm:
type: boolean
--
2.39.2
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCH v2 02/11] dt-bindings: watchdog: dlg,da9062-watchdog: Document DA9063 watchdog
2023-12-02 19:25 [PATCH v2 00/11] Convert DA906{1,2} bindings to json-schema Biju Das
2023-12-02 19:25 ` [PATCH v2 01/11] dt-bindings: watchdog: dlg,da9062-watchdog: Add fallback for DA9061 watchdog Biju Das
@ 2023-12-02 19:25 ` Biju Das
2023-12-03 11:34 ` Conor Dooley
2023-12-02 19:25 ` [PATCH v2 03/11] dt-bindings: input: Convert da906{1,2,3} onkey to json-schema Biju Das
` (8 subsequent siblings)
10 siblings, 1 reply; 37+ messages in thread
From: Biju Das @ 2023-12-02 19:25 UTC (permalink / raw)
To: Wim Van Sebroeck, Guenter Roeck, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: Biju Das, Steve Twiss, linux-watchdog, devicetree,
Geert Uytterhoeven, Prabhakar Mahadev Lad, Biju Das,
linux-renesas-soc
Document DA9063 watchdog device as it is similar to DA9062 watchdog.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
---
v2:
* New patch
---
.../devicetree/bindings/watchdog/dlg,da9062-watchdog.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/watchdog/dlg,da9062-watchdog.yaml b/Documentation/devicetree/bindings/watchdog/dlg,da9062-watchdog.yaml
index 2b71fdb9251c..ccec4d3e62f5 100644
--- a/Documentation/devicetree/bindings/watchdog/dlg,da9062-watchdog.yaml
+++ b/Documentation/devicetree/bindings/watchdog/dlg,da9062-watchdog.yaml
@@ -18,6 +18,7 @@ properties:
- items:
- enum:
- dlg,da9062-watchdog
+ - dlg,da9063-watchdog
- items:
- enum:
- dlg,da9061-watchdog
--
2.39.2
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCH v2 03/11] dt-bindings: input: Convert da906{1,2,3} onkey to json-schema
2023-12-02 19:25 [PATCH v2 00/11] Convert DA906{1,2} bindings to json-schema Biju Das
2023-12-02 19:25 ` [PATCH v2 01/11] dt-bindings: watchdog: dlg,da9062-watchdog: Add fallback for DA9061 watchdog Biju Das
2023-12-02 19:25 ` [PATCH v2 02/11] dt-bindings: watchdog: dlg,da9062-watchdog: Document DA9063 watchdog Biju Das
@ 2023-12-02 19:25 ` Biju Das
2023-12-03 11:36 ` Conor Dooley
2023-12-05 20:19 ` kernel test robot
2023-12-02 19:25 ` [PATCH v2 04/11] dt-bindings: thermal: Convert da906{1,2} thermal " Biju Das
` (7 subsequent siblings)
10 siblings, 2 replies; 37+ messages in thread
From: Biju Das @ 2023-12-02 19:25 UTC (permalink / raw)
To: Dmitry Torokhov, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: Biju Das, Support Opensource, linux-input, devicetree,
Geert Uytterhoeven, Prabhakar Mahadev Lad, Biju Das,
linux-renesas-soc
Convert the da906{1,2,3} onkey device tree binding documentation to
json-schema.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
---
.../bindings/input/da9062-onkey.txt | 47 --------------
.../bindings/input/dlg,da9062-onkey.yaml | 61 +++++++++++++++++++
2 files changed, 61 insertions(+), 47 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/input/da9062-onkey.txt
create mode 100644 Documentation/devicetree/bindings/input/dlg,da9062-onkey.yaml
diff --git a/Documentation/devicetree/bindings/input/da9062-onkey.txt b/Documentation/devicetree/bindings/input/da9062-onkey.txt
deleted file mode 100644
index e5eef59a93dc..000000000000
--- a/Documentation/devicetree/bindings/input/da9062-onkey.txt
+++ /dev/null
@@ -1,47 +0,0 @@
-* Dialog DA9061/62/63 OnKey Module
-
-This module is part of the DA9061/DA9062/DA9063. For more details about entire
-DA9062 and DA9061 chips see Documentation/devicetree/bindings/mfd/da9062.txt
-For DA9063 see Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
-
-This module provides the KEY_POWER event.
-
-Required properties:
-
-- compatible: should be one of the following valid compatible string lines:
- "dlg,da9061-onkey", "dlg,da9062-onkey"
- "dlg,da9062-onkey"
- "dlg,da9063-onkey"
-
-Optional properties:
-
-- dlg,disable-key-power : Disable power-down using a long key-press. If this
- entry exists the OnKey driver will remove support for the KEY_POWER key
- press when triggered using a long press of the OnKey.
-
-Example: DA9063
-
- pmic0: da9063@58 {
- onkey {
- compatible = "dlg,da9063-onkey";
- dlg,disable-key-power;
- };
- };
-
-Example: DA9062
-
- pmic0: da9062@58 {
- onkey {
- compatible = "dlg,da9062-onkey";
- dlg,disable-key-power;
- };
- };
-
-Example: DA9061 using a fall-back compatible for the DA9062 onkey driver
-
- pmic0: da9061@58 {
- onkey {
- compatible = "dlg,da9061-onkey", "dlg,da9062-onkey";
- dlg,disable-key-power;
- };
- };
diff --git a/Documentation/devicetree/bindings/input/dlg,da9062-onkey.yaml b/Documentation/devicetree/bindings/input/dlg,da9062-onkey.yaml
new file mode 100644
index 000000000000..34f2e00cf045
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/dlg,da9062-onkey.yaml
@@ -0,0 +1,61 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/input/dlg,da9062-onkey.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Dialog DA9061/62/63 OnKey Module
+
+maintainers:
+ - Biju Das <biju.das.jz@bp.renesas.com>
+
+description: |
+ This module is part of the DA9061/DA9062/DA9063. For more details about entire
+ DA9062 and DA9061 chips see Documentation/devicetree/bindings/mfd/da9062.txt
+ For DA906{1,2,3} see Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
+
+ This module provides the KEY_POWER event.
+
+properties:
+ compatible:
+ oneOf:
+ - items:
+ - enum:
+ - dlg,da9062-onkey
+ - dlg,da9063-onkey
+ - items:
+ - enum:
+ - dlg,da9061-onkey
+ - const: dlg,da9062-onkey # da9062-onkey fallback
+
+ dlg,disable-key-power:
+ type: boolean
+ description:
+ Disable power-down using a long key-press. If this entry exists
+ the OnKey driver will remove support for the KEY_POWER key press
+ when triggered using a long press of the OnKey.
+
+required:
+ - compatible
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/irq.h>
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ pmic@58 {
+ compatible = "dlg,da9063";
+ reg = <0x58>;
+ interrupt-parent = <&gpio6>;
+ interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
+ interrupt-controller;
+
+ onkey {
+ compatible = "dlg,da9063-onkey";
+ dlg,disable-key-power;
+ };
+ };
+ };
--
2.39.2
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCH v2 04/11] dt-bindings: thermal: Convert da906{1,2} thermal to json-schema
2023-12-02 19:25 [PATCH v2 00/11] Convert DA906{1,2} bindings to json-schema Biju Das
` (2 preceding siblings ...)
2023-12-02 19:25 ` [PATCH v2 03/11] dt-bindings: input: Convert da906{1,2,3} onkey to json-schema Biju Das
@ 2023-12-02 19:25 ` Biju Das
2023-12-02 21:39 ` Rob Herring
` (2 more replies)
2023-12-02 19:25 ` [PATCH v2 05/11] dt-bindings: mfd: dlg,da9063: Update watchdog property Biju Das
` (6 subsequent siblings)
10 siblings, 3 replies; 37+ messages in thread
From: Biju Das @ 2023-12-02 19:25 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: Biju Das, Support Opensource, Rafael J. Wysocki, Daniel Lezcano,
Zhang Rui, Lukasz Luba, linux-pm, devicetree, Geert Uytterhoeven,
Prabhakar Mahadev Lad, Biju Das, linux-renesas-soc
Convert the da906{1,2} thermal device tree binding documentation to
json-schema.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
---
.../bindings/thermal/da9062-thermal.txt | 36 ------------
.../bindings/thermal/dlg,da9062-thermal.yaml | 58 +++++++++++++++++++
2 files changed, 58 insertions(+), 36 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/thermal/da9062-thermal.txt
create mode 100644 Documentation/devicetree/bindings/thermal/dlg,da9062-thermal.yaml
diff --git a/Documentation/devicetree/bindings/thermal/da9062-thermal.txt b/Documentation/devicetree/bindings/thermal/da9062-thermal.txt
deleted file mode 100644
index e241bb5a5584..000000000000
--- a/Documentation/devicetree/bindings/thermal/da9062-thermal.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-* Dialog DA9062/61 TJUNC Thermal Module
-
-This module is part of the DA9061/DA9062. For more details about entire
-DA9062 and DA9061 chips see Documentation/devicetree/bindings/mfd/da9062.txt
-
-Junction temperature thermal module uses an interrupt signal to identify
-high THERMAL_TRIP_HOT temperatures for the PMIC device.
-
-Required properties:
-
-- compatible: should be one of the following valid compatible string lines:
- "dlg,da9061-thermal", "dlg,da9062-thermal"
- "dlg,da9062-thermal"
-
-Optional properties:
-
-- polling-delay-passive : Specify the polling period, measured in
- milliseconds, between thermal zone device update checks.
-
-Example: DA9062
-
- pmic0: da9062@58 {
- thermal {
- compatible = "dlg,da9062-thermal";
- polling-delay-passive = <3000>;
- };
- };
-
-Example: DA9061 using a fall-back compatible for the DA9062 onkey driver
-
- pmic0: da9061@58 {
- thermal {
- compatible = "dlg,da9061-thermal", "dlg,da9062-thermal";
- polling-delay-passive = <3000>;
- };
- };
diff --git a/Documentation/devicetree/bindings/thermal/dlg,da9062-thermal.yaml b/Documentation/devicetree/bindings/thermal/dlg,da9062-thermal.yaml
new file mode 100644
index 000000000000..0021ebdd83a0
--- /dev/null
+++ b/Documentation/devicetree/bindings/thermal/dlg,da9062-thermal.yaml
@@ -0,0 +1,58 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/thermal/dlg,da9062-thermal.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Dialog DA9062/61 TJUNC Thermal Module
+
+description:
+ This module is part of the DA9061/DA9062. For more details about entire
+ DA9062 and DA9061 chips see Documentation/devicetree/bindings/mfd/da9062.txt
+
+ Junction temperature thermal module uses an interrupt signal to identify
+ high THERMAL_TRIP_HOT temperatures for the PMIC device.
+
+maintainers:
+ - Biju Das <biju.das.jz@bp.renesas.com>
+
+properties:
+ compatible:
+ oneOf:
+ - items:
+ - enum:
+ - dlg,da9062-thermal
+ - items:
+ - enum:
+ - dlg,da9061-thermal
+ - const: dlg,da9062-thermal # da9062-thermal fallback
+
+ polling-delay-passive:
+ description:
+ Specify the polling period, measured in milliseconds, between
+ thermal zone device update checks.
+
+required:
+ - compatible
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/irq.h>
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ pmic@58 {
+ compatible = "dlg,da9062";
+ reg = <0x58>;
+ interrupt-parent = <&gpio6>;
+ interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
+ interrupt-controller;
+
+ thermal {
+ compatible = "dlg,da9062-thermal";
+ polling-delay-passive = <3000>;
+ };
+ };
+ };
--
2.39.2
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCH v2 05/11] dt-bindings: mfd: dlg,da9063: Update watchdog property
2023-12-02 19:25 [PATCH v2 00/11] Convert DA906{1,2} bindings to json-schema Biju Das
` (3 preceding siblings ...)
2023-12-02 19:25 ` [PATCH v2 04/11] dt-bindings: thermal: Convert da906{1,2} thermal " Biju Das
@ 2023-12-02 19:25 ` Biju Das
2023-12-03 11:39 ` Conor Dooley
2023-12-02 19:25 ` [PATCH v2 06/11] dt-bindings: mfd: dlg,da9063: Update onkey property Biju Das
` (5 subsequent siblings)
10 siblings, 1 reply; 37+ messages in thread
From: Biju Das @ 2023-12-02 19:25 UTC (permalink / raw)
To: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: Biju Das, Support Opensource, Steve Twiss, devicetree,
Geert Uytterhoeven, Prabhakar Mahadev Lad, Biju Das,
linux-renesas-soc
Update watchdog property by referring to dlg,da9062-watchdog binding file
and drop its definition from this file.
While at, update description with link to product information.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
---
.../devicetree/bindings/mfd/dlg,da9063.yaml | 21 ++++++-------------
1 file changed, 6 insertions(+), 15 deletions(-)
diff --git a/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml b/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
index c5a7e10d7d80..1bdfb2be2e17 100644
--- a/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
+++ b/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
@@ -17,6 +17,9 @@ description: |
moment where all voltage monitors are disabled. Next, as da9063 only supports
UV *and* OV monitoring, both must be set to the same severity and value
(0: disable, 1: enable).
+ Product information for the DA906{3L,3} devices can be found here:
+ - https://www.dialog-semiconductor.com/products/da9063l
+ - https://www.dialog-semiconductor.com/products/da9063
properties:
compatible:
@@ -35,21 +38,6 @@ properties:
"#interrupt-cells":
const: 2
- dlg,use-sw-pm:
- type: boolean
- description:
- Disable the watchdog during suspend.
- Only use this option if you can't use the watchdog automatic suspend
- function during a suspend (see register CONTROL_B).
-
- watchdog:
- type: object
- $ref: /schemas/watchdog/watchdog.yaml#
- unevaluatedProperties: false
- properties:
- compatible:
- const: dlg,da9063-watchdog
-
rtc:
type: object
$ref: /schemas/rtc/rtc.yaml#
@@ -82,6 +70,9 @@ properties:
$ref: /schemas/regulator/regulator.yaml
unevaluatedProperties: false
+ watchdog:
+ $ref: /schemas/watchdog/dlg,da9062-watchdog.yaml
+
required:
- compatible
- reg
--
2.39.2
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCH v2 06/11] dt-bindings: mfd: dlg,da9063: Update onkey property
2023-12-02 19:25 [PATCH v2 00/11] Convert DA906{1,2} bindings to json-schema Biju Das
` (4 preceding siblings ...)
2023-12-02 19:25 ` [PATCH v2 05/11] dt-bindings: mfd: dlg,da9063: Update watchdog property Biju Das
@ 2023-12-02 19:25 ` Biju Das
2023-12-02 19:25 ` [PATCH v2 07/11] dt-bindings: mfd: dlg,da9063: Sort child devices Biju Das
` (4 subsequent siblings)
10 siblings, 0 replies; 37+ messages in thread
From: Biju Das @ 2023-12-02 19:25 UTC (permalink / raw)
To: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: Biju Das, Support Opensource, Steve Twiss, devicetree,
Geert Uytterhoeven, Prabhakar Mahadev Lad, Biju Das,
linux-renesas-soc
Update watchdog property by referring to dlg,da9062-onkey binding file
and drop its definition from this file.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
---
.../devicetree/bindings/mfd/dlg,da9063.yaml | 15 +--------------
1 file changed, 1 insertion(+), 14 deletions(-)
diff --git a/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml b/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
index 1bdfb2be2e17..468d31b1135b 100644
--- a/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
+++ b/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
@@ -47,20 +47,7 @@ properties:
const: dlg,da9063-rtc
onkey:
- type: object
- $ref: /schemas/input/input.yaml#
- unevaluatedProperties: false
- properties:
- compatible:
- const: dlg,da9063-onkey
-
- dlg,disable-key-power:
- type: boolean
- description: |
- Disable power-down using a long key-press.
- If this entry does not exist then by default the key-press triggered
- power down is enabled and the OnKey will support both KEY_POWER and
- KEY_SLEEP.
+ $ref: /schemas/input/dlg,da9062-onkey.yaml
regulators:
type: object
--
2.39.2
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCH v2 07/11] dt-bindings: mfd: dlg,da9063: Sort child devices
2023-12-02 19:25 [PATCH v2 00/11] Convert DA906{1,2} bindings to json-schema Biju Das
` (5 preceding siblings ...)
2023-12-02 19:25 ` [PATCH v2 06/11] dt-bindings: mfd: dlg,da9063: Update onkey property Biju Das
@ 2023-12-02 19:25 ` Biju Das
2023-12-03 11:40 ` Conor Dooley
2023-12-02 19:25 ` [PATCH v2 08/11] dt-bindings: mfd: da9062: Update watchdog description Biju Das
` (3 subsequent siblings)
10 siblings, 1 reply; 37+ messages in thread
From: Biju Das @ 2023-12-02 19:25 UTC (permalink / raw)
To: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: Biju Das, Support Opensource, Steve Twiss, devicetree,
Geert Uytterhoeven, Prabhakar Mahadev Lad, Biju Das,
linux-renesas-soc
Sort child devices alphabetically.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
---
.../devicetree/bindings/mfd/dlg,da9063.yaml | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml b/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
index 468d31b1135b..ecdef322723d 100644
--- a/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
+++ b/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
@@ -38,14 +38,6 @@ properties:
"#interrupt-cells":
const: 2
- rtc:
- type: object
- $ref: /schemas/rtc/rtc.yaml#
- unevaluatedProperties: false
- properties:
- compatible:
- const: dlg,da9063-rtc
-
onkey:
$ref: /schemas/input/dlg,da9062-onkey.yaml
@@ -57,6 +49,14 @@ properties:
$ref: /schemas/regulator/regulator.yaml
unevaluatedProperties: false
+ rtc:
+ type: object
+ $ref: /schemas/rtc/rtc.yaml#
+ unevaluatedProperties: false
+ properties:
+ compatible:
+ const: dlg,da9063-rtc
+
watchdog:
$ref: /schemas/watchdog/dlg,da9062-watchdog.yaml
--
2.39.2
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCH v2 08/11] dt-bindings: mfd: da9062: Update watchdog description
2023-12-02 19:25 [PATCH v2 00/11] Convert DA906{1,2} bindings to json-schema Biju Das
` (6 preceding siblings ...)
2023-12-02 19:25 ` [PATCH v2 07/11] dt-bindings: mfd: dlg,da9063: Sort child devices Biju Das
@ 2023-12-02 19:25 ` Biju Das
2023-12-03 11:41 ` Conor Dooley
2023-12-02 19:25 ` [PATCH v2 09/11] dt-bindings: mfd: da9062: Update onkey description Biju Das
` (2 subsequent siblings)
10 siblings, 1 reply; 37+ messages in thread
From: Biju Das @ 2023-12-02 19:25 UTC (permalink / raw)
To: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: Biju Das, Support Opensource, devicetree, Geert Uytterhoeven,
Prabhakar Mahadev Lad, Biju Das, linux-renesas-soc
Update watchdog description by referring to dlg,da9062-watchdog binding
file.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
---
Documentation/devicetree/bindings/mfd/da9062.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/mfd/da9062.txt b/Documentation/devicetree/bindings/mfd/da9062.txt
index e4eedd3bd233..020106322b08 100644
--- a/Documentation/devicetree/bindings/mfd/da9062.txt
+++ b/Documentation/devicetree/bindings/mfd/da9062.txt
@@ -86,7 +86,7 @@ Sub-nodes:
- onkey : See ../input/da9062-onkey.txt
-- watchdog: See ../watchdog/da9062-wdt.txt
+- watchdog: See ../watchdog/da9062-watchdog.yaml
- thermal : See ../thermal/da9062-thermal.txt
--
2.39.2
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCH v2 09/11] dt-bindings: mfd: da9062: Update onkey description
2023-12-02 19:25 [PATCH v2 00/11] Convert DA906{1,2} bindings to json-schema Biju Das
` (7 preceding siblings ...)
2023-12-02 19:25 ` [PATCH v2 08/11] dt-bindings: mfd: da9062: Update watchdog description Biju Das
@ 2023-12-02 19:25 ` Biju Das
2023-12-02 19:25 ` [PATCH v2 10/11] dt-bindings: mfd: da9062: Update thermal description Biju Das
2023-12-02 19:25 ` [PATCH v2 11/11] dt-bindings: mfd: dlg,da9063: Convert da9062 to json-schema Biju Das
10 siblings, 0 replies; 37+ messages in thread
From: Biju Das @ 2023-12-02 19:25 UTC (permalink / raw)
To: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: Biju Das, Support Opensource, devicetree, Geert Uytterhoeven,
Prabhakar Mahadev Lad, Biju Das, linux-renesas-soc
Update watchdog description by referring to dlg,da9062-onkey binding
file.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
---
Documentation/devicetree/bindings/mfd/da9062.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/mfd/da9062.txt b/Documentation/devicetree/bindings/mfd/da9062.txt
index 020106322b08..3f71e4e57bae 100644
--- a/Documentation/devicetree/bindings/mfd/da9062.txt
+++ b/Documentation/devicetree/bindings/mfd/da9062.txt
@@ -84,7 +84,7 @@ Sub-nodes:
with the DA9062. There are currently no entries in this binding, however
compatible = "dlg,da9062-rtc" should be added if a node is created.
-- onkey : See ../input/da9062-onkey.txt
+- onkey : See ../input/dlg,da9062-onkey.yaml
- watchdog: See ../watchdog/da9062-watchdog.yaml
--
2.39.2
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCH v2 10/11] dt-bindings: mfd: da9062: Update thermal description
2023-12-02 19:25 [PATCH v2 00/11] Convert DA906{1,2} bindings to json-schema Biju Das
` (8 preceding siblings ...)
2023-12-02 19:25 ` [PATCH v2 09/11] dt-bindings: mfd: da9062: Update onkey description Biju Das
@ 2023-12-02 19:25 ` Biju Das
2023-12-02 19:25 ` [PATCH v2 11/11] dt-bindings: mfd: dlg,da9063: Convert da9062 to json-schema Biju Das
10 siblings, 0 replies; 37+ messages in thread
From: Biju Das @ 2023-12-02 19:25 UTC (permalink / raw)
To: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: Biju Das, Support Opensource, devicetree, Geert Uytterhoeven,
Prabhakar Mahadev Lad, Biju Das, linux-renesas-soc
Update watchdog description by referring to dlg,da9062-thermal binding
file.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
---
Documentation/devicetree/bindings/mfd/da9062.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/mfd/da9062.txt b/Documentation/devicetree/bindings/mfd/da9062.txt
index 3f71e4e57bae..7dd641deea1d 100644
--- a/Documentation/devicetree/bindings/mfd/da9062.txt
+++ b/Documentation/devicetree/bindings/mfd/da9062.txt
@@ -88,7 +88,7 @@ Sub-nodes:
- watchdog: See ../watchdog/da9062-watchdog.yaml
-- thermal : See ../thermal/da9062-thermal.txt
+- thermal : See ../thermal/dlg,da9062-thermal.yaml
Example:
--
2.39.2
^ permalink raw reply related [flat|nested] 37+ messages in thread
* [PATCH v2 11/11] dt-bindings: mfd: dlg,da9063: Convert da9062 to json-schema
2023-12-02 19:25 [PATCH v2 00/11] Convert DA906{1,2} bindings to json-schema Biju Das
` (9 preceding siblings ...)
2023-12-02 19:25 ` [PATCH v2 10/11] dt-bindings: mfd: da9062: Update thermal description Biju Das
@ 2023-12-02 19:25 ` Biju Das
2023-12-02 21:39 ` Rob Herring
2023-12-09 7:26 ` kernel test robot
10 siblings, 2 replies; 37+ messages in thread
From: Biju Das @ 2023-12-02 19:25 UTC (permalink / raw)
To: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: Biju Das, Support Opensource, Steve Twiss, devicetree,
Geert Uytterhoeven, Prabhakar Mahadev Lad, Biju Das,
linux-renesas-soc
Convert the da9062 PMIC device tree binding documentation to json-schema.
Update the example to match reality.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
---
.../devicetree/bindings/mfd/da9062.txt | 124 ------------
.../devicetree/bindings/mfd/dlg,da9063.yaml | 184 +++++++++++++++++-
2 files changed, 178 insertions(+), 130 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/mfd/da9062.txt
diff --git a/Documentation/devicetree/bindings/mfd/da9062.txt b/Documentation/devicetree/bindings/mfd/da9062.txt
deleted file mode 100644
index 7dd641deea1d..000000000000
--- a/Documentation/devicetree/bindings/mfd/da9062.txt
+++ /dev/null
@@ -1,124 +0,0 @@
-* Dialog DA9062 Power Management Integrated Circuit (PMIC)
-
-Product information for the DA9062 and DA9061 devices can be found here:
-- https://www.dialog-semiconductor.com/products/da9062
-- https://www.dialog-semiconductor.com/products/da9061
-
-The DA9062 PMIC consists of:
-
-Device Supply Names Description
------- ------------ -----------
-da9062-regulator : : LDOs & BUCKs
-da9062-rtc : : Real-Time Clock
-da9062-onkey : : On Key
-da9062-watchdog : : Watchdog Timer
-da9062-thermal : : Thermal
-da9062-gpio : : GPIOs
-
-The DA9061 PMIC consists of:
-
-Device Supply Names Description
------- ------------ -----------
-da9062-regulator : : LDOs & BUCKs
-da9062-onkey : : On Key
-da9062-watchdog : : Watchdog Timer
-da9062-thermal : : Thermal
-
-======
-
-Required properties:
-
-- compatible : Should be
- "dlg,da9062" for DA9062
- "dlg,da9061" for DA9061
-- reg : Specifies the I2C slave address (this defaults to 0x58 but it can be
- modified to match the chip's OTP settings).
-
-Optional properties:
-
-- gpio-controller : Marks the device as a gpio controller.
-- #gpio-cells : Should be two. The first cell is the pin number and the
- second cell is used to specify the gpio polarity.
-
-See Documentation/devicetree/bindings/gpio/gpio.txt for further information on
-GPIO bindings.
-
-- interrupts : IRQ line information.
-- interrupt-controller
-
-See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt for
-further information on IRQ bindings.
-
-Sub-nodes:
-
-- regulators : This node defines the settings for the LDOs and BUCKs.
- The DA9062 regulators are bound using their names listed below:
-
- buck1 : BUCK_1
- buck2 : BUCK_2
- buck3 : BUCK_3
- buck4 : BUCK_4
- ldo1 : LDO_1
- ldo2 : LDO_2
- ldo3 : LDO_3
- ldo4 : LDO_4
-
- The DA9061 regulators are bound using their names listed below:
-
- buck1 : BUCK_1
- buck2 : BUCK_2
- buck3 : BUCK_3
- ldo1 : LDO_1
- ldo2 : LDO_2
- ldo3 : LDO_3
- ldo4 : LDO_4
-
- The component follows the standard regulator framework and the bindings
- details of individual regulator device can be found in:
- Documentation/devicetree/bindings/regulator/regulator.txt
-
- regulator-initial-mode may be specified for buck regulators using mode values
- from include/dt-bindings/regulator/dlg,da9063-regulator.h.
-
-- rtc : This node defines settings required for the Real-Time Clock associated
- with the DA9062. There are currently no entries in this binding, however
- compatible = "dlg,da9062-rtc" should be added if a node is created.
-
-- onkey : See ../input/dlg,da9062-onkey.yaml
-
-- watchdog: See ../watchdog/da9062-watchdog.yaml
-
-- thermal : See ../thermal/dlg,da9062-thermal.yaml
-
-Example:
-
- pmic0: da9062@58 {
- compatible = "dlg,da9062";
- reg = <0x58>;
- interrupt-parent = <&gpio6>;
- interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
- interrupt-controller;
-
- rtc {
- compatible = "dlg,da9062-rtc";
- };
-
- regulators {
- DA9062_BUCK1: buck1 {
- regulator-name = "BUCK1";
- regulator-min-microvolt = <300000>;
- regulator-max-microvolt = <1570000>;
- regulator-min-microamp = <500000>;
- regulator-max-microamp = <2000000>;
- regulator-initial-mode = <DA9063_BUCK_MODE_SYNC>;
- regulator-boot-on;
- };
- DA9062_LDO1: ldo1 {
- regulator-name = "LDO_1";
- regulator-min-microvolt = <900000>;
- regulator-max-microvolt = <3600000>;
- regulator-boot-on;
- };
- };
- };
-
diff --git a/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml b/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
index ecdef322723d..9f11e3ec8cde 100644
--- a/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
+++ b/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
@@ -4,7 +4,7 @@
$id: http://devicetree.org/schemas/mfd/dlg,da9063.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
-title: Dialog DA9063/DA9063L Power Management Integrated Circuit (PMIC)
+title: Dialog DA906{3L,3,2,1} Power Management Integrated Circuit (PMIC)
maintainers:
- Steve Twiss <stwiss.opensource@diasemi.com>
@@ -17,13 +17,17 @@ description: |
moment where all voltage monitors are disabled. Next, as da9063 only supports
UV *and* OV monitoring, both must be set to the same severity and value
(0: disable, 1: enable).
- Product information for the DA906{3L,3} devices can be found here:
+ Product information for the DA906{3L,3,2,1} devices can be found here:
- https://www.dialog-semiconductor.com/products/da9063l
- https://www.dialog-semiconductor.com/products/da9063
+ - https://www.dialog-semiconductor.com/products/da9062
+ - https://www.dialog-semiconductor.com/products/da9061
properties:
compatible:
enum:
+ - dlg,da9061
+ - dlg,da9062
- dlg,da9063
- dlg,da9063l
@@ -38,6 +42,19 @@ properties:
"#interrupt-cells":
const: 2
+ gpio:
+ type: object
+ $ref: /schemas/gpio/gpio.yaml#
+ unevaluatedProperties: false
+ properties:
+ compatible:
+ const: dlg,da9062-gpio
+
+ gpio-controller: true
+
+ "#gpio-cells":
+ const: 2
+
onkey:
$ref: /schemas/input/dlg,da9062-onkey.yaml
@@ -45,7 +62,7 @@ properties:
type: object
additionalProperties: false
patternProperties:
- "^(ldo([1-9]|1[01])|bcore([1-2]|s-merged)|b(pro|mem|io|peri)|bmem-bio-merged)$":
+ "^(ldo([1-9]|1[01])|bcore([1-2]|s-merged)|b(pro|mem|io|peri)|bmem-bio-merged|buck[1-4])$":
$ref: /schemas/regulator/regulator.yaml
unevaluatedProperties: false
@@ -55,7 +72,12 @@ properties:
unevaluatedProperties: false
properties:
compatible:
- const: dlg,da9063-rtc
+ enum:
+ - dlg,da9063-rtc
+ - dlg,da9062-rtc
+
+ thermal:
+ $ref: /schemas/thermal/dlg,da9062-thermal.yaml
watchdog:
$ref: /schemas/watchdog/dlg,da9062-watchdog.yaml
@@ -63,8 +85,65 @@ properties:
required:
- compatible
- reg
- - interrupts
- - interrupt-controller
+
+allOf:
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - dlg,da9063
+ - dlg,da9063l
+ then:
+ properties:
+ thermal: false
+ gpio: false
+ gpio-controller: false
+ "#gpio-cells": false
+ regulators:
+ patternProperties:
+ "^buck[1-4]$": false
+ required:
+ - interrupts
+ - interrupt-controller
+
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - dlg,da9062
+ then:
+ properties:
+ regulators:
+ patternProperties:
+ "^(ldo([5-9]|10|11)|bcore([1-2]|s-merged)|b(pro|mem|io|peri)|bmem-bio-merged)$": false
+ required:
+ - gpio
+ - onkey
+ - rtc
+ - thermal
+ - watchdog
+
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - dlg,da9061
+ then:
+ properties:
+ gpio: false
+ gpio-controller: false
+ "#gpio-cells": false
+ regulators:
+ patternProperties:
+ "^(ldo([5-9]|10|11)|bcore([1-2]|s-merged)|b(pro|mem|io|peri)|bmem-bio-merged|buck4)$": false
+ rtc: false
+ required:
+ - onkey
+ - thermal
+ - watchdog
additionalProperties: false
@@ -121,4 +200,97 @@ examples:
};
};
};
+
+ - |
+ #include <dt-bindings/interrupt-controller/irq.h>
+ #include <dt-bindings/regulator/dlg,da9063-regulator.h>
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ pmic@58 {
+ compatible = "dlg,da9062";
+ reg = <0x58>;
+ #interrupt-cells = <2>;
+ interrupt-parent = <&gpio1>;
+ interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
+ interrupt-controller;
+
+ rtc {
+ compatible = "dlg,da9062-rtc";
+ };
+
+ onkey {
+ compatible = "dlg,da9062-onkey";
+ };
+
+ watchdog {
+ compatible = "dlg,da9062-watchdog";
+ dlg,use-sw-pm;
+ };
+
+ thermal {
+ compatible = "dlg,da9062-thermal";
+ status = "disabled";
+ };
+
+ gpio {
+ compatible = "dlg,da9062-gpio";
+ status = "disabled";
+ };
+
+ regulators {
+ buck1 {
+ regulator-name = "vdd_arm";
+ regulator-min-microvolt = <925000>;
+ regulator-max-microvolt = <1380000>;
+ regulator-initial-mode = <DA9063_BUCK_MODE_SYNC>;
+ regulator-always-on;
+ };
+ buck2 {
+ regulator-name = "vdd_soc";
+ regulator-min-microvolt = <1150000>;
+ regulator-max-microvolt = <1380000>;
+ regulator-initial-mode = <DA9063_BUCK_MODE_SYNC>;
+ regulator-always-on;
+ };
+ buck3 {
+ regulator-name = "vdd_ddr3";
+ regulator-min-microvolt = <1500000>;
+ regulator-max-microvolt = <1500000>;
+ regulator-initial-mode = <DA9063_BUCK_MODE_SYNC>;
+ regulator-always-on;
+ };
+ buck4 {
+ regulator-name = "vdd_eth";
+ regulator-min-microvolt = <1200000>;
+ regulator-max-microvolt = <1200000>;
+ regulator-initial-mode = <DA9063_BUCK_MODE_SYNC>;
+ regulator-always-on;
+ };
+ ldo1 {
+ regulator-name = "vdd_snvs";
+ regulator-min-microvolt = <3000000>;
+ regulator-max-microvolt = <3000000>;
+ regulator-always-on;
+ };
+ ldo2 {
+ regulator-name = "vdd_high";
+ regulator-min-microvolt = <3000000>;
+ regulator-max-microvolt = <3000000>;
+ regulator-always-on;
+ };
+ ldo3 {
+ regulator-name = "vdd_eth_io";
+ regulator-min-microvolt = <2500000>;
+ regulator-max-microvolt = <2500000>;
+ };
+ ldo4 {
+ regulator-name = "vdd_emmc";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-always-on;
+ };
+ };
+ };
+ };
...
--
2.39.2
^ permalink raw reply related [flat|nested] 37+ messages in thread
* Re: [PATCH v2 04/11] dt-bindings: thermal: Convert da906{1,2} thermal to json-schema
2023-12-02 19:25 ` [PATCH v2 04/11] dt-bindings: thermal: Convert da906{1,2} thermal " Biju Das
@ 2023-12-02 21:39 ` Rob Herring
2023-12-03 10:07 ` Biju Das
2023-12-04 15:13 ` Rob Herring
2023-12-06 4:34 ` kernel test robot
2 siblings, 1 reply; 37+ messages in thread
From: Rob Herring @ 2023-12-02 21:39 UTC (permalink / raw)
To: Biju Das
Cc: Rob Herring, Zhang Rui, Daniel Lezcano, Prabhakar Mahadev Lad,
linux-renesas-soc, Krzysztof Kozlowski, Geert Uytterhoeven,
devicetree, Biju Das, Lukasz Luba, linux-pm, Rafael J. Wysocki,
Conor Dooley, Support Opensource
On Sat, 02 Dec 2023 19:25:28 +0000, Biju Das wrote:
> Convert the da906{1,2} thermal device tree binding documentation to
> json-schema.
>
> Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
> ---
> .../bindings/thermal/da9062-thermal.txt | 36 ------------
> .../bindings/thermal/dlg,da9062-thermal.yaml | 58 +++++++++++++++++++
> 2 files changed, 58 insertions(+), 36 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/thermal/da9062-thermal.txt
> create mode 100644 Documentation/devicetree/bindings/thermal/dlg,da9062-thermal.yaml
>
My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check'
on your patch (DT_CHECKER_FLAGS is new in v5.13):
yamllint warnings/errors:
dtschema/dtc warnings/errors:
Documentation/devicetree/bindings/thermal/dlg,da9062-thermal.example.dtb: /example-0/i2c/pmic@58: failed to match any schema with compatible: ['dlg,da9062']
doc reference errors (make refcheckdocs):
Warning: MAINTAINERS references a file that doesn't exist: Documentation/devicetree/bindings/thermal/da90??-thermal.txt
MAINTAINERS: Documentation/devicetree/bindings/thermal/da90??-thermal.txt
See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20231202192536.266885-5-biju.das.jz@bp.renesas.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] 37+ messages in thread
* Re: [PATCH v2 11/11] dt-bindings: mfd: dlg,da9063: Convert da9062 to json-schema
2023-12-02 19:25 ` [PATCH v2 11/11] dt-bindings: mfd: dlg,da9063: Convert da9062 to json-schema Biju Das
@ 2023-12-02 21:39 ` Rob Herring
2023-12-09 7:26 ` kernel test robot
1 sibling, 0 replies; 37+ messages in thread
From: Rob Herring @ 2023-12-02 21:39 UTC (permalink / raw)
To: Biju Das
Cc: devicetree, Prabhakar Mahadev Lad, Krzysztof Kozlowski,
Rob Herring, Biju Das, Lee Jones, linux-renesas-soc,
Geert Uytterhoeven, Conor Dooley, Steve Twiss,
Support Opensource
On Sat, 02 Dec 2023 19:25:35 +0000, Biju Das wrote:
> Convert the da9062 PMIC device tree binding documentation to json-schema.
>
> Update the example to match reality.
>
> Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
> ---
> .../devicetree/bindings/mfd/da9062.txt | 124 ------------
> .../devicetree/bindings/mfd/dlg,da9063.yaml | 184 +++++++++++++++++-
> 2 files changed, 178 insertions(+), 130 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/mfd/da9062.txt
>
My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check'
on your patch (DT_CHECKER_FLAGS is new in v5.13):
yamllint warnings/errors:
dtschema/dtc warnings/errors:
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/thermal/dlg,da9062-thermal.example.dtb: pmic@58: 'gpio' is a required property
from schema $id: http://devicetree.org/schemas/mfd/dlg,da9063.yaml#
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/thermal/dlg,da9062-thermal.example.dtb: pmic@58: 'onkey' is a required property
from schema $id: http://devicetree.org/schemas/mfd/dlg,da9063.yaml#
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/thermal/dlg,da9062-thermal.example.dtb: pmic@58: 'rtc' is a required property
from schema $id: http://devicetree.org/schemas/mfd/dlg,da9063.yaml#
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/thermal/dlg,da9062-thermal.example.dtb: pmic@58: 'watchdog' is a required property
from schema $id: http://devicetree.org/schemas/mfd/dlg,da9063.yaml#
doc reference errors (make refcheckdocs):
Warning: Documentation/devicetree/bindings/input/dlg,da9062-onkey.yaml references a file that doesn't exist: Documentation/devicetree/bindings/mfd/da9062.txt
Warning: Documentation/devicetree/bindings/thermal/dlg,da9062-thermal.yaml references a file that doesn't exist: Documentation/devicetree/bindings/mfd/da9062.txt
Documentation/devicetree/bindings/input/dlg,da9062-onkey.yaml: Documentation/devicetree/bindings/mfd/da9062.txt
Documentation/devicetree/bindings/thermal/dlg,da9062-thermal.yaml: Documentation/devicetree/bindings/mfd/da9062.txt
See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20231202192536.266885-12-biju.das.jz@bp.renesas.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] 37+ messages in thread
* RE: [PATCH v2 04/11] dt-bindings: thermal: Convert da906{1,2} thermal to json-schema
2023-12-02 21:39 ` Rob Herring
@ 2023-12-03 10:07 ` Biju Das
2023-12-04 15:09 ` Rob Herring
0 siblings, 1 reply; 37+ messages in thread
From: Biju Das @ 2023-12-03 10:07 UTC (permalink / raw)
To: Rob Herring
Cc: Rob Herring, Zhang Rui, Daniel Lezcano, Prabhakar Mahadev Lad,
linux-renesas-soc, Krzysztof Kozlowski, Geert Uytterhoeven,
devicetree, biju.das.au, Lukasz Luba, linux-pm,
Rafael J. Wysocki, Conor Dooley, Support Opensource
Hi Rob Herring,
Thanks for the feedback,
> Subject: Re: [PATCH v2 04/11] dt-bindings: thermal: Convert da906{1,2}
> thermal to json-schema
>
>
> On Sat, 02 Dec 2023 19:25:28 +0000, Biju Das wrote:
> > Convert the da906{1,2} thermal device tree binding documentation to
> > json-schema.
> >
> > Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
> > ---
> > .../bindings/thermal/da9062-thermal.txt | 36 ------------
> > .../bindings/thermal/dlg,da9062-thermal.yaml | 58
> > +++++++++++++++++++
> > 2 files changed, 58 insertions(+), 36 deletions(-) delete mode
> > 100644 Documentation/devicetree/bindings/thermal/da9062-thermal.txt
> > create mode 100644
> > Documentation/devicetree/bindings/thermal/dlg,da9062-thermal.yaml
> >
>
> My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check'
> on your patch (DT_CHECKER_FLAGS is new in v5.13):
>
> yamllint warnings/errors:
>
> dtschema/dtc warnings/errors:
> Documentation/devicetree/bindings/thermal/dlg,da9062-thermal.example.dtb:
> /example-0/i2c/pmic@58: failed to match any schema with compatible:
> ['dlg,da9062']
Looks validation is not checking compatible defines in the mfd/da9062.txt file.
So will merge this patch with patch #11 to fix this error.
>
> doc reference errors (make refcheckdocs):
> Warning: MAINTAINERS references a file that doesn't exist:
> Documentation/devicetree/bindings/thermal/da90??-thermal.txt
> MAINTAINERS: Documentation/devicetree/bindings/thermal/da90??-thermal.txt
Also, will fix the MAINTAINERS entry.
Cheers,
Biju
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PATCH v2 01/11] dt-bindings: watchdog: dlg,da9062-watchdog: Add fallback for DA9061 watchdog
2023-12-02 19:25 ` [PATCH v2 01/11] dt-bindings: watchdog: dlg,da9062-watchdog: Add fallback for DA9061 watchdog Biju Das
@ 2023-12-03 11:34 ` Conor Dooley
2023-12-03 12:52 ` Biju Das
0 siblings, 1 reply; 37+ messages in thread
From: Conor Dooley @ 2023-12-03 11:34 UTC (permalink / raw)
To: Biju Das
Cc: Wim Van Sebroeck, Guenter Roeck, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Steve Twiss, linux-watchdog,
devicetree, Geert Uytterhoeven, Prabhakar Mahadev Lad, Biju Das,
linux-renesas-soc
[-- Attachment #1: Type: text/plain, Size: 1343 bytes --]
On Sat, Dec 02, 2023 at 07:25:25PM +0000, Biju Das wrote:
> The DA9061 watchdog is identical to DA9062 watchdog, so no driver changes
> are required. The fallback compatible string "dlg,da9062-watchdog" will be
> used on DA9061 watchdog.
>
> Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
> ---
> v2:
> * New patch
> ---
> .../bindings/watchdog/dlg,da9062-watchdog.yaml | 11 ++++++++---
> 1 file changed, 8 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/watchdog/dlg,da9062-watchdog.yaml b/Documentation/devicetree/bindings/watchdog/dlg,da9062-watchdog.yaml
> index f058628bb632..2b71fdb9251c 100644
> --- a/Documentation/devicetree/bindings/watchdog/dlg,da9062-watchdog.yaml
> +++ b/Documentation/devicetree/bindings/watchdog/dlg,da9062-watchdog.yaml
> @@ -14,9 +14,14 @@ allOf:
>
> properties:
> compatible:
> - enum:
> - - dlg,da9061-watchdog
> - - dlg,da9062-watchdog
> + oneOf:
> + - items:
> + - enum:
> + - dlg,da9062-watchdog
> + - items:
> + - enum:
> + - dlg,da9061-watchdog
If there is no da9064 on the horizon, I'd just make this const.
> + - const: dlg,da9062-watchdog # da9062-watchdog fallback
The comment here is just noise IMO.
Otherwise, LGTM.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PATCH v2 02/11] dt-bindings: watchdog: dlg,da9062-watchdog: Document DA9063 watchdog
2023-12-02 19:25 ` [PATCH v2 02/11] dt-bindings: watchdog: dlg,da9062-watchdog: Document DA9063 watchdog Biju Das
@ 2023-12-03 11:34 ` Conor Dooley
0 siblings, 0 replies; 37+ messages in thread
From: Conor Dooley @ 2023-12-03 11:34 UTC (permalink / raw)
To: Biju Das
Cc: Wim Van Sebroeck, Guenter Roeck, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Steve Twiss, linux-watchdog,
devicetree, Geert Uytterhoeven, Prabhakar Mahadev Lad, Biju Das,
linux-renesas-soc
[-- Attachment #1: Type: text/plain, Size: 1025 bytes --]
On Sat, Dec 02, 2023 at 07:25:26PM +0000, Biju Das wrote:
> Document DA9063 watchdog device as it is similar to DA9062 watchdog.
>
> Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Cheers,
Conor.
> ---
> v2:
> * New patch
> ---
> .../devicetree/bindings/watchdog/dlg,da9062-watchdog.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/watchdog/dlg,da9062-watchdog.yaml b/Documentation/devicetree/bindings/watchdog/dlg,da9062-watchdog.yaml
> index 2b71fdb9251c..ccec4d3e62f5 100644
> --- a/Documentation/devicetree/bindings/watchdog/dlg,da9062-watchdog.yaml
> +++ b/Documentation/devicetree/bindings/watchdog/dlg,da9062-watchdog.yaml
> @@ -18,6 +18,7 @@ properties:
> - items:
> - enum:
> - dlg,da9062-watchdog
> + - dlg,da9063-watchdog
> - items:
> - enum:
> - dlg,da9061-watchdog
> --
> 2.39.2
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PATCH v2 03/11] dt-bindings: input: Convert da906{1,2,3} onkey to json-schema
2023-12-02 19:25 ` [PATCH v2 03/11] dt-bindings: input: Convert da906{1,2,3} onkey to json-schema Biju Das
@ 2023-12-03 11:36 ` Conor Dooley
2023-12-04 10:58 ` Biju Das
2023-12-05 20:19 ` kernel test robot
1 sibling, 1 reply; 37+ messages in thread
From: Conor Dooley @ 2023-12-03 11:36 UTC (permalink / raw)
To: Biju Das
Cc: Dmitry Torokhov, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Support Opensource, linux-input, devicetree, Geert Uytterhoeven,
Prabhakar Mahadev Lad, Biju Das, linux-renesas-soc
[-- Attachment #1: Type: text/plain, Size: 2268 bytes --]
On Sat, Dec 02, 2023 at 07:25:27PM +0000, Biju Das wrote:
> diff --git a/Documentation/devicetree/bindings/input/dlg,da9062-onkey.yaml b/Documentation/devicetree/bindings/input/dlg,da9062-onkey.yaml
> new file mode 100644
> index 000000000000..34f2e00cf045
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/input/dlg,da9062-onkey.yaml
> @@ -0,0 +1,61 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/input/dlg,da9062-onkey.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Dialog DA9061/62/63 OnKey Module
> +
> +maintainers:
> + - Biju Das <biju.das.jz@bp.renesas.com>
> +
> +description: |
> + This module is part of the DA9061/DA9062/DA9063. For more details about entire
> + DA9062 and DA9061 chips see Documentation/devicetree/bindings/mfd/da9062.txt
> + For DA906{1,2,3} see Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
> +
> + This module provides the KEY_POWER event.
> +
> +properties:
> + compatible:
> + oneOf:
> + - items:
> + - enum:
> + - dlg,da9062-onkey
> + - dlg,da9063-onkey
> + - items:
> + - enum:
> + - dlg,da9061-onkey
> + - const: dlg,da9062-onkey # da9062-onkey fallback
Same comments here.
Cheers,
Conor.
> + dlg,disable-key-power:
> + type: boolean
> + description:
> + Disable power-down using a long key-press. If this entry exists
> + the OnKey driver will remove support for the KEY_POWER key press
> + when triggered using a long press of the OnKey.
> +
> +required:
> + - compatible
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/interrupt-controller/irq.h>
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> + pmic@58 {
> + compatible = "dlg,da9063";
> + reg = <0x58>;
> + interrupt-parent = <&gpio6>;
> + interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
> + interrupt-controller;
> +
> + onkey {
> + compatible = "dlg,da9063-onkey";
> + dlg,disable-key-power;
> + };
> + };
> + };
> --
> 2.39.2
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PATCH v2 05/11] dt-bindings: mfd: dlg,da9063: Update watchdog property
2023-12-02 19:25 ` [PATCH v2 05/11] dt-bindings: mfd: dlg,da9063: Update watchdog property Biju Das
@ 2023-12-03 11:39 ` Conor Dooley
2023-12-03 12:53 ` Biju Das
0 siblings, 1 reply; 37+ messages in thread
From: Conor Dooley @ 2023-12-03 11:39 UTC (permalink / raw)
To: Biju Das
Cc: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Support Opensource, Steve Twiss, devicetree, Geert Uytterhoeven,
Prabhakar Mahadev Lad, Biju Das, linux-renesas-soc
[-- Attachment #1: Type: text/plain, Size: 2209 bytes --]
On Sat, Dec 02, 2023 at 07:25:29PM +0000, Biju Das wrote:
> Update watchdog property by referring to dlg,da9062-watchdog binding file
> and drop its definition from this file.
>
> While at, update description with link to product information.
This is unrelated IMO.
Otherwise,
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Cheers,
Conor.
> Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
> ---
> .../devicetree/bindings/mfd/dlg,da9063.yaml | 21 ++++++-------------
> 1 file changed, 6 insertions(+), 15 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml b/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
> index c5a7e10d7d80..1bdfb2be2e17 100644
> --- a/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
> +++ b/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
> @@ -17,6 +17,9 @@ description: |
> moment where all voltage monitors are disabled. Next, as da9063 only supports
> UV *and* OV monitoring, both must be set to the same severity and value
> (0: disable, 1: enable).
> + Product information for the DA906{3L,3} devices can be found here:
> + - https://www.dialog-semiconductor.com/products/da9063l
> + - https://www.dialog-semiconductor.com/products/da9063
>
> properties:
> compatible:
> @@ -35,21 +38,6 @@ properties:
> "#interrupt-cells":
> const: 2
>
> - dlg,use-sw-pm:
> - type: boolean
> - description:
> - Disable the watchdog during suspend.
> - Only use this option if you can't use the watchdog automatic suspend
> - function during a suspend (see register CONTROL_B).
> -
> - watchdog:
> - type: object
> - $ref: /schemas/watchdog/watchdog.yaml#
> - unevaluatedProperties: false
> - properties:
> - compatible:
> - const: dlg,da9063-watchdog
> -
> rtc:
> type: object
> $ref: /schemas/rtc/rtc.yaml#
> @@ -82,6 +70,9 @@ properties:
> $ref: /schemas/regulator/regulator.yaml
> unevaluatedProperties: false
>
> + watchdog:
> + $ref: /schemas/watchdog/dlg,da9062-watchdog.yaml
> +
> required:
> - compatible
> - reg
> --
> 2.39.2
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PATCH v2 07/11] dt-bindings: mfd: dlg,da9063: Sort child devices
2023-12-02 19:25 ` [PATCH v2 07/11] dt-bindings: mfd: dlg,da9063: Sort child devices Biju Das
@ 2023-12-03 11:40 ` Conor Dooley
0 siblings, 0 replies; 37+ messages in thread
From: Conor Dooley @ 2023-12-03 11:40 UTC (permalink / raw)
To: Biju Das
Cc: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Support Opensource, Steve Twiss, devicetree, Geert Uytterhoeven,
Prabhakar Mahadev Lad, Biju Das, linux-renesas-soc
[-- Attachment #1: Type: text/plain, Size: 1422 bytes --]
On Sat, Dec 02, 2023 at 07:25:31PM +0000, Biju Das wrote:
> Sort child devices alphabetically.
>
> Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Cheers,
Conor.
> ---
> .../devicetree/bindings/mfd/dlg,da9063.yaml | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml b/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
> index 468d31b1135b..ecdef322723d 100644
> --- a/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
> +++ b/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
> @@ -38,14 +38,6 @@ properties:
> "#interrupt-cells":
> const: 2
>
> - rtc:
> - type: object
> - $ref: /schemas/rtc/rtc.yaml#
> - unevaluatedProperties: false
> - properties:
> - compatible:
> - const: dlg,da9063-rtc
> -
> onkey:
> $ref: /schemas/input/dlg,da9062-onkey.yaml
>
> @@ -57,6 +49,14 @@ properties:
> $ref: /schemas/regulator/regulator.yaml
> unevaluatedProperties: false
>
> + rtc:
> + type: object
> + $ref: /schemas/rtc/rtc.yaml#
> + unevaluatedProperties: false
> + properties:
> + compatible:
> + const: dlg,da9063-rtc
> +
> watchdog:
> $ref: /schemas/watchdog/dlg,da9062-watchdog.yaml
>
> --
> 2.39.2
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PATCH v2 08/11] dt-bindings: mfd: da9062: Update watchdog description
2023-12-02 19:25 ` [PATCH v2 08/11] dt-bindings: mfd: da9062: Update watchdog description Biju Das
@ 2023-12-03 11:41 ` Conor Dooley
2023-12-03 12:56 ` Biju Das
0 siblings, 1 reply; 37+ messages in thread
From: Conor Dooley @ 2023-12-03 11:41 UTC (permalink / raw)
To: Biju Das
Cc: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Support Opensource, devicetree, Geert Uytterhoeven,
Prabhakar Mahadev Lad, Biju Das, linux-renesas-soc
[-- Attachment #1: Type: text/plain, Size: 936 bytes --]
On Sat, Dec 02, 2023 at 07:25:32PM +0000, Biju Das wrote:
> Update watchdog description by referring to dlg,da9062-watchdog binding
> file.
>
> Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
> ---
> Documentation/devicetree/bindings/mfd/da9062.txt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/mfd/da9062.txt b/Documentation/devicetree/bindings/mfd/da9062.txt
> index e4eedd3bd233..020106322b08 100644
> --- a/Documentation/devicetree/bindings/mfd/da9062.txt
> +++ b/Documentation/devicetree/bindings/mfd/da9062.txt
> @@ -86,7 +86,7 @@ Sub-nodes:
>
> - onkey : See ../input/da9062-onkey.txt
>
> -- watchdog: See ../watchdog/da9062-wdt.txt
> +- watchdog: See ../watchdog/da9062-watchdog.yaml
Should this not be squashed with the conversion of that binding?
>
> - thermal : See ../thermal/da9062-thermal.txt
>
> --
> 2.39.2
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 37+ messages in thread
* RE: [PATCH v2 01/11] dt-bindings: watchdog: dlg,da9062-watchdog: Add fallback for DA9061 watchdog
2023-12-03 11:34 ` Conor Dooley
@ 2023-12-03 12:52 ` Biju Das
2023-12-04 10:55 ` Biju Das
0 siblings, 1 reply; 37+ messages in thread
From: Biju Das @ 2023-12-03 12:52 UTC (permalink / raw)
To: Conor Dooley
Cc: Wim Van Sebroeck, Guenter Roeck, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Steve Twiss, linux-watchdog,
devicetree, Geert Uytterhoeven, Prabhakar Mahadev Lad,
biju.das.au, linux-renesas-soc
Hi Conor Dooley,
Thanks for the feedback.
> Subject: Re: [PATCH v2 01/11] dt-bindings: watchdog: dlg,da9062-watchdog:
> Add fallback for DA9061 watchdog
>
> On Sat, Dec 02, 2023 at 07:25:25PM +0000, Biju Das wrote:
> > The DA9061 watchdog is identical to DA9062 watchdog, so no driver
> > changes are required. The fallback compatible string
> > "dlg,da9062-watchdog" will be used on DA9061 watchdog.
> >
> > Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
> > ---
> > v2:
> > * New patch
> > ---
> > .../bindings/watchdog/dlg,da9062-watchdog.yaml | 11 ++++++++---
> > 1 file changed, 8 insertions(+), 3 deletions(-)
> >
> > diff --git
> > a/Documentation/devicetree/bindings/watchdog/dlg,da9062-watchdog.yaml
> > b/Documentation/devicetree/bindings/watchdog/dlg,da9062-watchdog.yaml
> > index f058628bb632..2b71fdb9251c 100644
> > ---
> > a/Documentation/devicetree/bindings/watchdog/dlg,da9062-watchdog.yaml
> > +++ b/Documentation/devicetree/bindings/watchdog/dlg,da9062-watchdog.y
> > +++ aml
> > @@ -14,9 +14,14 @@ allOf:
> >
> > properties:
> > compatible:
> > - enum:
> > - - dlg,da9061-watchdog
> > - - dlg,da9062-watchdog
> > + oneOf:
> > + - items:
> > + - enum:
> > + - dlg,da9062-watchdog
> > + - items:
> > + - enum:
> > + - dlg,da9061-watchdog
>
> If there is no da9064 on the horizon, I'd just make this const.
You mean since it is single device having a fallback,
define both device compatible and fallback as const instead of enum and const??
>
> > + - const: dlg,da9062-watchdog # da9062-watchdog fallback
>
> The comment here is just noise IMO.
OK, will change the comment as generic fallback. Is it ok? Or you want to drop completely??
Cheers,
Biju
^ permalink raw reply [flat|nested] 37+ messages in thread
* RE: [PATCH v2 05/11] dt-bindings: mfd: dlg,da9063: Update watchdog property
2023-12-03 11:39 ` Conor Dooley
@ 2023-12-03 12:53 ` Biju Das
0 siblings, 0 replies; 37+ messages in thread
From: Biju Das @ 2023-12-03 12:53 UTC (permalink / raw)
To: Conor Dooley
Cc: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Support Opensource, Steve Twiss, devicetree, Geert Uytterhoeven,
Prabhakar Mahadev Lad, biju.das.au, linux-renesas-soc
Hi Conor,
Thanks for the feedback.
> -----Original Message-----
> From: Conor Dooley <conor@kernel.org>
> Sent: Sunday, December 3, 2023 11:40 AM
> Subject: Re: [PATCH v2 05/11] dt-bindings: mfd: dlg,da9063: Update
> watchdog property
>
> On Sat, Dec 02, 2023 at 07:25:29PM +0000, Biju Das wrote:
> > Update watchdog property by referring to dlg,da9062-watchdog binding
> > file and drop its definition from this file.
> >
>
> > While at, update description with link to product information.
>
> This is unrelated IMO.
OK will move this to patch#11.
Cheers,
Biju
> Otherwise,
> Acked-by: Conor Dooley <conor.dooley@microchip.com>
>
> Cheers,
> Conor.
>
>
> > Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
> > ---
> > .../devicetree/bindings/mfd/dlg,da9063.yaml | 21 ++++++-------------
> > 1 file changed, 6 insertions(+), 15 deletions(-)
> >
> > diff --git a/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
> > b/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
> > index c5a7e10d7d80..1bdfb2be2e17 100644
> > --- a/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
> > +++ b/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
> > @@ -17,6 +17,9 @@ description: |
> > moment where all voltage monitors are disabled. Next, as da9063 only
> supports
> > UV *and* OV monitoring, both must be set to the same severity and
> value
> > (0: disable, 1: enable).
> > + Product information for the DA906{3L,3} devices can be found here:
> > + - https://www.dialog-semiconductor.com/products/da9063l
> > + - https://www.dialog-semiconductor.com/products/da9063
> >
> > properties:
> > compatible:
> > @@ -35,21 +38,6 @@ properties:
> > "#interrupt-cells":
> > const: 2
> >
> > - dlg,use-sw-pm:
> > - type: boolean
> > - description:
> > - Disable the watchdog during suspend.
> > - Only use this option if you can't use the watchdog automatic
> suspend
> > - function during a suspend (see register CONTROL_B).
> > -
> > - watchdog:
> > - type: object
> > - $ref: /schemas/watchdog/watchdog.yaml#
> > - unevaluatedProperties: false
> > - properties:
> > - compatible:
> > - const: dlg,da9063-watchdog
> > -
> > rtc:
> > type: object
> > $ref: /schemas/rtc/rtc.yaml#
> > @@ -82,6 +70,9 @@ properties:
> > $ref: /schemas/regulator/regulator.yaml
> > unevaluatedProperties: false
> >
> > + watchdog:
> > + $ref: /schemas/watchdog/dlg,da9062-watchdog.yaml
> > +
> > required:
> > - compatible
> > - reg
> > --
> > 2.39.2
> >
^ permalink raw reply [flat|nested] 37+ messages in thread
* RE: [PATCH v2 08/11] dt-bindings: mfd: da9062: Update watchdog description
2023-12-03 11:41 ` Conor Dooley
@ 2023-12-03 12:56 ` Biju Das
2023-12-04 15:15 ` Rob Herring
0 siblings, 1 reply; 37+ messages in thread
From: Biju Das @ 2023-12-03 12:56 UTC (permalink / raw)
To: Conor Dooley
Cc: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Support Opensource, devicetree, Geert Uytterhoeven,
Prabhakar Mahadev Lad, biju.das.au, linux-renesas-soc
Hi Conor Dooley,
Thanks for the feedback.
> -----Original Message-----
> From: Conor Dooley <conor@kernel.org>
> Sent: Sunday, December 3, 2023 11:41 AM
> Subject: Re: [PATCH v2 08/11] dt-bindings: mfd: da9062: Update watchdog
> description
>
> On Sat, Dec 02, 2023 at 07:25:32PM +0000, Biju Das wrote:
> > Update watchdog description by referring to dlg,da9062-watchdog
> > binding file.
> >
> > Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
> > ---
> > Documentation/devicetree/bindings/mfd/da9062.txt | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/Documentation/devicetree/bindings/mfd/da9062.txt
> > b/Documentation/devicetree/bindings/mfd/da9062.txt
> > index e4eedd3bd233..020106322b08 100644
> > --- a/Documentation/devicetree/bindings/mfd/da9062.txt
> > +++ b/Documentation/devicetree/bindings/mfd/da9062.txt
> > @@ -86,7 +86,7 @@ Sub-nodes:
> >
> > - onkey : See ../input/da9062-onkey.txt
> >
> > -- watchdog: See ../watchdog/da9062-wdt.txt
> > +- watchdog: See ../watchdog/da9062-watchdog.yaml
>
> Should this not be squashed with the conversion of that binding?
Yes I can squash these patches.
I am not sure how this is going to applied as it involves
Mfd and watchdog changes, who is going to apply this patch?
Cheers,
Biju
>
> >
> > - thermal : See ../thermal/da9062-thermal.txt
> >
> > --
> > 2.39.2
> >
^ permalink raw reply [flat|nested] 37+ messages in thread
* RE: [PATCH v2 01/11] dt-bindings: watchdog: dlg,da9062-watchdog: Add fallback for DA9061 watchdog
2023-12-03 12:52 ` Biju Das
@ 2023-12-04 10:55 ` Biju Das
2023-12-04 17:10 ` Conor Dooley
0 siblings, 1 reply; 37+ messages in thread
From: Biju Das @ 2023-12-04 10:55 UTC (permalink / raw)
To: Conor Dooley
Cc: Wim Van Sebroeck, Guenter Roeck, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Steve Twiss, linux-watchdog,
devicetree, Geert Uytterhoeven, Prabhakar Mahadev Lad,
biju.das.au, linux-renesas-soc
Hi Conor Dooley,
> Subject: RE: [PATCH v2 01/11] dt-bindings: watchdog: dlg,da9062-watchdog:
> Add fallback for DA9061 watchdog
>
> Hi Conor Dooley,
>
> Thanks for the feedback.
>
> > Subject: Re: [PATCH v2 01/11] dt-bindings: watchdog: dlg,da9062-
> watchdog:
> > Add fallback for DA9061 watchdog
> >
> > On Sat, Dec 02, 2023 at 07:25:25PM +0000, Biju Das wrote:
> > > The DA9061 watchdog is identical to DA9062 watchdog, so no driver
> > > changes are required. The fallback compatible string
> > > "dlg,da9062-watchdog" will be used on DA9061 watchdog.
> > >
> > > Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
> > > ---
> > > v2:
> > > * New patch
> > > ---
> > > .../bindings/watchdog/dlg,da9062-watchdog.yaml | 11 ++++++++--
> -
> > > 1 file changed, 8 insertions(+), 3 deletions(-)
> > >
> > > diff --git
> > > a/Documentation/devicetree/bindings/watchdog/dlg,da9062-watchdog.yam
> > > l
> > > b/Documentation/devicetree/bindings/watchdog/dlg,da9062-watchdog.yam
> > > l index f058628bb632..2b71fdb9251c 100644
> > > ---
> > > a/Documentation/devicetree/bindings/watchdog/dlg,da9062-watchdog.yam
> > > l
> > > +++ b/Documentation/devicetree/bindings/watchdog/dlg,da9062-watchdog
> > > +++ .y
> > > +++ aml
> > > @@ -14,9 +14,14 @@ allOf:
> > >
> > > properties:
> > > compatible:
> > > - enum:
> > > - - dlg,da9061-watchdog
> > > - - dlg,da9062-watchdog
> > > + oneOf:
> > > + - items:
> > > + - enum:
> > > + - dlg,da9062-watchdog
> > > + - items:
> > > + - enum:
> > > + - dlg,da9061-watchdog
> >
> > If there is no da9064 on the horizon, I'd just make this const.
>
> You mean since it is single device having a fallback, define both device
> compatible and fallback as const instead of enum and const??
>
> >
> > > + - const: dlg,da9062-watchdog # da9062-watchdog fallback
> >
> > The comment here is just noise IMO.
Yes it make sense, comment is not needed.
oneOf:
- items:
- enum:
- dlg,da9062-watchdog
- items:
- const: dlg,da9061-watchdog
- const: dlg,da9062-watchdog
Cheers,
Biju
^ permalink raw reply [flat|nested] 37+ messages in thread
* RE: [PATCH v2 03/11] dt-bindings: input: Convert da906{1,2,3} onkey to json-schema
2023-12-03 11:36 ` Conor Dooley
@ 2023-12-04 10:58 ` Biju Das
0 siblings, 0 replies; 37+ messages in thread
From: Biju Das @ 2023-12-04 10:58 UTC (permalink / raw)
To: Conor Dooley
Cc: Dmitry Torokhov, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Support Opensource, linux-input, devicetree, Geert Uytterhoeven,
Prabhakar Mahadev Lad, biju.das.au, linux-renesas-soc
Hi Conor Dooley,
> Subject: Re: [PATCH v2 03/11] dt-bindings: input: Convert da906{1,2,3}
> onkey to json-schema
>
> On Sat, Dec 02, 2023 at 07:25:27PM +0000, Biju Das wrote:
> > diff --git
> > a/Documentation/devicetree/bindings/input/dlg,da9062-onkey.yaml
> > b/Documentation/devicetree/bindings/input/dlg,da9062-onkey.yaml
> > new file mode 100644
> > index 000000000000..34f2e00cf045
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/input/dlg,da9062-onkey.yaml
> > @@ -0,0 +1,61 @@
> > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) %YAML 1.2
> > +---
> > +$id: http://devicetree.org/schemas/input/dlg,da9062-onkey.yaml#
> > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > +
> > +title: Dialog DA9061/62/63 OnKey Module
> > +
> > +maintainers:
> > + - Biju Das <biju.das.jz@bp.renesas.com>
> > +
> > +description: |
> > + This module is part of the DA9061/DA9062/DA9063. For more details
> > +about entire
> > + DA9062 and DA9061 chips see
> > +Documentation/devicetree/bindings/mfd/da9062.txt
> > + For DA906{1,2,3} see
> > +Documentation/devicetree/bindings/mfd/dlg,da9063.yaml
> > +
> > + This module provides the KEY_POWER event.
> > +
> > +properties:
> > + compatible:
> > + oneOf:
> > + - items:
> > + - enum:
> > + - dlg,da9062-onkey
> > + - dlg,da9063-onkey
> > + - items:
> > + - enum:
> > + - dlg,da9061-onkey
> > + - const: dlg,da9062-onkey # da9062-onkey fallback
>
> Same comments here.
Agreed, it will be like
oneOf:
- items:
- enum:
- dlg,da9062-onkey
- dlg,da9063-onkey
- items:
- const: dlg,da9061-onkey
- const: dlg,da9062-onkey
>
> Cheers,
> Conor.
>
> > + dlg,disable-key-power:
> > + type: boolean
> > + description:
> > + Disable power-down using a long key-press. If this entry exists
> > + the OnKey driver will remove support for the KEY_POWER key press
> > + when triggered using a long press of the OnKey.
> > +
> > +required:
> > + - compatible
> > +
> > +additionalProperties: false
> > +
> > +examples:
> > + - |
> > + #include <dt-bindings/interrupt-controller/irq.h>
> > + i2c {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + pmic@58 {
> > + compatible = "dlg,da9063";
> > + reg = <0x58>;
> > + interrupt-parent = <&gpio6>;
> > + interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
> > + interrupt-controller;
> > +
> > + onkey {
> > + compatible = "dlg,da9063-onkey";
> > + dlg,disable-key-power;
> > + };
> > + };
> > + };
For consistency, I have updated the example similar to watchdog. Same case for thermal.
examples:
- |
onkey {
compatible = "dlg,da9063-onkey";
dlg,disable-key-power;
};
Cheers,
Biju
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PATCH v2 04/11] dt-bindings: thermal: Convert da906{1,2} thermal to json-schema
2023-12-03 10:07 ` Biju Das
@ 2023-12-04 15:09 ` Rob Herring
0 siblings, 0 replies; 37+ messages in thread
From: Rob Herring @ 2023-12-04 15:09 UTC (permalink / raw)
To: Biju Das
Cc: Zhang Rui, Daniel Lezcano, Prabhakar Mahadev Lad,
linux-renesas-soc, Krzysztof Kozlowski, Geert Uytterhoeven,
devicetree, biju.das.au, Lukasz Luba, linux-pm,
Rafael J. Wysocki, Conor Dooley, Support Opensource
On Sun, Dec 03, 2023 at 10:07:19AM +0000, Biju Das wrote:
> Hi Rob Herring,
>
> Thanks for the feedback,
>
> > Subject: Re: [PATCH v2 04/11] dt-bindings: thermal: Convert da906{1,2}
> > thermal to json-schema
> >
> >
> > On Sat, 02 Dec 2023 19:25:28 +0000, Biju Das wrote:
> > > Convert the da906{1,2} thermal device tree binding documentation to
> > > json-schema.
> > >
> > > Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
> > > ---
> > > .../bindings/thermal/da9062-thermal.txt | 36 ------------
> > > .../bindings/thermal/dlg,da9062-thermal.yaml | 58
> > > +++++++++++++++++++
> > > 2 files changed, 58 insertions(+), 36 deletions(-) delete mode
> > > 100644 Documentation/devicetree/bindings/thermal/da9062-thermal.txt
> > > create mode 100644
> > > Documentation/devicetree/bindings/thermal/dlg,da9062-thermal.yaml
> > >
> >
> > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check'
> > on your patch (DT_CHECKER_FLAGS is new in v5.13):
> >
> > yamllint warnings/errors:
> >
> > dtschema/dtc warnings/errors:
> > Documentation/devicetree/bindings/thermal/dlg,da9062-thermal.example.dtb:
> > /example-0/i2c/pmic@58: failed to match any schema with compatible:
> > ['dlg,da9062']
>
> Looks validation is not checking compatible defines in the mfd/da9062.txt file.
> So will merge this patch with patch #11 to fix this error.
No need to merge it. Just note below the '---' the warning is expected.
Rob
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PATCH v2 04/11] dt-bindings: thermal: Convert da906{1,2} thermal to json-schema
2023-12-02 19:25 ` [PATCH v2 04/11] dt-bindings: thermal: Convert da906{1,2} thermal " Biju Das
2023-12-02 21:39 ` Rob Herring
@ 2023-12-04 15:13 ` Rob Herring
2023-12-04 15:49 ` Biju Das
2023-12-06 4:34 ` kernel test robot
2 siblings, 1 reply; 37+ messages in thread
From: Rob Herring @ 2023-12-04 15:13 UTC (permalink / raw)
To: Biju Das
Cc: Krzysztof Kozlowski, Conor Dooley, Support Opensource,
Rafael J. Wysocki, Daniel Lezcano, Zhang Rui, Lukasz Luba,
linux-pm, devicetree, Geert Uytterhoeven, Prabhakar Mahadev Lad,
Biju Das, linux-renesas-soc
On Sat, Dec 02, 2023 at 07:25:28PM +0000, Biju Das wrote:
> Convert the da906{1,2} thermal device tree binding documentation to
> json-schema.
>
> Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
> ---
> .../bindings/thermal/da9062-thermal.txt | 36 ------------
> .../bindings/thermal/dlg,da9062-thermal.yaml | 58 +++++++++++++++++++
> 2 files changed, 58 insertions(+), 36 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/thermal/da9062-thermal.txt
> create mode 100644 Documentation/devicetree/bindings/thermal/dlg,da9062-thermal.yaml
>
> diff --git a/Documentation/devicetree/bindings/thermal/da9062-thermal.txt b/Documentation/devicetree/bindings/thermal/da9062-thermal.txt
> deleted file mode 100644
> index e241bb5a5584..000000000000
> --- a/Documentation/devicetree/bindings/thermal/da9062-thermal.txt
> +++ /dev/null
> @@ -1,36 +0,0 @@
> -* Dialog DA9062/61 TJUNC Thermal Module
> -
> -This module is part of the DA9061/DA9062. For more details about entire
> -DA9062 and DA9061 chips see Documentation/devicetree/bindings/mfd/da9062.txt
> -
> -Junction temperature thermal module uses an interrupt signal to identify
> -high THERMAL_TRIP_HOT temperatures for the PMIC device.
> -
> -Required properties:
> -
> -- compatible: should be one of the following valid compatible string lines:
> - "dlg,da9061-thermal", "dlg,da9062-thermal"
> - "dlg,da9062-thermal"
> -
> -Optional properties:
> -
> -- polling-delay-passive : Specify the polling period, measured in
> - milliseconds, between thermal zone device update checks.
> -
> -Example: DA9062
> -
> - pmic0: da9062@58 {
> - thermal {
> - compatible = "dlg,da9062-thermal";
> - polling-delay-passive = <3000>;
> - };
> - };
> -
> -Example: DA9061 using a fall-back compatible for the DA9062 onkey driver
> -
> - pmic0: da9061@58 {
> - thermal {
> - compatible = "dlg,da9061-thermal", "dlg,da9062-thermal";
> - polling-delay-passive = <3000>;
> - };
> - };
> diff --git a/Documentation/devicetree/bindings/thermal/dlg,da9062-thermal.yaml b/Documentation/devicetree/bindings/thermal/dlg,da9062-thermal.yaml
> new file mode 100644
> index 000000000000..0021ebdd83a0
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/thermal/dlg,da9062-thermal.yaml
> @@ -0,0 +1,58 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/thermal/dlg,da9062-thermal.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Dialog DA9062/61 TJUNC Thermal Module
> +
> +description:
> + This module is part of the DA9061/DA9062. For more details about entire
> + DA9062 and DA9061 chips see Documentation/devicetree/bindings/mfd/da9062.txt
> +
> + Junction temperature thermal module uses an interrupt signal to identify
> + high THERMAL_TRIP_HOT temperatures for the PMIC device.
> +
> +maintainers:
> + - Biju Das <biju.das.jz@bp.renesas.com>
> +
> +properties:
> + compatible:
> + oneOf:
> + - items:
> + - enum:
> + - dlg,da9062-thermal
> + - items:
> + - enum:
> + - dlg,da9061-thermal
> + - const: dlg,da9062-thermal # da9062-thermal fallback
> +
> + polling-delay-passive:
> + description:
> + Specify the polling period, measured in milliseconds, between
> + thermal zone device update checks.
> +
> +required:
> + - compatible
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/interrupt-controller/irq.h>
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> + pmic@58 {
> + compatible = "dlg,da9062";
> + reg = <0x58>;
> + interrupt-parent = <&gpio6>;
> + interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
> + interrupt-controller;
> +
> + thermal {
> + compatible = "dlg,da9062-thermal";
> + polling-delay-passive = <3000>;
> + };
> + };
> + };
Just drop the example here. No need for 2 examples, just provide 1
complete example in the MFD schema.
With that,
Reviewed-by: Rob Herring <robh@kernel.org>
Rob
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PATCH v2 08/11] dt-bindings: mfd: da9062: Update watchdog description
2023-12-03 12:56 ` Biju Das
@ 2023-12-04 15:15 ` Rob Herring
2023-12-04 15:50 ` Biju Das
0 siblings, 1 reply; 37+ messages in thread
From: Rob Herring @ 2023-12-04 15:15 UTC (permalink / raw)
To: Biju Das
Cc: Conor Dooley, Lee Jones, Krzysztof Kozlowski, Conor Dooley,
Support Opensource, devicetree, Geert Uytterhoeven,
Prabhakar Mahadev Lad, biju.das.au, linux-renesas-soc
On Sun, Dec 03, 2023 at 12:56:22PM +0000, Biju Das wrote:
>
> Hi Conor Dooley,
>
> Thanks for the feedback.
>
> > -----Original Message-----
> > From: Conor Dooley <conor@kernel.org>
> > Sent: Sunday, December 3, 2023 11:41 AM
> > Subject: Re: [PATCH v2 08/11] dt-bindings: mfd: da9062: Update watchdog
> > description
> >
> > On Sat, Dec 02, 2023 at 07:25:32PM +0000, Biju Das wrote:
> > > Update watchdog description by referring to dlg,da9062-watchdog
> > > binding file.
> > >
> > > Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
> > > ---
> > > Documentation/devicetree/bindings/mfd/da9062.txt | 2 +-
> > > 1 file changed, 1 insertion(+), 1 deletion(-)
> > >
> > > diff --git a/Documentation/devicetree/bindings/mfd/da9062.txt
> > > b/Documentation/devicetree/bindings/mfd/da9062.txt
> > > index e4eedd3bd233..020106322b08 100644
> > > --- a/Documentation/devicetree/bindings/mfd/da9062.txt
> > > +++ b/Documentation/devicetree/bindings/mfd/da9062.txt
> > > @@ -86,7 +86,7 @@ Sub-nodes:
> > >
> > > - onkey : See ../input/da9062-onkey.txt
> > >
> > > -- watchdog: See ../watchdog/da9062-wdt.txt
> > > +- watchdog: See ../watchdog/da9062-watchdog.yaml
> >
> > Should this not be squashed with the conversion of that binding?
>
> Yes I can squash these patches.
>
> I am not sure how this is going to applied as it involves
> Mfd and watchdog changes, who is going to apply this patch?
The series should all go thru the MFD tree.
Rob
^ permalink raw reply [flat|nested] 37+ messages in thread
* RE: [PATCH v2 04/11] dt-bindings: thermal: Convert da906{1,2} thermal to json-schema
2023-12-04 15:13 ` Rob Herring
@ 2023-12-04 15:49 ` Biju Das
0 siblings, 0 replies; 37+ messages in thread
From: Biju Das @ 2023-12-04 15:49 UTC (permalink / raw)
To: Rob Herring
Cc: Krzysztof Kozlowski, Conor Dooley, Support Opensource,
Rafael J. Wysocki, Daniel Lezcano, Zhang Rui, Lukasz Luba,
linux-pm, devicetree, Geert Uytterhoeven, Prabhakar Mahadev Lad,
biju.das.au, linux-renesas-soc
Hi Rob Herring,
Thanks for the feedback.
> -----Original Message-----
> From: Rob Herring <robh@kernel.org>
> Sent: Monday, December 4, 2023 3:13 PM
> Subject: Re: [PATCH v2 04/11] dt-bindings: thermal: Convert da906{1,2}
> thermal to json-schema
>
> On Sat, Dec 02, 2023 at 07:25:28PM +0000, Biju Das wrote:
> > Convert the da906{1,2} thermal device tree binding documentation to
> > json-schema.
> >
> > Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
> > ---
> > .../bindings/thermal/da9062-thermal.txt | 36 ------------
> > .../bindings/thermal/dlg,da9062-thermal.yaml | 58
> > +++++++++++++++++++
> > 2 files changed, 58 insertions(+), 36 deletions(-) delete mode
> > 100644 Documentation/devicetree/bindings/thermal/da9062-thermal.txt
> > create mode 100644
> > Documentation/devicetree/bindings/thermal/dlg,da9062-thermal.yaml
> >
> > diff --git
> > a/Documentation/devicetree/bindings/thermal/da9062-thermal.txt
> > b/Documentation/devicetree/bindings/thermal/da9062-thermal.txt
> > deleted file mode 100644
> > index e241bb5a5584..000000000000
> > --- a/Documentation/devicetree/bindings/thermal/da9062-thermal.txt
> > +++ /dev/null
> > @@ -1,36 +0,0 @@
> > -* Dialog DA9062/61 TJUNC Thermal Module
> > -
> > -This module is part of the DA9061/DA9062. For more details about
> > entire
> > -DA9062 and DA9061 chips see
> > Documentation/devicetree/bindings/mfd/da9062.txt
> > -
> > -Junction temperature thermal module uses an interrupt signal to
> > identify -high THERMAL_TRIP_HOT temperatures for the PMIC device.
> > -
> > -Required properties:
> > -
> > -- compatible: should be one of the following valid compatible string
> lines:
> > - "dlg,da9061-thermal", "dlg,da9062-thermal"
> > - "dlg,da9062-thermal"
> > -
> > -Optional properties:
> > -
> > -- polling-delay-passive : Specify the polling period, measured in
> > - milliseconds, between thermal zone device update checks.
> > -
> > -Example: DA9062
> > -
> > - pmic0: da9062@58 {
> > - thermal {
> > - compatible = "dlg,da9062-thermal";
> > - polling-delay-passive = <3000>;
> > - };
> > - };
> > -
> > -Example: DA9061 using a fall-back compatible for the DA9062 onkey
> > driver
> > -
> > - pmic0: da9061@58 {
> > - thermal {
> > - compatible = "dlg,da9061-thermal", "dlg,da9062-thermal";
> > - polling-delay-passive = <3000>;
> > - };
> > - };
> > diff --git
> > a/Documentation/devicetree/bindings/thermal/dlg,da9062-thermal.yaml
> > b/Documentation/devicetree/bindings/thermal/dlg,da9062-thermal.yaml
> > new file mode 100644
> > index 000000000000..0021ebdd83a0
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/thermal/dlg,da9062-thermal.yam
> > +++ l
> > @@ -0,0 +1,58 @@
> > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) %YAML 1.2
> > +---
> > +$id:
> > +
> > +title: Dialog DA9062/61 TJUNC Thermal Module
> > +
> > +description:
> > + This module is part of the DA9061/DA9062. For more details about
> > +entire
> > + DA9062 and DA9061 chips see
> > +Documentation/devicetree/bindings/mfd/da9062.txt
> > +
> > + Junction temperature thermal module uses an interrupt signal to
> > + identify high THERMAL_TRIP_HOT temperatures for the PMIC device.
> > +
> > +maintainers:
> > + - Biju Das <biju.das.jz@bp.renesas.com>
> > +
> > +properties:
> > + compatible:
> > + oneOf:
> > + - items:
> > + - enum:
> > + - dlg,da9062-thermal
> > + - items:
> > + - enum:
> > + - dlg,da9061-thermal
> > + - const: dlg,da9062-thermal # da9062-thermal fallback
> > +
> > + polling-delay-passive:
> > + description:
> > + Specify the polling period, measured in milliseconds, between
> > + thermal zone device update checks.
> > +
> > +required:
> > + - compatible
> > +
> > +additionalProperties: false
> > +
> > +examples:
> > + - |
> > + #include <dt-bindings/interrupt-controller/irq.h>
> > + i2c {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + pmic@58 {
> > + compatible = "dlg,da9062";
> > + reg = <0x58>;
> > + interrupt-parent = <&gpio6>;
> > + interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
> > + interrupt-controller;
> > +
> > + thermal {
> > + compatible = "dlg,da9062-thermal";
> > + polling-delay-passive = <3000>;
> > + };
> > + };
> > + };
>
> Just drop the example here. No need for 2 examples, just provide 1
> complete example in the MFD schema.
>
> With that,
OK, will drop example in the next version.
Cheers,
Biju
>
> Reviewed-by: Rob Herring <robh@kernel.org>
>
> Rob
^ permalink raw reply [flat|nested] 37+ messages in thread
* RE: [PATCH v2 08/11] dt-bindings: mfd: da9062: Update watchdog description
2023-12-04 15:15 ` Rob Herring
@ 2023-12-04 15:50 ` Biju Das
0 siblings, 0 replies; 37+ messages in thread
From: Biju Das @ 2023-12-04 15:50 UTC (permalink / raw)
To: Rob Herring
Cc: Conor Dooley, Lee Jones, Krzysztof Kozlowski, Conor Dooley,
Support Opensource, devicetree, Geert Uytterhoeven,
Prabhakar Mahadev Lad, biju.das.au, linux-renesas-soc
Hi Rob Herring,
Thanks for the feedback.
> -----Original Message-----
> From: Rob Herring <robh@kernel.org>
> Sent: Monday, December 4, 2023 3:16 PM
> Subject: Re: [PATCH v2 08/11] dt-bindings: mfd: da9062: Update watchdog
> description
>
> On Sun, Dec 03, 2023 at 12:56:22PM +0000, Biju Das wrote:
> >
> > Hi Conor Dooley,
> >
> > Thanks for the feedback.
> >
> > > -----Original Message-----
> > > From: Conor Dooley <conor@kernel.org>
> > > Sent: Sunday, December 3, 2023 11:41 AM
> > > Subject: Re: [PATCH v2 08/11] dt-bindings: mfd: da9062: Update
> > > watchdog description
> > >
> > > On Sat, Dec 02, 2023 at 07:25:32PM +0000, Biju Das wrote:
> > > > Update watchdog description by referring to dlg,da9062-watchdog
> > > > binding file.
> > > >
> > > > Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
> > > > ---
> > > > Documentation/devicetree/bindings/mfd/da9062.txt | 2 +-
> > > > 1 file changed, 1 insertion(+), 1 deletion(-)
> > > >
> > > > diff --git a/Documentation/devicetree/bindings/mfd/da9062.txt
> > > > b/Documentation/devicetree/bindings/mfd/da9062.txt
> > > > index e4eedd3bd233..020106322b08 100644
> > > > --- a/Documentation/devicetree/bindings/mfd/da9062.txt
> > > > +++ b/Documentation/devicetree/bindings/mfd/da9062.txt
> > > > @@ -86,7 +86,7 @@ Sub-nodes:
> > > >
> > > > - onkey : See ../input/da9062-onkey.txt
> > > >
> > > > -- watchdog: See ../watchdog/da9062-wdt.txt
> > > > +- watchdog: See ../watchdog/da9062-watchdog.yaml
> > >
> > > Should this not be squashed with the conversion of that binding?
> >
> > Yes I can squash these patches.
> >
> > I am not sure how this is going to applied as it involves Mfd and
> > watchdog changes, who is going to apply this patch?
>
> The series should all go thru the MFD tree.
OK, I will squash the patches as mentioned by Conor.
Cheers,
Biju
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PATCH v2 01/11] dt-bindings: watchdog: dlg,da9062-watchdog: Add fallback for DA9061 watchdog
2023-12-04 10:55 ` Biju Das
@ 2023-12-04 17:10 ` Conor Dooley
0 siblings, 0 replies; 37+ messages in thread
From: Conor Dooley @ 2023-12-04 17:10 UTC (permalink / raw)
To: Biju Das
Cc: Wim Van Sebroeck, Guenter Roeck, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Steve Twiss, linux-watchdog,
devicetree, Geert Uytterhoeven, Prabhakar Mahadev Lad,
biju.das.au, linux-renesas-soc
[-- Attachment #1: Type: text/plain, Size: 2458 bytes --]
On Mon, Dec 04, 2023 at 10:55:20AM +0000, Biju Das wrote:
> Hi Conor Dooley,
>
> > Subject: RE: [PATCH v2 01/11] dt-bindings: watchdog: dlg,da9062-watchdog:
> > Add fallback for DA9061 watchdog
> >
> > Hi Conor Dooley,
> >
> > Thanks for the feedback.
> >
> > > Subject: Re: [PATCH v2 01/11] dt-bindings: watchdog: dlg,da9062-
> > watchdog:
> > > Add fallback for DA9061 watchdog
> > >
> > > On Sat, Dec 02, 2023 at 07:25:25PM +0000, Biju Das wrote:
> > > > The DA9061 watchdog is identical to DA9062 watchdog, so no driver
> > > > changes are required. The fallback compatible string
> > > > "dlg,da9062-watchdog" will be used on DA9061 watchdog.
> > > >
> > > > Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
> > > > ---
> > > > v2:
> > > > * New patch
> > > > ---
> > > > .../bindings/watchdog/dlg,da9062-watchdog.yaml | 11 ++++++++--
> > -
> > > > 1 file changed, 8 insertions(+), 3 deletions(-)
> > > >
> > > > diff --git
> > > > a/Documentation/devicetree/bindings/watchdog/dlg,da9062-watchdog.yam
> > > > l
> > > > b/Documentation/devicetree/bindings/watchdog/dlg,da9062-watchdog.yam
> > > > l index f058628bb632..2b71fdb9251c 100644
> > > > ---
> > > > a/Documentation/devicetree/bindings/watchdog/dlg,da9062-watchdog.yam
> > > > l
> > > > +++ b/Documentation/devicetree/bindings/watchdog/dlg,da9062-watchdog
> > > > +++ .y
> > > > +++ aml
> > > > @@ -14,9 +14,14 @@ allOf:
> > > >
> > > > properties:
> > > > compatible:
> > > > - enum:
> > > > - - dlg,da9061-watchdog
> > > > - - dlg,da9062-watchdog
> > > > + oneOf:
> > > > + - items:
> > > > + - enum:
> > > > + - dlg,da9062-watchdog
> > > > + - items:
> > > > + - enum:
> > > > + - dlg,da9061-watchdog
> > >
> > > If there is no da9064 on the horizon, I'd just make this const.
> >
> > You mean since it is single device having a fallback, define both device
> > compatible and fallback as const instead of enum and const??
> >
> > >
> > > > + - const: dlg,da9062-watchdog # da9062-watchdog fallback
> > >
> > > The comment here is just noise IMO.
>
> Yes it make sense, comment is not needed.
>
> oneOf:
> - items:
> - enum:
> - dlg,da9062-watchdog
> - items:
> - const: dlg,da9061-watchdog
> - const: dlg,da9062-watchdog
Ye, this looks good. Thanks.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PATCH v2 03/11] dt-bindings: input: Convert da906{1,2,3} onkey to json-schema
2023-12-02 19:25 ` [PATCH v2 03/11] dt-bindings: input: Convert da906{1,2,3} onkey to json-schema Biju Das
2023-12-03 11:36 ` Conor Dooley
@ 2023-12-05 20:19 ` kernel test robot
2023-12-06 9:39 ` Biju Das
1 sibling, 1 reply; 37+ messages in thread
From: kernel test robot @ 2023-12-05 20:19 UTC (permalink / raw)
To: Biju Das, Dmitry Torokhov, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: oe-kbuild-all, Biju Das, Support Opensource, linux-input,
devicetree, Geert Uytterhoeven, Prabhakar Mahadev Lad,
linux-renesas-soc
Hi Biju,
kernel test robot noticed the following build warnings:
[auto build test WARNING on lee-mfd/for-mfd-next]
[also build test WARNING on robh/for-next rafael-pm/thermal groeck-staging/hwmon-next linus/master v6.7-rc4 next-20231205]
[cannot apply to dtor-input/next dtor-input/for-linus lee-mfd/for-mfd-fixes]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Biju-Das/dt-bindings-watchdog-dlg-da9062-watchdog-Document-DA9063-watchdog/20231203-042557
base: https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next
patch link: https://lore.kernel.org/r/20231202192536.266885-4-biju.das.jz%40bp.renesas.com
patch subject: [PATCH v2 03/11] dt-bindings: input: Convert da906{1,2,3} onkey to json-schema
reproduce: (https://download.01.org/0day-ci/archive/20231206/202312060431.fHDo1Yk9-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312060431.fHDo1Yk9-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> Warning: MAINTAINERS references a file that doesn't exist: Documentation/devicetree/bindings/input/da90??-onkey.txt
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PATCH v2 04/11] dt-bindings: thermal: Convert da906{1,2} thermal to json-schema
2023-12-02 19:25 ` [PATCH v2 04/11] dt-bindings: thermal: Convert da906{1,2} thermal " Biju Das
2023-12-02 21:39 ` Rob Herring
2023-12-04 15:13 ` Rob Herring
@ 2023-12-06 4:34 ` kernel test robot
2023-12-06 9:37 ` Biju Das
2 siblings, 1 reply; 37+ messages in thread
From: kernel test robot @ 2023-12-06 4:34 UTC (permalink / raw)
To: Biju Das, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: oe-kbuild-all, Biju Das, Support Opensource, Rafael J. Wysocki,
Daniel Lezcano, Zhang Rui, Lukasz Luba, linux-pm, devicetree,
Geert Uytterhoeven, Prabhakar Mahadev Lad, linux-renesas-soc
Hi Biju,
kernel test robot noticed the following build warnings:
[auto build test WARNING on lee-mfd/for-mfd-next]
[also build test WARNING on robh/for-next rafael-pm/thermal groeck-staging/hwmon-next linus/master v6.7-rc4 next-20231205]
[cannot apply to dtor-input/next dtor-input/for-linus lee-mfd/for-mfd-fixes]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Biju-Das/dt-bindings-watchdog-dlg-da9062-watchdog-Document-DA9063-watchdog/20231203-042557
base: https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next
patch link: https://lore.kernel.org/r/20231202192536.266885-5-biju.das.jz%40bp.renesas.com
patch subject: [PATCH v2 04/11] dt-bindings: thermal: Convert da906{1,2} thermal to json-schema
reproduce: (https://download.01.org/0day-ci/archive/20231206/202312061242.lKDoAY9g-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312061242.lKDoAY9g-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> Warning: MAINTAINERS references a file that doesn't exist: Documentation/devicetree/bindings/thermal/da90??-thermal.txt
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 37+ messages in thread
* RE: [PATCH v2 04/11] dt-bindings: thermal: Convert da906{1,2} thermal to json-schema
2023-12-06 4:34 ` kernel test robot
@ 2023-12-06 9:37 ` Biju Das
0 siblings, 0 replies; 37+ messages in thread
From: Biju Das @ 2023-12-06 9:37 UTC (permalink / raw)
To: kernel test robot, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: oe-kbuild-all, Support Opensource, Rafael J. Wysocki,
Daniel Lezcano, Zhang Rui, Lukasz Luba, linux-pm, devicetree,
Geert Uytterhoeven, Prabhakar Mahadev Lad, linux-renesas-soc
Hi kernel test robot,
> -----Original Message-----
> From: kernel test robot <lkp@intel.com>
> Sent: Wednesday, December 6, 2023 4:34 AM
> To: Biju Das <biju.das.jz@bp.renesas.com>; Rob Herring
> Subject: Re: [PATCH v2 04/11] dt-bindings: thermal: Convert da906{1,2}
> thermal to json-schema
>
> Hi Biju,
>
> kernel test robot noticed the following build warnings:
>
>
> If you fix the issue in a separate patch/commit (i.e. not just a new
> version of the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@intel.com>
> | Closes:
>
> All warnings (new ones prefixed by >>):
>
> >> Warning: MAINTAINERS references a file that doesn't exist:
> >> Documentation/devicetree/bindings/thermal/da90??-thermal.txt
>
There is an updated patch series available[1] and Please retest and provide feedback if any?
[1] https://lore.kernel.org/all/20231204172510.35041-1-biju.das.jz@bp.renesas.com/
Cheers,
Biju
^ permalink raw reply [flat|nested] 37+ messages in thread
* RE: [PATCH v2 03/11] dt-bindings: input: Convert da906{1,2,3} onkey to json-schema
2023-12-05 20:19 ` kernel test robot
@ 2023-12-06 9:39 ` Biju Das
0 siblings, 0 replies; 37+ messages in thread
From: Biju Das @ 2023-12-06 9:39 UTC (permalink / raw)
To: kernel test robot, Dmitry Torokhov, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: oe-kbuild-all, Support Opensource, linux-input, devicetree,
Geert Uytterhoeven, Prabhakar Mahadev Lad, linux-renesas-soc
Hi kernel test robot,
> -----Original Message-----
> From: kernel test robot <lkp@intel.com>
> Sent: Tuesday, December 5, 2023 8:19 PM
> Subject: Re: [PATCH v2 03/11] dt-bindings: input: Convert da906{1,2,3}
> onkey to json-schema
>
> Hi Biju,
>
> kernel test robot noticed the following build warnings:
>
> [auto build test WARNING on lee-mfd/for-mfd-next] [also build test WARNING
]
>
> url:
> base:
> patch link:
> reproduce:
>
> If you fix the issue in a separate patch/commit (i.e. not just a new
> version of the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@intel.com>
> | Closes:
> |
>
> All warnings (new ones prefixed by >>):
>
> >> Warning: MAINTAINERS references a file that doesn't exist:
> >> Documentation/devicetree/bindings/input/da90??-onkey.txt
There is an updated patch series available[1] and Please retest and provide feedback if any?
[1] https://lore.kernel.org/all/20231204172510.35041-1-biju.das.jz@bp.renesas.com/
Cheers,
Biju
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PATCH v2 11/11] dt-bindings: mfd: dlg,da9063: Convert da9062 to json-schema
2023-12-02 19:25 ` [PATCH v2 11/11] dt-bindings: mfd: dlg,da9063: Convert da9062 to json-schema Biju Das
2023-12-02 21:39 ` Rob Herring
@ 2023-12-09 7:26 ` kernel test robot
1 sibling, 0 replies; 37+ messages in thread
From: kernel test robot @ 2023-12-09 7:26 UTC (permalink / raw)
To: Biju Das, Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: oe-kbuild-all, Biju Das, Support Opensource, Steve Twiss,
devicetree, Geert Uytterhoeven, Prabhakar Mahadev Lad,
linux-renesas-soc
Hi Biju,
kernel test robot noticed the following build warnings:
[auto build test WARNING on lee-mfd/for-mfd-next]
[also build test WARNING on robh/for-next rafael-pm/thermal groeck-staging/hwmon-next linus/master v6.7-rc4 next-20231208]
[cannot apply to dtor-input/next dtor-input/for-linus lee-mfd/for-mfd-fixes]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Biju-Das/dt-bindings-watchdog-dlg-da9062-watchdog-Document-DA9063-watchdog/20231203-042557
base: https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next
patch link: https://lore.kernel.org/r/20231202192536.266885-12-biju.das.jz%40bp.renesas.com
patch subject: [PATCH v2 11/11] dt-bindings: mfd: dlg,da9063: Convert da9062 to json-schema
reproduce: (https://download.01.org/0day-ci/archive/20231209/202312091536.Lf8kzxoR-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312091536.Lf8kzxoR-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> Warning: Documentation/devicetree/bindings/input/dlg,da9062-onkey.yaml references a file that doesn't exist: Documentation/devicetree/bindings/mfd/da9062.txt
>> Warning: Documentation/devicetree/bindings/thermal/dlg,da9062-thermal.yaml references a file that doesn't exist: Documentation/devicetree/bindings/mfd/da9062.txt
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 37+ messages in thread
end of thread, other threads:[~2023-12-09 7:30 UTC | newest]
Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-02 19:25 [PATCH v2 00/11] Convert DA906{1,2} bindings to json-schema Biju Das
2023-12-02 19:25 ` [PATCH v2 01/11] dt-bindings: watchdog: dlg,da9062-watchdog: Add fallback for DA9061 watchdog Biju Das
2023-12-03 11:34 ` Conor Dooley
2023-12-03 12:52 ` Biju Das
2023-12-04 10:55 ` Biju Das
2023-12-04 17:10 ` Conor Dooley
2023-12-02 19:25 ` [PATCH v2 02/11] dt-bindings: watchdog: dlg,da9062-watchdog: Document DA9063 watchdog Biju Das
2023-12-03 11:34 ` Conor Dooley
2023-12-02 19:25 ` [PATCH v2 03/11] dt-bindings: input: Convert da906{1,2,3} onkey to json-schema Biju Das
2023-12-03 11:36 ` Conor Dooley
2023-12-04 10:58 ` Biju Das
2023-12-05 20:19 ` kernel test robot
2023-12-06 9:39 ` Biju Das
2023-12-02 19:25 ` [PATCH v2 04/11] dt-bindings: thermal: Convert da906{1,2} thermal " Biju Das
2023-12-02 21:39 ` Rob Herring
2023-12-03 10:07 ` Biju Das
2023-12-04 15:09 ` Rob Herring
2023-12-04 15:13 ` Rob Herring
2023-12-04 15:49 ` Biju Das
2023-12-06 4:34 ` kernel test robot
2023-12-06 9:37 ` Biju Das
2023-12-02 19:25 ` [PATCH v2 05/11] dt-bindings: mfd: dlg,da9063: Update watchdog property Biju Das
2023-12-03 11:39 ` Conor Dooley
2023-12-03 12:53 ` Biju Das
2023-12-02 19:25 ` [PATCH v2 06/11] dt-bindings: mfd: dlg,da9063: Update onkey property Biju Das
2023-12-02 19:25 ` [PATCH v2 07/11] dt-bindings: mfd: dlg,da9063: Sort child devices Biju Das
2023-12-03 11:40 ` Conor Dooley
2023-12-02 19:25 ` [PATCH v2 08/11] dt-bindings: mfd: da9062: Update watchdog description Biju Das
2023-12-03 11:41 ` Conor Dooley
2023-12-03 12:56 ` Biju Das
2023-12-04 15:15 ` Rob Herring
2023-12-04 15:50 ` Biju Das
2023-12-02 19:25 ` [PATCH v2 09/11] dt-bindings: mfd: da9062: Update onkey description Biju Das
2023-12-02 19:25 ` [PATCH v2 10/11] dt-bindings: mfd: da9062: Update thermal description Biju Das
2023-12-02 19:25 ` [PATCH v2 11/11] dt-bindings: mfd: dlg,da9063: Convert da9062 to json-schema Biju Das
2023-12-02 21:39 ` Rob Herring
2023-12-09 7:26 ` kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.