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,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=unavailable 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 D9D0AC433DF for ; Mon, 20 Jul 2020 05:38:21 +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 A5D0620758 for ; Mon, 20 Jul 2020 05:38:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="y+jUClSl"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="MkS0shFE" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A5D0620758 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org 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:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=AoT50XO1hNheNOKQpSFQyXFDtZrIHRtgnXd8ulankb0=; b=y+jUClSlpyt/928/LSwIiN/Ot KAZmy6YaHPJj/WlT9qZjsk020uVKWBJmwUPEI8aO+KwUb8xZj14cL+sSWYYOWAl+6QqLEGosnFH8G J3dRQ3n4G6EZcbEqrKYPoofZt7K1COKz0Lpsjevo9rTK+r1sZSGWQNmAQkzQP5tBM9/1Tn9NN8eIH ahDmUYU9PcEJl2Ho+sonySG5ZBLmcJNYV7YHiZM81g6D9YoYGrbPvVvTRh/a2cipfo+sNTJ6zq9AR tKyZrx6JK9AL0APRTp+mjHiNbBI5G/nCsQyOsHQz1KLRYIgazr36XkrT3rIHWA7qQmAEd+5Th+qLI pqwwsm7dw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxOTm-0002qA-1H; Mon, 20 Jul 2020 05:36:46 +0000 Received: from mail-pg1-x542.google.com ([2607:f8b0:4864:20::542]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxOTi-0002pK-Ts for linux-arm-kernel@lists.infradead.org; Mon, 20 Jul 2020 05:36:44 +0000 Received: by mail-pg1-x542.google.com with SMTP id t6so9774491pgq.1 for ; Sun, 19 Jul 2020 22:36:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=17xC3zHkV5PUpI7z+zPeu3cX7BA+aM3Er4zehoS3ak4=; b=MkS0shFE3ftUVhWnfoXUc5V+S6atgTtJF+ILzCVuPl7dWk9GjKhBSMQR+DKIInroEA Q0DC89HoowRni0/JcTBmWhY3Khw1xm66xuFiFRM2u3jDFOiknyQJka0C+StFEeca27/E Cr6KcH9jU5kCU+/Whd/bL67VQLvgD+eMKbjDuEoxSrnCFH804cHYNfbzsWkGEgY3lRSD dse7igiiuO33+4ibTGyaoqByQzFjxnA27Ir/3jppWH/8ppSvWtgPoIDp9C8h/Fi+rPuh X04HUZqLCuYdNiLEXM7gcqgfRZde3fJTqWt6/3NzFpvaMV1vYw6+kLmx6qi8ZH8ux79w ufRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=17xC3zHkV5PUpI7z+zPeu3cX7BA+aM3Er4zehoS3ak4=; b=GWkkfuCSDYuTkw33IAarw25jnmx7WFpmA27hIr7adbcSVKao5TT1NTfIvpF9jq/0ET i75CF2DvhD33em7ad/yq1u8wICr1W8RfX3/h6xVFVDEyZOP53+uGbfU8WFw1bH1cO8BI GOEI7Fe4Gy6Z3niC32gWTLkP3OkGPxi1o/WgpXrQ1JqIykKHDEJUPci2e1JpwqUCzWd0 LKvaqrD1JirXlzkK0FYOqolmNSKVaNrudPu8oLnbvJzGTYy+koIXPyoijepg81KXXopc sFAzRC7pa9WEyuPOrpMxguzy1JvuHPe4eDKTV+jbOEeIjfuloMBzwXjyKjud7bc8h69T hWRA== X-Gm-Message-State: AOAM532vYGadRvS8vpRd1jp2GGI4KDTkh0McEitzRIEc4n3MM6emg82A F6k1hB9ErVCr5oVYB7IiFyKd X-Google-Smtp-Source: ABdhPJwvvC1me79D5JJyNEBxZZAHQxK1zws8J+BsAgLETk0wPX18DOEZrZF+OpBszSIeFlBylyZk7A== X-Received: by 2002:a62:190a:: with SMTP id 10mr18189612pfz.29.1595223399205; Sun, 19 Jul 2020 22:36:39 -0700 (PDT) Received: from Mani-XPS-13-9360 ([2409:4072:6d8b:7b19:7469:2fbc:c3c3:3562]) by smtp.gmail.com with ESMTPSA id z2sm15054596pfq.67.2020.07.19.22.36.32 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 19 Jul 2020 22:36:38 -0700 (PDT) Date: Mon, 20 Jul 2020 11:06:29 +0530 From: Manivannan Sadhasivam To: Amit Singh Tomar Subject: Re: [PATCH v7 10/10] arm64: dts: actions: Add uSD support for Cubieboard7 Message-ID: <20200720053628.GA19022@Mani-XPS-13-9360> References: <1595180527-11320-1-git-send-email-amittomer25@gmail.com> <1595180527-11320-11-git-send-email-amittomer25@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1595180527-11320-11-git-send-email-amittomer25@gmail.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200720_013642_990722_1DEA1282 X-CRM114-Status: GOOD ( 19.75 ) 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, andre.przywara@arm.com, linux-actions@lists.infradead.org, linux-kernel@vger.kernel.org, cristian.ciocaltea@gmail.com, robh+dt@kernel.org, afaerber@suse.de, linux-arm-kernel@lists.infradead.org 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 Sun, Jul 19, 2020 at 11:12:07PM +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 Reviewed-by: Manivannan Sadhasivam Thanks, Mani > --- > Changes since v6: > * Brought back the uSD fixed regulator. > Changes since v5: > * Removed the Fixed regulators as these are > not needed. > 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 | 33 ++++++++++++++++++++++++ > arch/arm64/boot/dts/actions/s700.dtsi | 1 + > 2 files changed, 34 insertions(+) > > diff --git a/arch/arm64/boot/dts/actions/s700-cubieboard7.dts b/arch/arm64/boot/dts/actions/s700-cubieboard7.dts > index 63e375cd9eb4..f81d63261ba2 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,15 @@ > device_type = "memory"; > reg = <0x1 0xe0000000 0x0 0x0>; > }; > + > + /* Fixed regulator used in the absence of PMIC */ > + sd_vcc: sd-vcc { > + compatible = "regulator-fixed"; > + regulator-name = "fixed-3.1V"; > + regulator-min-microvolt = <3100000>; > + regulator-max-microvolt = <3100000>; > + regulator-always-on; > + }; > }; > > &i2c0 { > @@ -81,6 +91,14 @@ > bias-pull-up; > }; > }; > + > + mmc0_default: mmc0_default { > + pinmux { > + groups = "sd0_d0_mfp", "sd0_d1_mfp", "sd0_d2_d3_mfp", > + "sd0_cmd_mfp", "sd0_clk_mfp"; > + function = "sd0"; > + }; > + }; > }; > > &timer { > @@ -90,3 +108,18 @@ > &uart3 { > status = "okay"; > }; > + > +/* uSD */ > +&mmc0 { > + status = "okay"; > + pinctrl-names = "default"; > + pinctrl-0 = <&mmc0_default>; > + cd-gpios = <&pinctrl 120 GPIO_ACTIVE_LOW>; > + no-sdio; > + no-mmc; > + no-1-8-v; > + bus-width = <4>; > + vmmc-supply = <&sd_vcc>; > + vqmmc-supply = <&sd_vcc>; > +}; > + > diff --git a/arch/arm64/boot/dts/actions/s700.dtsi b/arch/arm64/boot/dts/actions/s700.dtsi > index 9ed88aafc2da..ba498cf9217d 100644 > --- a/arch/arm64/boot/dts/actions/s700.dtsi > +++ b/arch/arm64/boot/dts/actions/s700.dtsi > @@ -4,6 +4,7 @@ > */ > > #include > +#include > #include > #include > #include > -- > 2.7.4 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel