Re: [PATCH 09/15] arm64: dts: qcom: sc7280-crd: add dummy Bluetooth VDDIO supply

From: Konrad Dybcio
Date: Mon Jun 19 2023 - 09:14:43 EST


On 17.06.2023 19:15, Krzysztof Kozlowski wrote:
> Bluetooth requires VDDIO supply. Due to lack of schematics provide
> something dummy to satisfy `dtbs_check`:
>
> sc7280-crd-r3.dtb: bluetooth: 'vddio-supply' is a required property
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
> ---
For this:

Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>

+CC Doug to perhaps fix this properly (though I think we should have got
it through the cros list anyway)

Konrad
> arch/arm64/boot/dts/qcom/sc7280-crd-r3.dts | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/sc7280-crd-r3.dts b/arch/arm64/boot/dts/qcom/sc7280-crd-r3.dts
> index afae7f46b050..b1aa5b0ee95c 100644
> --- a/arch/arm64/boot/dts/qcom/sc7280-crd-r3.dts
> +++ b/arch/arm64/boot/dts/qcom/sc7280-crd-r3.dts
> @@ -24,6 +24,13 @@ aliases {
> chosen {
> stdout-path = "serial0:115200n8";
> };
> +
> + bt_vddio: regulator-bt-vddio {
> + compatible = "regulator-fixed";
> + regulator-name = "bt-vddio";
> + regulator-min-microvolt = <1800000>;
> + regulator-max-microvolt = <1800000>;
> + };
> };
>
> &apps_rsc {
> @@ -38,6 +45,10 @@ vreg_s1k_1p0: smps1 {
> };
> };
>
> +&bluetooth {
> + vddio-supply = <&bt_vddio>;
> +};
> +
> ap_tp_i2c: &i2c0 {
> status = "okay";
> clock-frequency = <400000>;