All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chanwoo Choi <cw00.choi-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
To: broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org
Cc: Chanwoo Choi <cw00.choi-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>,
	lgirdwood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org,
	robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
	myungjoo.ham-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org,
	kyungmin.park-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCHv2 0/2] regulator: of: Add support for pasing regulator suspend state
Date: Tue, 17 Jun 2014 09:39:51 +0900	[thread overview]
Message-ID: <539F8E57.4060502@samsung.com> (raw)
In-Reply-To: <1402447283-11356-1-git-send-email-cw00.choi-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>

Hi Mark,

Could you please review this patchset?

Best Regards,
Chanwoo Choi

On 06/11/2014 09:41 AM, Chanwoo Choi wrote:
> The regulators would set different state/mode according to the kind of suspend
> state. So regulation_constraints structure has already regulator suspend state filed.
> This patch parse regulator suspend state from devicetree file.
> 
> For example:
> 
> 	ldoX_reg: LDOx {
> 		regulator-name = "VAP_XXX_1.2V";
> 		regulator-min-microvolt = <1200000>;
> 		regulator-max-microvolt = <1200000>;
> 		regulator-always-on;
> 
> 		regulator-initial-state = <3>;	/* PM_SUSPEND_MEM */
> 		regulator-state-standby {
> 			regulator-volt = <1200000>;
> 			regulator-mode = <0x2>;	/* REGULATOR_MODE_NORMAL */
> 		};
> 
> 		regulator-state-mem {
> 			regulator-volt = <1200000>;
> 			regulator-mode = <0x8>;	/* REGULATOR_MODE_STANDBY */
> 			regulator-off-in-suspend;
> 		};
> 
> 		regulator-state-disk {
> 			regulator-volt = <1200000>;
> 			regulator-mode = <0x2>;	/* REGULATOR_MODE_NORMAL */
> 			regulator-on-in-suspend;
> 		};
> 	};
> 
> Changes from v1:
> - Check whether regulator-initial-state and regulator-mode is correct or not
> - Add more detailed description about regulator-initial-state, regulator-mode
>   and regulator-state-[standby/mem/disk] for devicetree bindings
> - Modify example of regulator suspend state in bindings documentation
> 
> Chanwoo Choi (2):
>   regulator: of: Add support for parsing regulator_state for suspend state
>   dt-bindings: regulator: Add regulator suspend state for PM state
> 
>  .../devicetree/bindings/regulator/regulator.txt    | 32 +++++++++
>  drivers/regulator/of_regulator.c                   | 76 +++++++++++++++++++++-
>  2 files changed, 106 insertions(+), 2 deletions(-)
> 

--
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

WARNING: multiple messages have this Message-ID (diff)
From: Chanwoo Choi <cw00.choi@samsung.com>
To: broonie@kernel.org
Cc: Chanwoo Choi <cw00.choi@samsung.com>,
	lgirdwood@gmail.com, grant.likely@linaro.org, robh+dt@kernel.org,
	myungjoo.ham@samsung.com, kyungmin.park@samsung.com,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCHv2 0/2] regulator: of: Add support for pasing regulator suspend state
Date: Tue, 17 Jun 2014 09:39:51 +0900	[thread overview]
Message-ID: <539F8E57.4060502@samsung.com> (raw)
In-Reply-To: <1402447283-11356-1-git-send-email-cw00.choi@samsung.com>

Hi Mark,

Could you please review this patchset?

Best Regards,
Chanwoo Choi

On 06/11/2014 09:41 AM, Chanwoo Choi wrote:
> The regulators would set different state/mode according to the kind of suspend
> state. So regulation_constraints structure has already regulator suspend state filed.
> This patch parse regulator suspend state from devicetree file.
> 
> For example:
> 
> 	ldoX_reg: LDOx {
> 		regulator-name = "VAP_XXX_1.2V";
> 		regulator-min-microvolt = <1200000>;
> 		regulator-max-microvolt = <1200000>;
> 		regulator-always-on;
> 
> 		regulator-initial-state = <3>;	/* PM_SUSPEND_MEM */
> 		regulator-state-standby {
> 			regulator-volt = <1200000>;
> 			regulator-mode = <0x2>;	/* REGULATOR_MODE_NORMAL */
> 		};
> 
> 		regulator-state-mem {
> 			regulator-volt = <1200000>;
> 			regulator-mode = <0x8>;	/* REGULATOR_MODE_STANDBY */
> 			regulator-off-in-suspend;
> 		};
> 
> 		regulator-state-disk {
> 			regulator-volt = <1200000>;
> 			regulator-mode = <0x2>;	/* REGULATOR_MODE_NORMAL */
> 			regulator-on-in-suspend;
> 		};
> 	};
> 
> Changes from v1:
> - Check whether regulator-initial-state and regulator-mode is correct or not
> - Add more detailed description about regulator-initial-state, regulator-mode
>   and regulator-state-[standby/mem/disk] for devicetree bindings
> - Modify example of regulator suspend state in bindings documentation
> 
> Chanwoo Choi (2):
>   regulator: of: Add support for parsing regulator_state for suspend state
>   dt-bindings: regulator: Add regulator suspend state for PM state
> 
>  .../devicetree/bindings/regulator/regulator.txt    | 32 +++++++++
>  drivers/regulator/of_regulator.c                   | 76 +++++++++++++++++++++-
>  2 files changed, 106 insertions(+), 2 deletions(-)
> 


  parent reply	other threads:[~2014-06-17  0:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-11  0:41 [PATCHv2 0/2] regulator: of: Add support for pasing regulator suspend state Chanwoo Choi
2014-06-11  0:41 ` Chanwoo Choi
2014-06-11  0:41 ` [PATCHv2 1/2] regulator: of: Add support for parsing regulator_state for " Chanwoo Choi
2014-06-11  0:41 ` [PATCHv2 2/2] dt-bindings: regulator: Add regulator suspend state for PM state Chanwoo Choi
     [not found] ` <1402447283-11356-1-git-send-email-cw00.choi-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-06-17  0:39   ` Chanwoo Choi [this message]
2014-06-17  0:39     ` [PATCHv2 0/2] regulator: of: Add support for pasing regulator suspend state Chanwoo Choi
     [not found]     ` <539F8E57.4060502-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-06-21 10:36       ` Mark Brown
2014-06-21 10:36         ` Mark Brown

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=539F8E57.4060502@samsung.com \
    --to=cw00.choi-sze3o3uu22jbdgjk7y7tuq@public.gmane.org \
    --cc=broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=kyungmin.park-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
    --cc=lgirdwood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=myungjoo.ham-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
    --cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.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.