Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp23440pxy; Thu, 6 May 2021 19:14:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy6PfsP78dk2m7lzPcR7jEzYPNlOMJJGgtkSPiiqh51uH+W/VkEWZylcjJ9NEFEJsrbGk6D X-Received: by 2002:a63:1d06:: with SMTP id d6mr7286035pgd.202.1620353685941; Thu, 06 May 2021 19:14:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620353685; cv=none; d=google.com; s=arc-20160816; b=LS6K2GQ+gf1kCYmr/bAqFSArMq+GJGjDhRE8DoFV/QvVo3Oqr6yXFS39315eYt9y6Q d0vczkgY2wlyszmIAi+xs8yobN0kupjo+GnqCsqWRdF71ucBm+e/yeGqNxzOiyTdIBsB 3HdMFTZxsh68HVOaFnDsh4kOLiN7Ld2gRGsuF4W5gDr576JFWLx5JIslzIgGKZPqwcRb BPx5scb6Mo11aS3pM65WfX7V+ljtHAzEufU23sMCFaH1V0ULElfOXYftPWTEa75I4gWj 7xAT/V1aRIM002gHSI53HGdzcSokqI9rNHrRh5ibFhgOP2PqblR84V3Yd7hSzhVkZ9ef pLXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:dkim-signature:dkim-signature; bh=4uW9jOMoITdaAvwQyvfGU+oL6PMdn7oJQL0rT3U+CBY=; b=zZMaZUISGxbtmSq5fYThHJKmSR50+18IG71kj5cfNl3jwHL1/2vsnyvMPHahomjjBW fxrN/tfD3wuwP1BrWDPKJU80J1uj6jeCiZVBRUwN8UFnVPS/inG3FAsQrx2uVQ4nXrUd LG4sqp2o7xC6NhYGgeSu7lsahsEAHCTdNb5tXZnh+nT1MtV6oD9qnujOJ2z9ocnHwJQ+ d27GMchmLg8JAyVHZkrNm7+sazsc4sPcBpimSQPclS3L0OxXjWIgcpsNnHQ/6MOPTZzG lHtPigZh8WW4yz3ysOzACGqzDcdi5mrJrNUwvqyo74OGaiEWLPpmdu62xvfPYVQcOWJb E//A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aj.id.au header.s=fm2 header.b=hvFNRdFl; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=D9lU4DHO; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b5si5795095plg.189.2021.05.06.19.14.33; Thu, 06 May 2021 19:14:45 -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=@aj.id.au header.s=fm2 header.b=hvFNRdFl; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=D9lU4DHO; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233705AbhEGBlv (ORCPT + 99 others); Thu, 6 May 2021 21:41:51 -0400 Received: from new1-smtp.messagingengine.com ([66.111.4.221]:58385 "EHLO new1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229801AbhEGBlu (ORCPT ); Thu, 6 May 2021 21:41:50 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id 57279581171; Thu, 6 May 2021 21:40:51 -0400 (EDT) Received: from imap2 ([10.202.2.52]) by compute3.internal (MEProxy); Thu, 06 May 2021 21:40:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aj.id.au; h= mime-version:message-id:in-reply-to:references:date:from:to:cc :subject:content-type; s=fm2; bh=4uW9jOMoITdaAvwQyvfGU+oL6PMdn7o JQL0rT3U+CBY=; b=hvFNRdFlIfXCWEteGHIMGamk7VtyaLR4+TmQByhOt3QFSc6 keFzQiqUFFy2GeFAM5Rns8CLA1V1zlnMHbrrBncnW4AEfwl0YiOSQ/fnq9m8NtbW 9rkDgiF2glUgKPFj/w5vfd5qzTCLdBnSrmYAVxUOyataboXuaqB6BXWKJOhItMLC bUdKiWOB3y2hMUG+9DR3BlFzLiZGd2xi5jAgpGD43Wc/z9t0BM5GTyTi9fFml/FC YjHGeJYMRhGAMtMGWjOfhiuFdI/IgeLRR/39MHIkHcp1UAcqiPSga+J6V2Aq3eBB 8/VnaSv/5INQxpcBF0MIYj47awt9RBhNaeoeqOA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=4uW9jO MoITdaAvwQyvfGU+oL6PMdn7oJQL0rT3U+CBY=; b=D9lU4DHOT71DwkCU/OS8gc xFbih9sFE3tuzLCcwZJNQ8ZOvkGLAQlPdVXTGBGzeQjD1zoHWls01fwHAlkputEU fETzfWVvLDr3A9D8klywJ5FAPlQJMaKt9H5azbkjfqvfi/pRSoiulcuqpGREzt4f AHKGq4iyjqdhz4AMNUL/RQ7LSW6pA02pVz9I4jC5FdEMfRSwWYLLyVsJv6waOCQ3 7aL4gBU2K56cV3i92nEwKjNBJNp5fIboP7LniCv2ZvdoHhUzG4AGeN3A2R8LiQTF kY5wWVIz4VEJPvTxf5c2qF84G7wOrwlcAuNCycl7Eu0iVFzu+fHJCrRjD0eJLRgQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdeguddggeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreerjeenucfhrhhomhepfdetnhgu rhgvficulfgvfhhfvghrhidfuceorghnughrvgifsegrjhdrihgurdgruheqnecuggftrf grthhtvghrnhepuddttdekueeggedvtddtueekiedutdfguedutdefieeuteefieelteet vddthfeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh eprghnughrvgifsegrjhdrihgurdgruh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id E7C5FA00079; Thu, 6 May 2021 21:40:48 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-448-gae190416c7-fm-20210505.004-gae190416 Mime-Version: 1.0 Message-Id: <8611c4a7-8c65-4d7d-90d5-37c80faa3142@www.fastmail.com> In-Reply-To: <20210506100312.1638-3-steven_lee@aspeedtech.com> References: <20210506100312.1638-1-steven_lee@aspeedtech.com> <20210506100312.1638-3-steven_lee@aspeedtech.com> Date: Fri, 07 May 2021 11:10:28 +0930 From: "Andrew Jeffery" To: "Steven Lee" , "Ulf Hansson" , "Rob Herring" , "Joel Stanley" , "Adrian Hunter" , "Philipp Zabel" , "Ryan Chen" , "moderated list:ASPEED SD/MMC DRIVER" , "moderated list:ASPEED SD/MMC DRIVER" , linux-mmc , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/ASPEED MACHINE SUPPORT" , "open list" Cc: "Ryan Chen" , "Chin-Ting Kuo" , "Hongwei Zhang" Subject: =?UTF-8?Q?Re:_[PATCH_v3_2/5]_ARM:_dts:_aspeed:_ast2600evb:_Add_comment_f?= =?UTF-8?Q?or_gpio_regulator_of_sdhci?= Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 6 May 2021, at 19:33, Steven Lee wrote: > Add the description for describing the AST2600-A2 EVB reference design of > GPIO regulators. > > Signed-off-by: Steven Lee > --- > arch/arm/boot/dts/aspeed-ast2600-evb.dts | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > > diff --git a/arch/arm/boot/dts/aspeed-ast2600-evb.dts > b/arch/arm/boot/dts/aspeed-ast2600-evb.dts > index 2772796e215e..1ae0facc3d5f 100644 > --- a/arch/arm/boot/dts/aspeed-ast2600-evb.dts > +++ b/arch/arm/boot/dts/aspeed-ast2600-evb.dts > @@ -104,6 +104,21 @@ > status = "okay"; > }; > > +/* > + * The signal voltage of sdhci0 and sdhci1 on AST2600-A2 EVB is able to be > + * toggled by GPIO pins. > + * In the reference design, GPIOV0 of AST2600-A2 EVB is connected to the > + * power load switch that providing 3.3v to sdhci0 vdd, GPIOV1 is connected to > + * a 1.8v and a 3.3v power load switch that providing signal voltage to > + * sdhci0 bus. > + * If GPIOV0 is active high, sdhci0 is enabled, otherwise, sdhci0 is disabled. > + * If GPIOV1 is active high, 3.3v power load switch is enabled, sdhci0 signal > + * voltage is 3.3v, otherwise, 1.8v power load switch will be enabled, > + * sdhci0 signal voltage becomes 1.8v. > + * AST2600-A2 EVB also support toggling signal voltage for sdhci1. > + * The design is the same as sdhci0, it uses GPIOV2 as power-gpio and GPIOV3 > + * as power-switch-gpio. > + */ Okay, I think the comment is in the right place, but I feel this patch should also add the regulator nodes and hook them up to the SDHCIs. Given Rob isn't super keen on a second example in the binding document I think you can just cut the example out and paste it in here. Andrew