linux-renesas-soc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3] dt-bindings: mfd: Add Renesas R2A11302FT PMIC
@ 2025-10-10  9:43 Wolfram Sang
  2025-10-10 10:37 ` Krzysztof Kozlowski
  2025-10-23 12:01 ` (subset) " Lee Jones
  0 siblings, 2 replies; 3+ messages in thread
From: Wolfram Sang @ 2025-10-10  9:43 UTC (permalink / raw)
  To: linux-renesas-soc
  Cc: Wolfram Sang, Geert Uytterhoeven, Lee Jones, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Magnus Damm, devicetree

This PMIC is referenced in upstream DTs for the Renesas Lager and
Koelsch boards. Sadly, there is no documentation available. This minimal
binding description states the facts that we do know.

Fixes:
arch/arm/boot/dts/renesas/r8a7790-lager.dtb: /soc/spi@e6e10000/pmic@0: failed to match any schema with compatible: ['renesas,r2a11302ft']
arch/arm/boot/dts/renesas/r8a7791-koelsch.dtb: /soc/spi@e6e20000/pmic@0: failed to match any schema with compatible: ['renesas,r2a11302ft']

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---

Changes since last version:
* switched to b4-style patch version counting
* added unevaluatedProperties
* fixed whitespaces in example
* added description stating that the binding is incomplete
* reworded commit message to state the reason for incompleteness

Thanks Krzysztof for all the input!

 .../bindings/mfd/renesas,r2a11302ft.yaml      | 58 +++++++++++++++++++
 1 file changed, 58 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mfd/renesas,r2a11302ft.yaml

diff --git a/Documentation/devicetree/bindings/mfd/renesas,r2a11302ft.yaml b/Documentation/devicetree/bindings/mfd/renesas,r2a11302ft.yaml
new file mode 100644
index 000000000000..7b96619ebd8c
--- /dev/null
+++ b/Documentation/devicetree/bindings/mfd/renesas,r2a11302ft.yaml
@@ -0,0 +1,58 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/mfd/renesas,r2a11302ft.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Renesas R2A11302FT Power Supply ICs for R-Car
+
+maintainers:
+  - Wolfram Sang <wsa+renesas@sang-engineering.com>
+
+description: |
+  The Renesas R2A11302FT PMIC is used with Renesas R-Car Gen1/Gen2
+  based SoCs.
+
+  FIXME: The binding is incomplete and resembles the information gathered
+  so far.
+
+properties:
+  compatible:
+    const: renesas,r2a11302ft
+
+  reg:
+    maxItems: 1
+
+  spi-max-frequency:
+    maximum: 6000000
+
+  spi-cpol: true
+
+  spi-cpha: true
+
+required:
+  - compatible
+  - reg
+  - spi-cpol
+  - spi-cpha
+
+allOf:
+  - $ref: /schemas/spi/spi-peripheral-props.yaml#
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    spi {
+        #address-cells = <1>;
+        #size-cells = <0>;
+
+        pmic@0 {
+            compatible = "renesas,r2a11302ft";
+            reg = <0>;
+            spi-max-frequency = <6000000>;
+            spi-cpol;
+            spi-cpha;
+        };
+    };
+...
-- 
2.47.2


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

* Re: [PATCH v3] dt-bindings: mfd: Add Renesas R2A11302FT PMIC
  2025-10-10  9:43 [PATCH v3] dt-bindings: mfd: Add Renesas R2A11302FT PMIC Wolfram Sang
@ 2025-10-10 10:37 ` Krzysztof Kozlowski
  2025-10-23 12:01 ` (subset) " Lee Jones
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2025-10-10 10:37 UTC (permalink / raw)
  To: Wolfram Sang, linux-renesas-soc
  Cc: Geert Uytterhoeven, Lee Jones, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Magnus Damm, devicetree

On 10/10/2025 11:43, Wolfram Sang wrote:
> This PMIC is referenced in upstream DTs for the Renesas Lager and
> Koelsch boards. Sadly, there is no documentation available. This minimal
> binding description states the facts that we do know.
> 
> Fixes:
> arch/arm/boot/dts/renesas/r8a7790-lager.dtb: /soc/spi@e6e10000/pmic@0: failed to match any schema with compatible: ['renesas,r2a11302ft']
> arch/arm/boot/dts/renesas/r8a7791-koelsch.dtb: /soc/spi@e6e20000/pmic@0: failed to match any schema with compatible: ['renesas,r2a11302ft']
> 
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> ---
> 
> Changes since last version:
> * switched to b4-style patch version counting
> * added unevaluatedProperties
> * fixed whitespaces in example
> * added description stating that the binding is incomplete
> * reworded commit message to state the reason for incompleteness
> 
> Thanks Krzysztof for all the input!
> 
>  .../bindings/mfd/renesas,r2a11302ft.yaml      | 58 +++++++++++++++++++
>  1 file changed, 58 insertions(+)


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

Best regards,
Krzysztof

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

* Re: (subset) [PATCH v3] dt-bindings: mfd: Add Renesas R2A11302FT PMIC
  2025-10-10  9:43 [PATCH v3] dt-bindings: mfd: Add Renesas R2A11302FT PMIC Wolfram Sang
  2025-10-10 10:37 ` Krzysztof Kozlowski
@ 2025-10-23 12:01 ` Lee Jones
  1 sibling, 0 replies; 3+ messages in thread
From: Lee Jones @ 2025-10-23 12:01 UTC (permalink / raw)
  To: linux-renesas-soc, Wolfram Sang
  Cc: Geert Uytterhoeven, Lee Jones, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Magnus Damm, devicetree

On Fri, 10 Oct 2025 11:43:43 +0200, Wolfram Sang wrote:
> This PMIC is referenced in upstream DTs for the Renesas Lager and
> Koelsch boards. Sadly, there is no documentation available. This minimal
> binding description states the facts that we do know.
> 
> Fixes:
> arch/arm/boot/dts/renesas/r8a7790-lager.dtb: /soc/spi@e6e10000/pmic@0: failed to match any schema with compatible: ['renesas,r2a11302ft']
> arch/arm/boot/dts/renesas/r8a7791-koelsch.dtb: /soc/spi@e6e20000/pmic@0: failed to match any schema with compatible: ['renesas,r2a11302ft']
> 
> [...]

Applied, thanks!

[1/1] dt-bindings: mfd: Add Renesas R2A11302FT PMIC
      commit: fa717fce4dabe7dc291b30e243cfc0b52576cee6

--
Lee Jones [李琼斯]


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

end of thread, other threads:[~2025-10-23 12:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-10  9:43 [PATCH v3] dt-bindings: mfd: Add Renesas R2A11302FT PMIC Wolfram Sang
2025-10-10 10:37 ` Krzysztof Kozlowski
2025-10-23 12:01 ` (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).