From nobody Mon Feb 9 15:45:37 2026 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 EDCF7346776 for ; Wed, 17 Dec 2025 15:56:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765987018; cv=none; b=DjPZVJ/xHeNRB+iQ+Urvo62S+Fp+hq++NbcvKNRjSnNwAak9gB7pC1G68iU9p27NYfNw5G0bA0YKsekX+/SPW5KZB9YyER+x3QnlPKGoBgCpOYvG/i2znJmyE2gZklpqu/lQlUZY5quqhd51uWSrwBao9eFcTDMoaLMB2TaZ7Qk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765987018; c=relaxed/simple; bh=JIDJccGK6VCXUI5GwQl1csj/I7WBbeD2m5Vc289HB7I=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=IWR1tpxUO99c6hTe+kDknzvM6Io74xFFRHVBA+y/d8oj4eYDFpBzmG7Z7PuljCeMo7ptF03yMZfRHd648PVq0yArHvinMtZ618hpiaUqt5bHjfqYjs6jrhRrD7ZR8dhMkj5dsX3GB//JIu9XfMBfkHa4Tm2FPnc/NGK6gpuCnf0= 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=h4yE/bl1; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=SqU4ColK; arc=none smtp.client-ip=205.220.180.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="h4yE/bl1"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="SqU4ColK" Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5BHCKtRI3048752 for ; Wed, 17 Dec 2025 15:56:50 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= q1kYYrCUUghjJloQmbk2m2RGCwULA9YSBVRKtbqC1nc=; b=h4yE/bl1N/LPEksw HizaVroIknINHY8wHfurBWlsbT/XpSiW3pRfxsTKfMwkd838i83AZk9DF6HeAL0t ESwRrEwWpNJEyRa2KEqy84NAE3D5Zx51TZP06GIERVj6HFqrmfUBfEuO8Y2eM0mR byUTKU0Hc9RRjvzSerNXtFX01xhXNOpHCDKR0ljW2jAp5EwCd5P1x++VtiMGvaec Uz8OmnQqa4fQXVLUuo69H/Gn8rg/DfWmi5MRpd8N0qCaTN58ztAGjQbp8Q+6q1pg X95TVQKmO8GMe08Cngvxjp8R/+8pdOCurMPmT3KPyZ4YAnhYaJi0mE/xlY4DMiy5 OQQPUg== 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 4b3jgqak4t-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 17 Dec 2025 15:56:50 +0000 (GMT) Received: by mail-qt1-f197.google.com with SMTP id d75a77b69052e-4ee09211413so152325251cf.2 for ; Wed, 17 Dec 2025 07:56:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1765987010; x=1766591810; 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=q1kYYrCUUghjJloQmbk2m2RGCwULA9YSBVRKtbqC1nc=; b=SqU4ColKr1kxPwJa3It3LXepBR0Y0isyhzc18978nRzwOA3ErUkHvKnB7AQdo6I3Ku XE4M/L965MNSWH+PtjQz99PViBb9OTKHSCMCQEsV7f80RQmzYABTV3DLO1fl88lPRcFf VmGyvQQovp6hRfsecuQzscx3a/TbJh5J5USd3POaK7KINkWy0NdfLEF8TdDvDB0wtanT lIyMkEcWQHDSpUsxNQuakB8516wPPhYySC9KpuhiU3cbzAb0xovEtEwXXpe3/Qa0Bygw Aw4c9Rq1Mdh0OKrL26COiYmJ4Trkpns/GkaU1xxbbeL8WbV2HsDnL32KLMmQFItbqd+7 uAqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765987010; x=1766591810; 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=q1kYYrCUUghjJloQmbk2m2RGCwULA9YSBVRKtbqC1nc=; b=YaBVb39brm2HmNnedbZCDb1pop4kRO+AueCKMoBpAwzVmqlXebgviIbWWOQ8gH3HBa nrtuNf5u7QQ3Y0n1k94fl6sMm6ZDA/ro44HjPf03vhR15FwW+EHcqSt0aGTI4b+g19al 1dmrZ4hSSRpNV+RRHL8yFtGjH23819SEx9rNG4LisDR7/18p8ezvk5Y2b5n7NqnigBh7 Z9gCGEpKfI/abMfOPpcV9nIKugV0CIQRGczGxGlYR35TZ48htwSebW1jvCMFWZJmckPp 2IM4J/yQWABAHlJq+Ih8NZdsgRRtMphwHJxIbAtumgJqxJ1cTxM4m6ANNaKHnfXFX3dT EU7w== X-Gm-Message-State: AOJu0YwxP64GfHLdmGe32BbF97W+7B67tjlwA7zCB/mJrYSMNRL899pc O7YhLzvLJkYUKjYrXPylKsY1Q3UgJymSMjAGdIeaac4oUZ7LAonu8ZTd8AmL3V+8SpCxcQHIxYI lEm8cuQdjOXXqsNSCJ6w061gTaN0QwEwoJPpNADeFNdXBr2DisSKr3+Ea7CMCBrAHRz8= X-Gm-Gg: AY/fxX5szS5w7VeA13WwOj+WRM8j3jmjzkV8NH6jKzauo9xfij8xT6ZtGA6D4HmYVk9 mlVDXFJz7NSKILJ7m2mqIIRpiW9ZyOoaZB4QqCsjYpvKeOR+9sVCEgp21jag3LfrwFya9Tul4ca 3Ch3JW34h1NB6Tyl0udIegq40VkcTxKxLJDSINXAaAONJA2XVx8EMkqFaDImFiDamHOkt4xyQrk 2vx+KosG/kjPXLKV3KYwR0/tolEmpb+CPZDRIArGvRMJSr+RONvXNy7h21dYZLSb4wNo9q3r1qW fvmctlRqeoZHYb20y9ACXOl0WEkzZv5qLsr11UrRIhEFRa6wYqMLANRVYD50HDXutZxMWMMFcfI 9zbYUs649n0Nc6GHoAtxuxGSeqUfUkYvA X-Received: by 2002:ac8:5d14:0:b0:4ee:17e9:999a with SMTP id d75a77b69052e-4f1d0531327mr259702741cf.33.1765987009762; Wed, 17 Dec 2025 07:56:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IHLoeU1gpIJQUUEfmAJcHe4P7WfDl6vPIxClIJPvXIFT/alseoCsuFa2MVXOhdCcCPGy4HOYQ== X-Received: by 2002:ac8:5d14:0:b0:4ee:17e9:999a with SMTP id d75a77b69052e-4f1d0531327mr259702271cf.33.1765987009230; Wed, 17 Dec 2025 07:56:49 -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.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Dec 2025 07:56:48 -0800 (PST) From: Krzysztof Kozlowski Date: Wed, 17 Dec 2025 16:56:23 +0100 Subject: [PATCH v3 05/11] dt-bindings: bluetooth: qcom,wcn3990-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-5-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=5226; i=krzysztof.kozlowski@oss.qualcomm.com; h=from:subject:message-id; bh=JIDJccGK6VCXUI5GwQl1csj/I7WBbeD2m5Vc289HB7I=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBpQtKxtPV3nZVGaLjdVSwXCCzuZbzNnRfwL+MlK 1nlJ33rnS+JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCaULSsQAKCRDBN2bmhouD 10CID/9m25qiPqGaoRVekfUEli6Ao5/PmxkhY+xKaAAnJRtL5mNxt1ECPNiZMCLMubRu4tiqUPA KgkRk5DJJmSnafxCGPLciwVGVRLRKIyRPXahronKGMd+RDUHXT1gGvAW+4dh4BYCG8w5yjk3XIV mhmLz9RAd2bvKqBZjVvaz4VA+ZmXGtNKkUGXhFMOazUBsAMipwhOHizKDqMojGEna+VlN5aWvax g/dOhzvx36Zauji4SoauwGiP/MaJkhnTEtef0CV0byz7QJYoENaDRJu7xyUuTaz49ejTN1UI5/8 uT25kdcmT3DMkiHarZj0gezX4PKWoVCZO0VFpAVTAVJTKxfu58772KnoIjyhRCzuT0Guh+8KBra mrCH30NznlQ19+cKntH0ae5kyZc74T8RhtrsILGaibdzygnWXNqqzUU5TXLQ8lo9aWZnf18Disn 2iDV7LoFrc+Q4TgEMdaujLDGqEd5WTm6FFucGVsobbuww3hyQXMXU8KMFA1fNBvsa1ccFhr0A89 caa5zbr1HKS9xdJVdJ7f3b5rJwSwakIXQY8bdT1FSx6rWqnlhm8e54r5+wiQgbtvn31zf+7s3UJ UC/akWFYwc+JKRiZQJUcMaVfrxbQLWNJ+ejgkdWOXlkZVx3U90cVnsEpTaSp+7e2HyxSZq5Wcdu IIxYgVdGnLohTRQ== X-Developer-Key: i=krzysztof.kozlowski@oss.qualcomm.com; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-Authority-Analysis: v=2.4 cv=VLjQXtPX c=1 sm=1 tr=0 ts=6942d2c2 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=TJdhL1X_YdA7ouKO9xEA:9 a=QEXdDO2ut3YA:10 a=a_PwQJl-kcHnX1M80qC6:22 a=sptkURWiP4Gy88Gu7hUp:22 a=cvBusfyB2V15izCimMoJ:22 a=TjNXssC_j7lpFel5tvFf:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMjE3MDEyNiBTYWx0ZWRfX6qUgMrI+J7Xl 2q8uSFbshPkO2tYf96MtaAqpRd8v6bD7OIIipJmqNK9Sa5prIlWMNv1qfmWmupRSeX5fT/I3Wnc 33jZlMWjKvN8lG5CEjDgNAMGScrNFW+k6MmIKMF9NkeDBgYmuENBOcxEUMlKhyziAjE/GjUgeh+ CKhjj1wRGqTeCdcoXFjFaZNuFCC5D4JeJX9GoRRYfZZCgi+osTTOmV3UpSRw5o/E8LkGS/gNrXE 96o5LiwikD60dw8t1Vb0s9+++Ra9T1cHBeoE4JjAr+wGxSjZvRP5Zzjl1H9HtOSgzWBaIiLp0Aa K8j0ZRpA8Bol8EGNjqaq+9ZTs7Tk1GwcyWnqO7LDLrFg6x7gl2ZZOkVegC8w0O3mEj7Mp27/wh+ Os8KXt2yBgJ0XuP3rnyqnLPjm9V2rw== X-Proofpoint-ORIG-GUID: g1y45JSO3OKnOZcvlm6-HH1xSsVl56Dj X-Proofpoint-GUID: g1y45JSO3OKnOZcvlm6-HH1xSsVl56Dj 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 spamscore=0 adultscore=0 suspectscore=0 bulkscore=0 malwarescore=0 priorityscore=1501 impostorscore=0 clxscore=1015 lowpriorityscore=0 phishscore=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 qcom,wcn3990-bt to separate bindings, so device schema will be easier to read/maintain and list only relevant properties. This binding is very similar to qcom,wcn3950-bt, however devices have additional VDD_CH1 supply. Reviewed-by: Rob Herring (Arm) Reviewed-by: Bjorn Andersson Reviewed-by: Bartosz Golaszewski Signed-off-by: Krzysztof Kozlowski --- Changes in v2: 1. Drop few supplies from qualcomm-bluetooth.yaml which are not used by devices left there. --- .../bindings/net/bluetooth/qcom,wcn3990-bt.yaml | 66 ++++++++++++++++++= ++++ .../bindings/net/bluetooth/qualcomm-bluetooth.yaml | 47 --------------- 2 files changed, 66 insertions(+), 47 deletions(-) diff --git a/Documentation/devicetree/bindings/net/bluetooth/qcom,wcn3990-b= t.yaml b/Documentation/devicetree/bindings/net/bluetooth/qcom,wcn3990-bt.ya= ml new file mode 100644 index 000000000000..89ceb1f7def0 --- /dev/null +++ b/Documentation/devicetree/bindings/net/bluetooth/qcom,wcn3990-bt.yaml @@ -0,0 +1,66 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/bluetooth/qcom,wcn3990-bt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm WCN3990/WCN3991/WCN3998 Bluetooth + +maintainers: + - Balakrishna Godavarthi + - Rocky Liao + +properties: + compatible: + enum: + - qcom,wcn3990-bt + - qcom,wcn3991-bt + - qcom,wcn3998-bt + + clocks: + items: + - description: External low-power 32.768 kHz clock input + + vddch0-supply: + description: VDD_CH0 supply regulator handle + + vddch1-supply: + description: VDD_CH1 supply regulator handle + + vddio-supply: + description: VDD_IO supply regulator handle + + vddrf-supply: + description: VDD_RF supply regulator handle + + vddxo-supply: + description: VDD_XO supply regulator handle + +required: + - compatible + - vddch0-supply + - vddio-supply + - vddrf-supply + - vddxo-supply + +allOf: + - $ref: bluetooth-controller.yaml# + - $ref: qcom,bluetooth-common.yaml + - $ref: /schemas/serial/serial-peripheral-props.yaml# + +unevaluatedProperties: false + +examples: + - | + serial { + bluetooth { + compatible =3D "qcom,wcn3990-bt"; + firmware-name =3D "crnv21.bin"; + max-speed =3D <3200000>; + vddio-supply =3D <&vreg_s4a_1p8>; + vddch0-supply =3D <&vreg_l25a_3p3>; + vddch1-supply =3D <&vreg_l23a_3p3>; + vddrf-supply =3D <&vreg_l17a_1p3>; + vddxo-supply =3D <&vreg_l7a_1p8>; + }; + }; diff --git a/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluet= ooth.yaml b/Documentation/devicetree/bindings/net/bluetooth/qualcomm-blueto= oth.yaml index 82cce508e295..5581e810f08e 100644 --- a/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.ya= ml +++ b/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.ya= ml @@ -16,9 +16,6 @@ description: properties: compatible: enum: - - qcom,wcn3990-bt - - qcom,wcn3991-bt - - qcom,wcn3998-bt - qcom,wcn6750-bt - qcom,wcn6855-bt - qcom,wcn7850-bt @@ -32,25 +29,9 @@ properties: description: gpio specifier is used to find status of clock supply to SoC =20 - clocks: - maxItems: 1 - description: clock provided to the controller (SUSCLK_32KHZ) - vddio-supply: description: VDD_IO supply regulator handle =20 - vddxo-supply: - description: VDD_XO supply regulator handle - - vddrf-supply: - description: VDD_RF supply regulator handle - - vddch0-supply: - description: VDD_CH0 supply regulator handle - - vddch1-supply: - description: VDD_CH1 supply regulator handle - vddaon-supply: description: VDD_AON supply regulator handle =20 @@ -117,21 +98,6 @@ allOf: - $ref: bluetooth-controller.yaml# - $ref: /schemas/serial/serial-peripheral-props.yaml# =20 - - if: - properties: - compatible: - contains: - enum: - - qcom,wcn3990-bt - - qcom,wcn3991-bt - - qcom,wcn3998-bt - then: - required: - - vddio-supply - - vddxo-supply - - vddrf-supply - - vddch0-supply - - if: properties: compatible: @@ -178,19 +144,6 @@ allOf: - vddrfa1p8-supply =20 examples: - - | - serial { - - bluetooth { - compatible =3D "qcom,wcn3990-bt"; - vddio-supply =3D <&vreg_s4a_1p8>; - vddxo-supply =3D <&vreg_l7a_1p8>; - vddrf-supply =3D <&vreg_l17a_1p3>; - vddch0-supply =3D <&vreg_l25a_3p3>; - max-speed =3D <3200000>; - firmware-name =3D "crnv21.bin"; - }; - }; - | #include serial { --=20 2.51.0