[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250324211045.3508952-3-artur@conclusive.pl>
Date: Mon, 24 Mar 2025 22:10:45 +0100
From: Artur Rojek <artur@...clusive.pl>
To: Johannes Berg <johannes@...solutions.net>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>
Cc: linux-wireless@...r.kernel.org,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
Jakub Klama <jakub@...clusive.pl>,
Wojciech Kloska <wojciech@...clusive.pl>,
Ulf Axelsson <ulf.axelsson@...dicsemi.no>,
Artur Rojek <artur@...clusive.pl>
Subject: [RFC PATCH 2/2] dt-bindings: wireless: Document Nordic nRF70 bindings
Add a documentation file to describe the Device Tree bindings for the
Nordic Semiconductor nRF70 series wireless companion IC.
Signed-off-by: Artur Rojek <artur@...clusive.pl>
---
.../bindings/net/wireless/nordic,nrf70.yaml | 56 +++++++++++++++++++
1 file changed, 56 insertions(+)
create mode 100644 Documentation/devicetree/bindings/net/wireless/nordic,nrf70.yaml
diff --git a/Documentation/devicetree/bindings/net/wireless/nordic,nrf70.yaml b/Documentation/devicetree/bindings/net/wireless/nordic,nrf70.yaml
new file mode 100644
index 000000000000..1c61f7bdbf8a
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/wireless/nordic,nrf70.yaml
@@ -0,0 +1,56 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/net/wireless/nordic,nrf70.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Nordic Semiconductor nRF70 series wireless companion IC
+
+maintainers:
+ - Artur Rojek <artur@...clusive.tech>
+
+properties:
+ compatible:
+ const: nordic,nrf70
+
+ req:
+ maxItems: 1
+
+ irq-gpios:
+ maxItems: 1
+ description: HOST_IRQ line, used for host processor interrupt requests.
+
+ bucken-gpios:
+ maxItems: 1
+ description: BUCKEN line, used for I/O voltage control.
+
+ iovdd-gpios:
+ maxItems: 1
+ description: External, GPIO-driven switch, found in some nRF70 based board
+ designs, and used together with BUCKEN for I/O voltage control. Optional.
+
+required:
+ - compatible
+ - reg
+ - irq-gpios
+ - bucken-gpios
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+
+ spi {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ nrf7002@0 {
+ compatible = "nordic,nrf70";
+ reg = <0>;
+ spi-max-frequency = <32000000>;
+ voltage-ranges = <1800 1800>;
+ bucken-gpios = <&gpio2 24 GPIO_ACTIVE_HIGH>;
+ irq-gpios = <&gpio2 13 GPIO_ACTIVE_HIGH>;
+ spi-rx-bus-width = <4>;
+ spi-tx-bus-width = <4>;
+ };
+ };
--
2.49.0
Powered by blists - more mailing lists