From patchwork Thu Nov 5 05:41:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 319566 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 056A7C00A89 for ; Thu, 5 Nov 2020 05:42:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 95B222151B for ; Thu, 5 Nov 2020 05:41:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728301AbgKEFli (ORCPT ); Thu, 5 Nov 2020 00:41:38 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:41313 "EHLO out4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730751AbgKEFli (ORCPT ); Thu, 5 Nov 2020 00:41:38 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 7CA205C0124; Thu, 5 Nov 2020 00:41:37 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Thu, 05 Nov 2020 00:41:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm1; bh=1DeLvsz3Vh2Tq naJT1F6Tq65fu4iaiULawNvWxF4wS8=; b=VE0PaOm0vHlvkr/0NRN5krsg++4k9 OdQKcfPV52iaZIpypvX9oo/+qTeoiLF0L8y+Qhu5QyA8DiIX1MyKqy5PWSM2vxQw BPJtWF8w6EWlQAqW1Lu4UcWqJoASUFwt4eitj0Pwv5G6kdXW9pn/OynpkBh689Ls qYVQM7EZUZ5x2zD9PhgFFbwAp4eoEtJ5+mBlx/4khutF1pdVX/DFivs94vH0mE98 RCESIOoyY8XjrGSSIY7V1YlFHf39pPck3eyf877q4PYPLfV0bE+Q1FPKMagi7Jxz HILLo8IrZ9o1JAD2+BQApfHKkbWzn0s4qkNkyXyUFdXqke2co45rBPq4Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=1DeLvsz3Vh2TqnaJT1F6Tq65fu4iaiULawNvWxF4wS8=; b=g7ijo1vs 2eZ5KwBhndN8CW/wCBLGLw+Ub/4/qPrkDX5roGquTl/vMShI5hw+mP/UiH/bNr4l Sl8DIRUUd/T0fHRiaow8aN5rWhMseAqbOlZ8olr2DmwqgmzhV8ZJdUzLt4YF1Yr0 lQAwL2pWYk8+tCqYf8IhggOHz+C5v/hoOewR5t9ivpAadhZAdsrOvUEEiAvB8iyf o52YwsAwmhRxyiSsIT37lA1HC3Dv+lGwvVOKTWuAZXo04jdcSzRGcY2h/ZFtguoy aGUoqFCIjbg/uB9z0gPLs67UMp7FfX7IE0uxW1Qv08hF2bLyO2RisPzoCgXDuJ7V GA7cn3jj2nWkyA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddtiedgkeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgv lhcujfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtf frrghtthgvrhhnpeduhfejfedvhffgfeehtefghfeiiefgfeehgfdvvdevfeegjeehjedv gfejheeuieenucfkphepjedtrddufeehrddugeekrdduhedunecuvehluhhsthgvrhfuih iivgepudenucfrrghrrghmpehmrghilhhfrhhomhepshgrmhhuvghlsehshhholhhlrghn ugdrohhrgh X-ME-Proxy: Received: from titanium.stl.sholland.net (70-135-148-151.lightspeed.stlsmo.sbcglobal.net [70.135.148.151]) by mail.messagingengine.com (Postfix) with ESMTPA id CC75B328038D; Thu, 5 Nov 2020 00:41:36 -0500 (EST) From: Samuel Holland To: Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec , linux-arm-kernel@lists.infradead.org Cc: Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Samuel Holland Subject: [PATCH 2/6] arm64: dts: allwinner: pinephone: Set ALDO3 to exactly 3v0 Date: Wed, 4 Nov 2020 23:41:31 -0600 Message-Id: <20201105054135.24860-3-samuel@sholland.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201105054135.24860-1-samuel@sholland.org> References: <20201105054135.24860-1-samuel@sholland.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org ALDO3 is used as the power supply for the LRADC keys voltage divider, in addition to supplying AVCC and VCC-PLL. While AVCC and VCC-PLL will accept any voltage between 2v7 and 3v3, LRADC needs a precise 3v0 input to maintain the expected 2:3 ratio between the internal 2v0 reference voltage and the external supply. Signed-off-by: Samuel Holland --- arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi index 48050bbd941d..57c89c3b71e9 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi @@ -270,8 +270,8 @@ ®_aldo2 { ®_aldo3 { regulator-always-on; - regulator-min-microvolt = <2700000>; - regulator-max-microvolt = <3300000>; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3000000>; regulator-name = "vcc-pll-avcc"; };