Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp887728ybl; Wed, 28 Aug 2019 06:48:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqza3TI0ziIdtpNqw7x0niXX6wPWPREYg8AaLl9KiULFOJPQxx7TAD8wrsaEnJS1LTLqPoFL X-Received: by 2002:a17:90a:f011:: with SMTP id bt17mr4490728pjb.42.1567000097602; Wed, 28 Aug 2019 06:48:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567000097; cv=none; d=google.com; s=arc-20160816; b=ir5OJf5ZMan1YqGP8dUPkvBKoQ3zbFekL4HHxKJiKw/SakLIBZYyNe9j58nWEyg5F5 k7D4obbkyttNdVPQPdjCzNGRTExkclWqtW7E4iv2rxEexAeZparLGHgkR+2gNAVxk3bL QcBbzgVw2t69qaMbc3VqhI3nue8SaE6fIWwAxlk50VEk3BFMORjnyKtj+gfLdo8rpVUR A9Rv4xK008G0I/0n0yGtz0+ZTiPC19kW/2NWc26G9RLM3OKZziZaM8VQSdZ7Q3YfN4nw paKBhpaC57ahmfLGu7Un/rUAn+qQEpJPgaUTPsgUF+MVUvr/sDQlT8prVmAdsF4U40V5 8ECQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=5zrPOZvIFBA3W/p3jGT0kD18U/WjHbFs9mSjFnSe55o=; b=uotzNCwxIt+nyRukRJY2nXl6LoaknrX6AyE8vT39h+Z29r5uik5yDQrfYRqOpJ0PNX aiKps/PeVy58QA75mIbvlQr7XRZHwjguGjDYJndAiTMGIanMzCRMQu/43inrE5WmvNnv LJCA+/QSepzAKSE1xvjlIQDGkGSmOYvHUawP6cMfsMJdpQrFn5axAtcJflK6E0p+n0I9 Ah7wDcmxvPw0BLUGo6p4VI0AEfdcvOTwyTWsOTEB5hD9il4x5zaiucAUzwLn+EzxNOYo 6VMkxtWOoJqNVn6UMKPaABT8ixesnbY1rbQWWsYfaQa1cLbph8LL4KWdmPORsTV24ec8 YEsg== 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 p11si1897996pjr.3.2019.08.28.06.48.02; Wed, 28 Aug 2019 06:48:17 -0700 (PDT) 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 S1726863AbfH1Nq7 convert rfc822-to-8bit (ORCPT + 99 others); Wed, 28 Aug 2019 09:46:59 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:45724 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726440AbfH1Nq5 (ORCPT ); Wed, 28 Aug 2019 09:46:57 -0400 Received: by mail-ed1-f66.google.com with SMTP id x19so45308eda.12; Wed, 28 Aug 2019 06:46:55 -0700 (PDT) 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:content-transfer-encoding; bh=zyNoxyVItTkE7KkpzOzDQs+Ze+MdA8PTrGpUeQ6qzjg=; b=a+LRiAunB7YSQbIrYOSvaFDmH2xgyHMf1bOdE3qB30z6nZA7gxcr9YLo4AnMyWcTbO o1cemcVmAuoXO3kdxLQU74/fhbYAA5vB555JkMNBxtjpidDq6J9OkmZ6or5/thMFTVdH 7Bzon90JFiytHIBarS2xJO1MFdbjK53XnhVN5OuYr0gcog8yLsCa2lFvDWpbfVot9RPW SGK/wrX+j2V3+f7X1Sder6MArpxDepF+Bb6GLqekuCgDedpjS+EAQEfrJLQEpMaGSfJw uZMvpl+lSoE+SxNrnY24n8lDMiv+YccNThH72A6W+Tu5xNRgM6pH1K66RV0wlFb0o6sK lF1A== X-Gm-Message-State: APjAAAW47dfYpp3Xzm6zMfrlLfTFbU4YquXKiK8cPcEDqO67Ufe+IYmf 1wVCuITit1s8SKs7mFImu2pZM/oOBU4= X-Received: by 2002:aa7:dac9:: with SMTP id x9mr4110101eds.271.1567000014749; Wed, 28 Aug 2019 06:46:54 -0700 (PDT) Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com. [209.85.221.47]) by smtp.gmail.com with ESMTPSA id h2sm473102edr.16.2019.08.28.06.46.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 28 Aug 2019 06:46:54 -0700 (PDT) Received: by mail-wr1-f47.google.com with SMTP id u16so2617563wrr.0; Wed, 28 Aug 2019 06:46:53 -0700 (PDT) X-Received: by 2002:a5d:568e:: with SMTP id f14mr4694015wrv.167.1567000013782; Wed, 28 Aug 2019 06:46:53 -0700 (PDT) MIME-Version: 1.0 References: <20190825150558.15173-1-alejandro.gonzalez.correo@gmail.com> <20190828134334.qzuwodoxmw7ov5yg@flea> In-Reply-To: <20190828134334.qzuwodoxmw7ov5yg@flea> From: Chen-Yu Tsai Date: Wed, 28 Aug 2019 21:46:43 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [linux-sunxi] Re: [PATCH] mmc: sunxi: fix unusuable eMMC on some H6 boards by disabling DDR To: Maxime Ripard Cc: =?UTF-8?Q?Alejandro_Gonz=C3=A1lez?= , Linus Walleij , Ulf Hansson , Greg KH , Thomas Gleixner , linux-mmc , Linux ARM , "linux-kernel@vger.kernel.org" , linux-sunxi Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 28, 2019 at 9:43 PM Maxime Ripard wrote: > > On Wed, Aug 28, 2019 at 09:29:32PM +0800, Chen-Yu Tsai wrote: > > On Wed, Aug 28, 2019 at 8:52 PM Linus Walleij wrote: > > > > > > On Sun, Aug 25, 2019 at 5:06 PM Alejandro González > > > wrote: > > > > > > > Jernej Skrabec compared the BSP driver with this > > > > driver, and found that the BSP driver configures pinctrl to operate at > > > > 1.8 V when entering DDR mode (although 3.3 V operation is supported), while > > > > the mainline kernel lacks any mechanism to switch voltages dynamically. > > > > AFAIK The Pine H64 does not have the ability to switch I/O voltages. It is > > fixed to either 1.8V (the default based on the schematics) or 3.3V. > > Should that be handled at the board level then maybe? Yeah. You'd specify which one using vqmmc-supply in the mmc node and vcc-pc-supply in the pinctrl node. ChenYu