Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp389802ybc; Tue, 12 Nov 2019 03:07:55 -0800 (PST) X-Google-Smtp-Source: APXvYqxxzifi6geRKwGecoD2PMjq4Apy+tWbpahDQB1LfDW0SpfFxavSIIwrsBpFhR+ADBxYGpZJ X-Received: by 2002:a17:907:36e:: with SMTP id rs14mr27898260ejb.330.1573556875348; Tue, 12 Nov 2019 03:07:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573556875; cv=none; d=google.com; s=arc-20160816; b=LJHnpgi22TOtSkLx+ENoTbOzRmmVQCPziwaWRQkF4lIhb1POdLW+XgiA653FzXzRql TX2kZldCNuym+f39PAnAU+c4/tJtK2Gt1TZHK5PHq788VguWs2jr8FLsEpIjSHYhfKFC rlydHU9QKvPs7R+G7mJKjJCwsErFV5+uvjAwDTQsAiHvftEpeFBV6DQADTbj2kaFI0E5 qlWcNqemSZlJfM8pL4rgNDp+VMrWec6QszdhCE4a/HbPQet0n5/Wks2UP9CvRceQza3A /qjxqs6xeJC4pKO+WVmDeBw8IKVaf43WQQcpuC4kES+bh5bYhiIWFsPQit+5ZzZPv7wf 5vHg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:autocrypt:from:references:cc:to:subject; bh=P0Q23suZkiDLAZywcjHWdOx7WsTsxXw/O7DN4UlXT70=; b=EP5QCPY/YuxcmOi2TFxZXXuOst9eHawNSR6M5haADkOkJkjdiUDkrYNLIVwkli9o3N gvHMv5fgfNDNDL8B2Blc8hUF0LV6rNbNydn+gIwyJtonUBDd8/zQVxos2M/v1VPE0wiz NvL4HLz0aZaNHjffGLb52TNBWrmfLSgOqyliFmUIqoQ6ruGnOZ4clhk/1xRb5bFGpxKm V+G+rCYzJ0wbjJR3cxdjz+xV89kn3mjvrUp+pL4xt+mET2JBPJs4xWMiFt34fEYv7blp cebPb6QuNXLnPsGvPHkvGCEa9KzcHQe5mHirGm2hu/VXDUXaschIiSsQl8y5yUWGX0wa M6cQ== 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 g53si12687618edb.313.2019.11.12.03.07.30; Tue, 12 Nov 2019 03:07:55 -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 S1726718AbfKLLGx (ORCPT + 99 others); Tue, 12 Nov 2019 06:06:53 -0500 Received: from wp126.webpack.hosteurope.de ([80.237.132.133]:45386 "EHLO wp126.webpack.hosteurope.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725957AbfKLLGx (ORCPT ); Tue, 12 Nov 2019 06:06:53 -0500 Received: from [2003:a:659:3f00:1e6f:65ff:fe31:d1d5] (helo=hermes.fivetechno.de); authenticated by wp126.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1iUU0Q-0007lz-FV; Tue, 12 Nov 2019 12:06:42 +0100 X-Virus-Scanned: by amavisd-new 2.11.1 using newest ClamAV at linuxbbg.five-lan.de Received: from [192.168.34.101] (p5098d998.dip0.t-ipconnect.de [80.152.217.152]) (authenticated bits=0) by hermes.fivetechno.de (8.15.2/8.14.5/SuSE Linux 0.8) with ESMTPSA id xACB6ahL019198 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Tue, 12 Nov 2019 12:06:37 +0100 Subject: Re: [PATCH 3/3] arm64: dts: rk3399: Add init voltage for vdd_log To: Soeren Moch , Kever Yang , heiko@sntech.de Cc: Mark Rutland , =?UTF-8?Q?Andrius_=c5=a0tikonas?= , Vivek Unune , Alexis Ballier , devicetree@vger.kernel.org, Katsuhiro Suzuki , Robin Murphy , Elaine Zhang , linux-kernel@vger.kernel.org, Vicente Bergas , Ezequiel Garcia , linux-rockchip@lists.infradead.org, Rob Herring , Pragnesh Patel , Oskari Lemmela , Akash Gajjar , Nick Xie , Peter Robinson , Hugh Cole-Baker , linux-arm-kernel@lists.infradead.org, Andy Yan References: <20191111005158.25070-1-kever.yang@rock-chips.com> <20191111005158.25070-3-kever.yang@rock-chips.com> <1eaef5d5-c923-da56-b9c4-48d517b3c969@rock-chips.com> <17e14b30-02ee-2379-8891-088677924479@rock-chips.com> From: Markus Reichl Autocrypt: addr=m.reichl@fivetechno.de; prefer-encrypt=mutual; keydata= xsDNBFs02GcBDADRBOYE75/gs54okjHfQ1LK8FfNH5yMq1/3MxhqP7gsCol5ZGbdNhJ7lnxX jIEIlYfd6EgJMJV6E69uHe4JF9RO0BDdIy79ruoxnYaurxB40qPtb+YyTy3YjeNF3NBRE+4E ffvY5AQvt3aIUP83u7xbNzMfV4JuxaopB+yiQkGo0eIAYqdy+L+5sHkxj/MptMAfDKvM8rvT 4LaeqiGG4b8xsQRQNqbfIq1VbNEx/sPXFv6XDYMehYcbppMW6Zpowd46aZ5/CqP6neQYiCu2 rT1pf/s3hIJ6hdauk3V5U8GH/vupCNKA2M2inrnsRDVsYfrGHC59JAB545/Vt8VNJT5BAPKP ka4lgIofVmErILAhLtxu3iSH6gnHWTroccM/j0kHOmrMrAmCcLrenLMmB6a/m7Xve5J7F96z LAWW6niQyN757MpgVQWsDkY2c5tQeTIHRlsZ5AXxOFzA44IuDNIS7pa603AJWC+ZVqujr80o rChE99LDPe1zZUd2Une43jEAEQEAAc0iTWFya3VzIFJlaW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plUqHnJvKdjO7zCI4u6T6hjvciBrg EBB+uN15uGg+LODRZ4Ue0KaWoiH6n1IxABEBAAHCwN8EGAEKAAkFgls02GcCmwwACgkQOiXe Dmsa/bKWFgwAw3hc1BGC65BhhcYyikqRNI6jnHQVC29ax1RTijC2PJZ5At+uASYAy97A2WjC L3UdLU/B6yhcEt3U6gwQgQbfrbPObjeZi8XSQzP2qZI8urjnIPUG7WYDK8grFqpjvAWPBhpS B5CeMaICi9ppZnqkE3/d/NMXHCU/qbARpATJGODk64GnJEnlSWDbWfTgEUd+lnUQVKAZfy5Z 5oYabpGpG5tDM49LxuC4ZpTkKiX+eT1YxsKH9fCSFnETR54ZVCS7NQDOTtpHDA2Qz2ie3sNC H7YyH580i9znwePyhCFQQeX+jo2r2GQ0v+kOQrL9wwluW6xNWBakhLanQFrHypn7azpOCaIr pWfxOm9CPEk4zGjQmE7sW1HfIdYC39OeEEnoPdnNGxn7sf6Fuv+fahAs8ls33JBdtEAPLiR8 Dm43HZwTBXPwasFHnGkF10N7aXf3r8WYpctbZYlcT5EV9m9i4jfWoGzHS5V4DXmv6OBmdLYk eD/Xv4SsK2JTO4nkQYw8 Organization: five technologies GmbH Message-ID: Date: Tue, 12 Nov 2019 12:06:36 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: 8bit X-bounce-key: webpack.hosteurope.de;m.reichl@fivetechno.de;1573556811;c921f886; X-HE-SMSGID: 1iUU0Q-0007lz-FV Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dear Sore, Kever, Am 12.11.19 um 11:19 schrieb Soeren Moch: > > > On 12.11.19 11:02, Kever Yang wrote: >> Markus, >> >> >> On 2019/11/12 下午4:16, Markus Reichl wrote: >>> Hi Kever, >>> >>> have a rk3399-roc-pc running mainline U-Boot and kernel and vdd_log is >>> showing 1118 mV. >> >> The rk3399-roc-pc have the same vdd_log circuit in schematic, so it >> should like the patch 1/3 of >> >> this patch set. >> >> I don't understand who is setting this value, maybe the default value >> without pwm regulator enabled? >> >>> Is this a danger for the board? >>> How to fix it? >> >> The best way is to set correct min/max microvolt of the >> regulator(measure with PWM output low and high), > I didn't look into the schematic of this board, but if it is similar to > RockPro64, setting the pwm regulator to the max voltage of 1.7V will > probably kill the rk3399 immediately. So I recommend not to do this... > It has to be set to 450mV - 1400mV to give 953mV. I will come out with a patch that fixes this. > Regards, > Soeren >> >> (note that if  no driver touch the regulator, the PWM is default >> input, not output;) >> to >> and set a init-microvolt for U-Boot driver, and I think no kernel >> driver touch this regulator now. >> >> >> Thanks, >> >> - Kever >> >>> Btw. vin-supply for this pwm-regulator is ignored and I could not >>> find it >>> in bindings doc. >>> >>> Gruß, >> >> > > > _______________________________________________ > Linux-rockchip mailing list > Linux-rockchip@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-rockchip > Gruß, -- Markus Reichl