Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp1280465pxy; Thu, 6 May 2021 04:50:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJybI/FSSIv308KdNCj39ccXwrRZMM88Xj7FDuT5qI1d+cmODJuo8PW2yrBMn5Fys1B+QK8I X-Received: by 2002:aa7:d801:: with SMTP id v1mr4666215edq.349.1620301855573; Thu, 06 May 2021 04:50:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620301855; cv=none; d=google.com; s=arc-20160816; b=d84TmLsFuYWnAmdtl88sjU0tH4VNMg2+PeC2FodtM+7fzoWJtPJtYGmaDgqXz3aUim A6GoIfq+WG0iiov4r7bl5o5cijgm4SEEwrtY99e/FsK52lzKcZt1zJGaKKLK+wVC/Mh0 n+ShCTAvTNNGFQ3Ua2N9OCJHU9gbBxiBHWSzp/qXzk0qO7LmMeqy/5ULeKJIjyhogLeS PkHFauGeZ9vk3MQ/pSahMiSsNsFO+LjyXXdw/U8va9ReNiqREPe3kqz4073bkCLMZHJB A5RHem7cSBbcREpz7UmTtkdrnAlNT4KegJM8U4E2nlV/k1mnN5TSD7FWZFAzuESJSeae 3vvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=+zDzVmHKMc5IzuZwY+ko9Tgi9ik4pUf9wEKsO21d0CI=; b=VhfhQZu2+NJnjQ9AMHFcOVrF0mQNzYswd98BsCv6beyALMnZ48YgPPpSZgWgDD7Z+C tNQIMpvJCpOctbbFBJ0pb8tLiAKaALq4tbAiaQVgvKMYxie7qfj79y8G2QFAnH06KxxM ThtuAiNSHi6VekoBUFBg6BxAa+qDIR6VJq5UzM2t/u8xSugWwBKPNunb/UV14TAUYDMs aHESCQ5PrXcqwQdvm6dWJXtih0kwV0XR20QfkLsu80sVQgpnR6iVRrR2JXwtiwxld5lv 6sz5+RUNFDm2G5MMnFYX9ZRMQi61OtT3XZR0NUP8C1fxACxtCOt1NoArUn/gun0sd2fa oRXQ== ARC-Authentication-Results: i=1; mx.google.com; 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 m18si947869edc.151.2021.05.06.04.50.31; Thu, 06 May 2021 04:50:55 -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; 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 S229733AbhEFKHI (ORCPT + 99 others); Thu, 6 May 2021 06:07:08 -0400 Received: from twspam01.aspeedtech.com ([211.20.114.71]:30082 "EHLO twspam01.aspeedtech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234328AbhEFKHA (ORCPT ); Thu, 6 May 2021 06:07:00 -0400 Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 1469pQMd024637; Thu, 6 May 2021 17:51:26 +0800 (GMT-8) (envelope-from steven_lee@aspeedtech.com) Received: from localhost.localdomain (192.168.100.253) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 6 May 2021 18:03:13 +0800 From: Steven Lee To: Andrew Jeffery , Ulf Hansson , Rob Herring , Joel Stanley , "Adrian Hunter" , Philipp Zabel , Ryan Chen , "moderated list:ASPEED SD/MMC DRIVER" , "moderated list:ASPEED SD/MMC DRIVER" , "open list:ASPEED SD/MMC DRIVER" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/ASPEED MACHINE SUPPORT" , open list CC: , , , Subject: [PATCH v3 2/5] ARM: dts: aspeed: ast2600evb: Add comment for gpio regulator of sdhci Date: Thu, 6 May 2021 18:03:09 +0800 Message-ID: <20210506100312.1638-3-steven_lee@aspeedtech.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210506100312.1638-1-steven_lee@aspeedtech.com> References: <20210506100312.1638-1-steven_lee@aspeedtech.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [192.168.100.253] X-ClientProxiedBy: TWMBX02.aspeed.com (192.168.0.24) To TWMBX02.aspeed.com (192.168.0.24) X-DNSRBL: X-MAIL: twspam01.aspeedtech.com 1469pQMd024637 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. + */ &emmc { non-removable; bus-width = <4>; -- 2.17.1