Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp7818622ybc; Fri, 29 Nov 2019 01:30:40 -0800 (PST) X-Google-Smtp-Source: APXvYqwc6Flqcq/oWHi3TIULgrqPfxedwMRDgxRu1NcZK5ZQBGwGnfSNmyDRcuq13mI0RQKkYMKw X-Received: by 2002:a50:ec97:: with SMTP id e23mr43831290edr.111.1575019840650; Fri, 29 Nov 2019 01:30:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575019840; cv=none; d=google.com; s=arc-20160816; b=vCXAjXoROd47rO/rmOxlx6IvVf5gtxFOqVnVPErLGYLvOx2XjmZ0kHJ/sRMDmypAzE zEPD/t63MFWOUrAyZRtm+6FacHJWj1NR4j3eeQPcf45hVrC5V0gSBrRnwoOZbAF2e6kP 5+F5K/mhUSWB8KjNu2mZ610/AHYYQzrnVDi1p/qNUucWvykJbre+3Lyn4bKhRnYJ89VE gTXaWAnUb9LteTgcMD9bAWWWqrP2P7xx9pfIbUszOjBIy7G8KwQt05hc0qxI0tLwHYxE Dc18Ve1mTudT1ZyiMVwdSTKaez3KBEn8ot5aq/mPHWunEc6hWKx6Sd1fDXSbEE4tpTyN jRKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=61Qn8sc6UymCs2JwYwR9E7PQUQwsg86yGcxrakyfLnc=; b=mYDr4gXVXwc4fzHEzFwF0lgEq87D/PTEQfK/mv+o4z559GyTMaCfm5BUEaZlTLIpHk rj4NvLZc1BSV2KQv3tKf68axIZvjK8ZTzR4BXYuNy8d1SZna9wUxWU2KKZU3VqA1LlS8 gwsbn/sfsZ6mdSU6xm3OllLGJGpUOJUyzUKq0G2FEnXpgB/n0HPyIMDMHNZ23hN4fbSl Dh+hWJKnEelAxqcfadm2YGvpoLGT9TQMDstv9nMW01sZoKnmTD9MyIy4cVMadc75xoG6 twEen+3nGxgBlGNcOXxKqiaXUPfpKTeDTG6FftvO+QbpoCf3RvSdbSjzvhL5KlUXDio2 DoYQ== 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 p6si2872496edx.81.2019.11.29.01.30.16; Fri, 29 Nov 2019 01:30:40 -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 S1726709AbfK2J04 (ORCPT + 99 others); Fri, 29 Nov 2019 04:26:56 -0500 Received: from mail-ed1-f66.google.com ([209.85.208.66]:41356 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726143AbfK2J0z (ORCPT ); Fri, 29 Nov 2019 04:26:55 -0500 Received: by mail-ed1-f66.google.com with SMTP id n24so3826441edo.8; Fri, 29 Nov 2019 01:26:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=61Qn8sc6UymCs2JwYwR9E7PQUQwsg86yGcxrakyfLnc=; b=tKotwCZB1OIyoWhF3qvKTQ0hh+PK+vJ242n4RXT+4dTLsxyyo8UBX7olemY6onxpuy IpimaWFhbSpL9TZU8bZ/b0lXCCJFXv3ut8dhg/R0c9WqnP+g2cawIMj8lZWlwUo6RC3T z+Hbf29JRKIsuXk7iRoI+V2qUUu80krKqm0X8cdGYD4BK6QCJH+Oe1LB8HsqEM+ag3o0 zj9ES8+oTgq+u7YgHSF3gBz/HrdKgpGv9HzXp211MMrOp1yr8IbjwSN7m6J1MZs3iRuJ sjAJ/pzpX1DYbURuTyVnikovhmBeq0PLHqlwDT6SYeuulHdcctXNSY2wbj8ToVwYpJ2g uraQ== X-Gm-Message-State: APjAAAX/HFaAZod872BKftOB6Xj70BOKeZZd9Og5oubUklfiVDKPZ6re SHz2iYbToTG1ZUx2QDMTJi3S+Tp2kXk= X-Received: by 2002:a50:fc96:: with SMTP id f22mr44140890edq.119.1575019613340; Fri, 29 Nov 2019 01:26:53 -0800 (PST) Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com. [209.85.221.51]) by smtp.gmail.com with ESMTPSA id o30sm1273065edc.61.2019.11.29.01.26.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 29 Nov 2019 01:26:52 -0800 (PST) Received: by mail-wr1-f51.google.com with SMTP id c14so9622216wrn.7; Fri, 29 Nov 2019 01:26:52 -0800 (PST) X-Received: by 2002:a05:6000:11c6:: with SMTP id i6mr2960888wrx.178.1575019612588; Fri, 29 Nov 2019 01:26:52 -0800 (PST) MIME-Version: 1.0 References: <20191129091336.13104-1-stefan@olimex.com> <20191129091336.13104-2-stefan@olimex.com> In-Reply-To: <20191129091336.13104-2-stefan@olimex.com> From: Chen-Yu Tsai Date: Fri, 29 Nov 2019 17:26:39 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [linux-sunxi] [PATCH 1/3] arm64: dts: allwinner: a64: olinuxino: Fix eMMC supply regulator To: 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > + 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