From: Bjorn Andersson <bjorn.andersson@linaro.org>
To: Robert Marko <robert.marko@sartura.hr>
Cc: agross@kernel.org, robh+dt@kernel.org,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
Luka Perkov <luka.perkov@sartura.hr>
Subject: Re: [PATCH] arm: dts: IPQ4019: add SDHCI VQMMC LDO node
Date: Mon, 25 Jan 2021 10:50:01 -0600 [thread overview]
Message-ID: <YA72ufb10QEZc5VH@builder.lan> (raw)
In-Reply-To: <20200907101937.10155-1-robert.marko@sartura.hr>
On Mon 07 Sep 05:19 CDT 2020, Robert Marko wrote:
> Since we now have driver for the SDHCI VQMMC LDO needed
> for I/0 voltage levels lets introduce the necessary node for it.
>
> Signed-off-by: Robert Marko <robert.marko@sartura.hr>
> Cc: Luka Perkov <luka.perkov@sartura.hr>
> ---
> arch/arm/boot/dts/qcom-ipq4019.dtsi | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/arch/arm/boot/dts/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom-ipq4019.dtsi
> index 6741a1972e55..7774dbd3cec7 100644
> --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi
> +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi
> @@ -211,6 +211,16 @@ tlmm: pinctrl@1000000 {
> interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
> };
>
> + vqmmc: regulator@1948000 {
> + compatible = "qcom,vqmmc-ipq4019-regulator";
> + reg = <0x01948000 0x4>;
The actual hardware block where this register is found is the "TCSR"
which is 0x01947000 of size 0x21000 - making this the register at offset
0x11000.
Perhaps it would have been better represented as a simple-mfd with this
regulator as a child node thereof.
That said, this has been sitting long enough, so I'll merge it as is and
we can rework it once we need more pieces of tcsr.
Thanks,
Bjorn
> + regulator-name = "vqmmc";
> + regulator-min-microvolt = <1500000>;
> + regulator-max-microvolt = <3000000>;
> + regulator-always-on;
> + status = "disabled";
> + };
> +
> sdhci: sdhci@7824900 {
> compatible = "qcom,sdhci-msm-v4";
> reg = <0x7824900 0x11c>, <0x7824000 0x800>;
> --
> 2.26.2
>
next prev parent reply other threads:[~2021-01-25 16:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-07 10:19 [PATCH] arm: dts: IPQ4019: add SDHCI VQMMC LDO node Robert Marko
2020-10-02 17:38 ` Robert Marko
2021-01-25 16:50 ` Bjorn Andersson [this message]
2021-01-26 9:45 ` Robert Marko
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=YA72ufb10QEZc5VH@builder.lan \
--to=bjorn.andersson@linaro.org \
--cc=agross@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luka.perkov@sartura.hr \
--cc=robert.marko@sartura.hr \
--cc=robh+dt@kernel.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