From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from va-2-19.ptr.blmpb.com (va-2-19.ptr.blmpb.com [209.127.231.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A32FE36196A for ; Sun, 20 Sep 2026 09:50:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.127.231.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789897852; cv=none; b=gmZKKF0bBu3U3s/zwQY+KdlV7NXNTEyTVx+JvOE7h3YMZC4lOfBQr1WcX8JMYAa73YKSPtS2u/c4Qx8p3bCaQ0EOItev7EUkh5OEQK5ZwHmHbmOYo+bM4D+mvR0kdQS1a8oknLKYCGpWW7YAFN7InZ8alSElSIBFaeSLvp27oIw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789897852; c=relaxed/simple; bh=Tyz5ZJvCOy8BqQiaWs3hhWSdVKs3wfSnm48+a+yjF8g=; h=Message-Id:In-Reply-To:To:Subject:Date:Mime-Version:From: References:Content-Type:Cc; b=fTxvnwYiDgEe/vKWf54Na2tp6igjYY3rbd7yyyvkqEqQQZ59k1rIibEl6KtIgoWsvluEvtQG4vXPBC/l8/EEgE5BG7o4QjGdHeqqKBCfQKNUtABcKQb297/YbtHxjaiDmQbbt+QpI7TdMuQSCVdZHBh4e0/2HEwhlRLI6HVoWkM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bedmex.com; spf=none smtp.mailfrom=bedmex.com; dkim=pass (2048-bit key) header.d=bedmex-com.20200927.dkim.feishu.cn header.i=@bedmex-com.20200927.dkim.feishu.cn header.b=w8QQpqzE; arc=none smtp.client-ip=209.127.231.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bedmex.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bedmex.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bedmex-com.20200927.dkim.feishu.cn header.i=@bedmex-com.20200927.dkim.feishu.cn header.b="w8QQpqzE" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=s1; d=bedmex-com.20200927.dkim.feishu.cn; t=1789897836; h=from:subject:mime-version:from:date:message-id:subject:to:cc: reply-to:content-type:mime-version:in-reply-to:message-id; bh=uFLCAiwcrvOQJW9zFhS8aDXytY7kGWshXq0lVPXwDOI=; b=w8QQpqzEZB2AYM8JfATkp9LRTRoMLK6MstuVU5Wq0+CWr8XH7ZrvKoGQjkdbERULxGmySO mIjQXk4QqiaRx7KT9NG67EfKPnA9bnujYKetPzzgWuvETp26Fc7+lwJZW+JxTtmTBUu+Eo tY/FBhXpspqvKuldXtuqqLwuM/w9ZHO30YnyrksRG63G4Dl/FXpOYityiNFmUfkpFfi4hx 56zX1ujozagFzqtxc5VVq3ApJleZ0gJpKY3yd7i/0lBcms1DT4NNQpKaXN7YhHQjwlE1z5 f5rm1jwLTBVNGlvI78TRtWdQjXPBwmTSi7zhx2lLVg7QEJ7Qsm2MCH/vE0Rptw== Message-Id: In-Reply-To: To: Content-Transfer-Encoding: 7bit Subject: [RFC PATCH v2 2/3] dt-bindings: net: bluetooth: Add AIC8800D80 Date: Sun, 20 Sep 2026 17:50:25 +0800 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-Original-From: Yanli Yang Received: from bmxpxe-virtual-desktop.. ([36.141.79.164]) by smtp.feishu.cn with ESMTPS; Sun, 20 Sep 2026 17:50:33 +0800 From: "Yanli Yang" X-Lms-Return-Path: References: X-Mailer: git-send-email 2.34.1 Content-Type: text/plain; charset=UTF-8 Cc: , , , , , , , , , , Describe the AIC8800D80 Bluetooth SDIO firmware-loading function and UART HCI interface. Link the UART node to its SDIO firmware provider with the aic,firmware-sdio phandle. The UART interface uses H4 at 1500000 baud with hardware flow control. Include an example showing both nodes and their association. Signed-off-by: Zhirun Liu Signed-off-by: Dijia Xu Signed-off-by: Chunqiu Liu Signed-off-by: Liheng Wei Signed-off-by: Yanli Yang --- .../net/bluetooth/aic,aic8800d80-bt.yaml | 87 +++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/bluetooth/aic,aic8800d80-bt.yaml diff --git a/Documentation/devicetree/bindings/net/bluetooth/aic,aic8800d80-bt.yaml b/Documentation/devicetree/bindings/net/bluetooth/aic,aic8800d80-bt.yaml new file mode 100644 index 000000000000..d3ea780e85da --- /dev/null +++ b/Documentation/devicetree/bindings/net/bluetooth/aic,aic8800d80-bt.yaml @@ -0,0 +1,87 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/bluetooth/aic,aic8800d80-bt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: AIC AIC8800D80 Bluetooth + +maintainers: + - Zhirun Liu + - Dijia Xu + - Chunqiu Liu + - Liheng Wei + - Yanli Yang + +description: + The AIC8800D80 is a Wi-Fi and Bluetooth combination chip. The Bluetooth + firmware is loaded through SDIO function 1, while Bluetooth HCI traffic uses + the H4 protocol over a UART interface with hardware flow control. + +properties: + compatible: + enum: + - aic,aic8800d80-bt + - aic,aic8800d80-bt-sdio + + reg: + maxItems: 1 + + max-speed: true + + aic,firmware-sdio: + $ref: /schemas/types.yaml#/definitions/phandle + description: + Phandle to the SDIO function used to load the Bluetooth firmware. + +required: + - compatible + +allOf: + - $ref: bluetooth-controller.yaml# + - if: + properties: + compatible: + const: aic,aic8800d80-bt-sdio + then: + properties: + reg: + const: [[1]] + max-speed: false + aic,firmware-sdio: false + required: + - reg + else: + properties: + reg: false + max-speed: + const: 1500000 + required: + - max-speed + - aic,firmware-sdio + allOf: + - $ref: /schemas/serial/serial-peripheral-props.yaml# + +unevaluatedProperties: false + +examples: + - | + mmc { + #address-cells = <1>; + #size-cells = <0>; + + bt_sdio: bluetooth@1 { + compatible = "aic,aic8800d80-bt-sdio"; + reg = <1>; + }; + }; + + serial { + uart-has-rtscts; + + bluetooth { + compatible = "aic,aic8800d80-bt"; + max-speed = <1500000>; + aic,firmware-sdio = <&bt_sdio>; + }; + }; -- 2.34.1