From patchwork Mon Oct 16 12:16:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10008129 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 5224F601D5 for ; Mon, 16 Oct 2017 12:18:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4D1AB28514 for ; Mon, 16 Oct 2017 12:18:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3E74F28590; Mon, 16 Oct 2017 12:18:34 +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 CC27228514 for ; Mon, 16 Oct 2017 12:18:25 +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=ZZ1kcGaOaZKzYtGf0PN+1vqR75SJQxVdpEmo2M8ZSto=; b=l7xjYbxfqXuQvBDmKw3/0k2kGI ep5aH0U/YlSabFm1FUhsjCkPc7jbO8/mm130uRVSMAqS+PkbaPPORV6p3LjfF5xQ+r6HP4s6Iwh6E edhJ0eJMCPQsVX29gHCaPjaSTnrNw7arUgk4kAEryaYVNSALHFvMdgNPOm2cxSA9E5+6JhiF1Mhao 6I1MRE4ZuXCZjQikfTnxNHKh/XEYaZvbHwjF7ZwAI0HXazn2o9PiWY3dMQim4IqAwgWFDqvay+EJJ wo14AvqPP2qNYh2OHVICbWaNV2DXznLopnK2kkE9tHX477U4ofZgXx/VetgPe/I3x3xls5ASDgjSS tC7Kphjg==; 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 1e44Lh-0007wz-A7; Mon, 16 Oct 2017 12:18:25 +0000 Received: from mail-pg0-x244.google.com ([2607:f8b0:400e:c05::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e44LB-00078Q-5N; Mon, 16 Oct 2017 12:17:58 +0000 Received: by mail-pg0-x244.google.com with SMTP id k7so6658950pga.3; Mon, 16 Oct 2017 05:17:32 -0700 (PDT) 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=LrzjlRBJxxYwc1RWs9qNmUpU0EvOeQh71LSc+DAYyII=; b=FXrLuDjN+WCQ6hMCogpGVgCJxkZU4do4MDb3+8N2WGjBzmRm6eDbl/czUB/p2sOmxN yEWTPZY0IyrEASUMevrQLU0Xa+RG1ZLn6hGTb95kUzEHuGU76E6/YNy1U5FGXd9moQZ2 pi2Irn9qzXHD+5WyJXV/M6JLa5SxqyPFDsfnaxNFPw3A4wZAE2PIv8a7OeNj6pC378CF 3mM7aGrmrQJ8ug4Py5j8kv/ByZgVpHRhp5rYTbTxzkK+dbJkfJMj2JgsbnTRbNucuCoX gCIrH24gcDri3N/cZnfoOB3iZ4O3tu7g+U9PBbH51BsqopryqNfhdKazYQQk1HU+P9S7 cfzQ== 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=LrzjlRBJxxYwc1RWs9qNmUpU0EvOeQh71LSc+DAYyII=; b=r8OzGNUBUmP4FPvQC+lc/N6JBuhUNU+ZnjxrIzDdWuqvI6OMXjrYMbSxkU+hzvA3Tp 2RDsWWGduIUQn7QbIJXHONBQ9oDNg1SrqvXi/oYJ6OiWbedG5AxOiLiWCEXEcj/zWQ5f aygydogNjfm1f82BoRdwyfRlg8tYHkA6EO/0Eavh5Dk/JaraFynvJ9SSMD+hlcsmePG2 qqUmdfpWN/oWNRLgKKwBmAtAh1NRjlyZ425wDxlq7N0HRJiuSg8BPtIHAZWeLQhSLHx+ VbOGaUj7o5fl7yzzfAV40MVY1ePfqYz2wF7/ayo4ZtUc6PnYIeWxbG5B8f+h2lxuUSjU KQGQ== X-Gm-Message-State: AMCzsaV28TLsI1zLJNMvhuWsvizYAACDbK+iDGGQr68fC/nJVCFRU4gK +Jrq/Cvq9zh/rlZxiwMXREkwwsvzpAs= X-Google-Smtp-Source: AOwi7QAjVjlkPQuLem388bXT5vs/FjDAAGdu/ACQQS48DHfBhALRe55BQDAiQiZC7fN21sZeogQ9jg== X-Received: by 10.159.218.68 with SMTP id x4mr8456889plv.291.1508156251691; Mon, 16 Oct 2017 05:17:31 -0700 (PDT) Received: from localhost.localdomain ([1.128.10.43]) by smtp.gmail.com with ESMTPSA id r18sm12753490pfi.59.2017.10.16.05.17.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 16 Oct 2017 05:17:30 -0700 (PDT) From: Jagan Teki X-Google-Original-From: Jagan Teki To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/9] ARM: dts: rockchip: rk3288-vyasa: Use vmmc-supply from PMIC Date: Mon, 16 Oct 2017 17:46:21 +0530 Message-Id: <1508156187-27519-4-git-send-email-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1508156187-27519-1-git-send-email-jagan@amarulasolutions.com> References: <1508156187-27519-1-git-send-email-jagan@amarulasolutions.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171016_051753_570128_10094FC8 X-CRM114-Status: UNSURE ( 9.33 ) X-CRM114-Notice: Please train this message. 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, Heiko Stuebner , Russell King , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Rob Herring , Jagan Teki , Michael Trimarchi 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 rk808, SWITCH_REG1 has configured for sdmmc regulator as vcc_sd, so use the same by renaming vcc33_sd to vcc_sd(as per schematic) and drop explicit regulator definition from root. Signed-off-by: Jagan Teki --- arch/arm/boot/dts/rk3288-vyasa.dts | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/arch/arm/boot/dts/rk3288-vyasa.dts b/arch/arm/boot/dts/rk3288-vyasa.dts index 915b4a3..c14ebf9 100644 --- a/arch/arm/boot/dts/rk3288-vyasa.dts +++ b/arch/arm/boot/dts/rk3288-vyasa.dts @@ -56,18 +56,6 @@ device_type = "memory"; }; - vcc_sd: sdmmc-regulator { - compatible = "regulator-fixed"; - gpio = <&gpio7 RK_PB3 GPIO_ACTIVE_LOW>; - pinctrl-names = "default"; - pinctrl-0 = <&sdmmc_pwr>; - regulator-name = "vcc_sd"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - startup-delay-us = <100000>; - vin-supply = <&vcc_io>; - }; - vcc_sys: vsys-regulator { compatible = "regulator-fixed"; regulator-name = "vcc_sys"; @@ -260,8 +248,8 @@ }; }; - vcc33_sd: SWITCH_REG1 { - regulator-name = "vcc33_sd"; + vcc_sd: SWITCH_REG1 { + regulator-name = "vcc_sd"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-always-on; @@ -338,10 +326,4 @@ rockchip,pins = ; }; }; - - sdmmc { - sdmmc_pwr: sdmmc-pwr { - rockchip,pins = <7 11 RK_FUNC_GPIO &pcfg_pull_none>; - }; - }; };