devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 1/2] dt-bindings: mfd: sprd,sc2731: convert to YAML
@ 2024-11-04  8:48 Stanislav Jakubek
  2024-11-04  8:48 ` [PATCH v3 2/2] dt-bindings: mfd: sprd,sc2731: reference sprd,sc2731-efuse bindings Stanislav Jakubek
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Stanislav Jakubek @ 2024-11-04  8:48 UTC (permalink / raw)
  To: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Orson Zhai, Baolin Wang, Chunyan Zhang, Jonathan Cameron,
	Lars-Peter Clausen, Pavel Machek, Srinivas Kandagatla,
	Sebastian Reichel, Liam Girdwood, Mark Brown, Alexandre Belloni
  Cc: devicetree, linux-iio, linux-kernel, linux-leds, linux-pm,
	linux-rtc

Convert the Spreadtrum SC27xx PMIC bindings to DT schema. Adjust the
filename to match the compatible of the only in-tree user, SC2731.
Change #interrupt-cells value to 1, as according to [1] that is the
correct value.
Move partial examples of child nodes in the child node schemas to this new
MFD schema to have one complete example.

[1] https://lore.kernel.org/lkml/b6a32917d1e231277d240a4084bebb6ad91247e3.1550060544.git.baolin.wang@linaro.org/

Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
---
Changes in V3:
- remove $ref to nvmem/sc2731-efuse and list the compatibles with
  additionalProperties: true (Krzysztof)

Changes in V2:
- rebase on next-20241029
- drop partial examples in child node schemas, move them here (Rob)

Link to V2: https://lore.kernel.org/lkml/ZyExK01iprBHhGm6@standask-GA-A55M-S2HP/
Link to V1: https://lore.kernel.org/lkml/Zr3X1RoQs7ElTnlJ@standask-GA-A55M-S2HP/

 .../bindings/iio/adc/sprd,sc2720-adc.yaml     |  17 --
 .../bindings/leds/sprd,sc2731-bltc.yaml       |  31 ---
 .../devicetree/bindings/mfd/sprd,sc2731.yaml  | 252 ++++++++++++++++++
 .../bindings/mfd/sprd,sc27xx-pmic.txt         |  40 ---
 .../bindings/power/supply/sc2731-charger.yaml |  21 +-
 .../bindings/power/supply/sc27xx-fg.yaml      |  38 +--
 .../regulator/sprd,sc2731-regulator.yaml      |  21 --
 .../bindings/rtc/sprd,sc2731-rtc.yaml         |  16 --
 8 files changed, 254 insertions(+), 182 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/mfd/sprd,sc2731.yaml
 delete mode 100644 Documentation/devicetree/bindings/mfd/sprd,sc27xx-pmic.txt

diff --git a/Documentation/devicetree/bindings/iio/adc/sprd,sc2720-adc.yaml b/Documentation/devicetree/bindings/iio/adc/sprd,sc2720-adc.yaml
index 8181cf9a8e07..a678323d78e3 100644
--- a/Documentation/devicetree/bindings/iio/adc/sprd,sc2720-adc.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/sprd,sc2720-adc.yaml
@@ -80,23 +80,6 @@ required:
 additionalProperties: false
 
 examples:
-  - |
-    #include <dt-bindings/interrupt-controller/irq.h>
-    pmic {
-        #address-cells = <1>;
-        #size-cells = <0>;
-        adc@480 {
-            compatible = "sprd,sc2731-adc";
-            reg = <0x480>;
-            interrupt-parent = <&sc2731_pmic>;
-            interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
-            #io-channel-cells = <1>;
-            hwlocks = <&hwlock 4>;
-            nvmem-cells = <&adc_big_scale>, <&adc_small_scale>;
-            nvmem-cell-names = "big_scale_calib", "small_scale_calib";
-        };
-    };
-
   - |
     #include <dt-bindings/interrupt-controller/irq.h>
     pmic {
diff --git a/Documentation/devicetree/bindings/leds/sprd,sc2731-bltc.yaml b/Documentation/devicetree/bindings/leds/sprd,sc2731-bltc.yaml
index 5853410c7a45..97535d6dc47a 100644
--- a/Documentation/devicetree/bindings/leds/sprd,sc2731-bltc.yaml
+++ b/Documentation/devicetree/bindings/leds/sprd,sc2731-bltc.yaml
@@ -50,35 +50,4 @@ required:
   - '#size-cells'
 
 additionalProperties: false
-
-examples:
-  - |
-    #include <dt-bindings/leds/common.h>
-
-    pmic {
-      #address-cells = <1>;
-      #size-cells = <0>;
-
-      led-controller@200 {
-        compatible = "sprd,sc2731-bltc";
-        reg = <0x200>;
-        #address-cells = <1>;
-        #size-cells = <0>;
-
-        led@0 {
-          reg = <0x0>;
-          color = <LED_COLOR_ID_RED>;
-        };
-
-        led@1 {
-          reg = <0x1>;
-          color = <LED_COLOR_ID_GREEN>;
-        };
-
-        led@2 {
-          reg = <0x2>;
-          color = <LED_COLOR_ID_BLUE>;
-        };
-      };
-    };
 ...
diff --git a/Documentation/devicetree/bindings/mfd/sprd,sc2731.yaml b/Documentation/devicetree/bindings/mfd/sprd,sc2731.yaml
new file mode 100644
index 000000000000..8beec7e8e4c6
--- /dev/null
+++ b/Documentation/devicetree/bindings/mfd/sprd,sc2731.yaml
@@ -0,0 +1,252 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/mfd/sprd,sc2731.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Spreadtrum SC27xx PMIC
+
+maintainers:
+  - Orson Zhai <orsonzhai@gmail.com>
+  - Baolin Wang <baolin.wang7@gmail.com>
+  - Chunyan Zhang <zhang.lyra@gmail.com>
+
+description: |
+  Spreadtrum PMICs belonging to the SC27xx series integrate all mobile handset
+  power management, audio codec, battery management and user interface support
+  functions in a single chip. They have 6 major functional blocks:
+    - DCDCs to support CPU, memory
+    - LDOs to support both internal and external requirements
+    - Battery management system, such as charger, fuel gauge
+    - Audio codec
+    - User interface functions, such as indicator, flash LED and so on
+    - IC level interface, such as power on/off control, RTC, typec and so on
+
+properties:
+  $nodename:
+    pattern: '^pmic@[0-9a-f]+$'
+
+  compatible:
+    enum:
+      - sprd,sc2720
+      - sprd,sc2721
+      - sprd,sc2723
+      - sprd,sc2730
+      - sprd,sc2731
+
+  reg:
+    maxItems: 1
+
+  interrupts:
+    maxItems: 1
+
+  interrupt-controller: true
+  spi-max-frequency: true
+
+  '#address-cells':
+    const: 1
+
+  '#interrupt-cells':
+    const: 1
+
+  '#size-cells':
+    const: 0
+
+  regulators:
+    type: object
+    $ref: /schemas/regulator/sprd,sc2731-regulator.yaml#
+
+patternProperties:
+  "^adc@[0-9a-f]+$":
+    type: object
+    $ref: /schemas/iio/adc/sprd,sc2720-adc.yaml#
+
+  "^charger@[0-9a-f]+$":
+    type: object
+    $ref: /schemas/power/supply/sc2731-charger.yaml#
+
+  "^efuse@[0-9a-f]+$":
+    type: object
+    additionalProperties: true
+    properties:
+      compatible:
+        enum:
+          - sprd,sc2720-efuse
+          - sprd,sc2721-efuse
+          - sprd,sc2723-efuse
+          - sprd,sc2730-efuse
+          - sprd,sc2731-efuse
+
+  "^fuel-gauge@[0-9a-f]+$":
+    type: object
+    $ref: /schemas/power/supply/sc27xx-fg.yaml#
+
+  "^gpio@[0-9a-f]+$":
+    type: object
+    $ref: /schemas/gpio/sprd,gpio-eic.yaml#
+
+  "^led-controller@[0-9a-f]+$":
+    type: object
+    $ref: /schemas/leds/sprd,sc2731-bltc.yaml#
+
+  "^rtc@[0-9a-f]+$":
+    type: object
+    $ref: /schemas/rtc/sprd,sc2731-rtc.yaml#
+
+  "^vibrator@[0-9a-f]+$":
+    type: object
+    $ref: /schemas/input/sprd,sc27xx-vibrator.yaml#
+
+required:
+  - compatible
+  - reg
+  - interrupts
+  - interrupt-controller
+  - spi-max-frequency
+  - '#address-cells'
+  - '#interrupt-cells'
+  - '#size-cells'
+
+additionalProperties: false
+
+examples:
+  - |
+    #include <dt-bindings/gpio/gpio.h>
+    #include <dt-bindings/interrupt-controller/arm-gic.h>
+    #include <dt-bindings/interrupt-controller/irq.h>
+    #include <dt-bindings/leds/common.h>
+
+    spi {
+      #address-cells = <1>;
+      #size-cells = <0>;
+
+      sc2731_pmic: pmic@0 {
+        compatible = "sprd,sc2731";
+        reg = <0>;
+        interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
+        interrupt-controller;
+        spi-max-frequency = <26000000>;
+        #address-cells = <1>;
+        #interrupt-cells = <1>;
+        #size-cells = <0>;
+
+        charger@0 {
+          compatible = "sprd,sc2731-charger";
+          reg = <0x0>;
+          phys = <&ssphy>;
+          monitored-battery = <&bat>;
+        };
+
+        led-controller@200 {
+          compatible = "sprd,sc2731-bltc";
+          reg = <0x200>;
+          #address-cells = <1>;
+          #size-cells = <0>;
+
+          led@0 {
+            reg = <0x0>;
+            color = <LED_COLOR_ID_RED>;
+          };
+
+          led@1 {
+            reg = <0x1>;
+            color = <LED_COLOR_ID_GREEN>;
+          };
+
+          led@2 {
+            reg = <0x2>;
+            color = <LED_COLOR_ID_BLUE>;
+          };
+        };
+
+        rtc@280 {
+          compatible = "sprd,sc2731-rtc";
+          reg = <0x280>;
+          interrupt-parent = <&sc2731_pmic>;
+          interrupts = <2>;
+        };
+
+        pmic_eic: gpio@300 {
+          compatible = "sprd,sc2731-eic";
+          reg = <0x300>;
+          interrupt-parent = <&sc2731_pmic>;
+          interrupts = <5>;
+          gpio-controller;
+          #gpio-cells = <2>;
+          interrupt-controller;
+          #interrupt-cells = <2>;
+        };
+
+        efuse@380 {
+          compatible = "sprd,sc2731-efuse";
+          reg = <0x380>;
+          hwlocks = <&hwlock 12>;
+          #address-cells = <1>;
+          #size-cells = <1>;
+
+          /* Data cells */
+          fgu_calib: calib@6 {
+            reg = <0x6 0x2>;
+            bits = <0 9>;
+          };
+
+          adc_big_scale: calib@24 {
+            reg = <0x24 0x2>;
+          };
+
+          adc_small_scale: calib@26 {
+            reg = <0x26 0x2>;
+          };
+        };
+
+        adc@480 {
+          compatible = "sprd,sc2731-adc";
+          reg = <0x480>;
+          interrupt-parent = <&sc2731_pmic>;
+          interrupts = <0>;
+          #io-channel-cells = <1>;
+          hwlocks = <&hwlock 4>;
+          nvmem-cells = <&adc_big_scale>, <&adc_small_scale>;
+          nvmem-cell-names = "big_scale_calib", "small_scale_calib";
+        };
+
+        fuel-gauge@a00 {
+          compatible = "sprd,sc2731-fgu";
+          reg = <0xa00>;
+          battery-detect-gpios = <&pmic_eic 9 GPIO_ACTIVE_HIGH>;
+          interrupt-parent = <&sc2731_pmic>;
+          interrupts = <4>;
+          io-channels = <&pmic_adc 5>, <&pmic_adc 14>;
+          io-channel-names = "bat-temp", "charge-vol";
+          nvmem-cells = <&fgu_calib>;
+          nvmem-cell-names = "fgu_calib";
+          monitored-battery = <&bat>;
+          sprd,calib-resistance-micro-ohms = <21500>;
+        };
+
+        vibrator@ec8 {
+          compatible = "sprd,sc2731-vibrator";
+          reg = <0xec8>;
+        };
+
+        regulators {
+          compatible = "sprd,sc2731-regulator";
+
+          BUCK_CPU0 {
+            regulator-name = "vddarm0";
+            regulator-min-microvolt = <400000>;
+            regulator-max-microvolt = <1996875>;
+            regulator-ramp-delay = <25000>;
+            regulator-always-on;
+          };
+
+          LDO_CAMA0 {
+            regulator-name = "vddcama0";
+            regulator-min-microvolt = <1200000>;
+            regulator-max-microvolt = <3750000>;
+            regulator-enable-ramp-delay = <100>;
+          };
+        };
+      };
+    };
+...
diff --git a/Documentation/devicetree/bindings/mfd/sprd,sc27xx-pmic.txt b/Documentation/devicetree/bindings/mfd/sprd,sc27xx-pmic.txt
deleted file mode 100644
index 21b9a897fca5..000000000000
--- a/Documentation/devicetree/bindings/mfd/sprd,sc27xx-pmic.txt
+++ /dev/null
@@ -1,40 +0,0 @@
-Spreadtrum SC27xx Power Management Integrated Circuit (PMIC)
-
-The Spreadtrum SC27xx series PMICs contain SC2720, SC2721, SC2723, SC2730
-and SC2731. The Spreadtrum PMIC belonging to SC27xx series integrates all
-mobile handset power management, audio codec, battery management and user
-interface support function in a single chip. It has 6 major functional
-blocks:
-- DCDCs to support CPU, memory.
-- LDOs to support both internal and external requirement.
-- Battery management system, such as charger, fuel gauge.
-- Audio codec.
-- User interface function, such as indicator, flash LED and so on.
-- IC level interface, such as power on/off control, RTC and typec and so on.
-
-Required properties:
-- compatible: Should be one of the following:
-	"sprd,sc2720"
-	"sprd,sc2721"
-	"sprd,sc2723"
-	"sprd,sc2730"
-	"sprd,sc2731"
-- reg: The address of the device chip select, should be 0.
-- spi-max-frequency: Typically set to 26000000.
-- interrupts: The interrupt line the device is connected to.
-- interrupt-controller: Marks the device node as an interrupt controller.
-- #interrupt-cells: The number of cells to describe an PMIC IRQ, must be 2.
-- #address-cells: Child device offset number of cells, must be 1.
-- #size-cells: Child device size number of cells, must be 0.
-
-Example:
-pmic@0 {
-	compatible = "sprd,sc2731";
-	reg = <0>;
-	spi-max-frequency = <26000000>;
-	interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
-	interrupt-controller;
-	#interrupt-cells = <2>;
-	#address-cells = <1>;
-	#size-cells = <0>;
-};
diff --git a/Documentation/devicetree/bindings/power/supply/sc2731-charger.yaml b/Documentation/devicetree/bindings/power/supply/sc2731-charger.yaml
index a846a4d14ca9..f5aa72502b4e 100644
--- a/Documentation/devicetree/bindings/power/supply/sc2731-charger.yaml
+++ b/Documentation/devicetree/bindings/power/supply/sc2731-charger.yaml
@@ -30,23 +30,4 @@ properties:
       - constant-charge-voltage-max-microvolt: maximum constant input voltage.
 
 additionalProperties: false
-
-examples:
-  - |
-    bat: battery {
-      compatible = "simple-battery";
-      charge-term-current-microamp = <120000>;
-      constant-charge-voltage-max-microvolt = <4350000>;
-    };
-
-    pmic {
-      #address-cells = <1>;
-      #size-cells = <0>;
-
-      battery@a00 {
-        compatible = "sprd,sc2731-charger";
-        reg = <0x0>;
-        phys = <&ssphy>;
-        monitored-battery = <&bat>;
-      };
-    };
+...
diff --git a/Documentation/devicetree/bindings/power/supply/sc27xx-fg.yaml b/Documentation/devicetree/bindings/power/supply/sc27xx-fg.yaml
index 9108a2841caf..9495397c9269 100644
--- a/Documentation/devicetree/bindings/power/supply/sc27xx-fg.yaml
+++ b/Documentation/devicetree/bindings/power/supply/sc27xx-fg.yaml
@@ -65,40 +65,4 @@ required:
   - monitored-battery
 
 additionalProperties: false
-
-examples:
-  - |
-    #include <dt-bindings/gpio/gpio.h>
-    bat: battery {
-      compatible = "simple-battery";
-      charge-full-design-microamp-hours = <1900000>;
-      constant-charge-voltage-max-microvolt = <4350000>;
-      ocv-capacity-celsius = <20>;
-      ocv-capacity-table-0 = <4185000 100>, <4113000 95>, <4066000 90>,
-                             <4022000 85>, <3983000 80>, <3949000 75>,
-                             <3917000 70>, <3889000 65>, <3864000 60>,
-                             <3835000 55>, <3805000 50>, <3787000 45>,
-                             <3777000 40>, <3773000 35>, <3770000 30>,
-                             <3765000 25>, <3752000 20>, <3724000 15>,
-                             <3680000 10>, <3605000 5>, <3400000 0>;
-                             // ...
-    };
-
-    pmic {
-      #address-cells = <1>;
-      #size-cells = <0>;
-
-      battery@a00 {
-        compatible = "sprd,sc2731-fgu";
-        reg = <0xa00>;
-        battery-detect-gpios = <&pmic_eic 9 GPIO_ACTIVE_HIGH>;
-        interrupt-parent = <&sc2731_pmic>;
-        interrupts = <4>;
-        io-channels = <&pmic_adc 5>, <&pmic_adc 14>;
-        io-channel-names = "bat-temp", "charge-vol";
-        nvmem-cells = <&fgu_calib>;
-        nvmem-cell-names = "fgu_calib";
-        monitored-battery = <&bat>;
-        sprd,calib-resistance-micro-ohms = <21500>;
-      };
-    };
+...
diff --git a/Documentation/devicetree/bindings/regulator/sprd,sc2731-regulator.yaml b/Documentation/devicetree/bindings/regulator/sprd,sc2731-regulator.yaml
index ffb2924dde36..9bd752bab68e 100644
--- a/Documentation/devicetree/bindings/regulator/sprd,sc2731-regulator.yaml
+++ b/Documentation/devicetree/bindings/regulator/sprd,sc2731-regulator.yaml
@@ -43,25 +43,4 @@ required:
   - compatible
 
 additionalProperties: false
-
-examples:
-  - |
-    regulators {
-      compatible = "sprd,sc2731-regulator";
-
-      BUCK_CPU0 {
-        regulator-name = "vddarm0";
-        regulator-min-microvolt = <400000>;
-        regulator-max-microvolt = <1996875>;
-        regulator-ramp-delay = <25000>;
-        regulator-always-on;
-      };
-
-      LDO_CAMA0 {
-        regulator-name = "vddcama0";
-        regulator-min-microvolt = <1200000>;
-        regulator-max-microvolt = <3750000>;
-        regulator-enable-ramp-delay = <100>;
-      };
-    };
 ...
diff --git a/Documentation/devicetree/bindings/rtc/sprd,sc2731-rtc.yaml b/Documentation/devicetree/bindings/rtc/sprd,sc2731-rtc.yaml
index f3d20e976965..5756f617df36 100644
--- a/Documentation/devicetree/bindings/rtc/sprd,sc2731-rtc.yaml
+++ b/Documentation/devicetree/bindings/rtc/sprd,sc2731-rtc.yaml
@@ -30,20 +30,4 @@ allOf:
   - $ref: rtc.yaml#
 
 unevaluatedProperties: false
-
-examples:
-  - |
-    #include <dt-bindings/interrupt-controller/irq.h>
-
-    pmic {
-      #address-cells = <1>;
-      #size-cells = <0>;
-
-      rtc@280 {
-        compatible = "sprd,sc2731-rtc";
-        reg = <0x280>;
-        interrupt-parent = <&sc2731_pmic>;
-        interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
-      };
-    };
 ...
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH v3 2/2] dt-bindings: mfd: sprd,sc2731: reference sprd,sc2731-efuse bindings
  2024-11-04  8:48 [PATCH v3 1/2] dt-bindings: mfd: sprd,sc2731: convert to YAML Stanislav Jakubek
@ 2024-11-04  8:48 ` Stanislav Jakubek
  2024-11-06  9:05   ` Lee Jones
  2024-11-04 16:24 ` [PATCH v3 1/2] dt-bindings: mfd: sprd,sc2731: convert to YAML Rob Herring (Arm)
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 11+ messages in thread
From: Stanislav Jakubek @ 2024-11-04  8:48 UTC (permalink / raw)
  To: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Orson Zhai, Baolin Wang, Chunyan Zhang, Jonathan Cameron,
	Lars-Peter Clausen, Pavel Machek, Srinivas Kandagatla,
	Sebastian Reichel, Liam Girdwood, Mark Brown, Alexandre Belloni
  Cc: devicetree, linux-iio, linux-kernel, linux-leds, linux-pm,
	linux-rtc

