From: Bartosz Golaszewski <brgl@bgdev.pl>
To: Marcel Holtmann <marcel@holtmann.org>,
Johan Hedberg <johan.hedberg@gmail.com>,
Luiz Augusto von Dentz <luiz.dentz@gmail.com>,
Alex Elder <elder@linaro.org>,
Srini Kandagatla <srinivas.kandagatla@linaro.org>,
Bjorn Andersson <andersson@kernel.org>
Cc: linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-msm@vger.kernel.org,
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Subject: [PATCH v2 2/3] dt-bindings: net: bluetooth: qualcomm: add regulators for QCA6390
Date: Thu, 7 Dec 2023 10:12:01 +0100 [thread overview]
Message-ID: <20231207091202.19231-3-brgl@bgdev.pl> (raw)
In-Reply-To: <20231207091202.19231-1-brgl@bgdev.pl>
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Add regulator properties for QCA6390 that are missing from the bindings
and enforce required properties for this model as well.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
.../net/bluetooth/qualcomm-bluetooth.yaml | 24 +++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.yaml b/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.yaml
index ba8205f88e5f..861663f280eb 100644
--- a/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.yaml
+++ b/Documentation/devicetree/bindings/net/bluetooth/qualcomm-bluetooth.yaml
@@ -65,12 +65,21 @@ properties:
vddbtcxmx-supply:
description: VDD_BT_CXMX supply regulator handle
+ vddpmu-supply:
+ description: VDD_PMU supply regulator handle
+
vddrfacmn-supply:
description: VDD_RFA_CMN supply regulator handle
vddrfa0p8-supply:
description: VDD_RFA_0P8 supply regulator handle
+ vddrfa0p9-supply:
+ description: VDD_RFA_0P9 supply regulator handle
+
+ vddrfa1p3-supply:
+ description: VDD_RFA1P3 supply regulator handle
+
vddrfa1p7-supply:
description: VDD_RFA_1P7 supply regulator handle
@@ -180,6 +189,21 @@ allOf:
- vddrfa0p8-supply
- vddrfa1p2-supply
- vddrfa1p9-supply
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - qcom,qca6390-bt
+ then:
+ required:
+ - enable-gpios
+ - vddio-supply
+ - vddpmu-supply
+ - vddaon-supply
+ - vddrfa0p9-supply
+ - vddrfa1p3-supply
+ - vddrfa1p9-supply
examples:
- |
--
2.40.1
next prev parent reply other threads:[~2023-12-07 9:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-07 9:11 [PATCH v2 0/3] Bluetooth: power-on QCA6390 correctly Bartosz Golaszewski
2023-12-07 9:12 ` [PATCH v2 1/3] dt-bindings: net: bluetooth: qualcomm: fix a typo Bartosz Golaszewski
2023-12-07 9:33 ` Bluetooth: power-on QCA6390 correctly bluez.test.bot
2023-12-07 9:12 ` Bartosz Golaszewski [this message]
2023-12-07 13:26 ` [PATCH v2 2/3] dt-bindings: net: bluetooth: qualcomm: add regulators for QCA6390 Krzysztof Kozlowski
2023-12-07 14:01 ` Bartosz Golaszewski
2023-12-07 9:12 ` [PATCH v2 3/3] Bluetooth: qca: run the power-on/off sequence for QCA6390 too Bartosz Golaszewski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231207091202.19231-3-brgl@bgdev.pl \
--to=brgl@bgdev.pl \
--cc=andersson@kernel.org \
--cc=bartosz.golaszewski@linaro.org \
--cc=elder@linaro.org \
--cc=johan.hedberg@gmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luiz.dentz@gmail.com \
--cc=marcel@holtmann.org \
--cc=srinivas.kandagatla@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).