From patchwork Mon Nov 26 15:27:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Priit Laes X-Patchwork-Id: 10698525 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A8E9113BB for ; Mon, 26 Nov 2018 15:31:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9599329F74 for ; Mon, 26 Nov 2018 15:31:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 89AF229FB9; Mon, 26 Nov 2018 15:31:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.4 required=2.0 tests=BAYES_00,DKIM_ADSP_ALL, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1E5A129F93 for ; Mon, 26 Nov 2018 15:31:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=gzCdTwoMq2F3o9fyYV9TSsn0MtU7Grn03SgXKm+8xFQ=; b=OKELQ85rmgi9Vr e0ZiKURtG8swkrGE+duNPeMl+3y/5+9bbbwWcktXXjyR5esceMzYpz6B/28LYjE7iQ66TFRnFkRJG 8AYQzANqOy4bbQOMxP7ecZNld/thujL2GWfNym9lCSGaahyYA9RA/rfgBihL0k6dRv+49LhdHrZ/R jBSo1GTJg9woJRP+HN+QEcowIJpih6tbrwbeuNAre7mRAZcjq7a1kwKUyNCcJPckmlddXd3lfkvX5 bbqD8eCmRA+tbpnx79XKyBVJBDx/MRzk0VB7U836MR9Q6mTU3Svn5KYj5NuIbRoNMr7vyA3XX2cYh q9n1Wvx3wy7YxYca5Nug==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gRIrZ-0001GQ-Fo; Mon, 26 Nov 2018 15:31:53 +0000 Received: from plaes.org ([188.166.43.21]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gRIp9-0005jK-BX for linux-arm-kernel@lists.infradead.org; Mon, 26 Nov 2018 15:29:39 +0000 Received: from localhost (85.253.196.132.cable.starman.ee [85.253.196.132]) by plaes.org (Postfix) with ESMTPSA id 9FEC141C73; Mon, 26 Nov 2018 15:28:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=plaes.org; s=mail; t=1543246095; bh=bqvSz+2NkuQ/7D5YQALOlL84Z7vFxTtbADVP840XCkA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jLBd4A2YUtn2u0eRyxP2PffIKvPpnnUfeNIe4yfGuye0EU9add0ae/LsCrr6YhkNS fYouIBF4XVD3uGtewp6CdZ5INs38pXrfvDAWN46UXN0NjRbJeh4qLfyrTkpvhv2Mqe HOZKrWmQ2ycezqKBgNAEcP1vdGDLRnP212SEQDAvMYW9ZV3iK0BR7dUEGbfdlWPkZj vNhe2AIxws3s6et7hMqzszFuWZD/2I/A91gan7vBoresJbAUBZYgOL1EdYEsQvMZhc CJKycqhqOqpU9D6KcZBmI7MaVKkcDWhGUtqpGtaBKDEDDzI5fm6eHRrzyaOfS3V2qu 93TfZNKIypwrQ== From: Priit Laes To: Lee Jones , Rob Herring , Mark Rutland , Chen-Yu Tsai , Maxime Ripard , Sebastian Reichel , Hans de Goede , Liam Girdwood , Mark Brown , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org Subject: [PATCH 10/14] regulator: dts: set proper lradc vref on OLinuXino Lime2 Date: Mon, 26 Nov 2018 17:27:51 +0200 Message-Id: X-Mailer: git-send-email 2.19.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181126_072924_205382_14F4C1F2 X-CRM114-Status: UNSURE ( 8.62 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Olliver Schinagl , Priit Laes Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Olliver Schinagl The lradc's analog reference voltage is set to 3.0 volt in the hardware. This is more or less set in copper for at least lradc0. Set the property in the dts to ensure the lradc is referenced properly. Signed-off-by: Olliver Schinagl Signed-off-by: Priit Laes --- arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts index 1b9867f..7142471 100644 --- a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts +++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts @@ -154,6 +154,10 @@ }; }; +&lradc { + vref-supply = <®_vcc3v0>; +}; + &mmc0 { pinctrl-names = "default"; pinctrl-0 = <&mmc0_pins_a>;