From patchwork Fri Dec 1 09:06:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10086597 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 880626035E for ; Fri, 1 Dec 2017 09:13:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7B9CD2A4BB for ; Fri, 1 Dec 2017 09:13:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6E5752A4C3; Fri, 1 Dec 2017 09:13:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F117A2A4BB for ; Fri, 1 Dec 2017 09:13:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=94vZzTmtBRQ3WUJd3dPeGEsgwokBs2+ttpZEr7058cw=; b=ZtFf0HqBefRDsl22ihhd04SXEx ZEODAKFffBrYI8Fzx9GLOWqy01JVkB4aON5IE00hJs5NwNSB9vvp15ZAXIEEw3JU+P8joU1XUWYj2 1n17bFfaS2CB3sHek2sSxuwTRAGAjf8GYcikBndQut7+o/3JykhjwazFx37beFCJmnvCtmN3OBYV7 Bs9SvcjuxtCZV5XwjwQsmjXvvLR74uokxkuFJzFFsHqe5PUGVEjVrQyXbkBmdwOe4wOJjNlQawyaZ 0o3t4Fhmmu4Pb9CRsMDIx6TztGT6dztJyYw4xOpP+6zlDqOi3xVvOa23ovJByApJwPG47Dc/rSWUz ZMMH9wGQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eKhNr-00023l-4e; Fri, 01 Dec 2017 09:13:23 +0000 Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eKhNn-0001mM-6v for linux-arm-kernel@lists.infradead.org; Fri, 01 Dec 2017 09:13:21 +0000 Received: by mail-pf0-x243.google.com with SMTP id m26so4380092pfj.11 for ; Fri, 01 Dec 2017 01:12:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=TJ3+sRLt4KJ4lMN91+k+F/RyMtVCxV8hPNkdRCL3IiM=; b=bcoSRPLvDPotX2twsrJVBnCelZa+elSC8n432+/xBHhchk/UPTL0jLlu6pOAW5xK5w Ma6R1JIIChHokIhbDQQCb6lcH4E3tbqsdddwgdyTl3V35pLSoZyAWjke7+Cys1ysA+rH R+Rrls3/TJ55DH4itGUZV9Un+pz/xCQuaXTFJLZQi7JNO4rM/7n0g+d1pjFem4L/q9Ke xCmgCSINa7qDEseCeLGAHNYsQjDBqykG0yzeMmiWuYkZ+aCpt+qcxjB6/6bdE3Z06FdI dyg3EDIpte9suwoMs2YDuN+z3qg858U5bqTnU9mENCsBOGyqwd8d5HrafEvj+28docwZ wXYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=TJ3+sRLt4KJ4lMN91+k+F/RyMtVCxV8hPNkdRCL3IiM=; b=SOQV60SLmX+WSDI96O0XqRTgrR3zz2yEpOvzMpsKhiz+rXxvT9P2+I9fDScMb0cODz A+Qif2MKbbzpAuHuvllcGJ1nb8t+mWNvB5CfkoVvxWKJcrE5n/sNpybPYeVAlE0jMbiG kmdtkVyxkpZoAvclgT6quQCs7TKlFLDMphwd3M5NFsK8AcGrqz8Vc1v68L1Mxh4/1jzJ 818ROSHyvrwMb/gMPikl/9tprYMKobprfw0otwBWQNK4argYtqTNRm1pLurc/Al58fxm 6HjKe/0rZ8SpuABHunJi22wRO3ULqQ+YT4hsVknSeqLDbPUHIYCcaN8FLNn+7cUR7n7P jNhQ== X-Gm-Message-State: AJaThX4HO+pRVG/iuE+qWK0SbdB33v3Csn+cQESPbYmFK9x92eByV6Dd KxELU2oYfS+6bCb7l63wRAU= X-Google-Smtp-Source: AGs4zMYhcGweHidYzMWbRe8bqP/Kw8YjFyEOgnf0CI1GypsGZpHcKY9HJJ4TkYnrLh19CJHsJQgrkA== X-Received: by 10.98.105.8 with SMTP id e8mr9002701pfc.170.1512119578507; Fri, 01 Dec 2017 01:12:58 -0800 (PST) Received: from localhost.localdomain ([115.97.180.212]) by smtp.gmail.com with ESMTPSA id 10sm11624716pfi.72.2017.12.01.01.12.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 01 Dec 2017 01:12:57 -0800 (PST) From: Jagan Teki X-Google-Original-From: Jagan Teki To: Maxime Ripard Subject: [PATCH 2/2] arm64: allwinner: a64-sopine: Use dcdc1 regulator instead of vcc3v3 Date: Fri, 1 Dec 2017 14:36:05 +0530 Message-Id: <1512119165-15290-2-git-send-email-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1512119165-15290-1-git-send-email-jagan@amarulasolutions.com> References: <1512119165-15290-1-git-send-email-jagan@amarulasolutions.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171201_011319_308887_B324877F X-CRM114-Status: GOOD ( 10.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Catalin Marinas , linux-sunxi@googlegroups.com, Will Deacon , linux-kernel@vger.kernel.org, Chen-Yu Tsai , Rob Herring , Jagan Teki , Michael Trimarchi , linux-arm-kernel@lists.infradead.org, Icenowy Zheng MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Since current tree support AXP803 regulators, replace fixed regulator vcc3v3 with AXP803 dcdc1 regulator. Tested mmc0 on sopine baseboard. Signed-off-by: Jagan Teki --- arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts | 2 +- arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi | 11 +---------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts index a053a6a..abe179d 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts @@ -96,7 +96,7 @@ &mmc2 { pinctrl-names = "default"; pinctrl-0 = <&mmc2_pins>; - vmmc-supply = <®_vcc3v3>; + vmmc-supply = <®_dcdc1>; vqmmc-supply = <®_vcc1v8>; bus-width = <8>; non-removable; diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi index a5da18a..43418bd 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi @@ -45,19 +45,10 @@ #include "sun50i-a64.dtsi" -/ { - reg_vcc3v3: vcc3v3 { - compatible = "regulator-fixed"; - regulator-name = "vcc3v3"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - }; -}; - &mmc0 { pinctrl-names = "default"; pinctrl-0 = <&mmc0_pins>; - vmmc-supply = <®_vcc3v3>; + vmmc-supply = <®_dcdc1>; non-removable; disable-wp; bus-width = <4>;