From nobody Tue Dec 16 02:49:49 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 --- .../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