[RESEND,v2,2/3] dt-bindings: net: bluetooth: qualcomm: add regulators for QCA6390
Commit Message
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(+)
Comments
On 08/12/2023 10:09, Bartosz Golaszewski wrote:
> 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(+)
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Maybe we should split the binding... I'll take a look.
Best regards,
Krzysztof
@@ -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:
- |