Re: [PATCH v2 1/2] dt-bindings: fpga: Also describe clock for gpio

From: Michal Simek
Date: Fri Jun 13 2025 - 06:53:18 EST




On 6/13/25 12:44, Xu Yilun wrote:
On Fri, Jun 13, 2025 at 12:12:52PM +0200, Michal Simek wrote:
Axi gpio is going to have clocks as required property that's why it should
be also described in bindings which are using axi gpio node.

Signed-off-by: Michal Simek <michal.simek@xxxxxxx>
---

Changes in v2:
- New patch to fix reported as issue by the second patch
- https://lore.kernel.org/r/174954437576.4177094.15371626866789542129.robh@xxxxxxxxxx

Documentation/devicetree/bindings/fpga/fpga-region.yaml | 1 +
1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/fpga/fpga-region.yaml b/Documentation/devicetree/bindings/fpga/fpga-region.yaml
index 77554885a6c4..7d2d3b7aa4b7 100644
--- a/Documentation/devicetree/bindings/fpga/fpga-region.yaml
+++ b/Documentation/devicetree/bindings/fpga/fpga-region.yaml
@@ -316,6 +316,7 @@ examples:
reg = <0x40000000 0x10000>;
gpio-controller;
#gpio-cells = <2>;
+ clocks = <&clk>;

This file is mainly for fpga-region bindings. So I don't think we have
to strictly align with the example IP block binding every time it has
an update.

But Rob's script are reporting issue if they are not. Please take a look at link above.

M