From nobody Mon Dec 15 19:05:53 2025 Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) (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 C4AE3310635 for ; Wed, 29 Oct 2025 07:44:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761723856; cv=none; b=f2smnnt+7Y2YoBIgkIDhKpNROUUidyDc27VcxjLw6LSHdE9xAyL6LZrU3KoClcWMKSPLQUoLxrJ0jy79umiNIK2Fab0FcGbQb4BYdhc7rAAtjIUjiyEb2CFJOZJgNz/Bi1gf4hLHclYoQT9TwpC2ZEGCc4tMay2MzsQxx4xBQHI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761723856; c=relaxed/simple; bh=1OEKBZd3Pxcn4NWZEVyg+zU+HrcwKqhnbfIn7kZHpl0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=e8vs3zS+EHjieJIM4P4eoxYmYF8gbsAMhC80ZKCs2xcQRh1uI7eiDKrFZmAezgb5WdM2w8hPr39RBzLuwpL4RubUFcawiXXnPSyTq8fpYQ0S8RPlBG8WVUa6xn6gQy3yIgLW3HZEjL0fsppiz3Fd2NRqsfw3OeLgQrV6IAtwolA= 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=CIalLULP; arc=none smtp.client-ip=209.85.221.47 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="CIalLULP" Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-4285645fdfbso904788f8f.1 for ; Wed, 29 Oct 2025 00:44:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1761723853; x=1762328653; 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=qQtkl382GI6bqhRyQP3r46W9x6QHG1RVELos4Msr/bw=; b=CIalLULPyB5JyiNdjEHfukgAQKRY6cK+HLGVVUNPWYfalASlfuev0XwVEKVptIxa0k ezkMdbOPL4V7eOfwQAouG7dROfCWmNOmnpUtcUNY5j1NR2cuL34HGGK4Y3lsGkL9TuXl LO4ocA9DwsX0rhRX/MIpULzji06/P2pTiAdCcahcauds+ROlEzCg/Y19ROiDHdU2wjK1 9h3CXbWDWKpjOG4JGTkiP0ZmHWcjsdSo5ld8sY2aN9GFGeVqyW26EmabFu1tIhJavyS/ 3dazMLtXhYblT1w20FHld6MhXgmf9tPgQOTngYU8qrlSrTXeKN+B1w00sxRk9cmdCGWV HygQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761723853; x=1762328653; 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=qQtkl382GI6bqhRyQP3r46W9x6QHG1RVELos4Msr/bw=; b=lh1Y1IaLCmTQG+Jep/w5I9E8ty3vWneiq6Rm/7mg2jfzyEIk/TUPIs9LmVCXbNIBoM seJ7PDMZYVkFHXrD/8K97jDnW5kBPNbnGxzl3Dy1tUuHnLubJdSBY+r7SJAt0vEk+ED9 aCP6gZkx5G2ouNOTzKZpkt4Hj+oEeSeqpLxBpDirDlzoBPXxSeQGQRWRo8IXoZGeY/3y 2qvh3CjdFmXtw5LYB2Gb+mDkjBPlnJbgbtgJdxcuNWJie0EPjV7TihEvsoy+rG1hX69Y LdEzOE4vPsFXgcBHpWcbcJ1+ftZFY55utn+H6aGw/lY4dT+cjTVD+KAGBU7dpB2fgiHH 3k5w== X-Gm-Message-State: AOJu0YyZ36ev1eTZqW0pk453yw+xTWVQ1GuXlZpMGzBfIXqtE4uVoIDG Txse/Tb+aIZlm31ZeHGX5p1XJoaAEGb9dKZ9DP6XrFwTTkQjRMb0aGgQc+uWQlV3XZk= X-Gm-Gg: ASbGncvEyd6vbKCL3B52uPOuQ2R3ru7ZhAcxfVBpG+2wgiaVteoshoyKwR1ehjABa4N vQAbRz/1MR+sC3bds5/Oms/M08R5HbZwVdcP4e0TpwFWvQvTF+fdFuonvKAa0A0FE8DgVbHS7Fa 8ItDElKSdF2WPAlBV+oebdRfmHX4Xl8BoFRq2TKhyU8e4KTGQ0WMlWvsFh4Yc3ZkyovLTXJsVnN 2IOF2GNIYuPzyTfp1nH8SbhlJ9eDAEpWI2SvzppACNE6WLqkPcoYCXkEENqzf2ZEhwlm+2WA9We 5oIuKqqNwG62LusV5GlMFE7Fvpu2tK+VvzZQlTVSQmIgU5HilSF9fHenR7xhRZNYWbQ+fnBGBnd +3huY4kvHxvaLTPOFegkrp/q85w0nFKfxqOmanlFcgUB4C7sgmF2FjlIRh0qIx3QNgo+Eizwzio L7Jn1ApjACNj7DaY9b8GgGpea9G9k= X-Google-Smtp-Source: AGHT+IF9tlp/gUwLaREffjpNOYFLqhCz/Qylsj2r8Gi1EKpFbT8FWh3U1tckMm7cYLoHyHP8MkC/GQ== X-Received: by 2002:a05:6000:2203:b0:3f3:1be5:ecbf with SMTP id ffacd0b85a97d-429aefc04f4mr704992f8f.7.1761723853136; Wed, 29 Oct 2025 00:44:13 -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.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Oct 2025 00:44:12 -0700 (PDT) From: Krzysztof Kozlowski Date: Wed, 29 Oct 2025 08:43:51 +0100 Subject: [PATCH v2 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: <20251029-dt-bindings-qcom-bluetooth-v2-1-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=5731; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=1OEKBZd3Pxcn4NWZEVyg+zU+HrcwKqhnbfIn7kZHpl0=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBpAcXAvOHjKIUVmIOeDNC6Pf4ysOIRtaQO34r3a UrMms5k+tSJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCaQHFwAAKCRDBN2bmhouD 1+tEEACAd2hnuYTluizIay3kgFgSStdHc2cu0LRGX2HUqZNNnLehz+eLNhGgROe5dgTnL28A9ha q6mi8Fe4370ACxcXkQbb3vSJHCcYEVS4X7r0VDZIChz54pGH8fwR6ps0VP8tzQ7QYbuxoEhiPrz FtyJVKzV1OsWFL9iq+FvvqReK+TCr4D93BCk2Ew/rhqqErmMbYy+t7GfEQ0/XcT/R5rOVcoQDA/ FZRILv8UmAyzWTCX2QBLYRKnCEI8OZSgzRrdloPefeNDGUkZufLaHfL9SEnyyAexQpK8uo4/2td HCTtegnIKGvWpApCVkEKSZbwBtDVT75AMy02JXopFJKs3ej9tt/0p2emPlv4V0e/pzz7U04ma2o wx7ybY/FqAHKUlAaP1bGPYXVsKVPepC3RR6wxUODPSTdKRAEG9Q1NGuWNXZj3io+Gy1YOc1ZvCo d+Vt1VtH9n0yeDKBcU8hf5YCauxeAMtlZ9yfa721zBf9RtQvvoccre5QBxoED2fU+ehjXEzrjjZ fONOZqtb2WpIEHav4xYZ/Qn+wPFrjdT61kfCMfo2lzSU9kpz08vn73RrdQ7325R0gdX5/8RIUJx 2tk+kCYzLhbtoecnomXeSa9FWeRULLgxWT8psemcNmsT0rr7XzuOSjqn+/xHTm7veCCvPv/jm/g 2/2oWB7XX9sOffg== 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 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. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Bartosz Golaszewski Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring (Arm) --- 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 8a2c5fb0ba55..c1889de94ad9 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -21148,6 +21148,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.48.1 From nobody Mon Dec 15 19:05:53 2025 Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) (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 60C5330F959 for ; Wed, 29 Oct 2025 07:44:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761723858; cv=none; b=dvIoPfjgHYp40Zi1312UIWQVmt7JAJQMjh3GCsfe+KRVlk59xoThzAs67EfpGzec4EQY7PUn/eMfGqF5b+Wubhf0yML4gtQ4sZQ/ur0n8BrYG09Tehl/oMjVRkBlduzF9RuGGorqIjMDlV9J4tkI0XN5KV3b0KKI9LdipJlIzHQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761723858; c=relaxed/simple; bh=GXXsvrBuxsIjEp9B0sGXvcOguVlsbtvQMPTm1B6x4UQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=IZyu2AExXCIcap4cROJdYJCZaoFwk0VC/B5JPeD3YHFXARCRs/4y87Saa1iIu7yLLbAENOKfZQcr0mkhRVX9VYyPW3qh7G3vr8BSyc1LL4HfUd+iIUYIe8zaZL5Cub6PuMCS2EbKDXoFTZT4IeA+/2ofF4sHIY3RepDXhpUfYFM= 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=kKqNv1oF; arc=none smtp.client-ip=209.85.221.50 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="kKqNv1oF" Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-427087ee59cso866038f8f.3 for ; Wed, 29 Oct 2025 00:44:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1761723855; x=1762328655; 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=KYx3iCNX8spHtQshueNYuQZcEQhUGk9Pdqai63AQIFY=; b=kKqNv1oFd5CfuLU7SNu79iXcruQZ4lCWIZWNCKhFcA7X7Ujw/tk0bFamjCCOOC5yhz 4bMlfvGGE3HAi6C8LY/Ox7BF/zaM90fnG+7zoUZ4sqfbYFwMmemJdGKTXk9ZR0kaxkPf RqI5baov7LGJRGNEffwVoFoOL4zdyspKeRlxaai21kPd9SluUfecDYut9FLdLxNAkvCz pcsxZOjJ1LpsrR7wQrXc99ULjZ1UH+3lB7HINV8AprgBq3PypKiJdwsdSYRHs244kPDR QzgP3rfwz2p9oQ3F31bvLhOVSKQmS7TMg30lXxMMGsvXl6RUlLw+QQFBrB90HI+gigv5 DGGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761723855; x=1762328655; 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=KYx3iCNX8spHtQshueNYuQZcEQhUGk9Pdqai63AQIFY=; b=gs2WJxgSivgDI4qBR0nV+q1Pu1pwoLOXEqj+19M8OLe6+qxJ0I92xBZDSZ3AhPpLCN up3cL2r2j1rmpmUz4HRhW3VD9N5XfQyDcNvULc4FpU0uxYnSfAk6U6PJIF1yO7BrmryD AKRm2LlQ1GcQphuNKE6b9SHv+8iqUP8cDoNk+dLFgf/ZEHzGgSXKJiE5iJPZFyKpt4vX Gkze6fx1iHWI08hVka0O9qidrwR09OwZQnI4svC4KtSp8m1gwPEymfpkM/iRjtJ72kIG 1LhoZUvtYTEFQ7F0tAU/SxcUb22R/Ntnped3zU6XGHhSU209hT8uBLm5ChdAgkj2XysQ Z7aQ== X-Gm-Message-State: AOJu0Yz0un16PnK3HrKyTEqE3tQGHdnPJHb7LU7eSmOSaFO6E5pNhYXu Urt9kuTv3ga4qk1GxJdJimSrHqo206IOrgO+mCcTu+I0nTNgM2CmPJNgNxBbIa/iBak= X-Gm-Gg: ASbGncsa8E2nno/Kwssn4YO1k28ohXKF52bsT8C1p1lylSUIY010DbKWXWb6x+lFpWp 0aBz/VT0VQgoM/JeAU/3mYYy9q+vJnPjjJ8IgE33XMMkjx0tGFfi5zelWkpKwCJsB6tV+lZxeYV gsm3g5y3pVLNv8i/scHJH9BVjiC3GP2+lwS2r8kxt697G4v79TVTXbkSALj9EZ7aAhiGfQTFx9l lRsLSsu8HepsVpYaeMXJryZ5UQ+QAaNOUVt9Sk5MZkdeCc3rJqLD06fKlZ3jh+6vXckSm6Zt7ny hV+NLLjjlKK3htJ6kYKEpp0vn6eXyyDnNhWLI/oYasKIc6mmOnsbdSO92xooJ3fx3YHr8JYMysH +8irXuaygrHJE8eE5VH9/h1keCC83/L8I+6LwUahpZhV5zranNWypQfwJZueQi4eBBYcWTu5Omf rQvVifzY2AI4wYJeJx9XBn9oi6250= X-Google-Smtp-Source: AGHT+IFpt1d90xh4rq12ERXehT3rWSB7W7gpgheUUuL3SoCeyQH4KLbmt0Kidz/+v7y0A146dlbl5Q== X-Received: by 2002:a5d:64c7:0:b0:3f3:3c88:5071 with SMTP id ffacd0b85a97d-429aef802dbmr816884f8f.4.1761723854631; Wed, 29 Oct 2025 00:44:14 -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.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Oct 2025 00:44:14 -0700 (PDT) From: Krzysztof Kozlowski Date: Wed, 29 Oct 2025 08:43:52 +0100 Subject: [PATCH v2 02/11] dt-bindings: bluetooth: qcom,qca9377-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-2-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=2962; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=GXXsvrBuxsIjEp9B0sGXvcOguVlsbtvQMPTm1B6x4UQ=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBpAcXBxytrkLJZ9tf34k4dQirxMHd2BCWQt0+vI PWlN4PGVpqJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCaQHFwQAKCRDBN2bmhouD 17ZCD/wOHyRnblbxFu3sWp6wIXoadT2EtYQChlGpq5dlpYsgkcUtBJIRCf15JGYpuUTvyZ0z/W1 l8+5oiLl3NhxLfJopJPVze+L8pXVk0oAdX5IPKHbnbBpXMBg3aNo1DuE3Yn6In/C+fKPf7VtAGd j5eBUzuBDd9HVz5Ux8g/PST+W/f/qOB9pjhjM1H7NrE0DkA3zsTmyOLhx4Q2jgyYU35w0O1ZQfj /d7Nf8ibns2zfGrY9i4LPEjl0UXhNNuW6INAA9u7CBMRqBkYn8dFAB5/+2Pjx9HEyWwM1L64CXu mwjUCSigAErWXXpv4Lf3Nx/DgLvkKew27eR1Q3Pvb+xlkqWzpsOVJI2BJDrYAY1hgfxiJZ29e8+ NTNb2N++JWUfAdHEy+Hmpf+lSgcbDBauCfUrJXBHy1FOxFrpqg9D2X8SLL+OWo+2Uw26afVRcKX PPgBfPnZVX95w/U9SS4OuaJ6bE5xXfp3MiuRKlR3IlNZwcPyLIijIZYq2tM0n8Fq2ZLmdHTnDLq kzEjjY/7jk2E6X+da32LwJAf3STydvof7Pib3ak3KH7K/kPLyv7ZEBc2/DTzKV8bPs7MkptB6rK B9jLVnOu5+DWR1SHlMGoQFqtcXHFrg3VliRxfqFtbGddjFn+eIjaZdlYFhT0HZfcl0M+R5UGZhx nhoAWxoPbyGQ3OQ== 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,qca9377-bt to separate bindings, so device schema will be easier to read/maintain and list only relevant properties. Existing binding has incomplete and incorrect list of supplies (e.g. there is no VDD_XO) and Linux driver does not ask for any, thus keep this state unchanged. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Bartosz Golaszewski Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring (Arm) --- .../bindings/net/bluetooth/qcom,qca9377-bt.yaml | 58 ++++++++++++++++++= ++++ .../bindings/net/bluetooth/qualcomm-bluetooth.yaml | 1 - 2 files changed, 58 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/net/bluetooth/qcom,qca9377-b= t.yaml b/Documentation/devicetree/bindings/net/bluetooth/qcom,qca9377-bt.ya= ml new file mode 100644 index 000000000000..3fe9476c1d74 --- /dev/null +++ b/Documentation/devicetree/bindings/net/bluetooth/qcom,qca9377-bt.yaml @@ -0,0 +1,58 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/bluetooth/qcom,qca9377-bt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm QCA9377 Bluetooth + +maintainers: + - Balakrishna Godavarthi + - Rocky Liao + +properties: + compatible: + enum: + - qcom,qca9377-bt + + clocks: + items: + - description: External low-power 32.768 kHz clock input + + enable-gpios: + maxItems: 1 + + vddio-supply: + description: VDD_IO supply regulator handle + + vddxo-supply: + description: VDD_XO supply regulator handle + +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,qca9377-bt"; + clocks =3D <&rk809 1>; + enable-gpios =3D <&gpio3 5 GPIO_ACTIVE_HIGH>; + max-speed =3D <2000000>; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&bt_enable>; + vddio-supply =3D <&vcc_1v8>; + vddxo-supply =3D <&vcc3v3_sys>; + }; + }; diff --git a/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluet= ooth.yaml b/Documentation/devicetree/bindings/net/bluetooth/qualcomm-blueto= oth.yaml index 85d10d94700f..dba867ef3d06 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,qca9377-bt - qcom,wcn3950-bt - qcom,wcn3988-bt - qcom,wcn3990-bt --=20 2.48.1 From nobody Mon Dec 15 19:05:53 2025 Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) (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 131B0311978 for ; Wed, 29 Oct 2025 07:44:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761723860; cv=none; b=ZWuQ3L86DiZWJmAK42+Ittr2eQXlicj/9jXxksdDsPVQvjcVX6f5GWGgI3EcMniFaPoZ1FmJi1ts/AQ2aAdBOHd05JbiFlIofyB6BoQGVG7nbvTJm3tZNZEnBGg4ixeiZia0k1/HakWvjcamsIT57Tw6gn7nPnCYr7as959A8fk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761723860; c=relaxed/simple; bh=A6wYC3YEQsc+A5KYYaS1o/HAfHvcVlgDyvBeXhkpb9I=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=NrEl9dzKxNct/Nhx+xNh3IkmbwWM8GcO/SaGBqWPXSEHWmTQEW7zr83NE2TpySKAN58Q5ksCFwVntfoodBPd8JluunVzZh3IDBfIzlvDxvkllPQizyLvt71mDRJP8gPmzPU5eTrBmsoaT4feRQREaxbHbhnIfePPUsQDJcjR190= 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=CePGojr+; arc=none smtp.client-ip=209.85.221.52 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="CePGojr+" Received: by mail-wr1-f52.google.com with SMTP id ffacd0b85a97d-3f4319b8c03so828858f8f.0 for ; Wed, 29 Oct 2025 00:44:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1761723856; x=1762328656; 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=WTr6a3CJwW930SrBwPOHA6kKG1ThC3Q7Tf/Wukt/A+w=; b=CePGojr+3Y80fusfu0Q/+0nLv1wrr8MKc9CTLa2F6Nuxvcx8wPTrhLko65QqekK41y 8RFP5fObViC6ndndb1UzU344Nn2FQKBddZ+dfirw5QieJP5uV6tAt2pYHaAzE5d+9gp2 0PY0EBOUu+bGkPLsWjiHaPLesvtza33dYFauViSidVBxVzLXyFOC5I2eXLM8JW2wSWIN cP73pnV0keIHSmubgc3qVtDmIuFtn/SNPbLaR12dfaoq5oVYE/PLm8NiVL/qhftx40mv DGo1CiE6bIdLdf2mnyXnq279KehBijFVXCg9LPp5LlEJ6mKHmiJDG5tRvtN7j0xFxNEW PqoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761723856; x=1762328656; 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=WTr6a3CJwW930SrBwPOHA6kKG1ThC3Q7Tf/Wukt/A+w=; b=rcVIlsFlIxswKEFjq1XliAdlimH3TRMVATyrKyEP2ngxm7zwXk0n0ctdc4+wPKvMGn vJuPUcYwpl+r3xWVjqk/0vEHLB82i2m/tGUg1fbT/5EusObDs3yYuQmP9dBmAnBLg4IJ Z2z/w4Ghe05uFouOofZmRTFEyHRrOIhXh7QWl9O+KYngIjUWhQIGrD9OxYZHZEwOIm9e RchwntQGerqL4wQ9l/HeIzmFenoe3q39KVQWCgdwxKR57S2UpNCuHgL92u0xoQ+GfVgU sfj5IgsCllrY2BtUAF0R2EORWN0WUCqRgl+QUYrMA8EE8SSfi84f+gAhlg0KJPxI3lJn 8x8g== X-Gm-Message-State: AOJu0YxUH1EEKvY0xlTXKPzywHsfi28GAv8/U+iVJKNS3sMlm1gxrsUf t3MBEF4RE/v4MOi/53hxuHACjlQGYEc2Ety32z2woUyqIvUsvKev/pQoCykraJLmS1g= X-Gm-Gg: ASbGncsVcY9nW6ZuKvWlg/7FxwA2FVf8/ONGgAq1b0MZo4h+QtGnkyeUQGIvgAUNQUJ qyP8B0HNlUugOksXd/507RyupWmDaY1SvXk/oZCzXfw7yM0GAK4EfjArsIHHNbq0Ay7wvVEGZ5i HHop6BobVvg5dBPss2dZxa1SXXVA5gH9tl7DiZGgPJfxCy/Zu7Nx4CYzz1+Ytd+Debm8oa4uSyC g4RM6JBncXmK9sy2LOC3Ky0aquyTlYpBrt2uKK1Cutg8QX9SlIUW2ebxQHes12wgECWTD4s49XQ IKkIiWAej+WX4Jyh6LEcE3+nuoqdfJ2T8vMYEFLmKVabX/Rd+aTmnvtvTrA9YNii+RD1Mzqawp9 kJCYy0NWB3z4GeL13CxJVxFTgMXVxow+lHyrHSsjq3Sbr7Bw1AgwenejANPLG5sgR3CLZCyV0g1 u7Je97BvG5D681lSay X-Google-Smtp-Source: AGHT+IFznjddPTN/INOLPnIpFAEawzIhJYkXVX98eg3ImXyR7cxMk+VQ3KLL3jicDV4R/Zj66sU9Kw== X-Received: by 2002:a05:6000:2203:b0:3f3:1be5:ecbf with SMTP id ffacd0b85a97d-429aefc04f4mr705076f8f.7.1761723856178; Wed, 29 Oct 2025 00:44:16 -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.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Oct 2025 00:44:15 -0700 (PDT) From: Krzysztof Kozlowski Date: Wed, 29 Oct 2025 08:43:53 +0100 Subject: [PATCH v2 03/11] dt-bindings: bluetooth: qcom,qca6390-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-3-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=3588; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=A6wYC3YEQsc+A5KYYaS1o/HAfHvcVlgDyvBeXhkpb9I=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBpAcXCkLTHsqaOd3nfpdLiExMY6LztYwyYCQbcS wnJ2mfAU6uJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCaQHFwgAKCRDBN2bmhouD 17p5EACW1iIG1+1hnuwIspBZMqU/E7tYhaUZTcTwWXm0aPowFliIDP70MYFHA09jti32CPD+GBh Z9KlTJZDAvH+Qug5Zf7ZwxKvNeky0BZqo95XEAzuZuJjOFw2K9a15zA8O8uCN5ofV5BT+KRnB85 dgJVmSkJO2Sl1i7c+RNoR7+t6qTNeG/G45rBwZW3twNmyHQ089iKvKLPSrC3yeG902vgCbebmJh y/mpEUKCD2wxI+VAqx7wEFDGzSKSFoulh9aX0N8n9cfP6K8HDdG3bRgivRV2oUOFdyDwpzf7GAU B91MSgkU7YHv6LhBytK0a6s6GSypnOsTqjC5Rb4PMJN5FvMtjn9tzMUfel1cR/jCfT+yZy0YPHk YotGAW97L8wesHzMkZjaVbTy0Kq4X8UpwUddZ3rUvOlsA5vI6mexT6+Pgs7bo8RcxOKSDHkc6O4 T9QJ0PgdMVWP0EttuoHtWKOZRxu1zcbuZ04Chp9AnJ4xZNJ7fBbslhxG7f81N7CD4vmf8NhETxs MnTr+qDGf47TMEQ/Jf0oH766brziKKdTtkAS+uSAcv+LUToW9+inenoQzNeQwHT9LYnvQkp8TiL mBeFSJEHe7YftnVgSkr8YSVm51ODgSXpxlh4Zm1mdNSFDKJwEj3UdQvsPAZpFF4Zp36yZjfnMKY rlUhjgOi7+deGdg== 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,qca6390-bt to separate bindings, so device schema will be easier to read/maintain and list only relevant properties. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Bartosz Golaszewski Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring (Arm) --- .../bindings/net/bluetooth/qcom,qca6390-bt.yaml | 64 ++++++++++++++++++= ++++ .../bindings/net/bluetooth/qualcomm-bluetooth.yaml | 15 ----- 2 files changed, 64 insertions(+), 15 deletions(-) diff --git a/Documentation/devicetree/bindings/net/bluetooth/qcom,qca6390-b= t.yaml b/Documentation/devicetree/bindings/net/bluetooth/qcom,qca6390-bt.ya= ml new file mode 100644 index 000000000000..cffbc9e61cd6 --- /dev/null +++ b/Documentation/devicetree/bindings/net/bluetooth/qcom,qca6390-bt.yaml @@ -0,0 +1,64 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/bluetooth/qcom,qca6390-bt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm QCA6390 Bluetooth + +maintainers: + - Balakrishna Godavarthi + - Rocky Liao + +properties: + compatible: + enum: + - qcom,qca6390-bt + + vddaon-supply: + description: VDD_AON supply regulator handle + + vddbtcmx-supply: + description: VDD_BT_CMX 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 + + vddrfacmn-supply: + description: VDD_RFA_CMN supply regulator handle + +required: + - compatible + - vddaon-supply + - vddbtcmx-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,qca6390-bt"; + 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 dba867ef3d06..ac58d6598091 100644 --- a/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.ya= ml +++ b/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.ya= ml @@ -21,7 +21,6 @@ properties: - qcom,wcn3990-bt - qcom,wcn3991-bt - qcom,wcn3998-bt - - qcom,qca6390-bt - qcom,wcn6750-bt - qcom,wcn6855-bt - qcom,wcn7850-bt @@ -181,20 +180,6 @@ allOf: - vddrfa0p8-supply - vddrfa1p2-supply - vddrfa1p8-supply - - if: - properties: - compatible: - contains: - enum: - - qcom,qca6390-bt - then: - required: - - vddrfacmn-supply - - vddaon-supply - - vddbtcmx-supply - - vddrfa0p8-supply - - vddrfa1p2-supply - - vddrfa1p7-supply =20 examples: - | --=20 2.48.1 From nobody Mon Dec 15 19:05:53 2025 Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) (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 4551F3126B5 for ; Wed, 29 Oct 2025 07:44:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761723861; cv=none; b=GmKdcC+J5r5o0BB5K88ODuszDXoryCnKFb7gvtxb2LGsOMaArWvbOjjg69TuuACS+I5P3Zf2EMA+e/wp4dkVhq0zO8chGuF78l/qoMKU6PT8O/K7iQ4nZoUzuKq7F+yKl/ABZ/qWeFhRXyyxx/3moJZ7uM1r/UqZiefn6HS9g7Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761723861; c=relaxed/simple; bh=LqA6uMqruY93gqaEo7sHxG58d/m7WjYdsDZDQiN4wCs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=XgdfHJcxgeuNr2Xp3Dl1i14EN7yNNcDDzJgTYKbcgcLLDqw2SALpzTL6NjJH6zMfA+8dq3CkYSRknVCS2p/7jpO/CLSoYpJrZE/i21vxft/z+dpHTjv9cNspjMQlvDSHXDwiicgfq4Y1s/lrLAAJxcBM3veUz1lvCry55QtKG1A= 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=NAwnj6Me; arc=none smtp.client-ip=209.85.221.54 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="NAwnj6Me" Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-42844985499so801621f8f.2 for ; Wed, 29 Oct 2025 00:44:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1761723857; x=1762328657; 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=iXoO6JFu6PFRG9ZjBC/NKjZXam02fA7IvjSxlXAqMXk=; b=NAwnj6MeAMATmPO2o8RtRveatc6bTE+wqNgFdurGhAEJNOjAMNBfHLMZSnCib+/90p Rxq7PeC3dg5nmD/pskZzWIptKs26O2pv825W+Ab8ERMG33zb5pqsCG+qdHjtUJoBk6ZK sFKmjpJVP+12fWsAnTrpXdnt9g/rEOGFzyMzoxquF/SnCFmBujvKm9ZvEP63Zlkh38dn jRkjmfNjJuBBDw9MDkjtffOQ3E2k6WXa50QgxwLpfcBav2551qPbL0HAZE90op+D7p4i 00WiuOnui0kS/b8FDqNgJjRNP1rRcrLt40vZTySUVadA+Cg1YOFex6ju+3m0CZOzUBJJ AoFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761723857; x=1762328657; 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=iXoO6JFu6PFRG9ZjBC/NKjZXam02fA7IvjSxlXAqMXk=; b=VxHFTuwNvM2B40zMDJrL63CrcwAFWbmUVXfJHZTee2jKGpFQCLbp90ONBsGm+hWFgD d9X9dLB9SznhEA3lOksmBY4tObRPdbeQAVt19PGH3O1vsohcYKJct5anQqQpXywXX932 3qh39k6rnrpkcioJDMguWmJi7nVzTOHjk69rHiWcazv16772JH3XGFvBmoDeIYg4ZuMK 4r+sR2bD0EPCvHXCZ54F1/GrwvpRXTmAZQ9OKbKJlrjZHUXPxlmOqhsjHAy2cVg6x8xg wilIm+3Yej1+c8vMy9GOXGNBsmol1TQhvvS0zkVLmbmALhbgTagNfpeMJJFejOwVqPB2 mgIA== X-Gm-Message-State: AOJu0YyjL7yZ9jQ7p8xn1LP1kHvYRoi6KO4TQfO9rqInLUAxw/wHdRbq 9noQwEyHjEuhYrYl4j8BWmTPB3DbyoUbsswazGAsQb1vJihJDcvUqBuiH+UU/kC/L/c= X-Gm-Gg: ASbGncsPQc3ll7j3ppk6Yt9LHbpFBizOLkeIpHCBGKA7KqTtEFCUCZdS5pwikU2E/C1 VUXdcmFsYSP5sSo4k9CVC/aezapZAt1/ltHhyECCg6H4XjvqTZ3cDC4H9BGFecpSKyBUXSt4Zrl bQYwnNgbGlHhynUvpvcwThl9cobatd4+CZCyPBFfIztpaJ9lTpAs09j7ArH2NZvJ9B4BpT5/pue 2R1x7b+dvCiI67TaMNgI1qg4NTgFx/J/LCLa4bYZ9SW1o6g+E9iex3X7wQ5CuWfF4MOkm+uxYQ8 NfBu9ZD832N8GkeC6LN51MGmoXZBET6WhZxxYZMRcdnGHxntkI4xDNVmuYd5Jg9bc9A60ODPCNB mn8NjbmnX/TDjvaBgZPWfDiPgHYgL/JP4p9cTL9DBrFL6uCExb5b/uxnZBrNeDoCN5d9r2gjTmp mnHb4hamyxks+pvWIq X-Google-Smtp-Source: AGHT+IFtm/W30m4UPSxs1CUdrQ9Pyvb20Tqr6XUfGejw1SOgsIWVpQvgP0VX34renPLAcRaliu0orQ== X-Received: by 2002:a05:6000:186e:b0:426:c349:eb1d with SMTP id ffacd0b85a97d-429aed36c07mr732821f8f.0.1761723857477; Wed, 29 Oct 2025 00:44:17 -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.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Oct 2025 00:44:16 -0700 (PDT) From: Krzysztof Kozlowski Date: Wed, 29 Oct 2025 08:43:54 +0100 Subject: [PATCH v2 04/11] dt-bindings: bluetooth: qcom,wcn3950-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-4-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=3331; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=LqA6uMqruY93gqaEo7sHxG58d/m7WjYdsDZDQiN4wCs=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBpAcXDpceFJ4UWTTJW6H+L6eLRlBpRXzhWT7XG2 PigYAgF88aJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCaQHFwwAKCRDBN2bmhouD 13KCEACA8xAp/5e78El7+LGOpI37CQuHFgBe9+cJysvBjDCiPXpZJ3/utnbu6U0OudKdF/FDKQO OFMsjB3cEFMVi06hwdUk29lanQ39Z+b9MzI43cTmKM/CglE4jtqS0wBm0P5mw1Xd8ugfUY0iu4Q r1CwVs11C5kXiSPYt0IukB3gGCudFA54JufX7rLb7CbK6EF5gyfooRxHsla/FlaOD6DgSZuimGC RpaIEPi3XI08d/SItoEv8XPJEN6thyHAd40DEqzSB329ju8FGP+5BPwqWZ/Z4WjU71f3BdDedCS jShzZB0JSvr/pE5dQHTiIYGD5WZV5osk2B3OFv1TpOJGKvGXnWMnj1kwNSr0QAbNFl14/Q2ZETu SANW7Ce4w2bYhQj0arke8PO/xRodzBa94i8TuhC/M+d0R9GxujD5q/HFD+DDKWMFzJQWxEzJ9gR 57+7C14bCabWLrctEUysRVRrLJ/+j/ynyKev1vNUyURIuqfoV7Zt3YjjGoJkVQn9lNsevFEMDdX hReoh24Ud/x8LwK832peE+t41+UXx3MPY1BwXqKk6iUBmPZDvKS5AwizSV7FK+eNZst7qCG1D7J /es8PrxmobELsqcM3NBe2PZp4n77lEKD5mH8bzRGB8+BBd81vXZzdDI3R2Fj67niGSbYpfTbYfb FuM3Ym8vKJ/4Kjg== 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,wcn3950-bt to separate bindings, so device schema will be easier to read/maintain and list only relevant properties. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Bartosz Golaszewski Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring (Arm) --- .../bindings/net/bluetooth/qcom,wcn3950-bt.yaml | 67 ++++++++++++++++++= ++++ .../bindings/net/bluetooth/qualcomm-bluetooth.yaml | 4 -- 2 files changed, 67 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/net/bluetooth/qcom,wcn3950-b= t.yaml b/Documentation/devicetree/bindings/net/bluetooth/qcom,wcn3950-bt.ya= ml new file mode 100644 index 000000000000..83382f3c9049 --- /dev/null +++ b/Documentation/devicetree/bindings/net/bluetooth/qcom,wcn3950-bt.yaml @@ -0,0 +1,67 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/bluetooth/qcom,wcn3950-bt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm WCN3950/WCN3988 Bluetooth + +maintainers: + - Balakrishna Godavarthi + - Rocky Liao + +properties: + compatible: + enum: + - qcom,wcn3950-bt + - qcom,wcn3988-bt + + enable-gpios: + maxItems: 1 + + swctrl-gpios: + maxItems: 1 + description: gpio specifier is used to find status + of clock supply to SoC + + vddch0-supply: + description: VDD_CH0 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: + - | + #include + + serial { + bluetooth { + compatible =3D "qcom,wcn3950-bt"; + enable-gpios =3D <&tlmm 87 GPIO_ACTIVE_HIGH>; + max-speed =3D <3200000>; + vddch0-supply =3D <&pm4125_l22>; + vddio-supply =3D <&pm4125_l15>; + vddrf-supply =3D <&pm4125_l10>; + vddxo-supply =3D <&pm4125_l13>; + }; + }; diff --git a/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluet= ooth.yaml b/Documentation/devicetree/bindings/net/bluetooth/qualcomm-blueto= oth.yaml index ac58d6598091..82cce508e295 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,wcn3950-bt - - qcom,wcn3988-bt - qcom,wcn3990-bt - qcom,wcn3991-bt - qcom,wcn3998-bt @@ -124,8 +122,6 @@ allOf: compatible: contains: enum: - - qcom,wcn3950-bt - - qcom,wcn3988-bt - qcom,wcn3990-bt - qcom,wcn3991-bt - qcom,wcn3998-bt --=20 2.48.1 From nobody Mon Dec 15 19:05:53 2025 Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.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 A35B231281D for ; Wed, 29 Oct 2025 07:44:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761723862; cv=none; b=VP7uj/ALrQf3RMNBZVXt5tniVX0egdF4EYWzsQzCCs7rmmkbiuluI1fvVwCHtFIkR5PjXpuzOb3YFBqACpywvwSqhAPgb4/BxSndBBMx2fT9oywFSTI3G4iIbWTHCftxo+GqTQfwMBiR41TXGWJJGjzwTTMDUKM6yqk229+xewM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761723862; c=relaxed/simple; bh=C6Xs4Iy/5dXWOxqcFTiKo95y2jY1WWMt19mVxeHVVvw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=g8gutfEBHDZmHKFmbw5XDAzyOuDwRh7OXOdm0mwuSH7UfgFEnJh06+9ZGNYU/ZSxpemyQSYfxlITx78bdLVC2zLE3CkS9IQP2aJdk71YLnfwRSmtVSxLdS7bPnb6qpn/7Rsqh5log79npWMGrEgqkfHNocHCvS7wm7dNfzxgF6U= 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=L/6nCpRE; arc=none smtp.client-ip=209.85.221.43 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="L/6nCpRE" Received: by mail-wr1-f43.google.com with SMTP id ffacd0b85a97d-42844985499so801624f8f.2 for ; Wed, 29 Oct 2025 00:44:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1761723859; x=1762328659; 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=KG+2/wyfujZcMdyeYaaBsTn5DxLtvxGxObtqFDsrcQg=; b=L/6nCpREIXtsX3Libnci/XX0LmWyWKmOWKMIFiMkJk01JSfYLTLr1sziWswTEJH5r3 j0mu2SkPhNmqzJTS7oC9naRVQPy2zEqhgboAGz6wxI9UECWroTMIJ0Yd7Rl/KpTTVm1Q SLSrZa5hxxLzrXMeDOGp1YF+Ox0QUT7CCuHt63YyjtFAP9Cdt4pIL7PQ0h7ytiws/ucD qwDyAvKyuCCj7gh80VzTtswcTL2iZQGhooqMWPdrof1L/xtq+15Yn5klpFUR6D3Htwu6 SJhEN7C+812higegbx+0XpYiDGaVTzdHv0WMuL9zmPiUnxefHYETTuth0gCel59Aziw+ H3JQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761723859; x=1762328659; 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=KG+2/wyfujZcMdyeYaaBsTn5DxLtvxGxObtqFDsrcQg=; b=dPTZQG5ZnvMALI59okCRTvZhEMWjotxet7PD1iRIv+7hyYnILM65iNNaSvdPXC8GDt xrCJp6y6CHGVERxUip/QRVIzVCuBM8oymGOYMB6KAgjbKEFe8ziUyaSMwJ2BW/+COT1a 8IJ+164DBvoIwOljHYsfhuoH8GaDUyIUOhqkqMbygi8DgWJmlxzCz3i4G9XxdagF0efs DMesJ8gQU2DDfozy9LIOGiTlfedpPB+ZNm/rhkC5caJO+qBG0KxwEGhEODLXCajw//or 6JKp/5mSifCXAmKl28YShEGk4qGRz8gEgySxF+XmRrNimTaSFTLcmvUDVYnoLGALGxgY 8CpQ== X-Gm-Message-State: AOJu0YwC559yLDFc09I+auoZHKAjMbVwEy5PnEu0pqjubWdq9dDfKesx z9qSD+i7HK+EGoLFsshrTxrYoSgsy5HAmEWMzwk6SaGfgBd8l+j/4K0rq3HbX+imtNQ= X-Gm-Gg: ASbGncuAB0AZFYHfoPpQdX4PVvt/P4my9m017Sm2uQeftah4uB2LTr9sFIBKziCUy3k JVexwOOLKjysCX4M9ofxTgy4i1LrK91Qc9534jtVwjQRvdBAZytHVe9W2tyFVdZqW6L7rtIzpxv qr5v+EujM0Q6/aqjhX75ilmbltsIxzM4W6qWaRCChQr9XNhio6lOe/zv3nSTL8C+4fFLsA+5ocs LfHdTRmeYPPoLmtb9pZ8ML2aT1bTMI4m4gE6qf7/U98t5YCCnQihF44CB3V7LrHWzX8eSKD1L8t S5fb7gVJHDJmqHC56fWYVsR9Z+VGy1aGzk/d+S+uwERmB8j+VUh+vHKGEg4a23EsMUTBn+z1loB TcjQQSQWQRngpG8120Keh6VuLFculDWu9FLcTG0nfQap2Xj75Ubafhes0hQ69HR6oRHN/EN7fwH oVl1Is+HKEJVRQqtuG X-Google-Smtp-Source: AGHT+IGmMEgEpLO20Eg//LXSsQTVQX4RLJbIH6elIGL0L0LQyLltSXdickUTZw3HG+2HKQQ3YI4x/Q== X-Received: by 2002:a05:600c:8b35:b0:46e:36f9:c57e with SMTP id 5b1f17b1804b1-4771e1e868amr9794455e9.5.1761723858767; Wed, 29 Oct 2025 00:44:18 -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.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Oct 2025 00:44:18 -0700 (PDT) From: Krzysztof Kozlowski Date: Wed, 29 Oct 2025 08:43:55 +0100 Subject: [PATCH v2 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: <20251029-dt-bindings-qcom-bluetooth-v2-5-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=5052; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=C6Xs4Iy/5dXWOxqcFTiKo95y2jY1WWMt19mVxeHVVvw=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBpAcXEwGL9pTvLTyM1ghtxK3H96v653G9miPmzY ok+O91wqt2JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCaQHFxAAKCRDBN2bmhouD 17rrEACLTLxRBk5Z2ysjy5NlC4gjnGyRtx2M9aiJWPCtF1XhaHfFSlU21aqyYVOaoamnZ5Tz6v8 tSSmLXbh7vECwe6PBFQ6QDfdSe1rngRCc6+F+GJo5duao4QklzEY8BLFlD6qspvmSm2yxfS1OFg HTmsNH6OjnVLFC5CNUVc7Lw2B2iMNEUpIKKT6m0EU5ZnfMYemQhBDwY6YCWtYiIjEhD9brdCE+U ezU49ls/i1Cvu+Ir7L7VcOm1s5ln4cAomyveiSOJ2T756One2DqR2NVT3eW4wVal5xscnlOInmv GStrf8U5E/xSAMRa2HG4wufPqanjcwkt2M+UCd6r9vHxSsKG2/gjLylwz8W7z7NWql5bQg75duN /NgVJfYkaaEYA4t+1UptTuvwgoGqj1Ljb1VuTznTkLVpNDGTIHEGLFpyig1PJ4k0sqrExFkGDgy 6XLQjpHLtC7VFqNRfxcPie7xOp4sU7auB+dHuoWX+ZtsHg1cwc4xflX3mvZqskRm4n8SDN7SNNn taJLji6Txio6Sfeecr2naUYsiU4wriaLp2v/mW5CYcVQha/uJPJ0fNsrvXNarF5U/e6UKuYEB1Z z9gpWK06RZHgVPWDfzuTJ0hu+nwsn1SRLPzti26kEseXW5C8IZe7uz4P86OTconQqg8VRdJ/eP9 hvhQjL0rwbzo8+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,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. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Bartosz Golaszewski Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring (Arm) --- 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.48.1 From nobody Mon Dec 15 19:05:53 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 Reviewed-by: Bartosz Golaszewski Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring (Arm) --- .../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 From nobody Mon Dec 15 19:05:53 2025 Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) (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 4FAB7313540 for ; Wed, 29 Oct 2025 07:44:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761723865; cv=none; b=THvbIcTBaB0koUdESA8fja9wevf5uTgteZ0dLtQh+C8agBIfLZsVqpvtSmvAunFPCW3Ypi2E2DfK+YsuGikAkWpI1Yc436iRRCF21vF8FrOMrhJnAam3UU7p7ZDApsYGhKiNQvAB64zowz3KRIM0B4GWhqW+Fv9MRW2B98DgxYc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761723865; c=relaxed/simple; bh=pY0T81cY/ChAcS24GMGsbOHLYcZF4AFMPLYAIXZGCkI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=btd9mH3jHV8tKO1e0ya4te3ky/TCMqgk+kcRadbidXe8AHMrCHqNkMzT84ZNj/0KUtLOA09oxUg8NjK0zFHLD8cEgXnPro+BzXHu3aF7PaEi3UPz0GaNmVewyq52q+ns5Xt1zdYQY+Qb1pW9lSacJi1iCGmlYL9Op/WvFdF2b/M= 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=BSj6HhW8; arc=none smtp.client-ip=209.85.221.50 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="BSj6HhW8" Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-42702037a01so1224630f8f.3 for ; Wed, 29 Oct 2025 00:44:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1761723861; x=1762328661; 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=uLoICzRd6+8op0opPDRU9sy/8Q9nUpG50ggkEy9RRTE=; b=BSj6HhW8INYMbxccfa1JDSKGDo9B3dRGqdSdGGcbuSfhArUWRuWlEGw+rcHUvFA9la 8rJr2g1egp4eWyXzF2zPlQKSn+R/3oDX9nBtvpW4AEd3qF6voIQryowaFU00fSt6uoSG 6wbBbewERXUGewJdJm+AH1ezRhZduqgaf8TarfiDVebgVBPSLrqPDgUD8G15DKcFBxm8 6hbdcb5x5HCK7H/eQznK9VlZ0gjAxKZ7bUcpoCRs+2fvJVI7XnbVbjzsKu1MqaRpNuKz 8SnhJKFksdHUpnxwLx8ITByW4HYlGHIJx2NOR4i3tcpoaeTrDbPGcJdVlaMtIJVjV8LV +/Ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761723861; x=1762328661; 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=uLoICzRd6+8op0opPDRU9sy/8Q9nUpG50ggkEy9RRTE=; b=TLD2AWslW4BJZp3ajwNUN4Qm403hCpkal3GTT7I1Is6tOmeAWdcw+bzj9TxNo/LfhQ EVeBFV60NZ/3XwLIdWkEtqBipWZM1B1IbRD9cIAOHupHkn7pqb9cgA7wX4JzfxMu9ljf MFyjJOgRj3db5cwTPXuywlZaK4JKgfNKzQ1M1LaGV++MokTJaoDGCeIkRtDskr2fdLxd AIkwCKTrhUA0V3s8MQWCfenfOIhmSqnAO9xHSV05zcUGOgzh0kK5a7uom+3m1ZmE3gac FYYpfwTZJPTG4UHjNXm6Sfuzn831ikKkg8W7FFKU54cj6n1pr8WAdIm8XrBxFDycn5/y 1IoQ== X-Gm-Message-State: AOJu0YwkxxSXxLzbO/5I99u9VB9ukRm5N4xqvWZtP1TFWMeVW6FdoMMq WVX0EYO5kt2i/u1Fn8lwHAjuij5cZOkM1tWhOgTSv8R33USGJR0lhT04nVePyRLAZ3w= X-Gm-Gg: ASbGnct9ygyZYDDrWffVn/SDYAF1zplrxZ7BuvnXbbQ3MX5nl3NEL1oNSMgIb8Bqtj8 gQXjQGxpOpbq388R2iiLymViBamM4/RN//cJE0qCNRwIzG6nw2NgGQfzP/qy2O5pHxYoJBK6eeE jA4gR/ifQeCFCa1Wwr6SHlNGu1WY7E7hlSF8XTTSqNqM+xlL9K1UGLsc0gwIgDKJXysjYEXEJGC ILBKoqGMQ61O6El33u4YpJrtzgcdgeTo9U0cNRQz1Givu/Ab9HB00IUFuy8Lll2Cf2xeeyvbpli SZw8C7JTkPf5Ardn+PlIiUa1XjNHebHdi1llxQYd6b7rXP02fWIwFhoUi8I7ROdCjikW0Kk5CnM qyph7MTR3Ylfc4yfItoET4w8INFSYtm+k4T+Oaq0yAkJxBKQH69MleFdbf/RicUkKbe2J0ggOJO AJG9rd3yw64Jjga8IP X-Google-Smtp-Source: AGHT+IHJ8OyXNXU5WYZsgm92RcYA0HDqcNviK7vtEMfCzdF2ELG82lZGAWMCSxgvENQxff5bDUo60w== X-Received: by 2002:a05:600c:310f:b0:476:92a4:7dab with SMTP id 5b1f17b1804b1-4771e1ea171mr9824465e9.6.1761723861457; Wed, 29 Oct 2025 00:44:21 -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.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Oct 2025 00:44:20 -0700 (PDT) From: Krzysztof Kozlowski Date: Wed, 29 Oct 2025 08:43:57 +0100 Subject: [PATCH v2 07/11] dt-bindings: bluetooth: qcom,wcn6750-bt: Deprecate old supplies 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-7-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=1676; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=pY0T81cY/ChAcS24GMGsbOHLYcZF4AFMPLYAIXZGCkI=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBpAcXFeXM89iSHEA6sSVYxJYG65m3eVtxgMa0Tk E64VFrHaB+JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCaQHFxQAKCRDBN2bmhouD 1x/VD/4yhLx2g9qWjYthtjDOWsvbBp/FsDwphIDzP49bahD893LSah0F709qDfCZsdY2z7OKPZt IM89DEIejsZb41xyP/mvqog8a5IYovCi3CkBSyzLONbMloZ5RfFu33zXcx8Sy7lGDSQmawjhw0H iDuxkNiwGmziRpwuB7UM2kCK26Qsg/C/GKuYVkVXrPxpaBkC83odqmdc7ws+vXnL3RVXrVsZS8v zCB8b2LockxmQ2tHFxaK4g7R2KDw8Xi15fpeScEZVC4eVkLbsUofONi8XiYTHwzMq9tGwgq3Twp /ygR5OpzIyZS8sJZGa2Ay4+h9QYE8evEZ8vbJJeu2xNcF+oUKYUOCk8Cn3yL2PNp4sYlCdM0b/Q 48N/PWe1cMkhP4/aEECgF02kZKzuVlrOwySByLsaiLtEG/a2nRrzu17RrYoMg/M+hFIfZhIZm1V pHU1iZCzNHaPwt6FP9Ra3ZNuGoLyPUizOLx/n1xAqylNP/AgD+PbqbsAq76Eag8yKxPc4emqlCq 0Yefy3j6DCGFYvp3fwLD9jgxSC0mmSfkrb0+DtjHQL3PW84NhUsVwlMH2nNLDBwFTY1sFMwvHVU jHdoZZQSAtH3+LTEyYDXciir+WgAD3oqBTMUw8Wb0QE0W27xUd3ia/dbb2I52eLt/sK6oyVnR/T HzM+cbO5RVW7zxg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Commit cca4fe34979a ("dt-bindings: bluetooth: Utilize PMU abstraction for WCN6750") changed the binding to new description with a Power Management Unit (PMU), thus certain power-controller properties are considered deprecated and are part of that PMUs binding. Deprecate them to mark clearly that new PMU-based approach is preferred. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Bartosz Golaszewski Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/net/bluetooth/qcom,wcn6750-bt.yaml | 5 += ++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/net/bluetooth/qcom,wcn6750-b= t.yaml b/Documentation/devicetree/bindings/net/bluetooth/qcom,wcn6750-bt.ya= ml index f11d12c205fa..8606a45ac9b9 100644 --- a/Documentation/devicetree/bindings/net/bluetooth/qcom,wcn6750-bt.yaml +++ b/Documentation/devicetree/bindings/net/bluetooth/qcom,wcn6750-bt.yaml @@ -17,26 +17,31 @@ properties: =20 enable-gpios: maxItems: 1 + deprecated: true =20 swctrl-gpios: maxItems: 1 description: gpio specifier is used to find status of clock supply to SoC + deprecated: true =20 vddaon-supply: description: VDD_AON supply regulator handle =20 vddasd-supply: description: VDD_ASD supply regulator handle + deprecated: true =20 vddbtcmx-supply: description: VDD_BT_CMX supply regulator handle =20 vddbtcxmx-supply: description: VDD_BT_CXMX supply regulator handle + deprecated: true =20 vddio-supply: description: VDD_IO supply regulator handle + deprecated: true =20 vddrfa0p8-supply: description: VDD_RFA_0P8 supply regulator handle --=20 2.48.1 From nobody Mon Dec 15 19:05:53 2025 Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) (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 CEFB2314A99 for ; Wed, 29 Oct 2025 07:44:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761723867; cv=none; b=CqHN35bE66nP9xw3NxaoBGCEh1goFVyBGJ+eQIM7AEC7Zv0geUoLAlFgeYFCPa5a7ZaScwCqU5WqW/a3Q1aC2ovxG6mQPUunROndAsbVfOmfIpSSzPkbG3NYyTOneroj8C4/OdBOpBr/tu9iVspAek6FLd+r/f/Pd6yTIPO5fcE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761723867; c=relaxed/simple; bh=a4U05UFZoUixBp5tGk4ntUP6N9avzN8UqAs346gQMTI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=kXVVlyHVrQDVO2adnuuSUHj7pcEoramT0udIZScxj/B1jd5jdG3G9uBTHRaqQtU0aden/57IKWe4/V1Ef/WirtiroZSAPLr10Z0LCIggP2PmEAYUjzUeB7+AgoURnVqYzNNajIytEzOQQsKtmEQ40ruQwiegU53sfp5YvQ+bCQ0= 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=iAnlANWl; arc=none smtp.client-ip=209.85.221.47 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="iAnlANWl" Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-40d0c517f90so580801f8f.0 for ; Wed, 29 Oct 2025 00:44:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1761723863; x=1762328663; 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=unG+uv/ANVV0KDcPZEeUh7npYUktIDFl8vrzLiM2xKU=; b=iAnlANWlF0KEscOeV6epkHh8sGf8PeQgi7nJ9bbkvgfKV+GvGnEORmnOtvufnSXlrn MhoxhGmzMJyAAJevP9IRqogOscgaXZRcytgdl3a5XRx/Ngo0hqh/0PllLgxZrNiPPmM9 3Mn24t64qFlo9ij7xb1ZOO2AW3McocOltdrEaDWhxqTdVYXRd6xoKeC7n3X5t6TF9Qi7 xI1FvsQ7LaLLNgxWQ+gEb3LKCq4A28iHCser405JMzdsL5XkuOs8pE4y8Ymdq6/f4JKO gx7fZtf22MmVO0MnpJLZif5C+s74o5PKkt84iiK1TTIrY2G1wR2vwahEGalgxCNj8aN2 vDCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761723863; x=1762328663; 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=unG+uv/ANVV0KDcPZEeUh7npYUktIDFl8vrzLiM2xKU=; b=mp2VwpEzwoXOAs8oPcRWVxwHLGQ9cCzQvA1KoCwjvAXUIXCOl2BP6YRrVSfcRvJIn3 YzKXAXLy1ZYiJcqCZY7xoGfBeWqN3LkOBb/PA3KZ31VhsUrlNkLy9yjvZ5j4OzY3PsmR bWTLqPyZ3NYSl7ht6NzkQjo9lcfIbg6jYAGFNB/dIdmSkp4+x6JwKIhNApq3C67RVBFQ P0+HgyQVMKp+OLVlHTK+D5U0kiasOdYG78PJ5okNik9ZkY8oqgJgrK3luiE2xGzNQmJy gj/j1PRMoapya1JbpstjYaE4k59266MAF+t11xcMS1bu10jdW4IZ4D8Da13IEkXuafPi EqTQ== X-Gm-Message-State: AOJu0YyxlF9N4urMEuXQ//IOPpnzE9TKuLvwaM4Q7Vfhs5eaAtn1VTBE aFRA+/HIxbtWEwLnsyglxoawcsrS9PtOVxGgQmlIwQkN2HFNcfoxbc3jdYLMNaFvYWM= X-Gm-Gg: ASbGncs95unWFN7FSyh9BWdgHPLyDoERpP6d26mRnSzTkP6+baVPZTeS/5HrhEwF2S3 wjFhzI3QCUNEcAnHdbCZUW7j8EheeeDlZP1v9J8/dRbzLhlOJh1VILNzPSkzRNIJmxvDfy765fd BYg4ordp1kdzuGIgIdFszc8OuV2CwxenOHpmh2GMJWyOwZ3H0kTfBVvi2S0+8j4aXAhI26XkHFy wmls5fjUwbdd0J/0WiAPKpzUSp9DWOHjNiBQiWRvoPGDkvPWrkmItOn/a/8D0fhpLzgw7WTgPep FihC+CwZQhJYMODQE4sIndGA8m+RbM5TTzTBt2vEGc54lYVBU2nKq4zfDwdHo4W9FvnG+WIAilA 5ZFkk4i33ZAAtb+u9w/aWnJ43kSmQ1gN0WIxzsSlUQSZH9D9pEkJVyGgguZ4WTijNHDjO7SNWLU J7bc7+8AcU1J/ipXEF X-Google-Smtp-Source: AGHT+IH0ZtZl8YemjZED9cGywjUeLaiFbBmaFCsYhav0uDgc9ovXPRvAC3ZLG6zbs3z3/iovDHPaaA== X-Received: by 2002:a5d:5f55:0:b0:3ee:11d1:29e6 with SMTP id ffacd0b85a97d-429aefb14bdmr702070f8f.6.1761723863028; Wed, 29 Oct 2025 00:44:23 -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.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Oct 2025 00:44:22 -0700 (PDT) From: Krzysztof Kozlowski Date: Wed, 29 Oct 2025 08:43:58 +0100 Subject: [PATCH v2 08/11] dt-bindings: bluetooth: qcom,wcn6855-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-8-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=6218; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=a4U05UFZoUixBp5tGk4ntUP6N9avzN8UqAs346gQMTI=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBpAcXG0YloIQ10ujw+eS238x3NvJ7Bg6yV2DjNP 1jf7BzTYICJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCaQHFxgAKCRDBN2bmhouD 1++AD/wKXeXxP0hNapEEimDWUhXYyYiskf7khbQmj64L0jbIk6YcKES3Is1pgaOkSppjwf324pB anZrfkQlweR/D5tPcpDfa7dmS5qTttXbFLm8neVJcmtqDK+0YIiqpza1gpKITEw50WY+7zsIDiT rTAMABzLrLmvJmFoE98KsrFZSwYmJxZ6abx+NsBl8nctFmNS0TG3jg2su5k1olInxBNMzvH/wyL YirITB914aCNS/IeTvXiWDC7+3tKV2/nY5NC4mCCQcJBThQTBHRTa4L3fpbOzUip2busYx8Gq6T BNhILBZ5g97h328Li5798K4jq1VAbOjpik6XolF2a4aNpLlt3UpghVsGvsheycYFtz0kA6jMGRS gyKtaeGELXqlaFpCW53XzNLHOLOt9tp5yuH1Gxjbc0TvuACj7eigMLW/s6MBPQ13eb34eYAsUuY eZ7Vzt96q9fYbS3yV79rJuMQQNEFm25cw66l5k9YBKK6TWqMthgNZNhgnZE1YEJTSnpkGt4VwGC dlL6GNfvD0U5I9pv1StmWPsH+FJ11gS4gl0i5tK4mCNoxfM5rNj4cO3nTDvscP2xOM5WYxZ7fMk 3zu0xdZDx6jjCiBbXBc5ZYduvllQKz1+MrfvdDAyX7XBwn57u8uT6/ctBd9mWmoNvImuux/Q0ir Yef5YZ5GUzonJVg== 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,wcn6855-bt to separate bindings, so device schema will be easier to read/maintain and list only relevant properties. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Bartosz Golaszewski Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring (Arm) --- Changes in v2: 1. Drop few supplies from qualcomm-bluetooth.yaml which are not used by devices left there. 2. Add also Bartosz as maintainer because he was working with this device in the past. Expected existing warnings for: qcs9100-ride-r3.dtb, qcs9100-ride.dtb, sa8775p-ride.dtb, sa8775p-ride-r3.dtb, sc8280xp-microsoft-arcata*.dtb e.g.: sc8280xp-microsoft-arcata.dtb: bluetooth (qcom,wcn6855-bt): 'vddaon-supply'= is a required property from schema $id: http://devicetree.org/schemas/net/bluetooth/qualcomm-blue= tooth.yaml# sc8280xp-microsoft-arcata.dtb: bluetooth (qcom,wcn6855-bt): 'vddwlcx-supply= ' is a required property from schema $id: http://devicetree.org/schemas/net/bluetooth/qualcomm-blue= tooth.yaml# sc8280xp-microsoft-arcata.dtb: bluetooth (qcom,wcn6855-bt): 'vddwlmx-supply= ' is a required property from schema $id: http://devicetree.org/schemas/net/bluetooth/qualcomm-blue= tooth.yaml# sc8280xp-microsoft-arcata.dtb: bluetooth (qcom,wcn6855-bt): 'vddbtcmx-suppl= y' is a required property from schema $id: http://devicetree.org/schemas/net/bluetooth/qualcomm-blue= tooth.yaml# sc8280xp-microsoft-arcata.dtb: bluetooth (qcom,wcn6855-bt): 'vddrfa1p8-supp= ly' is a required property --- .../bindings/net/bluetooth/qcom,wcn6855-bt.yaml | 94 ++++++++++++++++++= ++++ .../bindings/net/bluetooth/qualcomm-bluetooth.yaml | 26 ------ 2 files changed, 94 insertions(+), 26 deletions(-) diff --git a/Documentation/devicetree/bindings/net/bluetooth/qcom,wcn6855-b= t.yaml b/Documentation/devicetree/bindings/net/bluetooth/qcom,wcn6855-bt.ya= ml new file mode 100644 index 000000000000..a4a887a4dde1 --- /dev/null +++ b/Documentation/devicetree/bindings/net/bluetooth/qcom,wcn6855-bt.yaml @@ -0,0 +1,94 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/bluetooth/qcom,wcn6855-bt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm WCN6855 Bluetooth + +maintainers: + - Bartosz Golaszewski + - Balakrishna Godavarthi + - Rocky Liao + +properties: + compatible: + enum: + - qcom,wcn6855-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 + + 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 + + vddrfa1p8-supply: + description: VDD_RFA_1P8 supply regulator handle + + vddrfacmn-supply: + description: VDD_RFA_CMN supply regulator handle + + vddwlcx-supply: + description: VDD_WLCX supply regulator handle + + vddwlmx-supply: + description: VDD_WLMX supply regulator handle + +required: + - compatible + - vddaon-supply + - vddbtcmx-supply + - vddrfa0p8-supply + - vddrfa1p2-supply + - vddrfa1p8-supply + - vddrfacmn-supply + - vddwlcx-supply + - vddwlmx-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,wcn6855-bt"; + + max-speed =3D <3000000>; + vddaon-supply =3D <&vreg_pmu_aon_0p8>; + vddbtcmx-supply =3D <&vreg_pmu_btcmx_0p8>; + vddrfa0p8-supply =3D <&vreg_pmu_rfa_0p8>; + vddrfa1p2-supply =3D <&vreg_pmu_rfa_1p2>; + vddrfa1p8-supply =3D <&vreg_pmu_rfa_1p7>; + vddrfacmn-supply =3D <&vreg_pmu_rfa_cmn_0p8>; + vddwlcx-supply =3D <&vreg_pmu_wlcx_0p8>; + vddwlmx-supply =3D <&vreg_pmu_wlmx_0p8>; + }; + }; diff --git a/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluet= ooth.yaml b/Documentation/devicetree/bindings/net/bluetooth/qualcomm-blueto= oth.yaml index 1ee97089e1d5..62d7cdb67a3a 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,wcn6855-bt - qcom,wcn7850-bt =20 enable-gpios: @@ -37,21 +36,12 @@ properties: vdddig-supply: description: VDD_DIG supply regulator handle =20 - vddbtcmx-supply: - description: VDD_BT_CMX supply regulator handle - - vddbtcxmx-supply: - description: VDD_BT_CXMX supply regulator handle - vddrfacmn-supply: description: VDD_RFA_CMN supply regulator handle =20 vddrfa0p8-supply: description: VDD_RFA_0P8 supply regulator handle =20 - vddrfa1p7-supply: - description: VDD_RFA_1P7 supply regulator handle - vddrfa1p8-supply: description: VDD_RFA_1P8 supply regulator handle =20 @@ -91,22 +81,6 @@ allOf: - $ref: bluetooth-controller.yaml# - $ref: /schemas/serial/serial-peripheral-props.yaml# =20 - - if: - properties: - compatible: - contains: - enum: - - qcom,wcn6855-bt - then: - required: - - vddrfacmn-supply - - vddaon-supply - - vddwlcx-supply - - vddwlmx-supply - - vddbtcmx-supply - - vddrfa0p8-supply - - vddrfa1p2-supply - - vddrfa1p8-supply - if: properties: compatible: --=20 2.48.1 From nobody Mon Dec 15 19:05:53 2025 Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) (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 5336C3101AD for ; Wed, 29 Oct 2025 07:44:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761723868; cv=none; b=Ic6/f/rb+tU1THRDUwjLTs5CHgx73abKHf50DPiu+x4KJASeh5Gm3ki9TkZ7CIce3xn5eXDgNiD0rfpL+bRWgF+ljQNbX3pFoaCVCdLcXub5VkqXGHSAys6EAKteA5Kcf1JBXdNBK7wBOmL1rorCCckcoXYZBIBxLtjkURRzADc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761723868; c=relaxed/simple; bh=2ylXZHDAngOoTKtibQaFAjT9mIMx5sOYdJdFC88uj50=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=EbO7kO6kItqN/mwhR/UpKdNtfa29sXsxU1A2u8OaaoZhsOk5VeIxTevzS+03rmSl5aoYzSR6knXx96lyby/ESXXFxzOPNAef7HkVg/HAFG1NjQTUsmCjmo4TH+C2jLcSTqAVhexGPsk68tJomeXR3cZSeh5cNYBerriJL4knNko= 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=gOgIZQHT; arc=none smtp.client-ip=209.85.221.50 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="gOgIZQHT" Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-42992e68ea3so431982f8f.1 for ; Wed, 29 Oct 2025 00:44:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1761723864; x=1762328664; 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=jBe8+DKS6Pv7CPWRxH/dKD4sjduj0H6eSVGh9DbBU0U=; b=gOgIZQHTlRBkPsy43SQG0fP1ZKstS1jSQTAbCFaYDtUfuSWyBTFIMfYnDnPzDBK0dd F7T1VACgyAHpGdhzxMU1o1RzBVUGY4EeVLQeKUoFBUrw3fG13PpbXJFhOaFgILPEeGsV hMsrV+EDJecRLRdcd8y/n9Pivn16MBo5wfX+Y2quHMHWSu5+1yhyGYZpvfxAb1ehYyyb JXqTO0HbGlnMB03GwyCeL+UA/s+l7xJ8SP/SHwqMUPSXwORbN1e6oPzfqXGmLC1cYig3 Ekdj1Ty/cjnYQr+Q02tt4ZGNPXRzwcrLeBgwkYqEnB6/qR2mmC3Fc8svz1Y8v4lbmjQj uj9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761723864; x=1762328664; 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=jBe8+DKS6Pv7CPWRxH/dKD4sjduj0H6eSVGh9DbBU0U=; b=k6yP3zwX3B3OY66Shq1PHOVQcWljBv6Eo2+gLjf+X9WMUhHHIm3HU5tmPZWAFhazYG uk0+yN8iry+ZYi8YGgnoh51c0IjkT1ffusPjTBxZXBVSLiZfM6IRcdT2Dpxzcj2Em/ET J3dM8pvXZJk8mt3D6+APSmkldTeILwvPHYEDwSyCB2sZyJ/Bfjbq+xJh9IGgytm2A7Z5 MNTPf8lk6BWm9RTeWDnVzn8+8XwcX2ReRzV56pxsQ/yq8NijIV0Lxm3EPoC1NerBHK8g 16na83nfdL9UvONjUBgOzim0Cwg9P3DzMv3yalT9PWmPEjBiBvFlUN3i7FsFFSZhIc+h X0fQ== X-Gm-Message-State: AOJu0YwCoNbqwJ5wxU6/jn/14CVahhgHS90O0X7V8Tl0RJEsafwVf4pT /l32i15oRTxb442sMrXBE4WkxopFVsO83UA3VkgzQ8bsPW4TF2bCfHqfOTWyzqwWgbQ= X-Gm-Gg: ASbGncup3eLBZpyAOzFbgY7cxN2ILlMcTTJo3NdxK94tYL3sc9wGa+IiSiuoYRTmFdM QZDTcLrYTFciQwSdctWpV2u6P5Ff51NplxaiMvCPuTXLI/qtbhYIoUoO01umEpM5qiqBpzEpErW DnbL3uuGy+hPIvo0YvQ6nthMTu5ENFAl2hbzw3SjKNu+tXENP9dC7Rk7dqZqXsLsPgfUJaN56En BqfY0YVMb9Eo7btFgoxVeHkoDoaUliAuuHkZvlYx2QHIpBBigaHf42m/usSLk/gV7yxjMHxHmnj ZsIymoFFiZzQwJQkHczBHD4stvBmxULbGDRGJB63iWlAelrxD338Xz7D84qFcHBVYTOOlZ1JkD9 JhLEkYddsnbomxezm7DOObSw3i2sjOHdd0+enT+9PTEAeEOqK1UEfu4OolxoVOWBHCK9y3/HrCI FSfis+cq2FlNLHg0DV X-Google-Smtp-Source: AGHT+IFY0DShwfdl1g6sUtU5W2KTToZ6bdpZ4EZVpELzudvTnOTx9SpK0SJH7d+N5oi7pDDMFiey7g== X-Received: by 2002:a05:6000:1aca:b0:426:f590:3cab with SMTP id ffacd0b85a97d-429aed2e743mr813809f8f.0.1761723864452; Wed, 29 Oct 2025 00:44:24 -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.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Oct 2025 00:44:23 -0700 (PDT) From: Krzysztof Kozlowski Date: Wed, 29 Oct 2025 08:43:59 +0100 Subject: [PATCH v2 09/11] dt-bindings: bluetooth: qcom,wcn6855-bt: Deprecate old supplies 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-9-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=1767; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=2ylXZHDAngOoTKtibQaFAjT9mIMx5sOYdJdFC88uj50=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBpAcXHVr9Ideavsl2BkkYraqs5ntyP4U58FwYN6 cunB4q+pGeJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCaQHFxwAKCRDBN2bmhouD 13acD/9+yV9EaV7ApRpokYVmpWg2qEpYsfBZkyqVIwzcAu5mwz3f6SkGpMi0hc9QlhpDl4779f7 Vzp3bieQOf5eTHGQKaAzr+iLG5eowNMITHQ1iu3osEHSlhnntn0uX/DbTn5jNprl5LrAMkx1AWS lj3rOjdwiRdpO0bZVOd9v2QjMfvIlAE1A/Hhe+4CpYuoiHz7QY0Vzry40Ac4A2DAD50YJgCpjmI SASmOGNURpX9Rdbc02qi/PZIlVTygFE6m6lZB02I4Z4hd47thvyqvNwsAQWjoMVIOf50pP1ysi2 m5cfTdrIpO32NHZpOrvY4AslXxEx8JDjpLl6tlU/gmhS2zWrJfl+piGqHH751j4SQWXzloqCBjR VEWo2qYjJtKhoAGkHfhEss5uSBdFNTjrvuU9H5QyHMvdMjUIBstmDWbniamFzONVtndtxTa0pQi cgBzTpq9A1Dv4XspK80PpsxURdju8tZQGUkgUCTSl43zFErnDctdlkwUdOtje2v9ePA7mZfjTDF tQvXgGbU/+wOnYcEAGW4r+qD43BJOZNyn5HD/gxj5jQddGOzPBg+NYFKMnFTWaPuFCsZVAUpF6x wSqMqCg9iVL0BZF7liLclz+wdUQE14YBS7FyrUk71b1fTOBnr3CeLTK7+EQlTn7/TosDHzC+Ylj qc4t6UsSrWQ2H4Q== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Commit 5f4f954bba12 ("dt-bindings: bluetooth: bring the HW description closer to reality for wcn6855") changed the binding to new description with a Power Management Unit (PMU), thus certain power-controller properties are considered deprecated and are part of that PMUs binding. Deprecate them to mark clearly that new PMU-based approach is preferred. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Bartosz Golaszewski Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/net/bluetooth/qcom,wcn6855-bt.yaml | 5 += ++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/net/bluetooth/qcom,wcn6855-b= t.yaml b/Documentation/devicetree/bindings/net/bluetooth/qcom,wcn6855-bt.ya= ml index a4a887a4dde1..45630067d3c8 100644 --- a/Documentation/devicetree/bindings/net/bluetooth/qcom,wcn6855-bt.yaml +++ b/Documentation/devicetree/bindings/net/bluetooth/qcom,wcn6855-bt.yaml @@ -18,11 +18,13 @@ properties: =20 enable-gpios: maxItems: 1 + deprecated: true =20 swctrl-gpios: maxItems: 1 description: gpio specifier is used to find status of clock supply to SoC + deprecated: true =20 vddaon-supply: description: VDD_AON supply regulator handle @@ -32,9 +34,11 @@ properties: =20 vddbtcxmx-supply: description: VDD_BT_CXMX supply regulator handle + deprecated: true =20 vddio-supply: description: VDD_IO supply regulator handle + deprecated: true =20 vddrfa0p8-supply: description: VDD_RFA_0P8 supply regulator handle @@ -44,6 +48,7 @@ properties: =20 vddrfa1p7-supply: description: VDD_RFA_1P7 supply regulator handle + deprecated: true =20 vddrfa1p8-supply: description: VDD_RFA_1P8 supply regulator handle --=20 2.48.1 From nobody Mon Dec 15 19:05:53 2025 Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (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 A2CB43164D8 for ; Wed, 29 Oct 2025 07:44:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761723870; cv=none; b=hbZNEC/eZvzLcaWvdBjrdp3JuL1EIoBKDHEhtY9mNyZAKePnMIO+aQ0u+OiO1FhJA0QGrBKobNX8chnPLV7lZ6F+qDSgfWoAFe7GcSD4jIS2cPfzUn31hOFzL7lBF5IY2UPX/YFrmJ6Y0CghUohVWnWy5zmT83CzYCGyzmBfDcE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761723870; c=relaxed/simple; bh=VZm5kuE3Kea6ybn3OIoQ4NSNot4jy0OKZWVWGNJwq50=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=GsyPtW16IxrY/9CvQ33WrwoXLa4vTQXwkbp+g+w0IX7Eb+2tkz77ujSyNIPMFYLUKKXqDbTp0iTnM+PVnqRvnWnAjdK7hvh7WgWAPADsmnNkULY8Hp7+GsS3xrzJkzgBMiBAfgmXnjBJW/N6j3k7mcepoIitqGRg1oFQQ76vLpw= 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=mKhKCKSA; arc=none smtp.client-ip=209.85.221.42 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="mKhKCKSA" Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-426ff579fbeso844603f8f.0 for ; Wed, 29 Oct 2025 00:44:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1761723866; x=1762328666; 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=KGWpdtBAIo7kpBhOblZcipYGsmeu4jB30pQrjbjVir0=; b=mKhKCKSAJ/uAOtR4UlzYbCrD7muMNEzi01E32kbmDv+gzByXDvm7u+W6Xnq1AI9VNA u9MVwczoeRVS0QD0Wggjv6AMcvxNdkeSj6SxVu234mRvxniAe738xH8Uelup9mJf4Ihr 7VNJAPEYoRvGlZzl1mL5qPLP/8M6w8q6JLJzKjYUnzZiClRN9+HEynHVfB9BIcAI3P4g ftVq3bG0rq8rVNfQifEUABjBsJ8aH6x0jJlEg2/X9kfZg6z3w7UG0UCZPBSXkshVwbuG TmTu/H1IRb1hF5/aysSbZkaQP0OUePY1fqAvAd1tw2BdnLV9VQAfKcC+FDAqEpbjCldC 8DeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761723866; x=1762328666; 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=KGWpdtBAIo7kpBhOblZcipYGsmeu4jB30pQrjbjVir0=; b=VNvzzEN1GF9N+bq2L+zpBlw8O/qNs80Z3r2zOn9iTVaV+hB4xZHKONUykx3nutL1Uy O26UCl+0r5NWIbKUduygFopLDqj84BpeKC9qGmihNDKFoewtJq9+6H8pPcAYbE50Kj50 J42C2gT0qb/4hG04uOhpyZVaMXhABkp3mA5+jRfU7dwP/0+RGb6KjJmpKzOcu5cCqCe7 31GFhgYhEOW43YHqA8SvpGfF4RW/uj362PHQig21//WQBrIug5+4SShvubcyGc1dfkcP mRX8EeyNZ1qy5WSE3DXcR0s7nEj5GL1tEe4rCus6lqxogo9U1i8ryltnMqsHJ7KTlkwr n50g== X-Gm-Message-State: AOJu0YyiZZXWNWu1AqQiZ3T70ggvya59lcT2Kag9zsu0HTdfFy12omNa tg9K14NgfPgDDR7Y9jnX5bV+NPh4LJJbmtul/mFm0D/z6i2ls1dtQ+LM77NxKdzLVaI= X-Gm-Gg: ASbGncsRnzVzx84pB+yQ1dWeWTMGFWM/RmtIiYHeS8xlqxXnerFWIg2bsqk+r7w5vzL cnC5EqOJ67zp8HwsBaz7bUWquSbR5GII7kWjCSht7hPRFezAQfyn/itzW7vpO++UQmVTioDtOKO 2gHhrfFDmn59GGJ+eXQhM2H7KlYD0zw0+eR7HUZvwg8sjNqcSZbMKiq6vfI45EmzsfwUGxYDy4A 0rXg8Clfqu8tPdvWpLFhZNLSYUOFgk1aVWsSm11Wqh+EOQZFEOPz6zvstsvm+dIk7Q+xrFgsRZ/ WT/9W6qz+umujVQG+D/aWUiX0j2dXxDQAbUMoYTuMSvaUTG/3xExxtPhca0dp5ldsW2x72UQWmK ohJwWRQD7iF9IMjOqRoDTqtZ8DmU2cewr64PLq5e14EHSrWp1orJ37aHU+kRDVkNFp0liOEoVnS r5N59nh8PeB6UjKuAj X-Google-Smtp-Source: AGHT+IFGXYqGnWhEJcsB0uGHdwlvwsarLABHC2JwB1BbHqpMb9PF2mXg+6SFCb2V3aFT4lfIyuSxSQ== X-Received: by 2002:a05:6000:24c5:b0:429:8b99:6048 with SMTP id ffacd0b85a97d-429af00657dmr632122f8f.10.1761723865954; Wed, 29 Oct 2025 00:44:25 -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.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Oct 2025 00:44:25 -0700 (PDT) From: Krzysztof Kozlowski Date: Wed, 29 Oct 2025 08:44:00 +0100 Subject: [PATCH v2 10/11] dt-bindings: bluetooth: qcom,wcn7850-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-10-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=4968; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=VZm5kuE3Kea6ybn3OIoQ4NSNot4jy0OKZWVWGNJwq50=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBpAcXIkunRjgubDBMaiSHGjIo38WUUm+PzyqE3n b80iFhgxBuJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCaQHFyAAKCRDBN2bmhouD 1yyYD/915ifPgW0a+wELvZCLfE4gWb8x+fVMyAV6oGRLy4V34bGzgMWUb6kK2BugblIaw9n/63m QHBU6LuF2FobuuWvSk2AOCC+ZyFQ+z1kymJdb1dyQ/frSuusgB/oOkUcsH4irAaQnIvd0f2+nRc 8kPgnieMvvWbDnahfBjI6lpfwEbaMyo5NNeaolJ5Z4AVtemwSzdSMUtwQhUXHI8xDz7sFYDXHe2 v7+UbLlfn9OB+Q0vfXeZvFVCygbvGkoh2gcBA2RGHRENt7rQSKsTO8mKE4Ll2viP7XZT0ZbGWUo CXJfpzE+QMsER/ZQQocuaKpSYrShd/goksuRL0VTauNSaPYoTHzhdxmHKmZLulloXn+IWBCyXeF OynZ9LjzO70vaLmEmRDubxmbmKXbdkw7pI8ZJjZp1XfB/yDzcd/wevhVCracP1vieeZoyv5Qo8a wSrTpacDQ53aUZduEOJB0NZmOgKsxW3uH4lnSYRPctwtmSFuT2ntKr4iAWoq8C1Vj6x9NsE4iGz 8yf+byXPFlvoeM8IC0vP44lIZyVYlSJx+Be2X7KdShcRrPI0p8aNtxw5+3+uPcttvMYwFxYvUyJ d3el4+3vlkvi8WQHKGNbbr+k1Q7BHVNL26buehqKGYYXwBFI3I14ax9O1llYqu7eIdNuNTPptI4 ZlEW3P+zNH+JlHQ== 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,wcn7850-bt to separate bindings, so device schema will be easier to read/maintain and list only relevant properties. Re-shuffle few properties to alphabetical order while moving them and drop redundant enable-gpios description. This makes the source qualcomm-bluetooth.yaml binding empty, thus drop it making entire change a variant of file rename. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Bartosz Golaszewski Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring (Arm) --- Changes in v2: 1. Add also Bartosz as maintainer because he was working with this device in the past. --- ...ualcomm-bluetooth.yaml =3D> qcom,wcn7850-bt.yaml} | 83 ++++++++++------= ------ 1 file changed, 37 insertions(+), 46 deletions(-) diff --git a/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluet= ooth.yaml b/Documentation/devicetree/bindings/net/bluetooth/qcom,wcn7850-bt= .yaml similarity index 57% rename from Documentation/devicetree/bindings/net/bluetooth/qualcomm-blueto= oth.yaml rename to Documentation/devicetree/bindings/net/bluetooth/qcom,wcn7850-bt.y= aml index 62d7cdb67a3a..bd628e48b4e1 100644 --- a/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.ya= ml +++ b/Documentation/devicetree/bindings/net/bluetooth/qcom,wcn7850-bt.yaml @@ -1,18 +1,16 @@ # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) %YAML 1.2 --- -$id: http://devicetree.org/schemas/net/bluetooth/qualcomm-bluetooth.yaml# +$id: http://devicetree.org/schemas/net/bluetooth/qcom,wcn7850-bt.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# =20 -title: Qualcomm Bluetooth Chips +title: Qualcomm WCN7850 Bluetooth =20 maintainers: + - Bartosz Golaszewski - Balakrishna Godavarthi - Rocky Liao =20 -description: - This binding describes Qualcomm UART-attached bluetooth chips. - properties: compatible: enum: @@ -20,79 +18,72 @@ properties: =20 enable-gpios: maxItems: 1 - description: gpio specifier used to enable chip =20 swctrl-gpios: maxItems: 1 description: gpio specifier is used to find status of clock supply to SoC =20 - vddio-supply: - description: VDD_IO supply regulator handle - vddaon-supply: description: VDD_AON supply regulator handle =20 vdddig-supply: description: VDD_DIG supply regulator handle =20 - vddrfacmn-supply: - description: VDD_RFA_CMN supply regulator handle + vddio-supply: + description: VDD_IO supply regulator handle =20 vddrfa0p8-supply: description: VDD_RFA_0P8 supply regulator handle =20 - vddrfa1p8-supply: - description: VDD_RFA_1P8 supply regulator handle - vddrfa1p2-supply: description: VDD_RFA_1P2 supply regulator handle =20 + vddrfa1p8-supply: + description: VDD_RFA_1P8 supply regulator handle + vddrfa1p9-supply: description: VDD_RFA_1P9 supply regulator handle =20 + vddrfacmn-supply: + description: VDD_RFA_CMN supply regulator handle + vddwlcx-supply: description: VDD_WLCX supply regulator handle =20 vddwlmx-supply: description: VDD_WLMX supply regulator handle =20 - max-speed: true - - firmware-name: - minItems: 1 - items: - - description: specify the name of nvm firmware to load - - description: specify the name of rampatch firmware to load - - local-bd-address: true - - qcom,local-bd-address-broken: - type: boolean - description: - boot firmware is incorrectly passing the address in big-endian order - required: - compatible - -additionalProperties: false + - vddrfacmn-supply + - vddaon-supply + - vddwlcx-supply + - vddwlmx-supply + - vddrfa0p8-supply + - vddrfa1p2-supply + - vddrfa1p8-supply =20 allOf: - $ref: bluetooth-controller.yaml# + - $ref: qcom,bluetooth-common.yaml - $ref: /schemas/serial/serial-peripheral-props.yaml# =20 - - if: - properties: - compatible: - contains: - enum: - - qcom,wcn7850-bt - then: - required: - - vddrfacmn-supply - - vddaon-supply - - vddwlcx-supply - - vddwlmx-supply - - vddrfa0p8-supply - - vddrfa1p2-supply - - vddrfa1p8-supply +unevaluatedProperties: false + +examples: + - | + serial { + bluetooth { + compatible =3D "qcom,wcn7850-bt"; + + max-speed =3D <3200000>; + vddaon-supply =3D <&vreg_pmu_aon_0p59>; + vddrfa0p8-supply =3D <&vreg_pmu_rfa_0p8>; + vddrfa1p2-supply =3D <&vreg_pmu_rfa_1p2>; + vddrfa1p8-supply =3D <&vreg_pmu_rfa_1p8>; + vddrfacmn-supply =3D <&vreg_pmu_rfa_cmn>; + vddwlcx-supply =3D <&vreg_pmu_wlcx_0p8>; + vddwlmx-supply =3D <&vreg_pmu_wlmx_0p85>; + }; + }; --=20 2.48.1 From nobody Mon Dec 15 19:05:53 2025 Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.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 3D0483191A2 for ; Wed, 29 Oct 2025 07:44:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761723871; cv=none; b=sOFeZSKPJGbpund4jp9RcrXQDtlO/LkspRmsUG7aakgvk2f80ZFa4Bz7dRUBlPiLG4JSo2Xc5U7wTBr5m0uqLchUFLHWzcm0uFi9U3i4iMhGbOVhZLcp5xeTfMW9NDStWP3v8t5bA5K4ItyqxJaC+KjIyn9NftOzHxjexa7T708= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761723871; c=relaxed/simple; bh=IYVuBBwaeQ1PBLKcrd5NHt65uFxyMucqOKrr61RZ2Wg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=bFzPZvOaxF6vF+0I2AwKWJ1e/eE1bQAHiRTLRtC0UAM24NHbMe5qMvM50vIQ/NXj2IZl/1UfXij7GDLqWSEsxiaWJhuKhdMVbJXSURnK4Q9RzvVv4DacWjrVHHZNm9dtzgLiXAKDIukNFTqgCFVcwjcrWEStuJiHIJExLqFPc2Q= 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=i3Rj+kGJ; arc=none smtp.client-ip=209.85.221.43 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="i3Rj+kGJ" Received: by mail-wr1-f43.google.com with SMTP id ffacd0b85a97d-427087fce27so901360f8f.2 for ; Wed, 29 Oct 2025 00:44:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1761723868; x=1762328668; 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=56Jo10Sia7JFeNP22R7+UWXRhqXjXhFECcRuC4d49m4=; b=i3Rj+kGJXpTtZqwWmQdnqj2joE+I/V/4T7+TMwqynTKmAZ9gizkkT3N0p4p1qzAgcC cojK2Zlmi0EU5DCcZBCdsXqHp3YJje3BKSxNBpoX1JJgimefxQf5+V6vmnYMIO4DSL8x T9QoC1PY9z9Xd18tCnLPuaS+TnImfaytVtmFDw9QNsXBrHbmJXTUla2DspY/+c+AnzWV EYBtv473pJadSVZOHLAwcoV2pdkZjXP4ct0NXKhoDclWTQvEwijVVqYE6rIwDgD/Y8p2 TYo0OoAhkTr0mchNFEMsT6iIiBHzX/hJCQaXrX/K9m1Y3u2CHmToJBN7c5UWtTDp3OCp 7QGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761723868; x=1762328668; 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=56Jo10Sia7JFeNP22R7+UWXRhqXjXhFECcRuC4d49m4=; b=QkSs8jN78mcxTZT6dBiZWAAfdvpSbgsCGGMDl+56UaeJgUGYFI5X1+TXtcxfcHqeP4 kpERvx2WeBsdhsQFZMz1B+NwTwP1P3Zw1UY6afhdTMwdVIaoFQAr+dMGVBJhadoxoR5k slrHzcaP2GMN0mKVvlAv4wavb6sTNs+5gyNgMFezVp6bOYBdoOvXrI9efGAc/2quCGT1 k9yVNJSfrY6H0qCHJOww1B93ZO/IJxzsUuBi0JBqhEMbpIjfR0gagktZpkNVUvareqa8 j/J7jT3I7Tbz6z+gyEEcyXNcIUD+tMfS5GeovpmeqP/Z0jB4jTGi4Ap+lUyPdPvpOitf qTjg== X-Gm-Message-State: AOJu0YwXoi3r/Qg+Z446TLfBeSFb+lmxF+Bhokz77xCBcNvF+Qq1xB/h ZJrnwac/3CY0FNFsGh5VXzvxneKPdFFopXw5VQKMs03pFmgqOvCromkyOIE5vjqa3bY= X-Gm-Gg: ASbGnctCA9f/lDOOdg0l7YVPUm/d8DdB9q4gdL+gO6iog7vGuNjio0pF+ov3/NGb6WH ijt5vjsmNgpfR1rF5ecaP9ppVBhroRU5d6ulxeCZ0mPyjRe/IPB0yBX5hxSsvCz0iHHniW03UJi Yq0zgLz154T1YWDlhIJFOGsB42W8gKTOED3g7kyrcLzHOoAl9p5/A5jljNdpDpYLBDNxXZjb5+J IHdBIvBnjbxrvtkkgWZ45IIjvwICbtv+TV79agjdLH68ZWYLGyu5gGV2lzo/dewPa/szlxAOTx5 WdXsbwvkyjNzOjHGvWmeKPHdz00DhQiml0LTMLlSMBsPgzjmdU8bVYIbUAs5cBipfVDcAbrXkLY a4W3hpQozlz1Jy21FzUngER10nAMGL9nRsnhmoZFTjF2mx3/tw8Auwoq/omq70AH9MOPgcGmvm8 myhBMbBRVlflfXa0qb X-Google-Smtp-Source: AGHT+IHjedGJxFD7dLMl/rvsV3pkJFC7qhdSb+Sc4hQrT3n7oSY5Ppgz4lO64B98FeOT6QXtl65wew== X-Received: by 2002:a05:6000:4211:b0:429:8d46:fc5e with SMTP id ffacd0b85a97d-429aef890bcmr739869f8f.4.1761723867597; Wed, 29 Oct 2025 00:44:27 -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.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Oct 2025 00:44:26 -0700 (PDT) From: Krzysztof Kozlowski Date: Wed, 29 Oct 2025 08:44:01 +0100 Subject: [PATCH v2 11/11] dt-bindings: bluetooth: qcom,wcn7850-bt: Deprecate old supplies 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-11-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=1724; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=IYVuBBwaeQ1PBLKcrd5NHt65uFxyMucqOKrr61RZ2Wg=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBpAcXJHi6PDpi9tcb/UVaQyeVu+F4p55yHQBxpa CHP1idfosuJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCaQHFyQAKCRDBN2bmhouD 120fEACIQVZ32STXzRID4r+U1N+GviJ1fbhH3ZTYCf47w4G7D8J/IusF9rmaoqVN+JI4KvTiPSK erfG8OpgD1sXUwMe9RWRduwosqbAE499+yIGSZCnjTd66UoyDKi5St5Ww8BkclpGRVIyfRWm4Yp f+lRQQDQA7+50gkK8UH2sMsgiBDz6qDYakSmi8Swb+1lOAMoR/fYprYy5XWzLM2TX4uKZPemUdx Waldkm2wBIS2OB5XcNyYOyYpUM7lGqUWwpjjUwAHIQBAE2kJhHaw+CnH77XGxE2GJLoa99KJm0j fEyHbSWospV4yFiirEyDcUxq7hFL4pwDxAjI7DuihC0JfVML0SRPDePrbRal/EXhIFBeOHPyS0v K+gNk8ZH+HOhdr7F21azJrDY/6JQathhFiWnxBuigg9euNDVnvax3KsL+Lt2TtHuv5n6KssX4AX UFJ4Ms56rjda4GXAXAyVAH8zwvXtb7hIpkH76Du1q7bHJgVUQg3ylsfNgdx2E9YqPh0OmAWfsg/ NwD+g2K/ZMFGQf3pMO5Odt8nudMn+xIRYRNJGQTMe0wC8TiB1sksT4AHMOZdOWWSi8J9+N1C3bw Dt1dej5woZ6nGPabHmxLdViwkim/QdUu/TbjdkVf8IyUhyzRuYeCbLxF4oWcWstWCvML+3AiivF TJTKoQZh7rreepQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Commit bd3f305886ad ("dt-bindings: bluetooth: qualcomm: describe the inputs from PMU for wcn7850") changed the binding to new description with a Power Management Unit (PMU), thus certain power-controller properties are considered deprecated and are part of that PMUs binding. Deprecate them to mark clearly that new PMU-based approach is preferred. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Bartosz Golaszewski Reviewed-by: Bjorn Andersson Reviewed-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/net/bluetooth/qcom,wcn7850-bt.yaml | 5 += ++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/net/bluetooth/qcom,wcn7850-b= t.yaml b/Documentation/devicetree/bindings/net/bluetooth/qcom,wcn7850-bt.ya= ml index bd628e48b4e1..8108ef83e99b 100644 --- a/Documentation/devicetree/bindings/net/bluetooth/qcom,wcn7850-bt.yaml +++ b/Documentation/devicetree/bindings/net/bluetooth/qcom,wcn7850-bt.yaml @@ -18,20 +18,24 @@ properties: =20 enable-gpios: maxItems: 1 + deprecated: true =20 swctrl-gpios: maxItems: 1 description: gpio specifier is used to find status of clock supply to SoC + deprecated: true =20 vddaon-supply: description: VDD_AON supply regulator handle =20 vdddig-supply: description: VDD_DIG supply regulator handle + deprecated: true =20 vddio-supply: description: VDD_IO supply regulator handle + deprecated: true =20 vddrfa0p8-supply: description: VDD_RFA_0P8 supply regulator handle @@ -44,6 +48,7 @@ properties: =20 vddrfa1p9-supply: description: VDD_RFA_1P9 supply regulator handle + deprecated: true =20 vddrfacmn-supply: description: VDD_RFA_CMN supply regulator handle --=20 2.48.1