From nobody Mon Feb 9 13:22:33 2026 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 83CB434403F for ; Wed, 17 Dec 2025 15:56:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765987014; cv=none; b=PMvXap8+h/yEFmz+EeT1eKRBW3bl3SvatprG/bnyc5JTsPv9bheyrsfKoc4kPgTay6K0/imtwIMKV3DbCFm1seN/H4O95agHyma3L9o5w9e+5It/U8FVmygb9kuW2MEZ7Fs+s6EEfqzwsBBBy42KReqlXmYVw+aqv/2moHrJOhw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765987014; c=relaxed/simple; bh=zuRPk2/Afzgk7PvKtFu8N+ICcQbTqBU2rCeXot3Hjuk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=cqVJRPqqC86am+vYlvEaJTQBMW5NJdtIKmR4AIjKuM27T4mR5jnitUm8iUMmvsJuJum+QmJNAhyqe+W6bWtcHE+eOtBHVAWGOqEI/nn4tS6c2JTKcJfb4IEZ8e7ZLgGoeZJo1vNdIeZ3e1C1nLqRbgrFMmiSgr8s2c3w+ShwfzM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=WYhHfWrw; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=DDwGf7ln; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="WYhHfWrw"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="DDwGf7ln" Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5BHCKuKD2683891 for ; Wed, 17 Dec 2025 15:56:44 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= /Gv1+vPEhCcBI9MayNNvbV28CW8IEjt8w3tTHVfkNkM=; b=WYhHfWrw6Gdq+JRM irZXCoKVwrYI8ML9sImEnhN4SZHQ7vpK3tX3utMkNPBUqiLq2qFZIitaxj/dnbR4 3VKtFKPXkDJTI2YNDRnLZZ5qAEd0RY5w9YvlsoaqqWVDUbgU1X0KN+izSjeSrerM QRB58B0CtkfM/idB3naS9jZLsFL7kgJXvyk/eGa9vPrnwkvRhlvxUAHnIYotBIcm XcOXdcixeHxSAyI46q7uiJVrebBnn7XK2S4FsuZbbVc4cxIuXu3dxTWKuMNUcy/n LLyMm4lAdRXCtkAdY10SI2meUCZorKPQPZ5GpNVbnLi3HB+/tNwYw5vs6oPKgbAV iZHYWA== Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4b3kketfh7-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 17 Dec 2025 15:56:43 +0000 (GMT) Received: by mail-qt1-f197.google.com with SMTP id d75a77b69052e-4f183e4cc7bso113103851cf.0 for ; Wed, 17 Dec 2025 07:56:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1765987003; x=1766591803; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=/Gv1+vPEhCcBI9MayNNvbV28CW8IEjt8w3tTHVfkNkM=; b=DDwGf7lnNB9zU2lzRaQk338uCimjlqsl214E+abUy6Q9AwXWYzXwnHTFJgzMoVkzVy ujF/pJWpM0oZnyZiGnD6YX2q3NZ3xZs56fTmPTNAyaicSJwzFQmAoyDmsnxFr4BwoTpt SmDeD1ay9AdSw19iET6st0AbVViHIfxHsH7KwzNuJhuhfx9ZyyxTng99o5Sc/zpd43Ee tEzbU48hTfFtpwHGxdolfjffTSYaZBs3nNGNzxyPZQ0ZHh/moPfkX/v46TA+N+SDfUX9 /1VeXKZCT8BRFzBQo49hD/VoMIevxS5NdhJ+g4KNnb+5nYSWJgdIslSYB5gP8icJiil+ 8peQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765987003; x=1766591803; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=/Gv1+vPEhCcBI9MayNNvbV28CW8IEjt8w3tTHVfkNkM=; b=lJuIiHbPxBYSh7DxlRGxhhxFdWJxo3K7WAVh5W3FYeWdSmicVeCkqt9SYj7yjM4MI1 eYTGGHUxwuyQFHo9hGmgYHYISKY6Tx6buZ/IPbdPDF+uibJVR72Kw1d3PsYwAaKD8hRC BrcdF5i9AZiJTXW9Z2e2wUKRzCiHjGf5B51EGdoUamomOXwK4tPgHUoAYw4ZI7shqpyS QFpnoa8YUHyrceNPh7+Wz/IQ3c67sQMHtI8l9J9B0N2XwSc7CY22GRGvKsSyPj5rnAwv 8x+2cvTHn3LJ+kPSK4Ijmm5WHjdGPluNUcSjCEyc66vQaMQslb0qqQS7GhyLke4eIPVW +SmQ== X-Gm-Message-State: AOJu0YzWcyp528XDKF8eJdKs3rJWD6Q2CPN/Ws7go2mLdumYkzzDxKj9 V49sCUVfp5sdWUlGCfvqXTL1JYfgnqiftJsGvMTefwSU7+mhGKEiaYCtPY+macwksdu+LhoFevf SSgNSoWI8pywi0npmS4WyckjxgzmLvQ/EWPTJhRfV8wM8B83JOJGj1vIGDC2qcfHBPEo= X-Gm-Gg: AY/fxX4MeshlHW2+Z55/akAO6bZ1t6esxD6EzcYGnGKkjJr2OPL77Fp2hDJ/KQnz40d pgJzv0kmjoG7V/Yn/pMo7rwSBdk5CFaCiGyqVunofsruRPH8qNbJaxTMf/Fmt7BBX0vIaMwrnhe HW5CdRbaTekTmE0gwY7mKFDkG5tXJZIiqEKlIp4sTLf9h1f/f+izl1ZNr7fMmq0tfiJUtJjGBr+ gBKuIH6CTIygr5OwKZqQIdt2D6Ydq/Y9CYb3nxfJZNKEpq/okbzo5viHiIbfuZaEuKLmi2imYqS a9NnaKnPy/E5q4iDpSVyWuymxHSxtoIGO/z/CdCspyI54KfvuwWhXoNcwJTD98UlwKZ8NBJGTjT nheInytK9ugvSfeJn5kKBYUZsFK5PzsVt X-Received: by 2002:ac8:7fc8:0:b0:4ed:ae8e:cc73 with SMTP id d75a77b69052e-4f1d0625feamr262098181cf.65.1765987002959; Wed, 17 Dec 2025 07:56:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IGFszvOAqwJZdZwL6lHqBOW+JIMIiR1CcEXZkVgGrYioTclkhe/j+yesXBDLYDIul/as1U8kA== X-Received: by 2002:ac8:7fc8:0:b0:4ed:ae8e:cc73 with SMTP id d75a77b69052e-4f1d0625feamr262097641cf.65.1765987002405; Wed, 17 Dec 2025 07:56:42 -0800 (PST) Received: from [127.0.1.1] ([178.197.218.51]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4310adeeef6sm5439800f8f.32.2025.12.17.07.56.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Dec 2025 07:56:41 -0800 (PST) From: Krzysztof Kozlowski Date: Wed, 17 Dec 2025 16:56:19 +0100 Subject: [PATCH v3 01/11] dt-bindings: bluetooth: qcom,qca2066-bt: Split to separate schema Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251217-dt-bindings-qcom-bluetooth-v3-1-ced8c85f5e21@oss.qualcomm.com> References: <20251217-dt-bindings-qcom-bluetooth-v3-0-ced8c85f5e21@oss.qualcomm.com> In-Reply-To: <20251217-dt-bindings-qcom-bluetooth-v3-0-ced8c85f5e21@oss.qualcomm.com> To: Marcel Holtmann , Luiz Augusto von Dentz , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Balakrishna Godavarthi , Rocky Liao , Bartosz Golaszewski , Bartosz Golaszewski Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-bluetooth@vger.kernel.org, devicetree@vger.kernel.org, Bjorn Andersson , Krzysztof Kozlowski , Bartosz Golaszewski X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=5907; i=krzysztof.kozlowski@oss.qualcomm.com; h=from:subject:message-id; bh=zuRPk2/Afzgk7PvKtFu8N+ICcQbTqBU2rCeXot3Hjuk=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBpQtKtW/AN9ZGPilomM6/n6U1xuuK5oxdHumUfr RGQZn1vGs+JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCaULSrQAKCRDBN2bmhouD 14XiEACbhesC4614UebeM8B0VWbitp/QDoRYLqVlVAEKsUxuNMwnJBcIkOWOnNpySiB34tTa0qD EzTHI4fazvYDCCCq3n2Goro6PD2VkAbiDP0hM+grR+uKBG4aiaLKzeXOtlcAIT0MrL6HH1hcabQ Fk7gt3rzBcGICJ0rvu9/Vuq5pPGvRG4gq5dYU7zboILVpITghcuVWnLa9rc4Cc5zCW6FPJsNcdZ PrCdfPFkOTzwaYkAPeom2RgIujKrTXHKbBKrC+ItzCecvPRzWk4NpXgWD/+zeWndimdnY1Y4syQ t7SvG4bLfgje+yY6qORntpHsdqNaRVX3J/05k0KQywa9xm80omCSXWkBay49wIvTlv4jLzRUtZ+ hyMMlJyCYIlVKnSf1zpcvF5Pq3DdfYWFGg/h1yamU0SufqMVxvMVlzPv4g6g1xlBwLUJp90EYtT V6bphjSsfkccauMTavp8zBObVQfmV1Z2JcFmqCm2tw1CaHA1pqjaSKdHWDMeOnsrXhFZW7PctP6 aMNtHpn4QBoSPo+lTefvtXkn/smkyv9mTsZiUOc4MCcc1VZtCwBhYT2lnz6pDpHwfY4SLaaRzq/ b2E/7r97mSeeIu7hocewk6j2c4pXw6PAgfXiBm5ULxa8cJkgDg4h4DiF9j3EqpepB327kIWPJAX CjC7Q0/Yd5cRzgA== X-Developer-Key: i=krzysztof.kozlowski@oss.qualcomm.com; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMjE3MDEyNiBTYWx0ZWRfXyapY9AotGeCa tf1jI5QuoUTO211q53XFNZJeBiSBJO/N9NdVIkbr2Cs1OqMqIGHEIqwDXg5JC3bLcaoww+3i3mI vKDg5XAMUbXg7q83pAhMfDc8+yFaa8lh0TDrRk6cPQy/OFGDseG/9SQM7g+PHaAhiUBe9ivWpwa RR6p+7PC1wHz7eg1bqIA2C8xjzblIOeknjmcoxUQnd9iSMxtwcGzehKx3T/V7nqztKf52jx+NF1 iuNgDxytSAeaDUFwhC8gd/fbxStpcMqE/q6+me9RWAvkussjOs3ncRsqc6FeRFI7ZB3+DSwDGa8 s9sfSrebTZi4mxuM6X3XjqStmQS8NnY5e0aHcyCf8yXz7sKCwlV3UsSxcIcXQmS0QfWkGVVFTO5 okD+crICQCMI7ucweyR+EyW7drHd5A== X-Proofpoint-GUID: FV45BHD0NqYXVPclnqXb1IbX0CCrZntS X-Authority-Analysis: v=2.4 cv=Fcw6BZ+6 c=1 sm=1 tr=0 ts=6942d2bc cx=c_pps a=EVbN6Ke/fEF3bsl7X48z0g==:117 a=hmARNUlj3OVxZ3RlbIsQyw==:17 a=IkcTkHD0fZMA:10 a=wP3pNCr1ah4A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=gEfo2CItAAAA:8 a=VwQbUJbxAAAA:8 a=KKAkSRfTAAAA:8 a=EUspDBNiAAAA:8 a=COk6AnOGAAAA:8 a=HeiVX4xZO4SkypZjF6sA:9 a=QEXdDO2ut3YA:10 a=a_PwQJl-kcHnX1M80qC6:22 a=sptkURWiP4Gy88Gu7hUp:22 a=cvBusfyB2V15izCimMoJ:22 a=TjNXssC_j7lpFel5tvFf:22 X-Proofpoint-ORIG-GUID: FV45BHD0NqYXVPclnqXb1IbX0CCrZntS X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2025-12-17_03,2025-12-16_05,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 clxscore=1015 malwarescore=0 spamscore=0 suspectscore=0 impostorscore=0 priorityscore=1501 phishscore=0 bulkscore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2512170126 One big Qualcomm Bluetooth schema is hardly manageable: it lists all possible properties (19 supplies). Split common part and qcom,qca2066-bt to separate bindings, so each schema will be easier to read/maintain and list only relevant properties. The existing bindings do not mention interrupts, but am335x-sancloud-bbe-extended-wifi.dts already defines such. This issue is not being fixed here. Existing binding also did not mention any supplies (which do exist as confirmed in datasheet) and Linux driver does not ask for any, thus keep this state unchanged. Reviewed-by: Rob Herring (Arm) Reviewed-by: Bjorn Andersson Reviewed-by: Bartosz Golaszewski Signed-off-by: Krzysztof Kozlowski --- Expected warnings: arch/arm/boot/dts/ti/omap/am335x-sancloud-bbe-extended-wifi.dts Changes in v2: 1. Keep gpio.h header include for rest of the examples (fix build failure) --- .../net/bluetooth/qcom,bluetooth-common.yaml | 25 +++++++++++ .../bindings/net/bluetooth/qcom,qca2066-bt.yaml | 49 ++++++++++++++++++= ++++ .../bindings/net/bluetooth/qualcomm-bluetooth.yaml | 25 +---------- MAINTAINERS | 1 + 4 files changed, 76 insertions(+), 24 deletions(-) diff --git a/Documentation/devicetree/bindings/net/bluetooth/qcom,bluetooth= -common.yaml b/Documentation/devicetree/bindings/net/bluetooth/qcom,bluetoo= th-common.yaml new file mode 100644 index 000000000000..c8e9c55c1afb --- /dev/null +++ b/Documentation/devicetree/bindings/net/bluetooth/qcom,bluetooth-common= .yaml @@ -0,0 +1,25 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/bluetooth/qcom,bluetooth-common.yam= l# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Bluetooth Common Properties + +maintainers: + - Balakrishna Godavarthi + - Rocky Liao + +properties: + firmware-name: + minItems: 1 + items: + - description: specify the name of nvm firmware to load + - description: specify the name of rampatch firmware to load + + qcom,local-bd-address-broken: + type: boolean + description: + boot firmware is incorrectly passing the address in big-endian order + +additionalProperties: true diff --git a/Documentation/devicetree/bindings/net/bluetooth/qcom,qca2066-b= t.yaml b/Documentation/devicetree/bindings/net/bluetooth/qcom,qca2066-bt.ya= ml new file mode 100644 index 000000000000..d4f167c9b7e1 --- /dev/null +++ b/Documentation/devicetree/bindings/net/bluetooth/qcom,qca2066-bt.yaml @@ -0,0 +1,49 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/bluetooth/qcom,qca2066-bt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm QCA2006 Bluetooth + +maintainers: + - Balakrishna Godavarthi + - Rocky Liao + +properties: + compatible: + enum: + - qcom,qca2066-bt + - qcom,qca6174-bt + + clocks: + items: + - description: External low-power 32.768 kHz clock input + + enable-gpios: + maxItems: 1 + +required: + - compatible + - clocks + - enable-gpios + +allOf: + - $ref: bluetooth-controller.yaml# + - $ref: qcom,bluetooth-common.yaml + - $ref: /schemas/serial/serial-peripheral-props.yaml# + +unevaluatedProperties: false + +examples: + - | + #include + + serial { + bluetooth { + compatible =3D "qcom,qca6174-bt"; + clocks =3D <&divclk4>; + enable-gpios =3D <&pm8994_gpios 19 GPIO_ACTIVE_HIGH>; + firmware-name =3D "nvm_00440302.bin"; + }; + }; diff --git a/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluet= ooth.yaml b/Documentation/devicetree/bindings/net/bluetooth/qualcomm-blueto= oth.yaml index 6353a336f382..85d10d94700f 100644 --- a/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.ya= ml +++ b/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.ya= ml @@ -16,8 +16,6 @@ description: properties: compatible: enum: - - qcom,qca2066-bt - - qcom,qca6174-bt - qcom,qca9377-bt - qcom,wcn3950-bt - qcom,wcn3988-bt @@ -122,17 +120,6 @@ additionalProperties: false allOf: - $ref: bluetooth-controller.yaml# - $ref: /schemas/serial/serial-peripheral-props.yaml# - - if: - properties: - compatible: - contains: - enum: - - qcom,qca2066-bt - - qcom,qca6174-bt - then: - required: - - enable-gpios - - clocks =20 - if: properties: @@ -211,17 +198,6 @@ allOf: - vddrfa1p7-supply =20 examples: - - | - #include - serial { - - bluetooth { - compatible =3D "qcom,qca6174-bt"; - enable-gpios =3D <&pm8994_gpios 19 GPIO_ACTIVE_HIGH>; - clocks =3D <&divclk4>; - firmware-name =3D "nvm_00440302.bin"; - }; - }; - | serial { =20 @@ -236,6 +212,7 @@ examples: }; }; - | + #include serial { =20 bluetooth { diff --git a/MAINTAINERS b/MAINTAINERS index 3dd2ce39e43a..9fa447e1645d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -21364,6 +21364,7 @@ QUALCOMM BLUETOOTH DRIVER M: Bartosz Golaszewski L: linux-arm-msm@vger.kernel.org S: Maintained +F: Documentation/devicetree/bindings/net/bluetooth/qcom,* F: drivers/bluetooth/btqca.[ch] F: drivers/bluetooth/btqcomsmd.c F: drivers/bluetooth/hci_qca.c --=20 2.51.0