From patchwork Mon Dec 4 04:53:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10089619 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 4C150600C5 for ; Mon, 4 Dec 2017 04:53:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 400A928CD5 for ; Mon, 4 Dec 2017 04:53:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 34E6828F48; Mon, 4 Dec 2017 04:53:59 +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 D4DDB28CD5 for ; Mon, 4 Dec 2017 04:53:58 +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=i6ZOoI32jizeaFJoTG0skMXyMHG6xHiBaSR9Bl8lHa0=; b=hfbj7qcPEdQOrJFQA2oLGqVktD dVAUt6H3JQA989Oo+ck8ip9QZZ1ifhC2lcrCSDXVKHd2rvHWVyp4bRMImkZnrebX+n/6RhUKm78IC IEl88whccZKsyK7VQXOedbh/SUkLuysK4G49RNpjS3ndaxb+NM7AFA30oCjTzqAZeGJgQr24lZuL9 zWHA3/v/vK+sIIonaeGAC0a5HKewLdFd0DHnFfMjf7CoZEpdiQJU35oAHHDuE05ySl9Oq6TTdP0G0 EVAau6AhdOEMYgglZE1VmeV8x/90OXrA7/nobJBW6hXNR56cwhI/BWYK+gehhPnQiqIjNSiRQg5BO uShSrZlA==; 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 1eLilR-0001pI-U3; Mon, 04 Dec 2017 04:53:57 +0000 Received: from mail-pf0-x244.google.com ([2607:f8b0:400e:c00::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eLilD-0001cK-Gh for linux-arm-kernel@lists.infradead.org; Mon, 04 Dec 2017 04:53:47 +0000 Received: by mail-pf0-x244.google.com with SMTP id l24so7672545pfj.6 for ; Sun, 03 Dec 2017 20:53:24 -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=b0wYaVZhkmoKZFqFKJ9GWy0PCDcnJo4l4nL4b1dIx00=; b=SV2g2ETwz+M0VlkuTvuxW0ohyf2KfACS8UGjBseFo9NYLuorlVhezFeeV3JAYha/Ty jYgwyRbHbfphIe1/3TrBIzAy2nzVrUero+tBTnjow2ll7RFqOsbpbdRGqXD3wTeHdHd8 C3e03d8T/3i7qBZbNtUrUlEcVL6haQ4pK1ExqEqweuQg6bDnHFV+zULk8Zh9JH9Jk5A1 XYjTfAoSInEkrlvCN9dnWIaTpyc7KZG1ZAQzXISLIvSbgjVc6eAw4SSHkmWux3FcdzEZ ebnA8QdmRcXh93nL8DTaDcsjgAH3yCpuDpwIsV3V/dwRwnRdo3MPsWhSKMSSOnGS3rnx JlqA== 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=b0wYaVZhkmoKZFqFKJ9GWy0PCDcnJo4l4nL4b1dIx00=; b=ktpPqI6IeDa3KXOKycnTJFU+eTbdYbOK1WEazNlEW159Yhokt4JK0Hpudrg6T9jzu2 ZNACzRYElps3kx1QoXyg0Yk3HBHyYPeE2z7c82vG8yiS26F3bH4gRV/VhmDta/I0E9ZH nmYCKHDcIW6CBHmo5OoL0KewZN1OlWHM2zuQOYYKird3qDxC6Ou5i6gUcOcBEjIJPwVo Kacn7EUNg2TIgTrX2wZe3P5aIbb0sO3D7NmN43QZX/MFklVdOhhggxzVdxvvUjy664W8 Mmw6+VYNHflFZmAEvMamS4brRFWOn2SpW6wXXG8BrBlA+ulN/Xi68cbSDUb5mW4z0ReS lm0Q== X-Gm-Message-State: AJaThX4YbwKuw3EdK9ly/88o5AbEcHAt10pG/hxxUnT9TPEnnogtsPyc 5En7sybN3ftZfFMj7jGaz58= X-Google-Smtp-Source: AGs4zMZs61Ar8LTgqpWhlWxD5ki9RU7P/A6gzRoadMgcJvqypYuBwRhQlFl3Kt5HtqoZ5cvytqpIAQ== X-Received: by 10.98.62.221 with SMTP id y90mr17983205pfj.71.1512363203731; Sun, 03 Dec 2017 20:53:23 -0800 (PST) Received: from localhost.localdomain ([115.97.180.212]) by smtp.gmail.com with ESMTPSA id c191sm23084518pfg.24.2017.12.03.20.53.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 03 Dec 2017 20:53:22 -0800 (PST) From: Jagan Teki X-Google-Original-From: Jagan Teki To: Maxime Ripard Subject: [PATCH v2 2/2] arm64: allwinner: a64-sopine: Fix to use dcdc1 regulator instead of vcc3v3 Date: Mon, 4 Dec 2017 10:23:07 +0530 Message-Id: <1512363187-8353-2-git-send-email-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1512363187-8353-1-git-send-email-jagan@amarulasolutions.com> References: <1512363187-8353-1-git-send-email-jagan@amarulasolutions.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171203_205343_581806_6B8B08E5 X-CRM114-Status: GOOD ( 10.68 ) 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 where ever it need to replace. Tested mmc0 on sopine baseboard. Signed-off-by: Jagan Teki --- Changes for v2: - Commit message edited as fix since it has issue with sdcard detect. 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>;