Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp327136ybc; Tue, 12 Nov 2019 02:04:15 -0800 (PST) X-Google-Smtp-Source: APXvYqwJXJdFMrB7u1qi2ietIkWTl1hRyQt5K5i4iDHWCEH15FrSiY6qsB+zBR1HK1RW3i7m490Y X-Received: by 2002:a05:6402:17f2:: with SMTP id t18mr22363262edy.264.1573553055217; Tue, 12 Nov 2019 02:04:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573553055; cv=none; d=google.com; s=arc-20160816; b=XYvqcbt9fip/Sv6RnRxvSN1OiR0mX2mFUjnA26F7CyhpaRzwOZnhcmXyZZMj1TjsK3 2SHM9wBStoFHuxnUnp59Xgww0P0PXZtxRkObGwfyFbIJvbe4SMvS037H9qpmoj098IiW efTrMES79D2NYU/5RNNzdq8QDhqh0qMzSumE3/tg5bv9Z1M1OJ/JADg3064ItJJpdkG5 GQQ7rxNEpk0UZflNWWlL+4yq6szGTKaxq35qaRP2larTMy/E1KlHOqDdjjAneQa3e4rh IN5dSLdyK7mJUQ5coBXuavV8Z4zt/A0J0KlrEJf3nNdj17jc3Rkpg2ESZY1AGZMpFDei 7/Dg== 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=4Rhd3fBFXDvbIClk+BI6muqbWgJ5BQ3WsmJMwXJi2o0=; b=mDXvpGXDc1oK+6buoIflHKLiRY0d8rQtd/wJB0Tk2km8SVgIZrcrnYkloBCwPqk/ru KqGZDkZlO8Oh/vbS3clTj2aD7jgno6huf7ixcaoJblhfoyQ1J5oNTqOz8n8fuAaW+DzC BFbcmdrKCXIRRd+RpMDuxfE0nuqEK7mqSexsGDNROnVlJjw3obolwYdfq/1e4ukiu9PY 2FEzTJauYM+x/UGA9sZCpAtfaGCaCqMRuyVWsVdUrmtzS/+zJBf/nN1TvaeCD/r0kwQQ R0cF9Ohb44eZmgWxCKNy1B5jskd9dCJN8z/iCoHOtxT9toidJ1eDD534umwEILsEadgl F/AQ== 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 j15si11795313ejv.335.2019.11.12.02.03.49; Tue, 12 Nov 2019 02:04:15 -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 S1726946AbfKLKDG (ORCPT + 99 others); Tue, 12 Nov 2019 05:03:06 -0500 Received: from regular1.263xmail.com ([211.150.70.195]:33194 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725834AbfKLKDG (ORCPT ); Tue, 12 Nov 2019 05:03:06 -0500 Received: from localhost (unknown [192.168.167.235]) by regular1.263xmail.com (Postfix) with ESMTP id 070C5BCF; Tue, 12 Nov 2019 18:02:55 +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 P3849T140143446607616S1573552957842936_; Tue, 12 Nov 2019 18:02:54 +0800 (CST) X-IP-DOMAINF: 1 X-UNIQUE-TAG: <3042783e90e705440e20c31947d337db> 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: akash@openedev.com X-SENDER-IP: 103.29.142.67 X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 Subject: Re: [PATCH 3/3] arm64: dts: rk3399: Add init voltage for vdd_log To: Markus Reichl , Soeren Moch , 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> From: Kever Yang Message-ID: <17e14b30-02ee-2379-8891-088677924479@rock-chips.com> Date: Tue, 12 Nov 2019 18:02:37 +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: 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 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), (note that if  no driver touch the regulator, the PWM is default input, not output;) 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ß,