All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v2] ARM: shmobile: silk: add SDHI1 DT support
Date: Thu, 13 Aug 2015 22:47:12 +0000	[thread overview]
Message-ID: <55CD1E70.6050103@cogentembedded.com> (raw)
In-Reply-To: <2757472.iuyUyRzJ3z@wasted.cogentembedded.com>

Hello.

On 08/11/2015 01:44 AM, Sergei Shtylyov wrote:

> Define the SILK board dependent part of the SDHI1 (connected to micro-SD slot)
> device nodes along with the necessary voltage regulators.
>
> Based on the original patch by Vladimir Barinov
> <vladimir.barinov@cogentembedded.com>.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>
> ---
> This patch is against 'renesas-devel-20150810-v4.2-rc6' tag of Simon Horman's
> 'renesas.git' repo plus the R8A7794/SILK QSPI patches just re-posted. It needs
> the R8A7794 GPIO patches in order to compile.
>
> Changes in version 2:
> - removed not working SDHI0 stuff, renamed the patch;
> - replaced SDHI1's "wp-gpios" property with "disable-wp".
>
>   arch/arm/boot/dts/r8a7794-silk.dts |   40 +++++++++++++++++++++++++++++++++++++
>   1 file changed, 40 insertions(+)
>
> Index: renesas/arch/arm/boot/dts/r8a7794-silk.dts
> =================================> --- renesas.orig/arch/arm/boot/dts/r8a7794-silk.dts
> +++ renesas/arch/arm/boot/dts/r8a7794-silk.dts
[...]
> @@ -39,6 +40,29 @@
>   		regulator-boot-on;
>   		regulator-always-on;
>   	};

    Oops, need a newline here. I'll repost.

> +	vcc_sdhi1: regulator@3 {
> +		compatible = "regulator-fixed";
> +
> +		regulator-name = "SDHI1 Vcc";
> +		regulator-min-microvolt = <3300000>;
> +		regulator-max-microvolt = <3300000>;
> +
> +		gpio = <&gpio4 26 GPIO_ACTIVE_HIGH>;
> +		enable-active-high;
> +	};
> +
> +	vccq_sdhi1: regulator@4 {
> +		compatible = "regulator-gpio";
> +
> +		regulator-name = "SDHI1 VccQ";
> +		regulator-min-microvolt = <1800000>;
> +		regulator-max-microvolt = <3300000>;
> +
> +		gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>;
> +		gpios-states = <1>;
> +		states = <3300000 1
> +			  1800000 0>;
> +	};
>   };
>
>   &extal_clk {
[...]

MBR, Sergei


WARNING: multiple messages have this Message-ID (diff)
From: sergei.shtylyov@cogentembedded.com (Sergei Shtylyov)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2] ARM: shmobile: silk: add SDHI1 DT support
Date: Fri, 14 Aug 2015 01:47:12 +0300	[thread overview]
Message-ID: <55CD1E70.6050103@cogentembedded.com> (raw)
In-Reply-To: <2757472.iuyUyRzJ3z@wasted.cogentembedded.com>

Hello.

On 08/11/2015 01:44 AM, Sergei Shtylyov wrote:

> Define the SILK board dependent part of the SDHI1 (connected to micro-SD slot)
> device nodes along with the necessary voltage regulators.
>
> Based on the original patch by Vladimir Barinov
> <vladimir.barinov@cogentembedded.com>.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
>
> ---
> This patch is against 'renesas-devel-20150810-v4.2-rc6' tag of Simon Horman's
> 'renesas.git' repo plus the R8A7794/SILK QSPI patches just re-posted. It needs
> the R8A7794 GPIO patches in order to compile.
>
> Changes in version 2:
> - removed not working SDHI0 stuff, renamed the patch;
> - replaced SDHI1's "wp-gpios" property with "disable-wp".
>
>   arch/arm/boot/dts/r8a7794-silk.dts |   40 +++++++++++++++++++++++++++++++++++++
>   1 file changed, 40 insertions(+)
>
> Index: renesas/arch/arm/boot/dts/r8a7794-silk.dts
> ===================================================================
> --- renesas.orig/arch/arm/boot/dts/r8a7794-silk.dts
> +++ renesas/arch/arm/boot/dts/r8a7794-silk.dts
[...]
> @@ -39,6 +40,29 @@
>   		regulator-boot-on;
>   		regulator-always-on;
>   	};

    Oops, need a newline here. I'll repost.