Directly reference the sc2731-efuse bindings to simplify the schema.
Remove the duplicate example from the efuse bindings.

Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
---
Changes in V3:
- new patch due to a missing dependency in the MFD tree 

Link to V2: https://lore.kernel.org/lkml/ZyExK01iprBHhGm6@standask-GA-A55M-S2HP/
Link to V1: https://lore.kernel.org/lkml/Zr3X1RoQs7ElTnlJ@standask-GA-A55M-S2HP/

 .../devicetree/bindings/mfd/sprd,sc2731.yaml  | 10 +------
 .../bindings/nvmem/sprd,sc2731-efuse.yaml     | 29 -------------------
 2 files changed, 1 insertion(+), 38 deletions(-)

diff --git a/Documentation/devicetree/bindings/mfd/sprd,sc2731.yaml b/Documentation/devicetree/bindings/mfd/sprd,sc2731.yaml
index 8beec7e8e4c6..bd5f2504b44b 100644
--- a/Documentation/devicetree/bindings/mfd/sprd,sc2731.yaml
+++ b/Documentation/devicetree/bindings/mfd/sprd,sc2731.yaml
@@ -67,15 +67,7 @@ patternProperties:
 
   "^efuse@[0-9a-f]+$":
     type: object
-    additionalProperties: true
-    properties:
-      compatible:
-        enum:
-          - sprd,sc2720-efuse
-          - sprd,sc2721-efuse
-          - sprd,sc2723-efuse
-          - sprd,sc2730-efuse
-          - sprd,sc2731-efuse
+    $ref: /schemas/nvmem/sprd,sc2731-efuse.yaml#
 
   "^fuel-gauge@[0-9a-f]+$":
     type: object
