devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Doug Anderson <dianders@chromium.org>,
	Konrad Dybcio <konrad.dybcio@linaro.org>
Cc: Andy Gross <agross@kernel.org>,
	Bjorn Andersson <andersson@kernel.org>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Conor Dooley <conor+dt@kernel.org>,
	cros-qcom-dts-watchers@chromium.org,
	Nikita Travkin <nikita@trvn.ru>,
	Stephan Gerhold <stephan@gerhold.net>,
	linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 09/15] arm64: dts: qcom: sc7280-crd: add dummy Bluetooth VDDIO supply
Date: Sat, 24 Jun 2023 09:39:04 +0200	[thread overview]
Message-ID: <a3ece9a5-7718-020d-66b1-be6885fb1da2@linaro.org> (raw)
In-Reply-To: <CAD=FV=UMqrAU9cLy3Ew5o1MJyNDAAG2TY1mvMkY2-8kiw6qpjg@mail.gmail.com>

On 23/06/2023 20:34, Doug Anderson wrote:
> Hi,
> 
> On Mon, Jun 19, 2023 at 6:14 AM Konrad Dybcio <konrad.dybcio@linaro.org> wrote:
>>
>> 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@linaro.org>
>>> ---
>> For this:
>>
>> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
>>
>> +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>;
>>> +};
>>> +
> 
> I would have a hard time believing that the more correct fix wouldn't be:
> 
> vddio-supply = <&vreg_l18b_1p8>;
> 
> Specifically L18B is what we have on the newer CRD (the one that is
> considered a "herobrine" and includes Qcard) and also IDP2. In terms
> of timeline / similarities, CRD-rev3 falls in between IDP2 and newer
> CRD. These both agree on L18B. The only board that uses something
> different (L19B) is the very old IDP1.
> 
> That being said, Qualcomm has never provided (at least to me)
> schematics for any given reference board. Whenever asked, I was always
> pointed at schematics that were said to be "close enough". Thus, I
> can't really give a definitive answer here. Even so, pointing at L18B
> seems to me to be 99% likely to be correct.

99% is good enough for me. Thanks, I will send a v2 after the merge window.

Best regards,
Krzysztof


  reply	other threads:[~2023-06-24  7:39 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-17 17:15 [PATCH 01/15] arm64: dts: qcom: msm8916-gt5: drop incorrect accelerometer interrupt-names Krzysztof Kozlowski
2023-06-17 17:15 ` [PATCH 02/15] arm64: dts: qcom: msm8916-l8150: correct light sensor VDDIO supply Krzysztof Kozlowski
2023-06-17 18:14   ` Nikita Travkin
2023-06-17 17:15 ` [PATCH 03/15] arm64: dts: qcom: apq8016-sbc: drop label from I2C and SPI Krzysztof Kozlowski
2023-06-19 13:12   ` Konrad Dybcio
2023-06-17 17:15 ` [PATCH 04/15] arm64: dts: qcom: apq8096-db820c: drop label from I2C Krzysztof Kozlowski
2023-06-19 13:12   ` Konrad Dybcio
2023-06-17 17:15 ` [PATCH 05/15] arm64: dts: qcom: msm8939: drop incorrect smp2p Hexagon properties Krzysztof Kozlowski
2023-06-19 13:12   ` Konrad Dybcio
2023-06-17 17:15 ` [PATCH 06/15] arm64: dts: qcom: msm8996-xiaomi: drop label from I2C Krzysztof Kozlowski
2023-06-19 13:13   ` Konrad Dybcio
2023-06-17 17:15 ` [PATCH 07/15] arm64: dts: qcom: msm8996-xiaomi: use generic node names Krzysztof Kozlowski
2023-06-19 13:13   ` Konrad Dybcio
2023-06-17 17:15 ` [PATCH 08/15] arm64: dts: qcom: sc7180-aspire1: use generic ADC channel " Krzysztof Kozlowski
2023-06-17 18:11   ` Nikita Travkin
2023-06-19 13:13   ` Konrad Dybcio
2023-06-17 17:15 ` [PATCH 09/15] arm64: dts: qcom: sc7280-crd: add dummy Bluetooth VDDIO supply Krzysztof Kozlowski
2023-06-19 13:14   ` Konrad Dybcio
2023-06-23 18:34     ` Doug Anderson
2023-06-24  7:39       ` Krzysztof Kozlowski [this message]
2023-06-17 17:15 ` [PATCH 10/15] arm64: dts: qcom: sc8180x: use generic ADC channel node names Krzysztof Kozlowski
2023-06-19 13:14   ` Konrad Dybcio
2023-06-17 17:15 ` [PATCH 11/15] arm64: dts: qcom: sc8180x: align thermal node name with bindings Krzysztof Kozlowski
2023-06-19 13:14   ` Konrad Dybcio
2023-06-17 17:15 ` [PATCH 12/15] arm64: dts: qcom: sc8180x-flex-5g: correct panel ports Krzysztof Kozlowski
2023-06-19 13:15   ` Konrad Dybcio
2023-06-17 17:15 ` [PATCH 13/15] arm64: dts: qcom: sc8180x-primus: " Krzysztof Kozlowski
2023-06-19 13:15   ` Konrad Dybcio
2023-06-17 17:15 ` [PATCH 14/15] arm64: dts: qcom: sc8180x-flex-5g: align gpio-keys node name with bindings Krzysztof Kozlowski
2023-06-19 13:15   ` Konrad Dybcio
2023-06-17 17:15 ` [PATCH 15/15] arm64: dts: qcom: sm6115-pro1x: fix incorrect gpio-key,wakeup Krzysztof Kozlowski
2023-06-19 13:15   ` Konrad Dybcio
2023-06-17 18:25 ` [PATCH 01/15] arm64: dts: qcom: msm8916-gt5: drop incorrect accelerometer interrupt-names Nikita Travkin
2023-07-10  5:07 ` (subset) " Bjorn Andersson

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=a3ece9a5-7718-020d-66b1-be6885fb1da2@linaro.org \
    --to=krzysztof.kozlowski@linaro.org \
    --cc=agross@kernel.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=cros-qcom-dts-watchers@chromium.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dianders@chromium.org \
    --cc=konrad.dybcio@linaro.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nikita@trvn.ru \
    --cc=robh+dt@kernel.org \
    --cc=stephan@gerhold.net \
    /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).