Devicetree
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: fpga: altr,socfpga-fpga-mgr: convert to DT schema
@ 2026-05-12 16:50 Manish Baing
  2026-05-12 17:04 ` Conor Dooley
  2026-05-13 23:30 ` sashiko-bot
  0 siblings, 2 replies; 3+ messages in thread
From: Manish Baing @ 2026-05-12 16:50 UTC (permalink / raw)
  To: mdf, yilun.xu, robh, krzk+dt, conor+dt
  Cc: trix, s.trumtrar, linux-fpga, devicetree, linux-kernel,
	manishbaing2789

Convert the Altera SoCFPGA FPGA Manager bindings from text
format to YAML schema.

Signed-off-by: Manish Baing <manishbaing2789@gmail.com>
---
 .../bindings/fpga/altera-socfpga-fpga-mgr.txt | 17 --------
 .../bindings/fpga/altr,socfpga-fpga-mgr.yaml  | 39 +++++++++++++++++++
 2 files changed, 39 insertions(+), 17 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/fpga/altera-socfpga-fpga-mgr.txt
 create mode 100644 Documentation/devicetree/bindings/fpga/altr,socfpga-fpga-mgr.yaml

diff --git a/Documentation/devicetree/bindings/fpga/altera-socfpga-fpga-mgr.txt b/Documentation/devicetree/bindings/fpga/altera-socfpga-fpga-mgr.txt
deleted file mode 100644
index d52f3340414d..000000000000
--- a/Documentation/devicetree/bindings/fpga/altera-socfpga-fpga-mgr.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-Altera SOCFPGA FPGA Manager
-
-Required properties:
-- compatible : should contain "altr,socfpga-fpga-mgr"
-- reg        : base address and size for memory mapped io.
-               - The first index is for FPGA manager register access.
-               - The second index is for writing FPGA configuration data.
-- interrupts : interrupt for the FPGA Manager device.
-
-Example:
-
-	hps_0_fpgamgr: fpgamgr@ff706000 {
-		compatible = "altr,socfpga-fpga-mgr";
-		reg = <0xFF706000 0x1000
-		       0xFFB90000 0x1000>;
-		interrupts = <0 175 4>;
-	};
diff --git a/Documentation/devicetree/bindings/fpga/altr,socfpga-fpga-mgr.yaml b/Documentation/devicetree/bindings/fpga/altr,socfpga-fpga-mgr.yaml
new file mode 100644
index 000000000000..d09d552dde5e
--- /dev/null
+++ b/Documentation/devicetree/bindings/fpga/altr,socfpga-fpga-mgr.yaml
@@ -0,0 +1,39 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/fpga/altr,socfpga-fpga-mgr.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Altera SOCFPGA FPGA Manager
+
+maintainers:
+  - Steffen Trumtrar <s.trumtrar@pengutronix.de>
+  - Rob Herring <robh@kernel.org>
+
+properties:
+  compatible:
+    const: altr,socfpga-fpga-mgr
+
+  reg:
+    items:
+      - description: FPGA manager register access
+      - description: Writing FPGA configuration data
+
+  interrupts:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+  - interrupts
+
+additionalProperties: false
+
+examples:
+  - |
+    fpgamgr@ff706000 {
+        compatible = "altr,socfpga-fpga-mgr";
+        reg = <0xff706000 0x1000>,
+              <0xffb90000 0x1000>;
+        interrupts = <0 175 4>;
+    };
-- 
2.43.0


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

* Re: [PATCH] dt-bindings: fpga: altr,socfpga-fpga-mgr: convert to DT schema
  2026-05-12 16:50 [PATCH] dt-bindings: fpga: altr,socfpga-fpga-mgr: convert to DT schema Manish Baing
@ 2026-05-12 17:04 ` Conor Dooley
  2026-05-13 23:30 ` sashiko-bot
  1 sibling, 0 replies; 3+ messages in thread
From: Conor Dooley @ 2026-05-12 17:04 UTC (permalink / raw)
  To: Manish Baing
  Cc: mdf, yilun.xu, robh, krzk+dt, conor+dt, trix, s.trumtrar,
	linux-fpga, devicetree, linux-kernel

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

