From nobody Tue Dec 16 02:35:16 2025 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (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 C51683128C5 for ; Wed, 29 Oct 2025 07:44:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761723864; cv=none; b=fBtAmtvYhJTT9aq+OL6H6fHKSKBxXwCFFoWUR/rCMIAgDyaX1uBD3tBshXFrMhwJ7pUiiOpB9etThq5C+HTECUG624l3VLMXHnyweCv14/jNe8VfzJUNv2EvHDTZab36sgCqtlDKvAyL9I4XWHeesNzNAqPHGG3RnT+dEfHmsqo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761723864; c=relaxed/simple; bh=k6aalskgjOKn9O2x3yn1Mpa2jylxp+lXSeo6dZYlgJc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=RUj0ji0l7xRJ+WjYy8VdMe+TQd2FAw78KosZazIdp7E8MXOtvCEjjzybA4H10LIjMq56VnyKA3k2AAA2pxPTYc6/4ryhjmBay5+i/ZbXGFeSEI8a2Uxj+fnrxiNAV9nkJsciYBy06YVzDGNI9FrXE0+k+wa/EY/6JtkLxJB6IuU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=L9hy4/u7; arc=none smtp.client-ip=209.85.128.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="L9hy4/u7" Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-4710653ac03so2702115e9.2 for ; Wed, 29 Oct 2025 00:44:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1761723860; x=1762328660; 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=0CjHNyP9Ym8Cyn4IY7hYsCKrN1ou0EO6Ivetm9/DPuQ=; b=L9hy4/u7Je2OaVzcWWxUWvcFsWI+TiMdc5ZeK5NHGlHnYica6pTumabsB9EiPK8mNx 3ukHlHUmD10AtMLZBzTvfSWxLvKIAzbUYJYyhAErjyIKiBTr/D4RD+7B2ip2HVaU7OzD V+ekPMTbMblbe8XmyojpRl41Nx0j9WJkQgLyH0ftaq7CEewd5wRto5Jw+e/F9G+HDe6Q R3pmMm7zmJaz17kUxrV2gTbWDRIBERzIL7fYFYtrWhf49OEj9BJ/iC4Fo6zJvRLqKGCp VDlBSRFWw0+1eWwaACYfYF+2SycLhcSP/19mpTz7DVS6Sxh/IS3SGMB50UI/yeZd2XYT 1TWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761723860; x=1762328660; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0CjHNyP9Ym8Cyn4IY7hYsCKrN1ou0EO6Ivetm9/DPuQ=; b=guaS/wVK8yx2sZxVQx1bhZZmOh08uk3QfQHBvcSgZWpZE7QHB67pynCAzdAmWaCGLX fDhiCRKEMaHnRvp+YLDiPa0ldB3Mcp2PTbo0utu6Z1tpwVKAwW/q/dHSjoSoUrycNNtS mPyv7zwucPsO26NdnsQkdevl5N4J9Q5G04YeNtCIJWr8U0+BenW4UBh6sigav6MzCsnL M/BLitFmTn3gAR/Ia5R5bwI8gcg7Y5v07oOP98VV3agbGdRYKF5Hwx6JGRlAUfwR5mqK W1+vQ2xy8lzFzweHi6VxsbiBiixXxzJOG9ZwXJKtB8KG7eilEZuz93VoFIgO0OX9fw9o MBPQ== X-Gm-Message-State: AOJu0Yw+Uhp8DZTs/q9k7mXDOG0iTp1ySgrrZeBdSv1cvp5XUjhwQGC0 QdO91UND8YJskjk3Mz7B1beMZGRNRIbJtI3RuuKAob2H3nKOxsNPQmbK53cbGm2EmbU= X-Gm-Gg: ASbGncsMVYzELBffiQaYNi9NLufcGeNswx2w1qNvm7ZqOxH824VeXREj2iYrugTlhcb wgQkQvgNRgQG9jlktnoSdrx0KXYTf1VrGE7q9eR3fC1Hfk7ddbNdfGBoklugdX3iIU7plxXGktr KFs3SoYVZFLZ27WNuXpA13dKxwEFTahUAKpw4RzZUJfK0MTyDKPMdGEXadJBkkowU6fDlHPanDz E7P0JrKMtKjfhKJtpL4mdLcuPMlyEhowNou5GrIPzD1jQ68N/rDqlihspRC9URCyeBW9wsajPb8 +lVJe8ayXm+8Cr5wrYkp+0aT9dbqI0LndwBkRmhMEYEpl3e6yyyD1lHPXaDlMoqcnjSo743TIZD SOMNua8AppI20tjZfDng8blli2xBeFCeDqw/84GzoccOCdPPNmtc5GQRAxmozCZYCfWnZMPITi/ 2NI92sOOJc8pWuYiby X-Google-Smtp-Source: AGHT+IHnHiXXw+lcRq/mD5rq4kH/nIUgha/kU9ZWzMi/pRoyw+lpZpOPeFHyUslBgfot99kStvPw+g== X-Received: by 2002:a05:600c:8b35:b0:46e:36f9:c57e with SMTP id 5b1f17b1804b1-4771e1e868amr9794785e9.5.1761723860139; Wed, 29 Oct 2025 00:44:20 -0700 (PDT) Received: from [127.0.1.1] ([178.197.219.123]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-429952d5c9dsm25861146f8f.26.2025.10.29.00.44.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Oct 2025 00:44:19 -0700 (PDT) From: Krzysztof Kozlowski Date: Wed, 29 Oct 2025 08:43:56 +0100 Subject: [PATCH v2 06/11] dt-bindings: bluetooth: qcom,wcn6750-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: <20251029-dt-bindings-qcom-bluetooth-v2-6-dd8709501ea1@linaro.org> References: <20251029-dt-bindings-qcom-bluetooth-v2-0-dd8709501ea1@linaro.org> In-Reply-To: <20251029-dt-bindings-qcom-bluetooth-v2-0-dd8709501ea1@linaro.org> To: Marcel Holtmann , Luiz Augusto von Dentz , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Balakrishna Godavarthi , Rocky Liao , Bartosz Golaszewski Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-bluetooth@vger.kernel.org, devicetree@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=5443; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=k6aalskgjOKn9O2x3yn1Mpa2jylxp+lXSeo6dZYlgJc=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBpAcXF3HqShDOUk5sEHjx8jwrdnADiow0KChAWS u50/TXVNxeJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCaQHFxQAKCRDBN2bmhouD 1+YjD/9Qv5ezDKB/l7an92bV3UspxPb976SYWFV7eohGY6GLd/uooYLvfzISyESdLX4HiERfhib u3A7byJvSP103SHZOpp769PIs5uSSToRRWL34IhzW/wwfBaEL1IahtQ84uZEME7RUpsxfBrVoWH oNSUcuAiUEr3LjkwoSPCBiB9BGrCWN5t/brGVIlR2itUL23azoJcqIF3QRjRll4EXRPk2dB9Pez zL9T/4GrTABdl12200DxUQiS0VeJXp5CN8peAm3lm+YCZClcUTrc6lnMxo0atti+xxGs+Fxtd9K SrAZ0GIMDm4QBQVszr9ecfoFaGY04iDDY7K7pt6xSPl0yBMPUjwqaRLLfuBAbXm3S73Ntp7cjmc yHDNem8zeGrqT5kiERbdDELIGYHTZLriZuDIrDhUQE+zU/LECsOUwj4YhmMFR2Km2vp+kHLJX0q 3e8jq3toVkWFs+wBEd80Zyfvv3Yt+gg0FGG6gnmf8ogCaUCFXxPf+zlImQwtVAdNWgIS0qJWEaT xy+7xY3w9XHisd/4euFdHGxLwPeVW7hD9a4ugHgWQsjd5vt6Dds5nfGGldYwpzp8o2kUXdneVRf YoJeIvQUB+nrdUibHdOfn2A03cDceU5zpZGAU9ViYR0P70iT/3MiCFJgNfciMuj6CIatcaB4bs5 cRVL9YBbrCC7J/A== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B One big Qualcomm Bluetooth schema is hardly manageable: it lists all possible properties (19 supplies). Split qcom,wcn6750-bt to separate bindings, so device schema will be easier to read/maintain and list only relevant properties. Signed-off-by: Krzysztof Kozlowski --- .../bindings/net/bluetooth/qcom,wcn6750-bt.yaml | 86 ++++++++++++++++++= ++++ .../bindings/net/bluetooth/qualcomm-bluetooth.yaml | 45 ----------- 2 files changed, 86 insertions(+), 45 deletions(-) diff --git a/Documentation/devicetree/bindings/net/bluetooth/qcom,wcn6750-b= t.yaml b/Documentation/devicetree/bindings/net/bluetooth/qcom,wcn6750-bt.ya= ml new file mode 100644 index 000000000000..f11d12c205fa --- /dev/null +++ b/Documentation/devicetree/bindings/net/bluetooth/qcom,wcn6750-bt.yaml @@ -0,0 +1,86 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/bluetooth/qcom,wcn6750-bt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm WCN6750 Bluetooth + +maintainers: + - Balakrishna Godavarthi + - Rocky Liao + +properties: + compatible: + enum: + - qcom,wcn6750-bt + + enable-gpios: + maxItems: 1 + + swctrl-gpios: + maxItems: 1 + description: gpio specifier is used to find status + of clock supply to SoC + + vddaon-supply: + description: VDD_AON supply regulator handle + + vddasd-supply: + description: VDD_ASD supply regulator handle + + vddbtcmx-supply: + description: VDD_BT_CMX supply regulator handle + + vddbtcxmx-supply: + description: VDD_BT_CXMX supply regulator handle + + vddio-supply: + description: VDD_IO supply regulator handle + + vddrfa0p8-supply: + description: VDD_RFA_0P8 supply regulator handle + + vddrfa1p2-supply: + description: VDD_RFA_1P2 supply regulator handle + + vddrfa1p7-supply: + description: VDD_RFA_1P7 supply regulator handle + + vddrfa2p2-supply: + description: VDD_RFA_2P2 supply regulator handle + + vddrfacmn-supply: + description: VDD_RFA_CMN supply regulator handle + +required: + - compatible + - vddaon-supply + - vddrfa0p8-supply + - vddrfa1p2-supply + - vddrfa1p7-supply + - vddrfacmn-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,wcn6750-bt"; + + firmware-name =3D "msnv11.bin"; + max-speed =3D <3200000>; + vddaon-supply =3D <&vreg_pmu_aon_0p59>; + vddbtcmx-supply =3D <&vreg_pmu_btcmx_0p85>; + vddrfa0p8-supply =3D <&vreg_pmu_rfa_0p8>; + vddrfa1p2-supply =3D <&vreg_pmu_rfa_1p2>; + vddrfa1p7-supply =3D <&vreg_pmu_rfa_1p7>; + vddrfacmn-supply =3D <&vreg_pmu_rfa_cmn>; + }; + }; diff --git a/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluet= ooth.yaml b/Documentation/devicetree/bindings/net/bluetooth/qualcomm-blueto= oth.yaml index 5581e810f08e..1ee97089e1d5 100644 --- a/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.ya= ml +++ b/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.ya= ml @@ -16,7 +16,6 @@ description: properties: compatible: enum: - - qcom,wcn6750-bt - qcom,wcn6855-bt - qcom,wcn7850-bt =20 @@ -62,12 +61,6 @@ properties: vddrfa1p9-supply: description: VDD_RFA_1P9 supply regulator handle =20 - vddrfa2p2-supply: - description: VDD_RFA_2P2 supply regulator handle - - vddasd-supply: - description: VDD_ASD supply regulator handle - vddwlcx-supply: description: VDD_WLCX supply regulator handle =20 @@ -98,19 +91,6 @@ allOf: - $ref: bluetooth-controller.yaml# - $ref: /schemas/serial/serial-peripheral-props.yaml# =20 - - if: - properties: - compatible: - contains: - enum: - - qcom,wcn6750-bt - then: - required: - - vddaon-supply - - vddrfacmn-supply - - vddrfa0p8-supply - - vddrfa1p7-supply - - vddrfa1p2-supply - if: properties: compatible: @@ -142,28 +122,3 @@ allOf: - vddrfa0p8-supply - vddrfa1p2-supply - vddrfa1p8-supply - -examples: - - | - #include - serial { - - bluetooth { - compatible =3D "qcom,wcn6750-bt"; - pinctrl-names =3D "default"; - pinctrl-0 =3D <&bt_en_default>; - enable-gpios =3D <&tlmm 85 GPIO_ACTIVE_HIGH>; - swctrl-gpios =3D <&tlmm 86 GPIO_ACTIVE_HIGH>; - vddio-supply =3D <&vreg_l19b_1p8>; - vddaon-supply =3D <&vreg_s7b_0p9>; - vddbtcxmx-supply =3D <&vreg_s7b_0p9>; - vddrfacmn-supply =3D <&vreg_s7b_0p9>; - vddrfa0p8-supply =3D <&vreg_s7b_0p9>; - vddrfa1p7-supply =3D <&vreg_s1b_1p8>; - vddrfa1p2-supply =3D <&vreg_s8b_1p2>; - vddrfa2p2-supply =3D <&vreg_s1c_2p2>; - vddasd-supply =3D <&vreg_l11c_2p8>; - max-speed =3D <3200000>; - firmware-name =3D "msnv11.bin"; - }; - }; --=20 2.48.1