Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp576741ybh; Sun, 12 Jul 2020 16:22:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxn8f4JIQZ8hKe22+Noih3S6PTWDcqRL67jwopV8zx47ySF7s4Ndo0fQslIkAbNyteqWjKc X-Received: by 2002:aa7:c1d8:: with SMTP id d24mr90721646edp.178.1594596139682; Sun, 12 Jul 2020 16:22:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594596139; cv=none; d=google.com; s=arc-20160816; b=yqat55FyqN7qfyFAGPosnOVSdBcPfRPE5AVYCTeuELb2wxNyy1QD9Gxx6EP0MRTMMz xO52UkJl+MwgHO3z4VjQ1tYEhqe7XPWy/U+zknUwffoX53QOp53NdSL9TcNpno6LMLF5 ttgSL+oU+Gk44cHqgV94n9X/TpkIrfqp1cHJYQSauVT/WxD+cUnxJToHEVxn9f3xRhYB u8H3+xH3ADzhGWgPLTF48d2o6cbvJJKqJq2fiI0Unsza8WSwjudJbAuNFJsaT8YK/fuw vv2gauSVA6+44ON1Xa8tF23ZTVsk5UOsWRpvTaAFgfjN8b3VvitQeceXX9XhZOKcPnlh oDeA== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject; bh=LA3TysVUPAhC1ZCUY8DGm+wVYL56TBakIod3snJcHto=; b=gIJc5IniHka6f1ysYZsu4CxTnqgTTckq8HazUoA7VX/sipMVfa8sZ8+Ug+OsygZ2ev YnB8S2SV8hhFpATdk7LhU4deHMTcfvI/5Yi+4XJsuNgGtjloeiQ8/g8OOET76nDcJyLA fQAJZgtvkDiukQX8qPmE1mFdFd0zZjtxOX+GCv/eviMM6ankQZwCWK3IJ9idvS0J8byz 3Hs2Su3yikvJZfS+mErfW5uWpEs0rIH1A5r5tQZ5FEvmIqpg1dkdqVzehgXmGQHJVXch zJbJKnfB2bLd1l5wDqK+B0uSY3sscdQfCFDofVsGgE4yEuy0dpYhmNJdoxd+Vf1wgs+U A8lA== 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 by19si8136215ejc.417.2020.07.12.16.21.56; Sun, 12 Jul 2020 16:22:19 -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 S1728617AbgGLXTa (ORCPT + 99 others); Sun, 12 Jul 2020 19:19:30 -0400 Received: from foss.arm.com ([217.140.110.172]:59674 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727785AbgGLXT3 (ORCPT ); Sun, 12 Jul 2020 19:19:29 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 1465130E; Sun, 12 Jul 2020 16:19:29 -0700 (PDT) Received: from [192.168.2.22] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id BAA443F7C3; Sun, 12 Jul 2020 16:19:27 -0700 (PDT) Subject: Re: [PATCH v5 10/10] arm64: dts: actions: Add uSD support for Cubieboard7 To: Amit Tomer , Manivannan Sadhasivam Cc: =?UTF-8?Q?Andreas_F=c3=a4rber?= , Rob Herring , cristian.ciocaltea@gmail.com, linux-kernel@vger.kernel.org, linux-arm-kernel , linux-actions@lists.infradead.org, devicetree@vger.kernel.org References: <1593701576-28580-1-git-send-email-amittomer25@gmail.com> <1593701576-28580-11-git-send-email-amittomer25@gmail.com> <20200712173044.GL6110@Mani-XPS-13-9360> From: =?UTF-8?Q?Andr=c3=a9_Przywara?= Organization: ARM Ltd. Message-ID: <5e2eb92e-eada-9b14-3f15-38717284bc92@arm.com> Date: Mon, 13 Jul 2020 00:17:57 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/07/2020 19:45, Amit Tomer wrote: Hi, > On Sun, Jul 12, 2020 at 11:00 PM Manivannan Sadhasivam > wrote: >> >> On Thu, Jul 02, 2020 at 08:22:56PM +0530, Amit Singh Tomar wrote: >>> This commit adds uSD support for Cubieboard7 board based on Actions Semi >>> S700 SoC. SD0 is connected to uSD slot. Since there is no PMIC support >>> added yet, fixed regulator has been used as a regulator node. >>> >>> Signed-off-by: Amit Singh Tomar >>> --- >>> Changes since v4: >>> * No change. >>> Changes since v3: >>> * No change. >>> Changes since v2: >>> * No change. >>> Changes since v1: >>> * No change. >>> Changes since RFC: >>> * No change. >>> --- >>> arch/arm64/boot/dts/actions/s700-cubieboard7.dts | 41 ++++++++++++++++++++++++ >>> arch/arm64/boot/dts/actions/s700.dtsi | 1 + >>> 2 files changed, 42 insertions(+) >>> >>> diff --git a/arch/arm64/boot/dts/actions/s700-cubieboard7.dts b/arch/arm64/boot/dts/actions/s700-cubieboard7.dts >>> index 63e375cd9eb4..ec117eb12f3a 100644 >>> --- a/arch/arm64/boot/dts/actions/s700-cubieboard7.dts >>> +++ b/arch/arm64/boot/dts/actions/s700-cubieboard7.dts >>> @@ -13,6 +13,7 @@ >>> >>> aliases { >>> serial3 = &uart3; >>> + mmc0 = &mmc0; >>> }; >>> >>> chosen { >>> @@ -28,6 +29,23 @@ >>> device_type = "memory"; >>> reg = <0x1 0xe0000000 0x0 0x0>; >>> }; >>> + >>> + /* Fixed regulator used in the absence of PMIC */ >>> + vcc_3v1: vcc-3v1 { >>> + compatible = "regulator-fixed"; >>> + regulator-name = "fixed-3.1V"; >>> + regulator-min-microvolt = <3100000>; >>> + regulator-max-microvolt = <3100000>; >>> + }; >> >> Is this regulator used somewhere? > > This is something I copied from bubblegum dts as I wasn't sure what is right way > to include these regulators. But this regulator is only used for the eMMC there, which we apparently don't have on the Cubieboard 7? > Also, another day tested it without having these regulators in , and > still it seems to > work. So should these be removed ? If there are not even referenced in the .dts, then fixed regulators are rather pointless. So yes, please remove this vcc-3v1 one. What is the story with the other regulator? Is there a PMIC or a power switch for the SD card? Or is the power supply actually hardwired? Cheers, Andre