devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: soc: airoha: Add the pbus-csr node for EN7581 SoC
@ 2025-03-08  8:35 Lorenzo Bianconi
  2025-03-11 18:04 ` Rob Herring
  0 siblings, 1 reply; 2+ messages in thread
From: Lorenzo Bianconi @ 2025-03-08  8:35 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: devicetree, Lorenzo Bianconi

Introduce pbus-csr document bindings for EN7581 SoC. The airoha pbus-csr
block provides a configuration interface for the PBUS controller used to
detect if a given address is accessible on PCIe controller.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
---
 .../soc/airoha/airoha,en7581-pbus-csr.yaml         | 42 ++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/Documentation/devicetree/bindings/soc/airoha/airoha,en7581-pbus-csr.yaml b/Documentation/devicetree/bindings/soc/airoha/airoha,en7581-pbus-csr.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..0524e4189da39205d982a3940ffe90b2aa35d72e
--- /dev/null
+++ b/Documentation/devicetree/bindings/soc/airoha/airoha,en7581-pbus-csr.yaml
@@ -0,0 +1,42 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/soc/airoha/airoha,en7581-pbus-csr.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Airoha Pbus CSR Controller for EN7581 SoC
+
+maintainers:
+  - Lorenzo Bianconi <lorenzo@kernel.org>
+
+description:
+  The airoha pbus-csr block provides a configuration interface for the PBUS
+  controller used to detect if a given address is accessible on PCIe
+  controller.
+
+properties:
+  compatible:
+    items:
+      - enum:
+          - airoha,en7581-pbus-csr
+      - const: syscon
+
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    soc {
+      #address-cells = <2>;
+      #size-cells = <2>;
+      syscon@1fbe3400 {
+        compatible = "airoha,en7581-pbus-csr", "syscon";
+        reg = <0x0 0x1fbe3400 0x0 0xff>;
+      };
+    };

---
base-commit: d71fc910c58ed85a2ad5143502030bff73fc2088
change-id: 20250308-en7581-pbus_csr-binding-974e1b40fb36

Best regards,
-- 
Lorenzo Bianconi <lorenzo@kernel.org>


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

* Re: [PATCH] dt-bindings: soc: airoha: Add the pbus-csr node for EN7581 SoC
  2025-03-08  8:35 [PATCH] dt-bindings: soc: airoha: Add the pbus-csr node for EN7581 SoC Lorenzo Bianconi
@ 2025-03-11 18:04 ` Rob Herring
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2025-03-11 18:04 UTC (permalink / raw)
  To: Lorenzo Bianconi; +Cc: Krzysztof Kozlowski, Conor Dooley, devicetree

On Sat, Mar 08, 2025 at 09:35:45AM +0100, Lorenzo Bianconi wrote:
> Introduce pbus-csr document bindings for EN7581 SoC. The airoha pbus-csr
> block provides a configuration interface for the PBUS controller used to
> detect if a given address is accessible on PCIe controller.

Assuming the binding is complete, you can just add the compatible to 
syscon.yaml.

Rob

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

end of thread, other threads:[~2025-03-11 18:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-08  8:35 [PATCH] dt-bindings: soc: airoha: Add the pbus-csr node for EN7581 SoC Lorenzo Bianconi
2025-03-11 18:04 ` Rob Herring

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).