[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241029172354.4027886-2-michael.nemanov@ti.com>
Date: Tue, 29 Oct 2024 19:23:38 +0200
From: Michael Nemanov <michael.nemanov@...com>
To: Kalle Valo <kvalo@...nel.org>, "David S . Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>,
Paolo
Abeni <pabeni@...hat.com>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski
<krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, <linux-wireless@...r.kernel.org>,
<netdev@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
CC: Sabeeh Khan <sabeeh-khan@...com>, Michael Nemanov <michael.nemanov@...com>
Subject: [PATCH v4 01/17] dt-bindings: net: wireless: cc33xx: Add ti,cc33xx.yaml
Add device-tree bindings for the CC33xx family.
Signed-off-by: Michael Nemanov <michael.nemanov@...com>
---
.../bindings/net/wireless/ti,cc33xx.yaml | 59 +++++++++++++++++++
1 file changed, 59 insertions(+)
create mode 100644 Documentation/devicetree/bindings/net/wireless/ti,cc33xx.yaml
diff --git a/Documentation/devicetree/bindings/net/wireless/ti,cc33xx.yaml b/Documentation/devicetree/bindings/net/wireless/ti,cc33xx.yaml
new file mode 100644
index 000000000000..12a0a2f52f44
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/wireless/ti,cc33xx.yaml
@@ -0,0 +1,59 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/net/wireless/ti,cc33xx.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Texas Instruments CC33xx Wireless LAN Controller
+
+maintainers:
+ - Michael Nemanov <michael.nemanov@...com>
+
+description:
+ The CC33xx is a family of IEEE 802.11ax chips from Texas Instruments.
+ These chips must be connected via SDIO and support in-band / out-of-band IRQ.
+
+properties:
+ $nodename:
+ pattern: "^wifi@2"
+
+ compatible:
+ oneOf:
+ - items:
+ - enum:
+ - ti,cc3300
+ - ti,cc3301
+ - ti,cc3350
+ - ti,cc3351
+ - const: ti,cc33xx
+
+ reg:
+ const: 2
+
+ interrupts:
+ description:
+ The out-of-band interrupt line.
+ Can be IRQ_TYPE_EDGE_RISING or IRQ_TYPE_LEVEL_HIGH.
+ If property is omitted, SDIO in-band IRQ will be used.
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/irq.h>
+
+ mmc {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ wifi@2 {
+ compatible = "ti,cc3300", "ti,cc33xx";
+ reg = <2>;
+ interrupts = <19 IRQ_TYPE_EDGE_RISING>;
+ };
+ };
--
2.34.1
Powered by blists - more mailing lists