On Tue, May 12, 2026 at 04:50:58PM +0000, Manish Baing wrote:
> Convert the Altera SoCFPGA FPGA Manager bindings from text
> format to YAML schema.
> 
> Signed-off-by: Manish Baing <manishbaing2789@gmail.com>
> ---
>  .../bindings/fpga/altera-socfpga-fpga-mgr.txt | 17 --------
>  .../bindings/fpga/altr,socfpga-fpga-mgr.yaml  | 39 +++++++++++++++++++
>  2 files changed, 39 insertions(+), 17 deletions(-)
>  delete mode 100644 Documentation/devicetree/bindings/fpga/altera-socfpga-fpga-mgr.txt
>  create mode 100644 Documentation/devicetree/bindings/fpga/altr,socfpga-fpga-mgr.yaml
> 
> diff --git a/Documentation/devicetree/bindings/fpga/altera-socfpga-fpga-mgr.txt b/Documentation/devicetree/bindings/fpga/altera-socfpga-fpga-mgr.txt
> deleted file mode 100644
> index d52f3340414d..000000000000
> --- a/Documentation/devicetree/bindings/fpga/altera-socfpga-fpga-mgr.txt
> +++ /dev/null
> @@ -1,17 +0,0 @@
> -Altera SOCFPGA FPGA Manager
> -
> -Required properties:
> -- compatible : should contain "altr,socfpga-fpga-mgr"
> -- reg        : base address and size for memory mapped io.
> -               - The first index is for FPGA manager register access.
> -               - The second index is for writing FPGA configuration data.
> -- interrupts : interrupt for the FPGA Manager device.
> -
> -Example:
> -
> -	hps_0_fpgamgr: fpgamgr@ff706000 {
> -		compatible = "altr,socfpga-fpga-mgr";
> -		reg = <0xFF706000 0x1000
> -		       0xFFB90000 0x1000>;
> -		interrupts = <0 175 4>;
> -	};
> diff --git a/Documentation/devicetree/bindings/fpga/altr,socfpga-fpga-mgr.yaml b/Documentation/devicetree/bindings/fpga/altr,socfpga-fpga-mgr.yaml
> new file mode 100644
> index 000000000000..d09d552dde5e
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/fpga/altr,socfpga-fpga-mgr.yaml
> @@ -0,0 +1,39 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/fpga/altr,socfpga-fpga-mgr.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Altera SOCFPGA FPGA Manager
> +
> +maintainers:
> +  - Steffen Trumtrar <s.trumtrar@pengutronix.de>
> +  - Rob Herring <robh@kernel.org>

Why's Rob a maintainer here? Doubt he cares about this device.

Otherwise this looks okay.


> +
> +properties:
> +  compatible:
> +    const: altr,socfpga-fpga-mgr
> +
> +  reg:
> +    items:
> +      - description: FPGA manager register access
> +      - description: Writing FPGA configuration data
> +
> +  interrupts:
> +    maxItems: 1
> +
> +required:
> +  - compatible
> +  - reg
> +  - interrupts
> +
> +additionalProperties: false
> +
> +examples:
> +  - |
> +    fpgamgr@ff706000 {
> +        compatible = "altr,socfpga-fpga-mgr";
> +        reg = <0xff706000 0x1000>,
> +              <0xffb90000 0x1000>;
> +        interrupts = <0 175 4>;
> +    };
> -- 
> 2.43.0
> 

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

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

* Re: [PATCH] dt-bindings: fpga: altr,socfpga-fpga-mgr: convert to DT schema
  2026-05-12 16:50 [PATCH] dt-bindings: fpga: altr,socfpga-fpga-mgr: convert to DT schema Manish Baing
  2026-05-12 17:04 ` Conor Dooley
@ 2026-05-13 23:30 ` sashiko-bot
  1 sibling, 0 replies; 3+ messages in thread
From: sashiko-bot @ 2026-05-13 23:30 UTC (permalink / raw)
  To: Manish Baing; +Cc: krzk+dt, robh, devicetree, conor+dt

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] The 'maintainers' list incorrectly includes Steffen Trumtrar and Rob Herring.
--

commit be1c0ecc6a9857f9aa82bd84bf85fccfa1cb035c
Author: Manish Baing <manishbaing2789@gmail.com>

dt-bindings: fpga: altr,socfpga-fpga-mgr: convert to DT schema

This commit converts the Altera SoCFPGA FPGA Manager bindings from the legacy
text format to a YAML schema.

[ ... ]

> diff --git a/Documentation/devicetree/bindings/fpga/altr,socfpga-fpga-mgr.yaml b/Documentation/devicetree/bindings/fpga/altr,socfpga-fpga-mgr.yaml
> new file mode 100644
> index 0000000000000..d09d552dde5e9
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/fpga/altr,socfpga-fpga-mgr.yaml
> @@ -0,0 +1,39 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/fpga/altr,socfpga-fpga-mgr.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Altera SOCFPGA FPGA Manager
> +
> +maintainers:
> +  - Steffen Trumtrar <s.trumtrar@pengutronix.de>
> +  - Rob Herring <robh@kernel.org>

Are these the intended maintainers for this specific binding?

Steffen Trumtrar does not appear to be the original author of the text
binding, and is not listed in the MAINTAINERS file for the FPGA manager
framework or the Altera SOCFPGA architecture. 

Additionally, while Rob Herring is the general Devicetree maintainer,
the general guidance is to avoid listing him as the dedicated maintainer
for specific vendor schemas unless he authored them.

Would it be better to list the FPGA subsystem maintainers (such as Moritz
Fischer or Xu Yilun) or the original author of the text binding here so
the get_maintainer.pl script routes queries to the right people?

[ ... ]

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260512165058.64049-1-manishbaing2789@gmail.com?part=1

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

end of thread, other threads:[~2026-05-13 23:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-12 16:50 [PATCH] dt-bindings: fpga: altr,socfpga-fpga-mgr: convert to DT schema Manish Baing
2026-05-12 17:04 ` Conor Dooley
2026-05-13 23:30 ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox