Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp345671ybc; Tue, 12 Nov 2019 02:23:21 -0800 (PST) X-Google-Smtp-Source: APXvYqzXqXP9geHfp8bcOO8twsu85bVxK5wBVADxCDRqWkO8tQ2jrJuQYL9zGS45cFqaYRkbLL6M X-Received: by 2002:aa7:db52:: with SMTP id n18mr30799961edt.169.1573554201392; Tue, 12 Nov 2019 02:23:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573554201; cv=none; d=google.com; s=arc-20160816; b=w6WxepmqnmO9QPxHudXJV8TXQeFcSTQWlL8mz+sXfOF2ZlXljBp9eLfsIJ9yRp0izk Z4WAaCrc+LF3oq1OwVyvm9mX8wQLwXR3RctSXCiTN12kMiEo73w0mGDNdSvVPZ/2GeGX 2aqrwBcObLM/aXF17fnuYmbDZ0tpJcB2+TJ9WqYRpnMdpEprB7qMleYA89Q8ZXKced65 9hBnC+UVW+2jJKZw3p7cIm43xtjouapMhtCaWAjqk0X5VPbMQmKmAxR7e2REE4ct5kMK T3H7jRkcjsknsLUKCBlzIct+bcNXP9SDbXrTxHnQ7PVyTPIlkc9zsR6WtZR1XjfAQBcc r36w== 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:dkim-signature; bh=zKVb9WMuQ7zRQYv1GZLrzWxEJS3VRLzbpd64rrU9ml8=; b=J3HnLpkhAgt+JqZLqj97x2ogZmErc4IwzzVEA/T9vLGmE51zfYTkmZrLaR1cWSNqjA mq/phamjEWEMIMYzvJSHazk4KYmK/JgZUUjAsMH4EMvOhxjN9gDqbVRwfb11G+Fy2x3W yKHtPb9s7UMmyMYsYrHjo9iGN3xFFUJEKA7yBbeZH1HCTlXu/D2tRA0IqkcfAVgsZGk8 BKW7iFKsRosPULtE29NUdhXKtWCV8xhiBgKiqMpkSqsxgQljtAkNIt3nyffSrD1u2VPp /drfWziSvRRvQ4Vn/zvNmFmivVd9iYG67IOMfxUkQ3UQXPZaM61PynwfWVKsu/eIdRYr QLbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@web.de header.s=dbaedf251592 header.b=GQMA3WZ0; 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 p37si12594359eda.405.2019.11.12.02.22.57; Tue, 12 Nov 2019 02:23:21 -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; dkim=pass header.i=@web.de header.s=dbaedf251592 header.b=GQMA3WZ0; 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 S1726958AbfKLKWM (ORCPT + 99 others); Tue, 12 Nov 2019 05:22:12 -0500 Received: from mout.web.de ([212.227.15.4]:33679 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725865AbfKLKWM (ORCPT ); Tue, 12 Nov 2019 05:22:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1573554084; bh=zKVb9WMuQ7zRQYv1GZLrzWxEJS3VRLzbpd64rrU9ml8=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=GQMA3WZ0htXxLWCRbHaT+ovKpkoJXAZLw7lNKlSZKtjbRw6nkBHzIlwI20F6wbWRF QUdd2+2+k6s4YXXHIPaiCs3p9Oqfi9E+v4wfHe9yyxVanEvj+VgiPp/c54D/S0HgFy g9e3sNtem/DrGXg8yzEY318FXh/dJvQ3K/sq3MEI= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from [192.168.43.108] ([89.204.137.77]) by smtp.web.de (mrweb001 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MDgPG-1ig4gE0LSY-00H9Ox; Tue, 12 Nov 2019 11:21:24 +0100 Subject: Re: [PATCH 3/3] arm64: dts: rk3399: Add init voltage for vdd_log To: Kever Yang , Markus Reichl , heiko@sntech.de Cc: Mark Rutland , =?UTF-8?Q?Andrius_=c5=a0tikonas?= , linux-kernel@vger.kernel.org, Alexis Ballier , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Katsuhiro Suzuki , Hugh Cole-Baker , Elaine Zhang , Andy Yan , Robin Murphy , Vicente Bergas , Oskari Lemmela , linux-rockchip@lists.infradead.org, Rob Herring , Pragnesh Patel , Peter Robinson , Nick Xie , Ezequiel Garcia , Vivek Unune , Akash Gajjar 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: Soeren Moch Message-ID: Date: Tue, 12 Nov 2019 11:19:19 +0100 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: <17e14b30-02ee-2379-8891-088677924479@rock-chips.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-GB X-Provags-ID: V03:K1:dSsn12ZY5BPyYvsi5lOeFhAuWonqE2SikhTXUxedBa/QOws+FOu Lwoaiezl4xgI1mVpEmVtCXu1r3/IWm0Mpa/jX8cRphuYEKuHOBLd3Ln5wP3NL9qZQH3xQ5E So6xWNQ6sErfO9qtb+M64aJo8Qk8imKVclSLc97xLYfJrlZHzDePPQQkF/Z/xys1w5ZsA/a XDJ43CAYOO5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/zN3u7dTUDp9DA8 roLuO8FL+NACkTlysHVHPfiIUoz1eG1e+PiT8Qxw2D1f8wGm7SX+HklutniawQ26s7pOw/RkK oxHlZWvDovRMtVRRg3s2rkBntZLiUOQN3/FkTNYKJRf9Lu+s8tGBhBmqsbILTb7wPRpHnpL9i nxbZgpy2HMUWKEPqiHdsXG4PEn36I2g6JICQv/VWbys1USOK8ULlUXGPERWtedBD6EWDYjUhh kX2CKVcV2/19i74gmCW1yWaIvvK9J+nuy7/naHA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12.11.19 11:02, Kever Yang wrote: > Markus, > > > On 2019/11/12 =E4=B8=8B=E5=8D=884: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... Regards, Soeren > > (note that if=C2=A0 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=C3=9F, > >