diff --git a/Documentation/devicetree/bindings/nvmem/sprd,sc2731-efuse.yaml b/Documentation/devicetree/bindings/nvmem/sprd,sc2731-efuse.yaml
index dc25fe3d1841..8672bde24a9b 100644
--- a/Documentation/devicetree/bindings/nvmem/sprd,sc2731-efuse.yaml
+++ b/Documentation/devicetree/bindings/nvmem/sprd,sc2731-efuse.yaml
@@ -36,33 +36,4 @@ allOf:
   - $ref: nvmem-deprecated-cells.yaml#
 
 unevaluatedProperties: false
-
-examples:
-  - |
-    pmic {
-      #address-cells = <1>;
-      #size-cells = <0>;
-
-      efuse@380 {
-        compatible = "sprd,sc2731-efuse";
-        reg = <0x380>;
-        hwlocks = <&hwlock 12>;
-        #address-cells = <1>;
-        #size-cells = <1>;
-
-        /* Data cells */
-        fgu_calib: calib@6 {
-          reg = <0x6 0x2>;
-          bits = <0 9>;
-        };
-
-        adc_big_scale: calib@24 {
-          reg = <0x24 0x2>;
-        };
-
-        adc_small_scale: calib@26 {
-          reg = <0x26 0x2>;
-        };
-      };
-    };
 ...
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [PATCH v3 1/2] dt-bindings: mfd: sprd,sc2731: convert to YAML
  2024-11-04  8:48 [PATCH v3 1/2] dt-bindings: mfd: sprd,sc2731: convert to YAML Stanislav Jakubek
  2024-11-04  8:48 ` [PATCH v3 2/2] dt-bindings: mfd: sprd,sc2731: reference sprd,sc2731-efuse bindings Stanislav Jakubek
@ 2024-11-04 16:24 ` Rob Herring (Arm)
  2024-11-06  9:04 ` Lee Jones
  2024-11-12 14:48 ` (subset) " Lee Jones
  3 siblings, 0 replies; 11+ messages in thread
From: Rob Herring (Arm) @ 2024-11-04 16:24 UTC (permalink / raw)
  To: Stanislav Jakubek
  Cc: Krzysztof Kozlowski, linux-rtc, devicetree, Orson Zhai,
	Sebastian Reichel, Chunyan Zhang, linux-leds, Srinivas Kandagatla,
	Liam Girdwood, Pavel Machek, Lee Jones, linux-pm,
	Lars-Peter Clausen, linux-kernel, Mark Brown, Alexandre Belloni,
	Jonathan Cameron, Conor Dooley, linux-iio, Baolin Wang


On Mon, 04 Nov 2024 09:48:21 +0100, Stanislav Jakubek wrote:
> Convert the Spreadtrum SC27xx PMIC bindings to DT schema. Adjust the
> filename to match the compatible of the only in-tree user, SC2731.
> Change #interrupt-cells value to 1, as according to [1] that is the
> correct value.
> Move partial examples of child nodes in the child node schemas to this new
> MFD schema to have one complete example.
> 
> [1] https://lore.kernel.org/lkml/b6a32917d1e231277d240a4084bebb6ad91247e3.1550060544.git.baolin.wang@linaro.org/
> 
> Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
> ---
> Changes in V3:
> - remove $ref to nvmem/sc2731-efuse and list the compatibles with
>   additionalProperties: true (Krzysztof)
> 
> Changes in V2:
> - rebase on next-20241029
> - drop partial examples in child node schemas, move them here (Rob)
> 
> Link to V2: https://lore.kernel.org/lkml/ZyExK01iprBHhGm6@standask-GA-A55M-S2HP/
> Link to V1: https://lore.kernel.org/lkml/Zr3X1RoQs7ElTnlJ@standask-GA-A55M-S2HP/
> 
>  .../bindings/iio/adc/sprd,sc2720-adc.yaml     |  17 --
>  .../bindings/leds/sprd,sc2731-bltc.yaml       |  31 ---
>  .../devicetree/bindings/mfd/sprd,sc2731.yaml  | 252 ++++++++++++++++++
>  .../bindings/mfd/sprd,sc27xx-pmic.txt         |  40 ---
>  .../bindings/power/supply/sc2731-charger.yaml |  21 +-
>  .../bindings/power/supply/sc27xx-fg.yaml      |  38 +--
>  .../regulator/sprd,sc2731-regulator.yaml      |  21 --
>  .../bindings/rtc/sprd,sc2731-rtc.yaml         |  16 --
>  8 files changed, 254 insertions(+), 182 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/mfd/sprd,sc2731.yaml
>  delete mode 100644 Documentation/devicetree/bindings/mfd/sprd,sc27xx-pmic.txt
> 

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH v3 1/2] dt-bindings: mfd: sprd,sc2731: convert to YAML
  2024-11-04  8:48 [PATCH v3 1/2] dt-bindings: mfd: sprd,sc2731: convert to YAML Stanislav Jakubek
  2024-11-04  8:48 ` [PATCH v3 2/2] dt-bindings: mfd: sprd,sc2731: reference sprd,sc2731-efuse bindings Stanislav Jakubek
  2024-11-04 16:24 ` [PATCH v3 1/2] dt-bindings: mfd: sprd,sc2731: convert to YAML Rob Herring (Arm)
@ 2024-11-06  9:04 ` Lee Jones
  2024-11-09 15:30   ` Jonathan Cameron
                     ` (2 more replies)
  2024-11-12 14:48 ` (subset) " Lee Jones
  3 siblings, 3 replies; 11+ messages in thread
From: Lee Jones @ 2024-11-06  9:04 UTC (permalink / raw)
  To: Stanislav Jakubek
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Orson Zhai,
	Baolin Wang, Chunyan Zhang, Jonathan Cameron, Lars-Peter Clausen,
	Pavel Machek, Srinivas Kandagatla, Sebastian Reichel,
	Liam Girdwood, Mark Brown, Alexandre Belloni, devicetree,
	linux-iio, linux-kernel, linux-leds, linux-pm, linux-rtc

On Mon, 04 Nov 2024, Stanislav Jakubek wrote:

> Convert the Spreadtrum SC27xx PMIC bindings to DT schema. Adjust the
> filename to match the compatible of the only in-tree user, SC2731.
> Change #interrupt-cells value to 1, as according to [1] that is the
> correct value.
> Move partial examples of child nodes in the child node schemas to this new
> MFD schema to have one complete example.
> 
> [1] https://lore.kernel.org/lkml/b6a32917d1e231277d240a4084bebb6ad91247e3.1550060544.git.baolin.wang@linaro.org/
> 
> Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
> ---
> Changes in V3:
> - remove $ref to nvmem/sc2731-efuse and list the compatibles with
>   additionalProperties: true (Krzysztof)
> 
> Changes in V2:
> - rebase on next-20241029
> - drop partial examples in child node schemas, move them here (Rob)
> 
> Link to V2: https://lore.kernel.org/lkml/ZyExK01iprBHhGm6@standask-GA-A55M-S2HP/
> Link to V1: https://lore.kernel.org/lkml/Zr3X1RoQs7ElTnlJ@standask-GA-A55M-S2HP/
> 
>  .../bindings/iio/adc/sprd,sc2720-adc.yaml     |  17 --
>  .../bindings/leds/sprd,sc2731-bltc.yaml       |  31 ---
>  .../devicetree/bindings/mfd/sprd,sc2731.yaml  | 252 ++++++++++++++++++
>  .../bindings/mfd/sprd,sc27xx-pmic.txt         |  40 ---
>  .../bindings/power/supply/sc2731-charger.yaml |  21 +-
>  .../bindings/power/supply/sc27xx-fg.yaml      |  38 +--
>  .../regulator/sprd,sc2731-regulator.yaml      |  21 --
>  .../bindings/rtc/sprd,sc2731-rtc.yaml         |  16 --

Is everyone happy with me merging this through MFD?

-- 
Lee Jones [李琼斯]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH v3 2/2] dt-bindings: mfd: sprd,sc2731: reference sprd,sc2731-efuse bindings
  2024-11-04  8:48 ` [PATCH v3 2/2] dt-bindings: mfd: sprd,sc2731: reference sprd,sc2731-efuse bindings Stanislav Jakubek
@ 2024-11-06  9:05   ` Lee Jones
  2024-11-07 15:58     ` Rob Herring
  0 siblings, 1 reply; 11+ messages in thread
From: Lee Jones @ 2024-11-06  9:05 UTC (permalink / raw)
  To: Stanislav Jakubek
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Orson Zhai,
	Baolin Wang, Chunyan Zhang, Jonathan Cameron, Lars-Peter Clausen,
	Pavel Machek, Srinivas Kandagatla, Sebastian Reichel,
	Liam Girdwood, Mark Brown, Alexandre Belloni, devicetree,
	linux-iio, linux-kernel, linux-leds, linux-pm, linux-rtc

On Mon, 04 Nov 2024, Stanislav Jakubek wrote:

> Directly reference the sc2731-efuse bindings to simplify the schema.
> Remove the duplicate example from the efuse bindings.
> 
> Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
> ---
> Changes in V3:
> - new patch due to a missing dependency in the MFD tree 
> 
> Link to V2: https://lore.kernel.org/lkml/ZyExK01iprBHhGm6@standask-GA-A55M-S2HP/
> Link to V1: https://lore.kernel.org/lkml/Zr3X1RoQs7ElTnlJ@standask-GA-A55M-S2HP/
> 
>  .../devicetree/bindings/mfd/sprd,sc2731.yaml  | 10 +------
>  .../bindings/nvmem/sprd,sc2731-efuse.yaml     | 29 -------------------

Srini, you happy for this to go in via MFD?

-- 
Lee Jones [李琼斯]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH v3 2/2] dt-bindings: mfd: sprd,sc2731: reference sprd,sc2731-efuse bindings
  2024-11-06  9:05   ` Lee Jones
@ 2024-11-07 15:58     ` Rob Herring
  2024-11-11 16:40       ` Lee Jones
  0 siblings, 1 reply; 11+ messages in thread
From: Rob Herring @ 2024-11-07 15:58 UTC (permalink / raw)
  To: Lee Jones
  Cc: Stanislav Jakubek, Krzysztof Kozlowski, Conor Dooley, Orson Zhai,
	Baolin Wang, Chunyan Zhang, Jonathan Cameron, Lars-Peter Clausen,
	Pavel Machek, Srinivas Kandagatla, Sebastian Reichel,
	Liam Girdwood, Mark Brown, Alexandre Belloni, devicetree,
	linux-iio, linux-kernel, linux-leds, linux-pm, linux-rtc

On Wed, Nov 06, 2024 at 09:05:09AM +0000, Lee Jones wrote:
> On Mon, 04 Nov 2024, Stanislav Jakubek wrote:
> 
> > Directly reference the sc2731-efuse bindings to simplify the schema.
> > Remove the duplicate example from the efuse bindings.
> > 
> > Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
> > ---
> > Changes in V3:
> > - new patch due to a missing dependency in the MFD tree 
> > 
> > Link to V2: https://lore.kernel.org/lkml/ZyExK01iprBHhGm6@standask-GA-A55M-S2HP/
> > Link to V1: https://lore.kernel.org/lkml/Zr3X1RoQs7ElTnlJ@standask-GA-A55M-S2HP/
> > 
> >  .../devicetree/bindings/mfd/sprd,sc2731.yaml  | 10 +------
> >  .../bindings/nvmem/sprd,sc2731-efuse.yaml     | 29 -------------------
> 
> Srini, you happy for this to go in via MFD?

Can you? AIUI, you don't have nvmem/sprd,sc2731-efuse.yaml in your tree.

So take patch 1 now and this one will have to go next cycle.

Rob

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH v3 1/2] dt-bindings: mfd: sprd,sc2731: convert to YAML
  2024-11-06  9:04 ` Lee Jones
@ 2024-11-09 15:30   ` Jonathan Cameron
  2024-11-10 22:20   ` Alexandre Belloni
  2024-11-11 22:03   ` Sebastian Reichel
  2 siblings, 0 replies; 11+ messages in thread
From: Jonathan Cameron @ 2024-11-09 15:30 UTC (permalink / raw)
  To: Lee Jones
  Cc: Stanislav Jakubek, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Orson Zhai, Baolin Wang, Chunyan Zhang, Lars-Peter Clausen,
	Pavel Machek, Srinivas Kandagatla, Sebastian Reichel,
	Liam Girdwood, Mark Brown, Alexandre Belloni, devicetree,
	linux-iio, linux-kernel, linux-leds, linux-pm, linux-rtc

On Wed, 6 Nov 2024 09:04:22 +0000
Lee Jones <lee@kernel.org> wrote:

> On Mon, 04 Nov 2024, Stanislav Jakubek wrote:
> 
> > Convert the Spreadtrum SC27xx PMIC bindings to DT schema. Adjust the
> > filename to match the compatible of the only in-tree user, SC2731.
> > Change #interrupt-cells value to 1, as according to [1] that is the
> > correct value.
> > Move partial examples of child nodes in the child node schemas to this new
> > MFD schema to have one complete example.
> > 
> > [1] https://lore.kernel.org/lkml/b6a32917d1e231277d240a4084bebb6ad91247e3.1550060544.git.baolin.wang@linaro.org/
> > 
> > Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
> > ---
> > Changes in V3:
> > - remove $ref to nvmem/sc2731-efuse and list the compatibles with
> >   additionalProperties: true (Krzysztof)
> > 
> > Changes in V2:
> > - rebase on next-20241029
> > - drop partial examples in child node schemas, move them here (Rob)
> > 
> > Link to V2: https://lore.kernel.org/lkml/ZyExK01iprBHhGm6@standask-GA-A55M-S2HP/
> > Link to V1: https://lore.kernel.org/lkml/Zr3X1RoQs7ElTnlJ@standask-GA-A55M-S2HP/
> > 
> >  .../bindings/iio/adc/sprd,sc2720-adc.yaml     |  17 --
> >  .../bindings/leds/sprd,sc2731-bltc.yaml       |  31 ---
> >  .../devicetree/bindings/mfd/sprd,sc2731.yaml  | 252 ++++++++++++++++++
> >  .../bindings/mfd/sprd,sc27xx-pmic.txt         |  40 ---
> >  .../bindings/power/supply/sc2731-charger.yaml |  21 +-
> >  .../bindings/power/supply/sc27xx-fg.yaml      |  38 +--
> >  .../regulator/sprd,sc2731-regulator.yaml      |  21 --
> >  .../bindings/rtc/sprd,sc2731-rtc.yaml         |  16 --  
> 
> Is everyone happy with me merging this through MFD?
> 
Sure for IIO bit.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH v3 1/2] dt-bindings: mfd: sprd,sc2731: convert to YAML
  2024-11-06  9:04 ` Lee Jones
  2024-11-09 15:30   ` Jonathan Cameron
@ 2024-11-10 22:20   ` Alexandre Belloni
  2024-11-11 22:03   ` Sebastian Reichel
  2 siblings, 0 replies; 11+ messages in thread
From: Alexandre Belloni @ 2024-11-10 22:20 UTC (permalink / raw)
  To: Lee Jones
  Cc: Stanislav Jakubek, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Orson Zhai, Baolin Wang, Chunyan Zhang, Jonathan Cameron,
	Lars-Peter Clausen, Pavel Machek, Srinivas Kandagatla,
	Sebastian Reichel, Liam Girdwood, Mark Brown, devicetree,
	linux-iio, linux-kernel, linux-leds, linux-pm, linux-rtc

On 06/11/2024 09:04:22+0000, Lee Jones wrote:
> On Mon, 04 Nov 2024, Stanislav Jakubek wrote:
> 
> > Convert the Spreadtrum SC27xx PMIC bindings to DT schema. Adjust the
> > filename to match the compatible of the only in-tree user, SC2731.
> > Change #interrupt-cells value to 1, as according to [1] that is the
> > correct value.
> > Move partial examples of child nodes in the child node schemas to this new
> > MFD schema to have one complete example.
> > 
> > [1] https://lore.kernel.org/lkml/b6a32917d1e231277d240a4084bebb6ad91247e3.1550060544.git.baolin.wang@linaro.org/
> > 
> > Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
> > ---
> > Changes in V3:
> > - remove $ref to nvmem/sc2731-efuse and list the compatibles with
> >   additionalProperties: true (Krzysztof)
> > 
> > Changes in V2:
> > - rebase on next-20241029
> > - drop partial examples in child node schemas, move them here (Rob)
> > 
> > Link to V2: https://lore.kernel.org/lkml/ZyExK01iprBHhGm6@standask-GA-A55M-S2HP/
> > Link to V1: https://lore.kernel.org/lkml/Zr3X1RoQs7ElTnlJ@standask-GA-A55M-S2HP/
> > 
> >  .../bindings/iio/adc/sprd,sc2720-adc.yaml     |  17 --
> >  .../bindings/leds/sprd,sc2731-bltc.yaml       |  31 ---
> >  .../devicetree/bindings/mfd/sprd,sc2731.yaml  | 252 ++++++++++++++++++
> >  .../bindings/mfd/sprd,sc27xx-pmic.txt         |  40 ---
> >  .../bindings/power/supply/sc2731-charger.yaml |  21 +-
> >  .../bindings/power/supply/sc27xx-fg.yaml      |  38 +--
> >  .../regulator/sprd,sc2731-regulator.yaml      |  21 --
> >  .../bindings/rtc/sprd,sc2731-rtc.yaml         |  16 --
> 
> Is everyone happy with me merging this through MFD?
> 

This is fine for me.

> -- 
> Lee Jones [李琼斯]
> 

-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH v3 2/2] dt-bindings: mfd: sprd,sc2731: reference sprd,sc2731-efuse bindings
  2024-11-07 15:58     ` Rob Herring
@ 2024-11-11 16:40       ` Lee Jones
  0 siblings, 0 replies; 11+ messages in thread
From: Lee Jones @ 2024-11-11 16:40 UTC (permalink / raw)
  To: Rob Herring
  Cc: Stanislav Jakubek, Krzysztof Kozlowski, Conor Dooley, Orson Zhai,
	Baolin Wang, Chunyan Zhang, Jonathan Cameron, Lars-Peter Clausen,
	Pavel Machek, Srinivas Kandagatla, Sebastian Reichel,
	Liam Girdwood, Mark Brown, Alexandre Belloni, devicetree,
	linux-iio, linux-kernel, linux-leds, linux-pm, linux-rtc

On Thu, 07 Nov 2024, Rob Herring wrote:

> On Wed, Nov 06, 2024 at 09:05:09AM +0000, Lee Jones wrote:
> > On Mon, 04 Nov 2024, Stanislav Jakubek wrote:
> > 
> > > Directly reference the sc2731-efuse bindings to simplify the schema.
> > > Remove the duplicate example from the efuse bindings.
> > > 
> > > Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
> > > ---
> > > Changes in V3:
> > > - new patch due to a missing dependency in the MFD tree 
> > > 
> > > Link to V2: https://lore.kernel.org/lkml/ZyExK01iprBHhGm6@standask-GA-A55M-S2HP/
> > > Link to V1: https://lore.kernel.org/lkml/Zr3X1RoQs7ElTnlJ@standask-GA-A55M-S2HP/
> > > 
> > >  .../devicetree/bindings/mfd/sprd,sc2731.yaml  | 10 +------
> > >  .../bindings/nvmem/sprd,sc2731-efuse.yaml     | 29 -------------------
> > 
> > Srini, you happy for this to go in via MFD?
> 
> Can you? AIUI, you don't have nvmem/sprd,sc2731-efuse.yaml in your tree.
> 
> So take patch 1 now and this one will have to go next cycle.

Works for me.

-- 
Lee Jones [李琼斯]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH v3 1/2] dt-bindings: mfd: sprd,sc2731: convert to YAML
  2024-11-06  9:04 ` Lee Jones
  2024-11-09 15:30   ` Jonathan Cameron
  2024-11-10 22:20   ` Alexandre Belloni
@ 2024-11-11 22:03   ` Sebastian Reichel
  2 siblings, 0 replies; 11+ messages in thread
From: Sebastian Reichel @ 2024-11-11 22:03 UTC (permalink / raw)
  To: Lee Jones
  Cc: Stanislav Jakubek, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Orson Zhai, Baolin Wang, Chunyan Zhang, Jonathan Cameron,
	Lars-Peter Clausen, Pavel Machek, Srinivas Kandagatla,
	Liam Girdwood, Mark Brown, Alexandre Belloni, devicetree,
	linux-iio, linux-kernel, linux-leds, linux-pm, linux-rtc

[-- Attachment #1: Type: text/plain, Size: 1786 bytes --]

Hi Lee,

On Wed, Nov 06, 2024 at 09:04:22AM +0000, Lee Jones wrote:
> On Mon, 04 Nov 2024, Stanislav Jakubek wrote:
> > Convert the Spreadtrum SC27xx PMIC bindings to DT schema. Adjust the
> > filename to match the compatible of the only in-tree user, SC2731.
> > Change #interrupt-cells value to 1, as according to [1] that is the
> > correct value.
> > Move partial examples of child nodes in the child node schemas to this new
> > MFD schema to have one complete example.
> > 
> > [1] https://lore.kernel.org/lkml/b6a32917d1e231277d240a4084bebb6ad91247e3.1550060544.git.baolin.wang@linaro.org/
> > 
> > Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
> > ---
> > Changes in V3:
> > - remove $ref to nvmem/sc2731-efuse and list the compatibles with
> >   additionalProperties: true (Krzysztof)
> > 
> > Changes in V2:
> > - rebase on next-20241029
> > - drop partial examples in child node schemas, move them here (Rob)
> > 
> > Link to V2: https://lore.kernel.org/lkml/ZyExK01iprBHhGm6@standask-GA-A55M-S2HP/
> > Link to V1: https://lore.kernel.org/lkml/Zr3X1RoQs7ElTnlJ@standask-GA-A55M-S2HP/
> > 
> >  .../bindings/iio/adc/sprd,sc2720-adc.yaml     |  17 --
> >  .../bindings/leds/sprd,sc2731-bltc.yaml       |  31 ---
> >  .../devicetree/bindings/mfd/sprd,sc2731.yaml  | 252 ++++++++++++++++++
> >  .../bindings/mfd/sprd,sc27xx-pmic.txt         |  40 ---
> >  .../bindings/power/supply/sc2731-charger.yaml |  21 +-
> >  .../bindings/power/supply/sc27xx-fg.yaml      |  38 +--
> >  .../regulator/sprd,sc2731-regulator.yaml      |  21 --
> >  .../bindings/rtc/sprd,sc2731-rtc.yaml         |  16 --
> 
> Is everyone happy with me merging this through MFD?

Sorry for the delay - fine with me for the power-supply bits.

-- Sebastian

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: (subset) [PATCH v3 1/2] dt-bindings: mfd: sprd,sc2731: convert to YAML
  2024-11-04  8:48 [PATCH v3 1/2] dt-bindings: mfd: sprd,sc2731: convert to YAML Stanislav Jakubek
                   ` (2 preceding siblings ...)
  2024-11-06  9:04 ` Lee Jones
@ 2024-11-12 14:48 ` Lee Jones
  3 siblings, 0 replies; 11+ messages in thread
From: Lee Jones @ 2024-11-12 14:48 UTC (permalink / raw)
  To: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Orson Zhai, Baolin Wang, Chunyan Zhang, Jonathan Cameron,
	Lars-Peter Clausen, Pavel Machek, Srinivas Kandagatla,
	Sebastian Reichel, Liam Girdwood, Mark Brown, Alexandre Belloni,
	Stanislav Jakubek
  Cc: devicetree, linux-iio, linux-kernel, linux-leds, linux-pm,
	linux-rtc

On Mon, 04 Nov 2024 09:48:21 +0100, Stanislav Jakubek wrote:
> Convert the Spreadtrum SC27xx PMIC bindings to DT schema. Adjust the
> filename to match the compatible of the only in-tree user, SC2731.
> Change #interrupt-cells value to 1, as according to [1] that is the
> correct value.
> Move partial examples of child nodes in the child node schemas to this new
> MFD schema to have one complete example.
> 
> [...]

Applied, thanks!

[1/2] dt-bindings: mfd: sprd,sc2731: convert to YAML
      commit: f9c7529fdb607a255bb648f0a7550813e311b5ba

--
Lee Jones [李琼斯]


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-11-12 14:48 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-04  8:48 [PATCH v3 1/2] dt-bindings: mfd: sprd,sc2731: convert to YAML Stanislav Jakubek
2024-11-04  8:48 ` [PATCH v3 2/2] dt-bindings: mfd: sprd,sc2731: reference sprd,sc2731-efuse bindings Stanislav Jakubek
2024-11-06  9:05   ` Lee Jones
2024-11-07 15:58     ` Rob Herring
2024-11-11 16:40       ` Lee Jones
2024-11-04 16:24 ` [PATCH v3 1/2] dt-bindings: mfd: sprd,sc2731: convert to YAML Rob Herring (Arm)
2024-11-06  9:04 ` Lee Jones
2024-11-09 15:30   ` Jonathan Cameron
2024-11-10 22:20   ` Alexandre Belloni
2024-11-11 22:03   ` Sebastian Reichel
2024-11-12 14:48 ` (subset) " Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).