Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp523676img; Wed, 20 Mar 2019 05:44:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqzQ0GRd5gZ10jjOOoykr1o7eWkHwqXqak7t7eiBj1EFRztvMs0wWN8K+WJKRiTnCdTuoNcl X-Received: by 2002:a63:cc15:: with SMTP id x21mr7316015pgf.380.1553085850151; Wed, 20 Mar 2019 05:44:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553085850; cv=none; d=google.com; s=arc-20160816; b=X/qNaXXFaHfc7I5CVaveUoGhsS1laMNaPeeH3mfRj4ZLYhE0ZVXYnCkTfVvcWbCXDn NG38yhoe7gDMGyV6Pu6yh05PugdzdEyOPINwZc9GMUwFhmrQuE+pYu5ZZx3sJjfleCSw 2Wr5hxiCuvPt3s1TPS/aC68rp+gnRCCt8YyVxna04dEOmJzMtaLA8oUW2m/nPT4DIGn4 QoEG+kt4ozC8thKe1w80IfGVTulVJPwN4X55sbOC6c36DZXn8f8e2Eqyk4z4hsfNpdVn SApkbz0a3P3OgJgOp0kTMtJMPeGDHizR9nOMnvCr8s2rBDYCHuNtJ9bcJYk9ifSEeI6q STwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=5z+NyvmNuhHxD8ypR71wMqchXLi0FBFhfYszei7FsKk=; b=rRaZNIRD1RdE9n4zsa/4rHM1fGO4NItz+ZLnALzZxOJlSWkXD/uQbM3QsXCuJ/QCra j+GtKumXUpC8qBxqwO5yVExivRaaPW01+0ovsIdbcb4h9usl6uKQAhjTce+HLwE0nWlf 8C2vFfv2laBAtmvOW791ulq0Usw/7hJUf1ti7eV7ioSd5sJd953FwazVSCbVO/G90i1K NfVxe9JPwZW3eOv5SYU1ACO4de1AMq4oBpDrNHD7fgIRwtIKsUDCkSjj9g1K0mSHr084 JvaxUAEc5fhJFlDBrGZoZGwJQthJJMrwRY9Gf3WQH93e9G7RMDgcPOURL0riWNZODnk9 ywrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="0nSEC2/d"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 34si1820817plf.43.2019.03.20.05.43.54; Wed, 20 Mar 2019 05:44:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="0nSEC2/d"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727679AbfCTMmp (ORCPT + 99 others); Wed, 20 Mar 2019 08:42:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:41522 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727180AbfCTMmp (ORCPT ); Wed, 20 Mar 2019 08:42:45 -0400 Received: from dragon (98.142.130.235.16clouds.com [98.142.130.235]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 80856213F2; Wed, 20 Mar 2019 12:42:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553085764; bh=Mb8MDZe/dnoG/NeNKp2b9QF5AQ3pzP/m9Q2AQopQThc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=0nSEC2/dK6Oo3uBAmv9YuuRV2vvTrRSgAXQqTRYSEOsOhfAy5gB/spxhiD28GBtYg 6pGaSnbgDhnqr+mlb48SU7bRQ+AhgpRCIxDM9c4L9YbZPuIby7oupkHayGCcnbO5xJ eMaUjY9KvAzdiONinQ3qObVJUfB9MIFhzD0dQeOQ= Date: Wed, 20 Mar 2019 20:42:22 +0800 From: Shawn Guo To: Adam Ford Cc: linux-arm-kernel@lists.infradead.org, Rob Herring , Mark Rutland , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] ARM: dts: imx6q-logicpd: Shutdown LCD regulator during suspend Message-ID: <20190320124221.GN4980@dragon> References: <20190306140402.17122-1-aford173@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190306140402.17122-1-aford173@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 06, 2019 at 08:03:59AM -0600, Adam Ford wrote: > The LCD power sequencer is very finicky. The backlight cannot > be driven until after the sequencer is done. Until now, the > regulators were marked with 'regulator-always-on' to make sure > it came up before the backlight. This patch allows the LCD > regulators to power down and prevent the backlight from being > used again until the sequencer is ready. This reduces > standby power consumption by ~100mW. > > Fixes: 1c207f911fe9 ("ARM: dts: imx: Add support for Logic > PD i.MX6QD EVM") Fixes tag is more for regressions or serious bugs. It looks the patch is more like an improvement though. Shawn > > Signed-off-by: Adam Ford > > diff --git a/arch/arm/boot/dts/imx6q-logicpd.dts b/arch/arm/boot/dts/imx6q-logicpd.dts > index 45eb0b7f75f8..d96ae54be338 100644 > --- a/arch/arm/boot/dts/imx6q-logicpd.dts > +++ b/arch/arm/boot/dts/imx6q-logicpd.dts > @@ -21,6 +21,8 @@ > > panel-lvds0 { > compatible = "okaya,rs800480t-7x0gp"; > + power-supply = <®_lcd_reset>; > + backlight = <&backlight>; > > port { > panel_in_lvds0: endpoint { > @@ -38,7 +40,6 @@ > regulator-max-microvolt = <3300000>; > gpio = <&gpio4 17 GPIO_ACTIVE_HIGH>; > enable-active-high; > - regulator-always-on; > vin-supply = <®_3v3>; > startup-delay-us = <500000>; > }; > @@ -52,7 +53,6 @@ > regulator-max-microvolt = <3300000>; > gpio = <&gpio5 2 GPIO_ACTIVE_HIGH>; > enable-active-high; > - regulator-always-on; > vin-supply = <®_lcd>; > }; > }; > -- > 2.17.1 >