> +	vcc_sdhi1: regulator at 3 {
> +		compatible = "regulator-fixed";
> +
> +		regulator-name = "SDHI1 Vcc";
> +		regulator-min-microvolt = <3300000>;
> +		regulator-max-microvolt = <3300000>;
> +
> +		gpio = <&gpio4 26 GPIO_ACTIVE_HIGH>;
> +		enable-active-high;
> +	};
> +
> +	vccq_sdhi1: regulator at 4 {
> +		compatible = "regulator-gpio";
> +
> +		regulator-name = "SDHI1 VccQ";
> +		regulator-min-microvolt = <1800000>;
> +		regulator-max-microvolt = <3300000>;
> +
> +		gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>;
> +		gpios-states = <1>;
> +		states = <3300000 1
> +			  1800000 0>;
> +	};
>   };
>
>   &extal_clk {
[...]

MBR, Sergei

WARNING: multiple messages have this Message-ID (diff)
From: Sergei Shtylyov <sergei.shtylyov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
To: horms-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org,
	linux-sh-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
	pawel.moll-5wv7dgnIgG8@public.gmane.org,
	mark.rutland-5wv7dgnIgG8@public.gmane.org,
	ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org,
	galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: magnus.damm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: [PATCH v2] ARM: shmobile: silk: add SDHI1 DT support
Date: Fri, 14 Aug 2015 01:47:12 +0300	[thread overview]
Message-ID: <55CD1E70.6050103@cogentembedded.com> (raw)
In-Reply-To: <2757472.iuyUyRzJ3z-gHKXc3Y1Z8zGSmamagVegGFoWSdPRAKMAL8bYrjMMd8@public.gmane.org>

Hello.

On 08/11/2015 01:44 AM, Sergei Shtylyov wrote:

> Define the SILK board dependent part of the SDHI1 (connected to micro-SD slot)
> device nodes along with the necessary voltage regulators.
>
> Based on the original patch by Vladimir Barinov
> <vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
>
> ---
> This patch is against 'renesas-devel-20150810-v4.2-rc6' tag of Simon Horman's
> 'renesas.git' repo plus the R8A7794/SILK QSPI patches just re-posted. It needs
> the R8A7794 GPIO patches in order to compile.
>
> Changes in version 2:
> - removed not working SDHI0 stuff, renamed the patch;
> - replaced SDHI1's "wp-gpios" property with "disable-wp".
>
>   arch/arm/boot/dts/r8a7794-silk.dts |   40 +++++++++++++++++++++++++++++++++++++
>   1 file changed, 40 insertions(+)
>
> Index: renesas/arch/arm/boot/dts/r8a7794-silk.dts
> ===================================================================
> --- renesas.orig/arch/arm/boot/dts/r8a7794-silk.dts
> +++ renesas/arch/arm/boot/dts/r8a7794-silk.dts
[...]
> @@ -39,6 +40,29 @@
>   		regulator-boot-on;
>   		regulator-always-on;
>   	};

    Oops, need a newline here. I'll repost.

> +	vcc_sdhi1: regulator@3 {
> +		compatible = "regulator-fixed";
> +
> +		regulator-name = "SDHI1 Vcc";
> +		regulator-min-microvolt = <3300000>;
> +		regulator-max-microvolt = <3300000>;
> +
> +		gpio = <&gpio4 26 GPIO_ACTIVE_HIGH>;
> +		enable-active-high;
> +	};
> +
> +	vccq_sdhi1: regulator@4 {
> +		compatible = "regulator-gpio";
> +
> +		regulator-name = "SDHI1 VccQ";
> +		regulator-min-microvolt = <1800000>;
> +		regulator-max-microvolt = <3300000>;
> +
> +		gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>;
> +		gpios-states = <1>;
> +		states = <3300000 1
> +			  1800000 0>;
> +	};
>   };
>
>   &extal_clk {
[...]

MBR, Sergei

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2015-08-13 22:47 UTC|newest]

Thread overview: 108+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-21 22:25 [PATCH 0/2] Add R8A7794/SILK board SDHI DT support Sergei Shtylyov
2015-02-21 22:25 ` Sergei Shtylyov
2015-02-21 22:25 ` Sergei Shtylyov
2015-02-21 22:26 ` [PATCH 1/2] ARM: shmobile: r8a7794: add " Sergei Shtylyov
2015-02-21 22:26   ` Sergei Shtylyov
2015-02-21 22:26   ` Sergei Shtylyov
2015-02-23  0:28   ` Kuninori Morimoto
2015-02-23  0:28     ` Kuninori Morimoto
2015-02-23  0:28     ` Kuninori Morimoto
2015-02-23 11:18     ` Geert Uytterhoeven
2015-02-23 11:18       ` Geert Uytterhoeven
2015-02-23 11:18       ` Geert Uytterhoeven
2015-02-23 11:16   ` Geert Uytterhoeven
2015-02-23 11:16     ` Geert Uytterhoeven
2015-02-23 11:16     ` Geert Uytterhoeven
2015-02-23 22:00     ` Simon Horman
2015-02-23 22:00       ` Simon Horman
2015-02-23 22:00       ` Simon Horman
2015-02-21 22:27 ` [PATCH 2/2] ARM: shmobile: silk: add SDHI0/1 " Sergei Shtylyov
2015-02-21 22:27   ` Sergei Shtylyov
2015-02-21 22:27   ` Sergei Shtylyov
2015-02-22  0:45   ` Magnus Damm
2015-02-22  0:45     ` Magnus Damm
2015-02-22  0:45     ` Magnus Damm
2015-02-22 14:54     ` Sergei Shtylyov
2015-02-22 14:54       ` Sergei Shtylyov
2015-02-22 14:54       ` Sergei Shtylyov
2015-02-23 22:01       ` Simon Horman
2015-02-23 22:01         ` Simon Horman
2015-02-23 22:01         ` Simon Horman
2015-02-24  4:28       ` Magnus Damm
2015-02-24  4:28         ` Magnus Damm
2015-02-24  4:28         ` Magnus Damm
2015-08-10 22:44 ` [PATCH v2] ARM: shmobile: silk: add SDHI1 " Sergei Shtylyov
2015-08-10 22:44   ` Sergei Shtylyov
2015-08-10 22:44   ` Sergei Shtylyov
2015-08-12  1:26   ` Simon Horman
2015-08-12  1:26     ` Simon Horman
2015-08-12  1:26     ` Simon Horman
2015-08-21 20:57     ` Sergei Shtylyov
2015-08-21 20:57       ` Sergei Shtylyov
2015-08-21 20:57       ` Sergei Shtylyov
2015-08-21 22:18       ` Sergei Shtylyov
2015-08-21 22:18         ` Sergei Shtylyov
2015-08-21 22:18         ` Sergei Shtylyov
2015-09-02  2:29         ` Simon Horman
2015-09-02  2:29           ` Simon Horman
2015-09-02  2:29           ` Simon Horman
2015-09-04 23:47           ` Sergei Shtylyov
2015-09-04 23:47             ` Sergei Shtylyov
2015-09-04 23:47             ` Sergei Shtylyov
2015-09-18  0:21             ` Simon Horman
2015-09-18  0:21               ` Simon Horman
2015-09-18  0:21               ` Simon Horman
2015-09-18  2:56               ` Magnus Damm
2015-09-18  2:56                 ` Magnus Damm
2015-09-18  2:56                 ` Magnus Damm
2015-09-22 23:19                 ` Sergei Shtylyov
2015-09-22 23:19                   ` Sergei Shtylyov
2015-09-22 23:19                   ` Sergei Shtylyov
2015-09-29  8:44                   ` Magnus Damm
2015-09-29  8:44                     ` Magnus Damm
2015-09-29  8:44                     ` Magnus Damm
2015-10-06 20:12                     ` Sergei Shtylyov
2015-10-06 20:12                       ` Sergei Shtylyov
2015-10-06 20:12                       ` Sergei Shtylyov
2015-09-22 23:22               ` Sergei Shtylyov
2015-09-22 23:22                 ` Sergei Shtylyov
2015-09-22 23:22                 ` Sergei Shtylyov
2015-08-13 22:47   ` Sergei Shtylyov [this message]
2015-08-13 22:47     ` Sergei Shtylyov
2015-08-13 22:47     ` Sergei Shtylyov
2015-10-16 21:37 ` Sergei Shtylyov
2015-10-16 21:37   ` Sergei Shtylyov
2015-10-16 21:37   ` Sergei Shtylyov
2015-10-18 11:04   ` Sergei Shtylyov
2015-10-18 11:04     ` Sergei Shtylyov
2015-10-18 11:04     ` Sergei Shtylyov
2015-10-19  0:46     ` Simon Horman
2015-10-19  0:46       ` Simon Horman
2015-10-19  0:46       ` Simon Horman
2015-10-20 17:58       ` Sergei Shtylyov
2015-10-20 17:58         ` Sergei Shtylyov
2015-10-20 17:58         ` Sergei Shtylyov
2015-10-21  0:31         ` Simon Horman
2015-10-21  0:31           ` Simon Horman
2015-10-21  0:31           ` Simon Horman
2015-10-21 18:13           ` Sergei Shtylyov
2015-10-21 18:13             ` Sergei Shtylyov
2015-10-21 18:13             ` Sergei Shtylyov
2015-10-22  0:54             ` Simon Horman
2015-10-22  0:54               ` Simon Horman
2015-10-22  0:54               ` Simon Horman
2015-10-21 23:04 ` [PATCH 1/2] ARM: shmobile: r8a7790: fix "gpio-ranges" props Sergei Shtylyov
2015-10-21 23:04   ` Sergei Shtylyov
2015-10-21 23:04   ` Sergei Shtylyov
2015-10-23  0:19   ` Simon Horman
2015-10-23  0:19     ` Simon Horman
2015-10-23  0:19     ` Simon Horman
2015-10-21 23:05 ` [PATCH 2/2] ARM: shmobile: r8a7791: " Sergei Shtylyov
2015-10-21 23:05   ` Sergei Shtylyov
2015-10-21 23:05   ` Sergei Shtylyov
2015-10-22 11:06   ` Geert Uytterhoeven
2015-10-22 11:06     ` Geert Uytterhoeven
2015-10-22 11:06     ` Geert Uytterhoeven
2015-10-23  0:20     ` Simon Horman
2015-10-23  0:20       ` Simon Horman
2015-10-23  0:20       ` 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=55CD1E70.6050103@cogentembedded.com \
    --to=sergei.shtylyov@cogentembedded.com \
    --cc=linux-arm-kernel@lists.infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.