From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,NICE_REPLY_A,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 445BDC433E0 for ; Sun, 12 Jul 2020 23:20:58 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0AFC8206B6 for ; Sun, 12 Jul 2020 23:20:57 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="POlm5tsE" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0AFC8206B6 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=4zwMdQz4y6nODzXRMWyBJozbUC/2UCISz54VQ69dttE=; b=POlm5tsEp/WtAYEgUEtlooF6W gL4PsX2LoRnDTg7/rzxTk3HxYOAsum/bxgVi6uP1hdxzSo1NRbvnaz27Q2RAN91VcmB8F883lsDzv VmLkg6QX1/PSv6tP2GaP+hic88tH5kn8gB+HIQD65pHXFydY0evnvrYGKHGX3XylDPT+0cGMbJvfW ZdmecpeRvjQDXaQbFmqbALOVwQX1/AAxgNDjXnTRIZgKEeTmurVWHlCyMytcncbhSoFLkifeBr+FS bxoaFhVXLrlJlw8Mt9bJ0RDpgirp0ABgJptthI3JWATs/8mCL+me0NkneSUyB655IZEAq3VaxIDJ+ OmAVuV/yA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1julFw-0006e4-Dn; Sun, 12 Jul 2020 23:19:36 +0000 Received: from foss.arm.com ([217.140.110.172]) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1julFu-0006dR-CW; Sun, 12 Jul 2020 23:19:35 +0000 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 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-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200712_191934_521810_B1453083 X-CRM114-Status: GOOD ( 20.68 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-actions@lists.infradead.org, linux-kernel@vger.kernel.org, cristian.ciocaltea@gmail.com, Rob Herring , =?UTF-8?Q?Andreas_F=c3=a4rber?= , linux-arm-kernel Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel