[PATCH v2 1/3] dt-bindings: mfd: 88pm886: Add #io-channel-cells

Duje Mihanović posted 3 patches 1 month ago
There is a newer version of this series
[PATCH v2 1/3] dt-bindings: mfd: 88pm886: Add #io-channel-cells
Posted by Duje Mihanović 1 month ago
Add an #io-channel-cells property to the Marvell 88PM886 PMIC binding to
allow referencing the IO channels exposed by its GPADC.

Signed-off-by: Duje Mihanović <duje@dujemihanovic.xyz>
---
v2:
- New patch
---
 Documentation/devicetree/bindings/mfd/marvell,88pm886-a1.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/mfd/marvell,88pm886-a1.yaml b/Documentation/devicetree/bindings/mfd/marvell,88pm886-a1.yaml
index d6a71c912b76f7d24787d346d4b4cd51919b1cf6..92a72a99fd790805e775727e39d457608fa1795d 100644
--- a/Documentation/devicetree/bindings/mfd/marvell,88pm886-a1.yaml
+++ b/Documentation/devicetree/bindings/mfd/marvell,88pm886-a1.yaml
@@ -35,6 +35,9 @@ properties:
         description: LDO or buck regulator.
         unevaluatedProperties: false
 
+  '#io-channel-cells':
+    const: 1
+
 required:
   - compatible
   - reg
@@ -53,6 +56,7 @@ examples:
         reg = <0x30>;
         interrupts = <0 4 IRQ_TYPE_LEVEL_HIGH>;
         interrupt-parent = <&gic>;
+        #io-channel-cells = <1>;
         wakeup-source;
 
         regulators {

-- 
2.51.0

Re: [PATCH v2 1/3] dt-bindings: mfd: 88pm886: Add #io-channel-cells
Posted by Karel Balej 1 month ago
Duje Mihanović, 2025-08-31T12:33:04+02:00:
> Add an #io-channel-cells property to the Marvell 88PM886 PMIC binding to
> allow referencing the IO channels exposed by its GPADC.
>
> Signed-off-by: Duje Mihanović <duje@dujemihanovic.xyz>
> ---
> v2:
> - New patch
> ---
>  Documentation/devicetree/bindings/mfd/marvell,88pm886-a1.yaml | 4 ++++
>  1 file changed, 4 insertions(+)

Acked-by: Karel Balej <balejk@matfyz.cz> # for the PMIC
Re: [PATCH v2 1/3] dt-bindings: mfd: 88pm886: Add #io-channel-cells
Posted by Krzysztof Kozlowski 1 month ago
On 31/08/2025 12:33, Duje Mihanović wrote:
> Add an #io-channel-cells property to the Marvell 88PM886 PMIC binding to
> allow referencing the IO channels exposed by its GPADC.
> 
> Signed-off-by: Duje Mihanović <duje@dujemihanovic.xyz>

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof