Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp471634imm; Wed, 25 Jul 2018 00:01:08 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfHJW3LtSDmCbC4/Ow/yZF4eWrZIwT/bqoDu3rmSPveB20ezdthJ/NE2ute9jBWQX8UDx6Q X-Received: by 2002:a17:902:7b96:: with SMTP id w22-v6mr19882710pll.24.1532502068019; Wed, 25 Jul 2018 00:01:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532502067; cv=none; d=google.com; s=arc-20160816; b=lq0AjAjHTb22tF5k8tMhfEeo6s7EjD2gMsx6zE5bU4ZhCGFfBtscOcG0dNrX2EASZ9 NGdZkYM64qWLH7XsWmRiNOkm3z/LVYc3gTY8lhxRYL7yrfcsL9X+dHEFN9M+NaNmCBVm uboHr0Z10DrXjB0uLVmBN6q6tlyLa6dlw45w2Lkm12lOHs8ChK5HviDl9/aMJQstKez+ c7+ImnVpHLx3gaiv+uWTR9pvFhmQkShShHjBPQI5/FyKdDD54YoQW1w4HTxx9m51NNZw buQEifeSm7nZfmEspiDICR0C56JtBui5B0o9AVVIkLtKJr+P86RjVv3zedwtihRQqm5v Nmrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=EliiLwTPmGSbDwWK741EpRrBcJZcBOCipR6lx4gtBgY=; b=pYwzaBApHW5DV2BM975jU1FM8EAPEfZvFo7LPMMUZs0JGan/GS3CEBHXP0KA4u16If E2K/IUJhRm50uSm0L/0r9HPGkFjBiaJ/ju8U2GB1/etarlJlSaZrqyVqz9CZDJ6nymu9 IXDZcJsbvhWq6xHQHyjbz9OEiwz88kB2u7XgWJ/BIpGGOMcc3Vp5p8tRqvyx2OYax6rm A0FHeWkqcPifahLrSDaZ49PqsuMmONrYVg7gnggNrFYxzfQEIEy85sThghD5yLPJGfYf cyUGbYts0nsCt96mSIinl1Ax+1ksne2PhF1D+CQg1P1+T9VrF45RyPDI/OwLJ3XCNOQx VT6A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1-v6si12057984plj.411.2018.07.25.00.00.53; Wed, 25 Jul 2018 00:01:07 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728975AbeGYIKF (ORCPT + 99 others); Wed, 25 Jul 2018 04:10:05 -0400 Received: from mo4-p04-ob.smtp.rzone.de ([85.215.255.121]:29522 "EHLO mo4-p04-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728813AbeGYIJj (ORCPT ); Wed, 25 Jul 2018 04:09:39 -0400 X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMhflhwDubTJ9o12DNO4Ij0pB1ZSLA74=" X-RZG-CLASS-ID: mo00 Received: from iMac.fritz.box by smtp.strato.de (RZmta 43.13 DYNA|AUTH) with ESMTPSA id 6047f4u6P6xFd5r (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Wed, 25 Jul 2018 08:59:15 +0200 (CEST) From: "H. Nikolaus Schaller" To: Marek Belisko , =?UTF-8?q?Beno=C3=AEt=20Cousson?= , Tony Lindgren , Rob Herring , Mark Rutland Cc: linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, letux-kernel@openphoenux.org, "H. Nikolaus Schaller" Subject: [PATCH 28/32] ARM: dts: omap3-gta04a5: disable IrDA receiver to save power Date: Wed, 25 Jul 2018 08:59:00 +0200 Message-Id: <5ad0a7b127ad80d145284378323cd5a424059b57.1532501910.git.hns@goldelico.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The GTA04A5 has an improved IrDA circuit that can enable/disable the receiver individually. We do not have an IrDA driver/subsystem and hence the receiver should be actively turned off to save power, especially in suspend. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04a5.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04a5.dts b/arch/arm/boot/dts/omap3-gta04a5.dts index e3f9e0969065..e3352cc97c91 100644 --- a/arch/arm/boot/dts/omap3-gta04a5.dts +++ b/arch/arm/boot/dts/omap3-gta04a5.dts @@ -25,7 +25,21 @@ }; +&gpio5 { + irda_en { + gpio-hog; + gpios = <(175-160) GPIO_ACTIVE_HIGH>; + output-high; /* activate gpio_175 to disable IrDA receiver */ + }; +}; + &omap3_pmx_core { + irda_pins: pinmux_irda { + pinctrl-single,pins = < + OMAP3_CORE1_IOPAD(0x21d0, PIN_OUTPUT_PULLUP | MUX_MODE4) /* mcspi1_cs1 = gpio175 */ + >; + }; + pps_pins: pinmux_pps_pins { pinctrl-single,pins = < OMAP3_CORE1_IOPAD(0x2138, PIN_INPUT | MUX_MODE4) /* gpin114 */ -- 2.12.2