Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp7838324ybc; Fri, 29 Nov 2019 01:52:18 -0800 (PST) X-Google-Smtp-Source: APXvYqw/3ry0bNG5jkTf44ON5mpnRzDxHwiZnQdgpyWAp/pp49pJBLFcBGGtoQ791UQUqdfJ2TCG X-Received: by 2002:a05:6402:387:: with SMTP id o7mr19916186edv.84.1575021138447; Fri, 29 Nov 2019 01:52:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575021138; cv=none; d=google.com; s=arc-20160816; b=ahJQuD5w4dQD3Z+GF4tGZ1iVBC32i7yOMnKxOL/f9N3ax+cSGr1UDYgGFAXyI4vinT r4/E1NmZQ5gLQRyClQ5iPG1E4gIF0Xu6JDEOM0juD4ArB7oF00YApNGVMzguQ7Ia1jR3 tVX3Us/xDuDIDBbWSqBfHdyoSh8NLL6Aw+x5CV/ptHZqNq5YXnQ2h8h9fPXd1TaW2zV7 54f6mFO8H8wimyx9eilt9snGEVq+LB3+Lem/AUiHKNtDlqA03iPgFj8Xz9vTVtnlxE8F qF4nwb8OjtfV3vA//RD6Y3b0SCI3f2Em/6YxEeJZA7dkkldtCZVJq5gAIcTEna+aviSc oE1Q== 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=+YsQehQx1qYHVI+QAMXRYQqoNk7fm2yPjWVgKMxl62s=; b=CzdqKVTsmKpV1C5a2Jxo2s+V21eiuuyvj6642UchgVxicF3V4VR+SQVP3ijxY19q02 mtAUjN5Fu+I39BnaXmyQR4ODxeOn3bs16B8jKEUCQrdbBFkdUK0H976Vr/l0TD7dhaHe RBv6kEQoxEKe9aX04N8S0ItdG/VmBb1M1xSaZa/xGagBjYHNnjlVFygNXni+WiHtgP2O QaXbaJVzEHpOMiQivZSsauJlhYSMmBQ9YkCigwb83a6CrC5tSyxzCOb7IfHaV9oIsYqW 9ZxjDUuoAI9yp2WmQRljnuWr7DLbJ9AjBge9Jy+jrFKVoYlOzSbYmnzX7mKaeQztlqPb r0zA== 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 f15si7719793edy.159.2019.11.29.01.51.53; Fri, 29 Nov 2019 01:52:18 -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 S1726763AbfK2JuF (ORCPT + 99 others); Fri, 29 Nov 2019 04:50:05 -0500 Received: from olimex.com ([184.105.72.32]:40203 "EHLO olimex.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725892AbfK2JuF (ORCPT ); Fri, 29 Nov 2019 04:50:05 -0500 Received: from 94.155.250.134 ([94.155.250.134]) by olimex.com with ESMTPSA (ECDHE-RSA-AES128-GCM-SHA256:TLSv1.2:Kx=ECDH:Au=RSA:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username stefan@olimex.com, mechanism PLAIN) for ; Fri, 29 Nov 2019 01:49:55 -0800 Subject: Re: [linux-sunxi] [PATCH 1/3] arm64: dts: allwinner: a64: olinuxino: Fix eMMC supply regulator To: wens@kernel.org, Stefan Mavrodiev Cc: Maxime Ripard , Rob Herring , Mark Rutland , "moderated list:ARM/Allwinner sunXi SoC support" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list , linux-sunxi References: <20191129091336.13104-1-stefan@olimex.com> <20191129091336.13104-2-stefan@olimex.com> From: Stefan Mavrodiev Message-ID: Date: Fri, 29 Nov 2019 11:49:51 +0200 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: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/29/19 11:26 AM, Chen-Yu Tsai wrote: > On Fri, Nov 29, 2019 at 5:14 PM Stefan Mavrodiev wrote: >> A64-OLinuXino-eMMC uses 1.8V for eMMC supply. This is done via a triple >> jumper, which sets VCC-PL to either 1.8V or 3.3V. This setting is different >> for boards with and without eMMC. >> >> This is not a big issue for DDR52 mode, however the eMMC will not work in >> HS200/HS400, since these modes explicitly requires 1.8V. >> >> Signed-off-by: Stefan Mavrodiev >> --- >> arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino-emmc.dts | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino-emmc.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino-emmc.dts >> index 96ab0227e82d..7d135decbd53 100644 >> --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino-emmc.dts >> +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino-emmc.dts >> @@ -14,8 +14,8 @@ >> &mmc2 { >> pinctrl-names = "default"; >> pinctrl-0 = <&mmc2_pins>; >> - vmmc-supply = <®_dcdc1>; >> - vqmmc-supply = <®_dcdc1>; >> + vmmc-supply = <®_eldo1>; > If I'm reading the schematics correctly, VCC on the eMMC is from 3.3V. > This corresponds to the vmmc-supply property. So you shouldn't change it. My bad. Don't know how I've missed that. Stefan > >> + vqmmc-supply = <®_eldo1>; > vqmmc-supply is from the VCC-PC rail, which is the one you say is triple- > jumpered. So this change makes sense. > > ChenYu >