Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp233771ybc; Tue, 12 Nov 2019 00:11:46 -0800 (PST) X-Google-Smtp-Source: APXvYqzmA4kY+G0YPGzWZHE9SpVW45zTEiZoae28pXLWhxvi4NuU9tI6h3+vAdld4eJKYzu8L/Q5 X-Received: by 2002:a17:907:2070:: with SMTP id qp16mr27105980ejb.115.1573546306662; Tue, 12 Nov 2019 00:11:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573546306; cv=none; d=google.com; s=arc-20160816; b=U8iHWACiFJ6znq/aezfjjNWaEMlRzkwRMZQ9T8Frrh34x3H+Sgv5wGY8iRwQYAlsH0 icPKh6EyvZlVTWTMf5xRIHn7Jy31V/Yms0pxr1pOo2ehWQbRAi9arsiFj4kvBpHDaTUh 20UZIuCIZcex0M8m9BvOdkLShvnU+QhSGDH6yaN5CuZFj/C06w4F+sVjpvHoxrWx9ve3 k+ovtM55SzFGTOnqQiPyqkCQt8IN7Yl9xFzjHC6QkH+7K8UpUcoUi4whbA1O0cTsipUc QKUxo+aD5z0PTjrKo8Lp0e4Xb2D4ZVCA27pOU7zABJTAPJpzrjlBwaa2XAi/42I51145 3dMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=jZnktARwa1inMBED4RPDLH7GaUB3nmQ77YhXOhYweNs=; b=BO1cwtITHShCUE3L/s889X0keeqEFKrXYiE/qE3h08LO5kvezdZPM55eIotVrv8HIQ DA3/FW4UnUTejH3cO3yDtGkKtZ6n7WtbXysfpA5AOTorAoEJvrUUNtGR2xAAB305v4JE MNQp2pv4iIt47S5Yg6yuwI5kJ2RXHWlZVjT2wLQ8Ji79h3lCVsIrrFC6UDkMBofd706y HcteM7GF8Rf2ZyByxwlI5/Li50YwpzcSaNJMpvnAT3QMGJr9liGsz5kpZPmVMALCKbKA e+4SjXouQmpclWANY5sKnWgA5vXpA+gknAq1NO962M/D8Ik1apekGp61Idlx+A6bWvCj URTg== 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 x28si15815329edl.21.2019.11.12.00.11.22; Tue, 12 Nov 2019 00:11:46 -0800 (PST) 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 S1725847AbfKLIKj (ORCPT + 99 others); Tue, 12 Nov 2019 03:10:39 -0500 Received: from regular1.263xmail.com ([211.150.70.205]:51744 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725283AbfKLIKj (ORCPT ); Tue, 12 Nov 2019 03:10:39 -0500 X-Greylist: delayed 313 seconds by postgrey-1.27 at vger.kernel.org; Tue, 12 Nov 2019 03:10:34 EST Received: from localhost (unknown [192.168.165.103]) by regular1.263xmail.com (Postfix) with ESMTP id 19ABB3F8; Tue, 12 Nov 2019 16:10:32 +0800 (CST) X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-ADDR-CHECKED4: 1 X-ANTISPAM-LEVEL: 2 X-SKE-CHECKED: 1 X-ABS-CHECKED: 1 Received: from [192.168.60.65] (unknown [103.29.142.67]) by smtp.263.net (postfix) whith ESMTP id P28956T140214120982272S1573546217072329_; Tue, 12 Nov 2019 16:10:25 +0800 (CST) X-IP-DOMAINF: 1 X-UNIQUE-TAG: <2dae6d66972adefe869be260d0fd7220> X-RL-SENDER: kever.yang@rock-chips.com X-SENDER: yk@rock-chips.com X-LOGIN-NAME: kever.yang@rock-chips.com X-FST-TO: linux-kernel@vger.kernel.org X-SENDER-IP: 103.29.142.67 X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 Subject: Re: [PATCH 2/3] arm64: dts: rk3399-rock960: add vdd_log To: Manivannan Sadhasivam Cc: heiko@sntech.de, linux-rockchip@lists.infradead.org, Akash Gajjar , Ezequiel Garcia , Jagan Teki , Mark Rutland , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20191111005158.25070-1-kever.yang@rock-chips.com> <20191111005158.25070-2-kever.yang@rock-chips.com> <20191111052232.GA2842@Mani-XPS-13-9360> From: Kever Yang Message-ID: <3d129826-7705-819e-e68b-cc9080eb6c95@rock-chips.com> Date: Tue, 12 Nov 2019 16:10:17 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20191111052232.GA2842@Mani-XPS-13-9360> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019/11/11 下午1:22, Manivannan Sadhasivam wrote: > Hi Kever, > > On Mon, Nov 11, 2019 at 08:51:57AM +0800, Kever Yang wrote: >> Add vdd_log node according to rock960 schematic V13. >> >> Signed-off-by: Kever Yang >> --- >> >> arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi | 12 ++++++++++++ >> 1 file changed, 12 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi >> index c7d48d41e184..73afee257115 100644 >> --- a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi >> +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi >> @@ -76,6 +76,18 @@ >> regulator-always-on; >> vin-supply = <&vcc5v0_sys>; >> }; >> + >> + vdd_log: vdd-log { >> + compatible = "pwm-regulator"; >> + pwms = <&pwm2 0 25000 1>; >> + regulator-name = "vdd_log"; >> + regulator-always-on; >> + regulator-boot-on; >> + regulator-min-microvolt = <800000>; >> + regulator-max-microvolt = <1400000>; >> + regulator-init-microvolt = <950000>; > The default value seems to be 0.9v as per both Rock960 and Ficus schematics. The default value is 0.9V when pwm-regulator is not enabled, and this 'init-microvolt' suppose to set the init value when pwm-regulator is enabled. I set this to 950mV because Peter report that he experience the system hang during Fedora boot  up, and update the vdd_log to 950mV can fix the issue due to engineer measure on another rk3399 board puma-Q7. Thanks, - Kever > > Other than that, > Acked-by: Manivannan Sadhasivam > > Thanks, > Mani > >> + vin-supply = <&vcc_sys>; >> + }; >> }; >> >> &cpu_l0 { >> -- >> 2.17.1 >>