Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp4286810imb; Wed, 6 Mar 2019 09:37:37 -0800 (PST) X-Google-Smtp-Source: APXvYqz67hPRXJenbtxWrD55IH8D4NiSwBaw0w5pbnXeDHgUg7BOGHCernhA80r74dyMI/MePy18 X-Received: by 2002:a63:c307:: with SMTP id c7mr7374632pgd.386.1551893857610; Wed, 06 Mar 2019 09:37:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551893857; cv=none; d=google.com; s=arc-20160816; b=TllLDjurKlB4HVC+HnD5BLlYZ51x2Mwx8Hl0NFUBE67fxKmuaE0A9b/9yGTeZQpjud JgPK1P8hBEApfXl3sNpNynUoU4G2TgD4OTHgxRMlR6UeQBocDYihxmAn9JyybZ7pfvoe WXQZar1ZUVwBWgSsBR2DwseQc2rxrNu1FCfT6dSoyUWC6x3k1XR/5QD7jBplRTeFocEb PaktJ/ypLj/4xSWYHHJ5yyRlo7XmP/Sh/2+6f7B01wDE6G/DfbaL9KlJNTtc8hMi+4S1 kDOLqWDYToEeTns9wpZVuTGAWtRAuNB0pyZRD2lbJxPHfKXnz7M4v3UQ/b5f9QmI5Ofe pISw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=0h4/ZRuSltaePP2jL4/jUGCwjsf/sfoTJ3RQ5Ua+2lg=; b=EuZ6uy3uKpDGQKWBiNoh6FEwY0sGKzv+b6d8bpanUI0W+8ubM/mgwKusa2N1TbZQX/ zrjvr5N81lcxnagUvr/MzL8yl4FX0L2gqYNS1msCTcrMSJTfNIOYOcXuZyNDK/NFcDOg ImFO7/V6mbkNnb2vVTlRvZVGeHvaRhF9aL2GTRhJD2FtcKjMXtmILqc536JD94GpXa9s sSDSwoa5ombU5ogKOltiihQhTWkGi/tcu3yDmzvVXb3hP5YnMMRJV/4hfHYpSkwy6ckQ 1Ch3RUYTTBk6iXaIJ9PxeH8iMan33TDNx/93csY1HWqF4+aQUWXwKjEjJqQA08vMoPL4 ZDxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JlqnX8lV; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m2si2072686pfi.269.2019.03.06.09.37.22; Wed, 06 Mar 2019 09:37:37 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=JlqnX8lV; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727005AbfCFOEY (ORCPT + 99 others); Wed, 6 Mar 2019 09:04:24 -0500 Received: from mail-yw1-f66.google.com ([209.85.161.66]:46893 "EHLO mail-yw1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725788AbfCFOEX (ORCPT ); Wed, 6 Mar 2019 09:04:23 -0500 Received: by mail-yw1-f66.google.com with SMTP id n12so9978607ywn.13; Wed, 06 Mar 2019 06:04:23 -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; bh=0h4/ZRuSltaePP2jL4/jUGCwjsf/sfoTJ3RQ5Ua+2lg=; b=JlqnX8lVBGsFQPMnsLYFXmTZExWN77To+PpE1KY3AzWbo92r+u3Mz/B/T2bfBfyzgC nBUI9uyoHuq9Ga8h/ryD5znWHSA+zO8UvnlVmolkpE0CPhH7/fMcU1dInPFP5WI1Soz4 us3Q0lCiMyMt3l1lPN/u8bhhTnVej935/u7heWjAiVEpcjtdBYXAVh+gbyHlJmumVCPQ VYvWiZ36a4r5jTYrMyeSpiro/n8thaCiFZrykTvv4/AkBxt3kg0UyGUD8GrwrNrJoVF4 Roz8Vw6q5WwLTvLyGxPllNipxeb98KD9vJzkDGlwBj3drY2Alz7nMYxrwcXoOfHBbFXI JvNA== 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; bh=0h4/ZRuSltaePP2jL4/jUGCwjsf/sfoTJ3RQ5Ua+2lg=; b=KJjWDE2uLUD28khAfcJPr8jS0wyi/4b+6OvOKd4caXZpJC5qhU15VqiHogeeB31MY0 11C78Ft2bCjNAkITMufAQ0HRYnJjqc/cccDJqqebOzX3DoIGKX668kPMzooPqnFLDc63 IwxL/yh/aNatO6xABPkdUxYp35BBEU8/HErxhZM6vvIrt3BGBjsWseqyA0lxz4MPGNZ8 qsplG8YhinHSgbNqyMQIO0wD2IGVD/+SI1HAtmOG2+UYZuiYJh3K3iBsKSdhtUYjCCy0 nQdJmp5pZaCbxTDAV1zZ0EguRoNH/03XRygVzT7Kf285TmB3kRHftKG/qq/oCGD4pAgC EQJg== X-Gm-Message-State: APjAAAUozDemy9qdhRAFvtzFOp5A70ssHW2uDwKqwOzGoZS6ddCS8mAy W+EBOtpXDrVSr6TPzu4ivjI= X-Received: by 2002:a81:9bd0:: with SMTP id s199mr5242502ywg.446.1551881062349; Wed, 06 Mar 2019 06:04:22 -0800 (PST) Received: from localhost.localdomain (c-73-37-219-234.hsd1.mn.comcast.net. [73.37.219.234]) by smtp.gmail.com with ESMTPSA id r205sm859112ywb.70.2019.03.06.06.04.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Mar 2019 06:04:21 -0800 (PST) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: Adam Ford , Rob Herring , Mark Rutland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] ARM: dts: imx6q-logicpd: Shutdown LCD regulator during suspend Date: Wed, 6 Mar 2019 08:03:59 -0600 Message-Id: <20190306140402.17122-1-aford173@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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") 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