Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp361241imm; Tue, 15 May 2018 02:50:16 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr1owVmNiVU1BpstylvNvqZBMPyuWiXitMKTcSj2kG8DCDWGuIbi/a0uUZkhI8BajtvjpQW X-Received: by 2002:a17:902:a585:: with SMTP id az5-v6mr13655266plb.79.1526377816459; Tue, 15 May 2018 02:50:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526377816; cv=none; d=google.com; s=arc-20160816; b=lP4+QKzq83a4GMgVb+2ezBfvOzQqS7RU1nbwF/WKz6kTv79Uzlc+FuIfKBAkxTcaOI U5D4AGBbretxiKOi6ftZDzMKkjpBraszkJJznXxYzSIs31hhLaFk8vvElBvOUlNsNitp zYHKGFdoqpSFmgFtxl1GBIufQ+iHZSUI4gP4zvCC39dnKTo0H1DpzH27oqMjO6jbxVV8 lidCA0jLkW0VEM/33Ec8n+d4TK5yHnrT9ejs4+Z2a/RtHuxX2oPvF0LTuQxz0es6iI4s ytY0dw5Q48KikiUz9RZM9F//oYQiaI/6ILvB3UFMEuVaujCILM+Qhgl6Z/20rkg+dbnA 5P3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=ZwKcEUGF+NKGRpOpusQ0JdxLAN9VNMAFW3TlAVsK5hk=; b=WWa/yAtyfLpNzHh4Y0brTjASR4vTSJ/Wfap4p4NTcNEXCwt5hkm607hGNgh+fZUqgU NezxlPHSrNej666u9q2OtCupx5ZkgUe2xA/p3AwrOvHdAf9aaJ04eZsB75dIeymF+G3Z azz6I7Qtdk9/f8SbQdpAhhaO0oAIv5X6l+dPNw6Rk9cEMZ+t6LT2PgUD6b+deTz04dPB kfU9J7PwnmbmHythD82hp42MMJsYhuZs5O4vQyl0Ir7Ym2+GRNrlRL/M/SK0Xn1I/cbf yyrTNpQtruDRJUXW2nC50Ehr+H7+snPGqDSew06sw7BjvrOZuF9pbOgmE32Cmn+qz7+Y RmgQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l30-v6si11365284plg.420.2018.05.15.02.50.01; Tue, 15 May 2018 02:50:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752574AbeEOJtk (ORCPT + 99 others); Tue, 15 May 2018 05:49:40 -0400 Received: from gloria.sntech.de ([95.129.55.99]:43530 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752129AbeEOJtj (ORCPT ); Tue, 15 May 2018 05:49:39 -0400 Received: from wd0766.dip.tu-dresden.de ([141.76.110.254] helo=phil.localnet) by gloria.sntech.de with esmtpsa (TLS1.1:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1fIWa4-0008T3-JC; Tue, 15 May 2018 11:49:16 +0200 From: Heiko Stuebner To: David Wu 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 Message-ID: <7587293.TUNouLJ331@phil> In-Reply-To: <1526376217-3833-1-git-send-email-david.wu@rock-chips.com> References: <1526376217-3833-1-git-send-email-david.wu@rock-chips.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > .../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 Thanks Heiko