mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Yanli Yang" <yanli.yang@bedmex.com>
To: <linux-wireless@vger.kernel.org>
Cc: "Johannes Berg" <johannes@sipsolutions.net>,
	 "Rob Herring" <robh@kernel.org>,
	 "Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	 "Conor Dooley" <conor+dt@kernel.org>,
	<devicetree@vger.kernel.org>,  <linux-kernel@vger.kernel.org>,
	"Zhirun Liu" <zhirunliu@aicsemi.com>,
	 "Dijia Xu" <dijiaxu@aicsemi.com>,
	"Chunqiu Liu" <chunqiuliu@aicsemi.com>,
	 "Liheng Wei" <liheng.wei@bedmex.com>, <yanli.yang@bedmex.com>
Subject: [PATCH wireless-next v5 1/4] dt-bindings: net: wireless: Add AIC8800D80 SDIO Wi-Fi
Date: Mon, 16 Nov 2026 15:23:22 +0800	[thread overview]
Message-ID: <179481380235.4.9476425206200425967@bedmex.com> (raw)
In-Reply-To: <179481380235.4.7388336477392853157@bedmex.com>

From: Zhirun Liu <zhirunliu@aicsemi.com>

Document the SDIO function used by AIC8800D80 and AIC8800D80N Wi-Fi
and register the aicsemi vendor prefix.

Describe the shared compatible, function number and optional host-wakeup
interrupt and device-wakeup GPIO. Chip selection uses the SDIO vendor
and device IDs. Power supplies and enable sequencing are described on
the MMC host through vmmc-supply and mmc-pwrseq.

Include an example for an SDIO function with both wake-up lines.

Signed-off-by: Chunqiu Liu <chunqiuliu@aicsemi.com>
Signed-off-by: Zhirun Liu <zhirunliu@aicsemi.com>
Signed-off-by: Yanli Yang <yanli.yang@bedmex.com>
---
 .../net/wireless/aicsemi,aic8800d80-fmac.yaml | 78 +++++++++++++++++++
 .../devicetree/bindings/vendor-prefixes.yaml  |  2 +
 2 files changed, 80 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/wireless/aicsemi,aic8800d80-fmac.yaml

diff --git a/Documentation/devicetree/bindings/net/wireless/aicsemi,aic8800d80-fmac.yaml b/Documentation/devicetree/bindings/net/wireless/aicsemi,aic8800d80-fmac.yaml
new file mode 100644
index 000000000000..f9ad3cd6e07c
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/wireless/aicsemi,aic8800d80-fmac.yaml
@@ -0,0 +1,78 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/net/wireless/aicsemi,aic8800d80-fmac.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: AICSemi AIC8800D80 and AIC8800D80N SDIO Wi-Fi
+
+maintainers:
+  - Zhirun Liu <zhirunliu@aicsemi.com>
+  - Dijia Xu <dijiaxu@aicsemi.com>
+  - Chunqiu Liu <chunqiuliu@aicsemi.com>
+
+description:
+  The AIC8800D80 and AIC8800D80N are Wi-Fi and Bluetooth combo chips.
+  Wi-Fi is attached over SDIO and the chip variant is identified through
+  the SDIO vendor and device IDs. Both chips use the aicsemi,aic8800d80-fmac
+  compatible and the same device tree properties defined here.
+  The node describes SDIO function 1 and its optional out-of-band wake-up
+  lines, and is a child of the MMC host controller node. The chip supply
+  and enable line are described on the MMC host controller through
+  vmmc-supply and mmc-pwrseq.
+
+allOf:
+  - $ref: ieee80211.yaml#
+
+properties:
+  compatible:
+    const: aicsemi,aic8800d80-fmac
+
+  reg:
+    description: SDIO function number of the Wi-Fi function
+    const: 1
+
+  interrupts:
+    maxItems: 1
+    description:
+      Interrupt connected to the WIFI_WAKE_HOST pin of the chip, raised by
+      the chip when it has data for a sleeping host and used to wake up the
+      host from system suspend.
+
+  interrupt-names:
+    items:
+      - const: host-wakeup
+
+  device-wakeup-gpios:
+    maxItems: 1
+    description:
+      GPIO connected to the HOST_WAKE_WIFI pin of the chip, asserted while
+      the host needs the chip awake.
+
+required:
+  - compatible
+  - reg
+
+dependencies:
+  interrupt-names: [ interrupts ]
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    #include <dt-bindings/gpio/gpio.h>
+    #include <dt-bindings/interrupt-controller/irq.h>
+
+    mmc {
+        #address-cells = <1>;
+        #size-cells = <0>;
+
+        wifi@1 {
+            compatible = "aicsemi,aic8800d80-fmac";
+            reg = <1>;
+            interrupt-parent = <&gpio1>;
+            interrupts = <18 IRQ_TYPE_LEVEL_HIGH>;
+            interrupt-names = "host-wakeup";
+            device-wakeup-gpios = <&gpio1 18 GPIO_ACTIVE_HIGH>;
+        };
+    };
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
index 539aa1c89ce7..e7c849197dd3 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
+++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
@@ -76,6 +76,8 @@ patternProperties:
     description: Aeroflex Gaisler AB
   "^aesop,.*":
     description: AESOP Embedded Forum
+  "^aicsemi,.*":
+    description: AIC Semiconductor Co., Ltd.
   "^airoha,.*":
     description: Airoha
   "^al,.*":

  parent reply	other threads:[~2026-11-16  7:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-16  7:23 [PATCH wireless-next v5 0/4] wifi: aic: Add AIC8800D80 and D80N SDIO FullMAC driver Yanli Yang
2026-11-16  7:23 ` [PATCH wireless-next v5 2/4] wifi: aic: Add firmware protocol and SDIO chip support Yanli Yang
2026-11-16  7:23 ` [PATCH wireless-next v5 3/4] wifi: aic: Add the AIC8800D80 and D80N FullMAC driver Yanli Yang
2026-11-16  7:23 ` Yanli Yang [this message]
2026-11-16  7:23 ` [PATCH wireless-next v5 4/4] wifi: aic: Integrate the AIC8800 SDIO driver Yanli Yang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179481380235.4.9476425206200425967@bedmex.com \
    --to=yanli.yang@bedmex.com \
    --cc=chunqiuliu@aicsemi.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dijiaxu@aicsemi.com \
    --cc=johannes@sipsolutions.net \
    --cc=krzk+dt@kernel.org \
    --cc=liheng.wei@bedmex.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=zhirunliu@aicsemi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®