From patchwork Wed Mar 29 23:21:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Agner X-Patchwork-Id: 9652749 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 51038601D7 for ; Wed, 29 Mar 2017 23:20:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 42D8F28540 for ; Wed, 29 Mar 2017 23:20:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3778128560; Wed, 29 Mar 2017 23:20:46 +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 E349228540 for ; Wed, 29 Mar 2017 23:20:45 +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=3/FMOkKjF4F/fLAmoUR1i4CbA+ugpU3NjiCTuLzFuKA=; b=XLzz9BQGFMo9+AGlPI8x42xvH0 woKeH5aOdbCqp+U4t4N5fHVkb77bag5OAuYBbelH0hgGYNsxN18l3/L0FkiyWrTTngF47lLOHqk1V 0ReE4qxpZNQcFgCwq6UEM7ojraKQJqGcZCsgqVg/ff+7DOFcbWdX1nSo8ZEYiua055FlpNHAlofnr dOg6xL7zMShT1II20LD/HeFqs8q9a10EkWDdfQePyZeuZZsuxHAvD/Bq3LmqTcuu0E4LmrxVISP9Y MAZK84BdSKVpDZQ6iI/riF8H6Lbae4xZBjGPY6FfqqKefl9B70QQvCCAEB4Rskx7wA1kkV21zmGTl 5s0D308Q==; 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 1ctMtQ-0003M4-Rx; Wed, 29 Mar 2017 23:20:44 +0000 Received: from mail.kmu-office.ch ([2a02:418:6a02::a2]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ctMsj-0001Zj-Fn for linux-arm-kernel@lists.infradead.org; Wed, 29 Mar 2017 23:20:04 +0000 Received: from trochilidae.toradex.int (75-146-58-181-Washington.hfc.comcastbusiness.net [75.146.58.181]) by mail.kmu-office.ch (Postfix) with ESMTPSA id 652055C18B6; Thu, 30 Mar 2017 01:09:13 +0200 (CEST) From: Stefan Agner To: shawnguo@kernel.org, kernel@pengutronix.de Subject: [PATCH 3/5] ARM: dts: imx7-colibri: allow to disable Ethernet rail Date: Wed, 29 Mar 2017 16:21:11 -0700 Message-Id: <20170329232113.19078-3-stefan@agner.ch> X-Mailer: git-send-email 2.12.1 In-Reply-To: <20170329232113.19078-1-stefan@agner.ch> References: <20170329232113.19078-1-stefan@agner.ch> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1490828955; bh=HHvAYwx4ohCPCMM42VoAvEwFMdDsxxH3R8K379ashFI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=es9Wpdm7jAGAGl2EHcJDoQia8BN+gq3oQGP76U/08b036LbpMFeO/wqpF6fECdLLFvW6XJsv7wtiKoj0TNrqW35V59eOQbbUQmyy3F88yP0Fbd0ujr/44bYgnXiyfDUhcpzQU+XWJAoHba5ijauAgWIcZ9wzlO7yH6/eIrcxRto= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170329_162001_748118_ADCF75E2 X-CRM114-Status: UNSURE ( 8.92 ) 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@arm.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Stefan Agner , robh+dt@kernel.org, fabio.estevam@nxp.com, linux-arm-kernel@lists.infradead.org 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 regulator-always-on property on the Ethernet rail prevents Linux from disabling the rail when Ethernet is shut down (suspend or simply link down). With this change the regulator framework will disable the rail when the Ethernet PHY is not used, saving power especially on carrier board not using Ethernet. Signed-off-by: Stefan Agner --- arch/arm/boot/dts/imx7-colibri.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx7-colibri.dtsi b/arch/arm/boot/dts/imx7-colibri.dtsi index 47eab920666f..cbcab937b905 100644 --- a/arch/arm/boot/dts/imx7-colibri.dtsi +++ b/arch/arm/boot/dts/imx7-colibri.dtsi @@ -181,7 +181,7 @@ reg_LDO1: LDO1 { /* PWR_EN_+V3.3_ETH */ regulator-min-microvolt = <1800000>; regulator-max-microvolt = <3300000>; - regulator-always-on; + regulator-boot-on; }; reg_LDO2: LDO2 { /* +V1.8_SD */