From patchwork Tue Apr 25 16:42:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 9698749 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 27B726020A for ; Tue, 25 Apr 2017 16:43:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 13BDE28666 for ; Tue, 25 Apr 2017 16:43:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 06F5528662; Tue, 25 Apr 2017 16:43:00 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID 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 2F5D128636 for ; Tue, 25 Apr 2017 16:42:59 +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: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:In-Reply-To: References:List-Owner; bh=Q7yHcFLo7HdGa02k2XqlyrOAojIIxmsYqwfcb7uyKY4=; b=PeY LwMOA92xaH0rSDsWJ4oHYGobKU8QduPVvqzsPFyWgYEbDE4+dYcShJdQ+2GDMLjZdfwQDtFLSh1GL XmMDoci+hBwg0qekvemXFmjRvF02ctIvmQM9oQKrmMVcwSWysDrgr53FRyFmv41QQVE6LtGHCdb74 xYZG9r6pjQGIZ8+SZmXyi+fzM6+eCqz4C9yA1h9ACpW+w5dzBH+Vo1VaqxXd9/2E4WzcjGZbuXCdR B9gEhi2FZLgCVPctYPPtAZvCBmSAfgBCYlFWASRzAEm6TsyA60FdwXwAMKDLLDpvZ5dHmP76FMFg3 3HpxZi16E07DlBZSd/D0ufEIC9tHmrA==; 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 1d33YH-0002xK-41; Tue, 25 Apr 2017 16:42:57 +0000 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d33YC-0002v9-Ke for linux-arm-kernel@lists.infradead.org; Tue, 25 Apr 2017 16:42:55 +0000 Received: from mail.nefkom.net (unknown [192.168.6.184]) by mail-out.m-online.net (Postfix) with ESMTP id 3wC8Bp6fZCz1qsg0; Tue, 25 Apr 2017 18:42:26 +0200 (CEST) X-Auth-Info: xR1UZ+3LgVyID81eeTM2OgaRtc34VpDGzobcMT3XOiY= Received: from kurokawa.lan (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) by smtp-auth.mnet-online.de (Postfix) with ESMTPA id 3wC8Bp45CXzvdWS; Tue, 25 Apr 2017 18:42:26 +0200 (CEST) From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] [RFC] ARM: dts: imx6sx-sdb: Drop OPP hackery Date: Tue, 25 Apr 2017 18:42:24 +0200 Message-Id: <20170425164224.26537-1-marex@denx.de> X-Mailer: git-send-email 2.11.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170425_094252_863923_2D6C7B1E X-CRM114-Status: UNSURE ( 9.46 ) 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: Marek Vasut , Fabio Estevam , Shawn Guo 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 The imx6sx-sdb has one power supply that drives both VDDARM_IN and VDDSOC_IN, which is the sw1a regulator on the PFUZE PMIC. Connect both inputs to the sw1a regulator on the PMIC and drop the OPP hackery which is no longer needed as the power framework will take care of the regulator configuration as needed. Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Shawn Guo Tested-by: Leonard Crestez Tested-by: Henri Roosen Reviewed-by: Fabio Estevam --- Note: Fabio, if you have a chance, please give this a spin and see if this works. --- arch/arm/boot/dts/imx6sx-sdb.dts | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/arch/arm/boot/dts/imx6sx-sdb.dts b/arch/arm/boot/dts/imx6sx-sdb.dts index 5bb8fd57e7f5..c0139d7e497a 100644 --- a/arch/arm/boot/dts/imx6sx-sdb.dts +++ b/arch/arm/boot/dts/imx6sx-sdb.dts @@ -12,23 +12,6 @@ model = "Freescale i.MX6 SoloX SDB RevB Board"; }; -&cpu0 { - operating-points = < - /* kHz uV */ - 996000 1250000 - 792000 1175000 - 396000 1175000 - 198000 1175000 - >; - fsl,soc-operating-points = < - /* ARM kHz SOC uV */ - 996000 1250000 - 792000 1175000 - 396000 1175000 - 198000 1175000 - >; -}; - &i2c1 { clock-frequency = <100000>; pinctrl-names = "default"; @@ -145,3 +128,11 @@ reg = <1>; }; }; + +®_arm { + vin-supply = <&sw1a_reg>; +}; + +®_soc { + vin-supply = <&sw1a_reg>; +};