From nobody Tue Feb 10 05:44:30 2026 Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.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 F017B343207 for ; Tue, 28 Oct 2025 15:32:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761665542; cv=none; b=jejSykbWfn2c5LTbDioEKig4PTTy17ZvmVzMua1zZJkUiAgBWJesUKfxUy5rkfhMhgNxoHcp4dlaRZqPjHKYbOHy1M1QZCzaBa3BpZdwJpepG1vOc+7fbJhRyX4r4NWc76PHWcHm9vZs6ELyYcPEpUbi5zBsD24dT/SVkKvxobs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761665542; c=relaxed/simple; bh=1Pa8N091q1Iwvly7uDktHtvfsY9pYF9eldQYfV3KVgg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=uzmWGl0fqAqsPsj1Z/ih9UvKjGhBdT8moRDDXRI4Y0YU39jnvYhjC2Efjj+yZewgw/wciLCMSQm6blR+3iYHR8S8RgU2ilicod+unGVeZKO4cJ/TqNMaCT+3rIbUh6hTowsUtkMDIQFQuB+SQIAHSLmgkz0N+QyjO5JDMknG8iE= 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=AWBEtfUT; arc=none smtp.client-ip=209.85.221.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="AWBEtfUT" Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-429a8a27db6so106511f8f.1 for ; Tue, 28 Oct 2025 08:32:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1761665538; x=1762270338; 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=y52k8g6s9KNZCHJowMgyK6iu0ZbWW1Jp428xl/ixOkw=; b=AWBEtfUTYDGgUmjRzy+ikHqXrwm1F7FePVvbjtS/MV82MtBjnwuOwBYFncu/qnl6LZ t+hau1kBg7DQ83xqKPF+ASFlTjSM4251ZWGsvY97LvW4Ii2XKnwJbGepezhK5iqyg8/A jksR6daDhnFomHPieilzObLnVT+eQXigfRtHj+X47Vzq6DbxiPFu3nPg6vG/wmOCIvbN QSqIkA6nbMDPMt7WavvC49Vqi1nnarPNFvDH+XvraW6gcHN3o9MEtOqLbSVue4rirEZu wSSWDTfUKJb8n7g3gX1s9H2uqIfMgy3uE7Gy3JUyc7MLXJTH5ERpmPSTKNEM23DMqkmF Nj3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761665538; x=1762270338; 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=y52k8g6s9KNZCHJowMgyK6iu0ZbWW1Jp428xl/ixOkw=; b=dW98Au1mcXAXmzSYNIssR6j05DJypU/kU4+oyBw5O/9y6g6WHWz/wDFl/qaAJZQenb nKGibhlJeUjn2d6SAhbRMKCdvnWPcE7FhuBUCNwrYmri6FQgSt+f5zwvmqukJv0u4GQB 0vIgiBoigZml2IEAFaV90xx6/52Ht0oTDX075dNbhRmtjBve+V2ob97MRL+7jyVS0mGm glWJddIYcOnL+MGNLbmoertHvHQX8H7fln3IVGuo2M/3BP1Alvqi5YGQpGHVB1qtiQ04 7xvtWSYasRSeYCc3VPWmCJYC3d2+WACU10YXmrDisuZD2WuANf6ooNOkBG0U+nkwRWT/ zyVA== X-Gm-Message-State: AOJu0YzNthkWqwZR9lwye2E08lkA4Ng86I4Ec1RGvGmGHRPmM3Qcinga NKPmNq3YjjKZjb2Ih1BeM8BtfAaxG0IO455SodNGxkIeijkdQgznIjAUqa3qX2QVDnY= X-Gm-Gg: ASbGncssKGZ0wwqyzCXGeK0erGL42ik6mpQAz75ejjDQzaCVDOFpvWOSLB5al++fMyG ETEmP191FLw2c+ZnRM0UVmWV0lee+sMTLDI8p9RpsWj5AAF/V/1XqOp5dI1xX13YZgwbqlngM2p kds1txYq/XlrO9ECpWb1AEdk0hKPGLSfFFVvshwga2LLryN611gV2jVYPUa6EgW2RnFp3qoSgqd o5nH7RN164HSGybGw3Lu9iXrDS4rDDckFT+n6AtALveT5XxNxE7LR6ZUWxu65o1IgczPjBFZO0A 5Sivk9Pn8GN5HDWNIHVlIP2ViUjSGfy0gpbB5stinivcN9+fhPrQZRteGrl0AyIEAjp4pm9CTB6 XehzYq/ZteuOAZm1OQ5aGG8YJqZXSbHtGzLfE/aVSta+wACt16FL8+4QDNzY2J5XKU3i4b6zdVm WKiXxK6oMV78Gq7XhO X-Google-Smtp-Source: AGHT+IHyi3rZRAb/GJvnuN1suTcwEaMFYGAGJ2Y96rbFsJ628WIcAr+ju+iMuPYaLm34C0lvej1qSQ== X-Received: by 2002:a05:6000:4285:b0:429:8c97:f9c2 with SMTP id ffacd0b85a97d-429a7e892edmr1891839f8f.10.1761665538135; Tue, 28 Oct 2025 08:32:18 -0700 (PDT) Received: from [127.0.1.1] ([178.197.219.123]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-429952d9e80sm20844417f8f.28.2025.10.28.08.32.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Oct 2025 08:32:17 -0700 (PDT) From: Krzysztof Kozlowski Date: Tue, 28 Oct 2025 16:31:52 +0100 Subject: [PATCH 03/12] 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: <20251028-dt-bindings-qcom-bluetooth-v1-3-524a978e3cda@linaro.org> References: <20251028-dt-bindings-qcom-bluetooth-v1-0-524a978e3cda@linaro.org> In-Reply-To: <20251028-dt-bindings-qcom-bluetooth-v1-0-524a978e3cda@linaro.org> To: Marcel Holtmann , Luiz Augusto von Dentz , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Balakrishna Godavarthi , Rocky Liao 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=1Pa8N091q1Iwvly7uDktHtvfsY9pYF9eldQYfV3KVgg=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBpAOHzm67Hlk4zrsMlfjiXuKuQqsVq/jMgmzPDh swAY0w4IKuJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCaQDh8wAKCRDBN2bmhouD 10gLD/0aoo1WIbSW1udGX6A46/Tu3oJuXscSyS6hCQkL+WQvVRrBfrX2AbWw0a4VqDKe8IiYMEM 92faX3b0UIXyaxU8rzKmi6q6USfmvyfm5gzb4xdFVpdphC5jaiI2+nFqgeKdk7T8wdU7folsIcC A/WcOCIFAbrA/7WsbpD9a8akAiGv9izdtKoqWVrIxiUlMjCGB+NbQNHho77t+dqMQgWGFhS1Hpk jZvlb3DsBXI/juqrSde4t78D7Ddvj7sbcvdC0WzcbCK3z/zXj349M25n53V3l8FB7apk0o9XvqT xNcW8mEzkh3ERX5B7YyCFNipl2okysP7BO5riATgdn5KL7su1iXYs9fqffAe9t7I1Er9GEd0alU BZBqYb09qoWcSXDQgT1BsTA8IXS5hEkVDBdmPyFX+pYUpao7umOE+csgjhh6R6bago1VKaOJUx6 LSFDZQKXeMsjEeynVm5ok2VQAsKD3g1yKuhGQGKoSM6TxENbqOXYYX9mOsMxxuqh5463HatxrtZ HJR8WgU4aDOASt1W97//cvk7AePbE8+DQ8Jn/63uxtq4sRg+P11XkC1a9bf9pXKBCQSSUIIrh4M 8cwEe9GoN9a3c07ktcE+WsMsGZHMflt4t7mncDQtZMIamMf1B/vfxcDpxQ4Ja0TNbGlHl2ZVnN7 DLuqNM7iYHFCJLw== 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 0e67abfc8528..c8c0fa52d98c 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