From: Heiko Stuebner <heiko@sntech.de>
To: David Wu <david.wu@rock-chips.com>
Cc: khilman@baylibre.com, rafael.j.wysocki@intel.com, nm@ti.com,
huangtao@rock-chips.com, linux-rockchip@lists.infradead.org,
linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] PM / AVS: rockchip-io: add io selectors and supplies for PX30
Date: Tue, 15 May 2018 11:49:10 +0200 [thread overview]
Message-ID: <7587293.TUNouLJ331@phil> (raw)
In-Reply-To: <1526376217-3833-1-git-send-email-david.wu@rock-chips.com>
Hi David,
looks good overall, some small things below.
Am Dienstag, 15. Mai 2018, 11:23:37 CEST schrieb David Wu:
> This adds the necessary data for handling io voltage domains on PX30.
> As interesting tidbit, the PX30 contains two separate iodomain areas.
> One in the regular General Register Files (GRF) and one in PMUGRF in the
> pmu power domain.
>
> Signed-off-by: David Wu <david.wu@rock-chips.com>
> ---
> .../bindings/power/rockchip-io-domain.txt | 2 +
> drivers/power/avs/rockchip-io-domain.c | 68 ++++++++++++++++++++++
> 2 files changed, 70 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/power/rockchip-io-domain.txt b/Documentation/devicetree/bindings/power/rockchip-io-domain.txt
> index 4a4766e..c2595ba 100644
> --- a/Documentation/devicetree/bindings/power/rockchip-io-domain.txt
> +++ b/Documentation/devicetree/bindings/power/rockchip-io-domain.txt
> @@ -31,6 +31,8 @@ SoC is on the same page.
>
> Required properties:
> - compatible: should be one of:
> + - "rockchip,px30-io-voltage-domain" for px30
> + - "rockchip,px30-pmu-io-voltage-domain" for px30 pmu-domains
> - "rockchip,rk3188-io-voltage-domain" for rk3188
> - "rockchip,rk3228-io-voltage-domain" for rk3228
> - "rockchip,rk3288-io-voltage-domain" for rk3288
please also define the px30-specific supply names as can be seen in that
file for the other socs.
Also, please include devicetree maintainers, when modifying
binding documents.
> +static const struct rockchip_iodomain_soc_data soc_data_px30 = {
> + .grf_offset = 0x180,
> + .supply_names = {
> + NULL,
> + "vccio6",
> + "vccio1",
> + "vccio2",
> + "vccio3",
> + "vccio4",
> + "vccio5",
> + "vccio_oscgpi",
vccio-oscgpi ... aka with a "-" instead of "_"
With the above fixed
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Thanks
Heiko
WARNING: multiple messages have this Message-ID (diff)
From: heiko@sntech.de (Heiko Stuebner)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] PM / AVS: rockchip-io: add io selectors and supplies for PX30
Date: Tue, 15 May 2018 11:49:10 +0200 [thread overview]
Message-ID: <7587293.TUNouLJ331@phil> (raw)
In-Reply-To: <1526376217-3833-1-git-send-email-david.wu@rock-chips.com>
Hi David,
looks good overall, some small things below.
Am Dienstag, 15. Mai 2018, 11:23:37 CEST schrieb David Wu:
> This adds the necessary data for handling io voltage domains on PX30.
> As interesting tidbit, the PX30 contains two separate iodomain areas.
> One in the regular General Register Files (GRF) and one in PMUGRF in the
> pmu power domain.
>
> Signed-off-by: David Wu <david.wu@rock-chips.com>
> ---
> .../bindings/power/rockchip-io-domain.txt | 2 +
> drivers/power/avs/rockchip-io-domain.c | 68 ++++++++++++++++++++++
> 2 files changed, 70 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/power/rockchip-io-domain.txt b/Documentation/devicetree/bindings/power/rockchip-io-domain.txt
> index 4a4766e..c2595ba 100644
> --- a/Documentation/devicetree/bindings/power/rockchip-io-domain.txt
> +++ b/Documentation/devicetree/bindings/power/rockchip-io-domain.txt
> @@ -31,6 +31,8 @@ SoC is on the same page.
>
> Required properties:
> - compatible: should be one of:
> + - "rockchip,px30-io-voltage-domain" for px30
> + - "rockchip,px30-pmu-io-voltage-domain" for px30 pmu-domains
> - "rockchip,rk3188-io-voltage-domain" for rk3188
> - "rockchip,rk3228-io-voltage-domain" for rk3228
> - "rockchip,rk3288-io-voltage-domain" for rk3288
please also define the px30-specific supply names as can be seen in that
file for the other socs.
Also, please include devicetree maintainers, when modifying
binding documents.
> +static const struct rockchip_iodomain_soc_data soc_data_px30 = {
> + .grf_offset = 0x180,
> + .supply_names = {
> + NULL,
> + "vccio6",
> + "vccio1",
> + "vccio2",
> + "vccio3",
> + "vccio4",
> + "vccio5",
> + "vccio_oscgpi",
vccio-oscgpi ... aka with a "-" instead of "_"
With the above fixed
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Thanks
Heiko
next prev parent reply other threads:[~2018-05-15 9:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-15 9:23 [PATCH] PM / AVS: rockchip-io: add io selectors and supplies for PX30 David Wu
2018-05-15 9:23 ` David Wu
2018-05-15 9:49 ` Heiko Stuebner [this message]
2018-05-15 9:49 ` Heiko Stuebner
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=7587293.TUNouLJ331@phil \
--to=heiko@sntech.de \
--cc=david.wu@rock-chips.com \
--cc=huangtao@rock-chips.com \
--cc=khilman@baylibre.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=nm@ti.com \
--cc=rafael.j.wysocki@intel.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 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.