[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <7587293.TUNouLJ331@phil>
Date: Tue, 15 May 2018 11:49:10 +0200
From: Heiko Stuebner <heiko@...ech.de>
To: David Wu <david.wu@...k-chips.com>
Cc: khilman@...libre.com, rafael.j.wysocki@...el.com, nm@...com,
huangtao@...k-chips.com, linux-rockchip@...ts.infradead.org,
linux-pm@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] PM / AVS: rockchip-io: add io selectors and supplies for PX30
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@...k-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@...ech.de>
Thanks
Heiko
Powered by blists - more mailing lists