Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1402929pxk; Fri, 2 Oct 2020 08:44:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxIQwftMXXTdwmc9/3h+BD77VWpse6JjWuv2rSv4fd8adeGruscLLAexQqMqgjVKGq+0A7q X-Received: by 2002:a05:6402:b68:: with SMTP id cb8mr3048322edb.350.1601653455291; Fri, 02 Oct 2020 08:44:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601653455; cv=none; d=google.com; s=arc-20160816; b=p1V3BJowAkKZ8QPsmQsOei9qtSgXjP/ymP6UTmHZ8dTbCKySa1pC23MIqVIgYL5O1V 7LztJX90OxKKTRW7xRrBItG2sxkMnW5DjBXqj0spd1ZokTSwUROyAVuZq87m0KUo422y BXDWCruv72LFVPBTCvV0GErZFzbAZ9bhNsg+ZjLiscasTkdXps9UsjsZoDGr7C/7/Urh okouVSRY/xv+uN2gLRbS2VOvk3hkxbQN37awKmjDVaYmw7Sfa402MLvHTSeU/Ste53k5 NwhKzrByh8uJJ/Z6FOZ0tJZQELichCq8k4J62fiJNuoowUVGTN574KX2QkeQTcCr5vpz weMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=z4GmnqL+ap4HdUo7VaM2ph1Dt1KeNprTQUR8alGb9jk=; b=NkIrMEzGsyl9rvXQRYdA6PfiRiWe6ew86WncED0twF8Y/Awz5BiMP+ORsOc9bQVXKb 5vlDuhzWIGilOU53WAIrGTZnNHMdjkb0i48avRa4CnxDSbtF68TCGOIHnlREGFirKYK+ lJQxI5DlGtnTBvZRbSWKin6SjZga70bda0PR8qXDjM4CE2NBKhekowVg5mw7BteOTcsG O+s4WSUgs7wFWHCFQn5Ki/f9L5a0AeEJUfR1olta02En8PK7H1LPlws4TAnicGifycqy vzguRtEI9tHw1A5N+W3gQeEuui50TGJzqH99Kfc2xYb0rVCi6x2EJ4D7vQVMex/2SVim pjqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="BB/LcTMw"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id di24si1172802edb.608.2020.10.02.08.43.52; Fri, 02 Oct 2020 08:44:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="BB/LcTMw"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387965AbgJBPkd (ORCPT + 99 others); Fri, 2 Oct 2020 11:40:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387789AbgJBPkd (ORCPT ); Fri, 2 Oct 2020 11:40:33 -0400 Received: from mail-il1-x143.google.com (mail-il1-x143.google.com [IPv6:2607:f8b0:4864:20::143]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50E98C0613D0; Fri, 2 Oct 2020 08:40:33 -0700 (PDT) Received: by mail-il1-x143.google.com with SMTP id o18so1651658ilg.0; Fri, 02 Oct 2020 08:40:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=z4GmnqL+ap4HdUo7VaM2ph1Dt1KeNprTQUR8alGb9jk=; b=BB/LcTMwrAFBbWb648gD3v3aWW2gRywqJIvat2aCTNjboxCO68ejekhJksb9Ky0Yeh 15PpanlKmNSMMPzGlFJ/tHmcYrQzA2j8vExKu5PGDvXGTXScgd10JRrZ3eUzXPCEA0KG Z5bCph4CY7pdBdvrmq51Ylrr9NxPWyQFUCdJIWsZ1GkCO/axjyhGLwI8Tv3+RpkjFedU EhydH2hOpjokA4FmECQI1knrxf0YJwsyUdiJnU0mMr7J2Uo6yF7FXb8z86DRmOKZXiCC n052v4TbQ5Q/ONurwBT1bTDtxoAYolmvTsWwDo9j9upZVURzR0j/VJ3VO+9K2K9x+e2I AY0Q== 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=z4GmnqL+ap4HdUo7VaM2ph1Dt1KeNprTQUR8alGb9jk=; b=pWDI1kJ0Ln32Nz6pnlrpiZPHLbHugcZkv/HwwoRM8a/Cqj7GzCKKujt76xshGstY5Y cLe5GefwbZFk1Ljdwl7gaAFT8tspeShLkG9kcZu+yR3ZlMq8p7YxTiuxKu/RvazD+fFO oFNy4Lfro/HX3YoCU4akcn4QadyYQPkOcaLSC7dsYTpr04dk1KK9XfR1xrk6zmcvwR25 Gixg8s3MH5pYIy/ZQuKIqiULoGaTsZHJdoe/WtMy1GPcQtfg83hV5LKS8rh17V6CjGtq sin+tB2qiGVhSdux60K5THLjPYbdQL6S0GvizcYg3fUGnL4UHAd8P169kQEXrjsYo5/U J0Zw== X-Gm-Message-State: AOAM530/ctv5m0uUPzQDxabCg/3ad8PzReUeWYNQwlTlkPxRBt6OJzhO zcCl5jJfTMJTDeuqLOWYHAtu3YDZCG+8/7We5m6jTcJzxjNp3Q== X-Received: by 2002:a05:6e02:bc9:: with SMTP id c9mr2233146ilu.150.1601653232516; Fri, 02 Oct 2020 08:40:32 -0700 (PDT) MIME-Version: 1.0 References: <20200928150038.97413-1-peron.clem@gmail.com> <20200930102732.zc3vs4vzm3fyt5dc@gilmour.lan> In-Reply-To: <20200930102732.zc3vs4vzm3fyt5dc@gilmour.lan> From: =?UTF-8?B?Q2zDqW1lbnQgUMOpcm9u?= Date: Fri, 2 Oct 2020 17:40:20 +0200 Message-ID: Subject: Re: [PATCH] arm64: dts: allwinner: h6: add eMMC voltage property for Beelink GS1 To: Maxime Ripard Cc: Rob Herring , Chen-Yu Tsai , devicetree , linux-arm-kernel , linux-kernel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Maxime, On Wed, 30 Sep 2020 at 12:27, Maxime Ripard wrote: > > Hi, > > On Mon, Sep 28, 2020 at 05:00:37PM +0200, Cl=C3=A9ment P=C3=A9ron wrote: > > VQMMC supply is connected to BLDO2 which provides 1.8V. > > > > Let's reflect this in the device-tree. > > This commit log doesn't really explain what is going on though? > > > Fixes: 089bee8dd119 ("arm64: dts: allwinner: h6: Introduce Beelink GS1 = board") > > Signed-off-by: Cl=C3=A9ment P=C3=A9ron > > --- > > arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts b/= arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts > > index 049c21718846..3f20d2c9bbbb 100644 > > --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts > > +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts > > @@ -145,6 +145,7 @@ &mmc2 { > > vqmmc-supply =3D <®_bldo2>; > > The Device Tree already expresses that the vqmmc supply is connected to > BLDO2 which provides 1.8V here (together with the reg_bldo2 node). > > > non-removable; > > cap-mmc-hw-reset; > > + mmc-hs200-1_8v; > > Whereas this indicates that the eMMC supports the HS200 MMC mode at 1.8V What about a comment like this: Sunxi mmc driver can't distinguish at runtime what's the I/O voltage for HS200 mode. Add a property in the device-tree to notify mmc core about this configurati= on. Regards, Clement > > Maxime