From: Simon Horman <horms@verge.net.au>
To: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Cc: Mark Rutland <mark.rutland@arm.com>,
devicetree@vger.kernel.org, Magnus Damm <magnus.damm@gmail.com>,
Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will.deacon@arm.com>,
linux-renesas-soc@vger.kernel.org,
Rob Herring <robh+dt@kernel.org>,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 2/2] arm64: dts: renesas: condor: add eMMC support
Date: Fri, 20 Apr 2018 12:03:13 +0200 [thread overview]
Message-ID: <20180420100313.4cmngxeibpc2r3h2@verge.net.au> (raw)
In-Reply-To: <309b5211-bab6-53de-b8a8-6e1049e1705e@cogentembedded.com>
On Sat, Apr 14, 2018 at 10:28:29PM +0300, Sergei Shtylyov wrote:
> Define the Condor board dependent part of the MMC0 (connected to eMMC chip)
> device node along with the necessary voltage regulators...
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>
> ---
> arch/arm64/boot/dts/renesas/r8a77980-condor.dts | 43 ++++++++++++++++++++++++
> 1 file changed, 43 insertions(+)
>
> Index: renesas/arch/arm64/boot/dts/renesas/r8a77980-condor.dts
> ===================================================================
> --- renesas.orig/arch/arm64/boot/dts/renesas/r8a77980-condor.dts
> +++ renesas/arch/arm64/boot/dts/renesas/r8a77980-condor.dts
> @@ -27,6 +27,24 @@
> /* first 128MB is reserved for secure area. */
> reg = <0 0x48000000 0 0x78000000>;
> };
> +
> + d3_3v: regulator-0 {
Please use reg_3p3v: regulator1 for consistency with salvator-common.dtsi
> + compatible = "regulator-fixed";
> + regulator-name = "D3.3V";
And "fixed-3.3V"
> + regulator-min-microvolt = <3300000>;
> + regulator-max-microvolt = <3300000>;
> + regulator-boot-on;
> + regulator-always-on;
> + };
> +
> + vddq_vin01: regulator-1 {
And reg_1p8v: regulator0 {
> + compatible = "regulator-fixed";
> + regulator-name = "VDDQ_VIN01";
And "fixed-1.8V"
> + regulator-min-microvolt = <1800000>;
> + regulator-max-microvolt = <1800000>;
> + regulator-boot-on;
> + regulator-always-on;
> + };
> };
>
> &avb {
> @@ -52,6 +70,19 @@
> clock-frequency = <32768>;
> };
>
> +&mmc0 {
> + pinctrl-0 = <&mmc_3_3v_pins>;
> + pinctrl-1 = <&mmc_1_8v_pins>;
> + pinctrl-names = "default", "state_uhs";
> +
> + vmmc-supply = <&d3_3v>;
> + vqmmc-supply = <&vddq_vin01>;
> + mmc-hs200-1_8v;
> + bus-width = <8>;
> + non-removable;
> + status = "okay";
> +};
> +
> &pciec {
> status = "okay";
> };
> @@ -70,6 +101,18 @@
> function = "avb";
> };
>
> + mmc_1_8v_pins: mmc_1_8v {
> + groups = "mmc_data8", "mmc_ctrl", "mmc_ds";
> + function = "mmc";
> + power-source = <1800>;
> + };
> +
> + mmc_3_3v_pins: mmc_3_3v {
> + groups = "mmc_data8", "mmc_ctrl", "mmc_ds";
> + function = "mmc";
> + power-source = <3300>;
> + };
Again please make this more consistent with salvator-common.dtsi.
> +
> scif0_pins: scif0 {
> groups = "scif0_data";
> function = "scif0";
>
next prev parent reply other threads:[~2018-04-20 10:03 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-14 19:24 [PATCH 0/2] Add R8A77980/Condor eMMC support Sergei Shtylyov
2018-04-14 19:27 ` [PATCH 1/2] arm64: dts: renesas: r8a77980: add MMC support Sergei Shtylyov
2018-04-20 9:58 ` Simon Horman
2018-04-20 19:06 ` Sergei Shtylyov
2018-04-24 9:22 ` Simon Horman
2018-04-14 19:28 ` [PATCH 2/2] arm64: dts: renesas: condor: add eMMC support Sergei Shtylyov
2018-04-20 10:03 ` Simon Horman [this message]
2018-04-20 18:51 ` Sergei Shtylyov
2018-04-24 9:22 ` Simon Horman
2018-04-24 19:25 ` [PATCH v2] " Sergei Shtylyov
2018-04-30 8:01 ` Simon Horman
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=20180420100313.4cmngxeibpc2r3h2@verge.net.au \
--to=horms@verge.net.au \
--cc=catalin.marinas@arm.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=magnus.damm@gmail.com \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.org \
--cc=sergei.shtylyov@cogentembedded.com \
--cc=will.deacon@arm.com \
/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).