From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from va-2-43.ptr.blmpb.com (va-2-43.ptr.blmpb.com [209.127.231.43]) (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 DFA343859FD for ; Thu, 17 Sep 2026 02:26:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.127.231.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789611979; cv=none; b=u2fxRco6BohCjhkQOnpKTRZR/l8U6vYAEhMONiJQHkfPK07mVQOTjHbWhw6+u91N7qM9G0mmQpHR3fDsieg+HfHNgpMfhzv72JmUIYWJvMc/aCMJS22UY+iuQjdiPOGXhVxh7Hf7CHMaz2NO8PgRS/6R29ewg/s18LUR+3tqveQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789611979; c=relaxed/simple; bh=KSN16rEHfzku6Exs8W9LY777q733JeEOvEtmXoygkJU=; h=Cc:Subject:References:To:Mime-Version:Date:Message-Id:In-Reply-To: Content-Type:From; b=rrjQUArDph3eZjm9OSLQGjRjYRW9Ui4SIvf2DuQkCufdwptcYj8X3XXOxHTb0mAJuAAm6VT8E5CCQl+O6QKd7iHd2+QHr7vaZaIMajoOT4lutqTI7Q0uy40KmLZRPLwf8G/3fEBAtkmeindrnedNq6seAZRNTxpKnaoKo/E+xIk= 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=Mq8hDzWM; arc=none smtp.client-ip=209.127.231.43 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="Mq8hDzWM" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=s1; d=bedmex-com.20200927.dkim.feishu.cn; t=1789611964; h=from:subject:mime-version:from:date:message-id:subject:to:cc: reply-to:content-type:mime-version:in-reply-to:message-id; bh=U/xau0P0qxfGnCm2fD+HA7kaoUEUyD0MsiRMZUEM8qA=; b=Mq8hDzWMhG9vvMys7c2/QNrYpDGEqbUbjEUHxZovVSm54ltM2C2cCgXw4ytuwkLYnJel/Q PuzMos+Em37XtQAD6ji1jQEk+n5tKAR2apqG2xmT9wDCtinjXSYF+AeJJjHWuuGNeYYs09 cbKKdNBbCqHhmiQVjwEiaxFjcuYC4jrJIpbRp6SxX7IDggux7ihYH62woiIPP2kcb5WJdg B7KzXEM9qY3giBLj0/IHI3lnFAN/HHcIwvYeXC4lTZMLYudRGbuPY1xC/QKKTOWM4itots 1ZiA3ZTx3qvreSyGnYayXgiHdQmHxVwWyK8XjWN/aCCxunUJAyKjqgPtZ4qe3g== Cc: , , , , , , , , , , , Subject: [RFC PATCH bluetooth-next 2/3] dt-bindings: net: bluetooth: Add AIC8800D80 References: <178954773705.2.3446471521233620446@bedmex.com> Content-Transfer-Encoding: 7bit To: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-Original-From: Yanli Yang Received: from [127.0.1.1] ([36.141.79.164]) by smtp.feishu.cn with ESMTPS; Thu, 17 Sep 2026 10:26:01 +0800 Date: Wed, 16 Sep 2026 16:35:39 +0800 X-Lms-Return-Path: Message-Id: <178954773705.2.9742714830438825480@bedmex.com> In-Reply-To: <178954773705.2.3446471521233620446@bedmex.com> Content-Type: text/plain; charset=UTF-8 From: "Yanli Yang" 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..6fabb226cf15 --- /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