From patchwork Mon Sep 8 14:10:40 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 36996 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f198.google.com (mail-pd0-f198.google.com [209.85.192.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id ED3E92054D for ; Mon, 8 Sep 2014 14:12:01 +0000 (UTC) Received: by mail-pd0-f198.google.com with SMTP id ft15sf9271176pdb.9 for ; Mon, 08 Sep 2014 07:12:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe:content-type; bh=WlH8Sgx39pxKSqeNBhu1hPqpxJ4JHKVpP+mVrFVGOfA=; b=iMjZt5bornL2zyFVBhlOchErRsPUykNk7ujIH2svlzt+QnzRouaJuUTnBXBoIXRFos OY+MgIqhuKS11qC26zn5BWFhN+z+Tp0Gf7hTKaebE1DdkTbwlXhi+rbaqqmVQlbc/jI6 JL5+WT4C1MB++rEAWDGxyi529voY+Zri/LiGIfql7UF+xQPQsvsYEy4uhb1AP2aOogfL NkmOsJUlRiba8Dh3fUg4USrvD1l/mDBotvCNIvmwRH8JWEeHoPlfZdf5lqRpHdXKvHrY YDYcdZTzdwjLme0zOw+eqUSHplzO9XWyITM3KZCVuSz0hejseb9OGOQTcxlQ5L3UuKA8 J2Gg== X-Gm-Message-State: ALoCoQn/pIZA4KRZMqXPxvnjKlwkPcuwPRV8oDQOjkULUu7qNx2wMLsGILA+RSDER8uptxxvHRwJ X-Received: by 10.68.135.99 with SMTP id pr3mr3809733pbb.9.1410185521296; Mon, 08 Sep 2014 07:12:01 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.22.229 with SMTP id 92ls1795331qgn.98.gmail; Mon, 08 Sep 2014 07:12:01 -0700 (PDT) X-Received: by 10.52.168.134 with SMTP id zw6mr8806614vdb.37.1410185521050; Mon, 08 Sep 2014 07:12:01 -0700 (PDT) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx.google.com with ESMTPS id iy2si4601547vdb.3.2014.09.08.07.12.01 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 08 Sep 2014 07:12:01 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.182 as permitted sender) client-ip=209.85.220.182; Received: by mail-vc0-f182.google.com with SMTP id le20so1395061vcb.41 for ; Mon, 08 Sep 2014 07:12:01 -0700 (PDT) X-Received: by 10.52.248.232 with SMTP id yp8mr189093vdc.83.1410185520952; Mon, 08 Sep 2014 07:12:00 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.45.67 with SMTP id uj3csp140049vcb; Mon, 8 Sep 2014 07:12:00 -0700 (PDT) X-Received: by 10.70.103.8 with SMTP id fs8mr1936463pdb.81.1410185520087; Mon, 08 Sep 2014 07:12:00 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id jd1si18166235pbd.65.2014.09.08.07.11.59 for ; Mon, 08 Sep 2014 07:12:00 -0700 (PDT) Received-SPF: none (google.com: netdev-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754568AbaIHOLo (ORCPT + 3 others); Mon, 8 Sep 2014 10:11:44 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:52506 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754506AbaIHOLl (ORCPT ); Mon, 8 Sep 2014 10:11:41 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id s88EBQT0002603; Mon, 8 Sep 2014 09:11:26 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s88EBQXB000618; Mon, 8 Sep 2014 09:11:26 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.174.1; Mon, 8 Sep 2014 09:11:25 -0500 Received: from localhost.localdomain (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s88EAi0H014173; Mon, 8 Sep 2014 09:11:22 -0500 From: Roger Quadros To: , , CC: , , , , , , , , , Dave Gerlach Subject: [PATCH 11/13] ARM: dts: am437x-gp-evm: Add pinctrl sleep states for dcan pins Date: Mon, 8 Sep 2014 17:10:40 +0300 Message-ID: <1410185442-907-12-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1410185442-907-1-git-send-email-rogerq@ti.com> References: <1410185442-907-1-git-send-email-rogerq@ti.com> MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: netdev@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: rogerq@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.182 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Dave Gerlach Define pinctrl sleep states for both dcan0 and dcan1 to place pull downs on the lines to optimize power savings during suspend. Signed-off-by: Dave Gerlach Signed-off-by: Sekhar Nori --- arch/arm/boot/dts/am437x-gp-evm.dts | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts index 6d03baa..ca9e1ab 100644 --- a/arch/arm/boot/dts/am437x-gp-evm.dts +++ b/arch/arm/boot/dts/am437x-gp-evm.dts @@ -262,12 +262,26 @@ >; }; + dcan0_sleep: dcan0_sleep_pins { + pinctrl-single,pins = < + 0x178 (PIN_INPUT_PULLDOWN | MUX_MODE7) + 0x17c (PIN_INPUT_PULLDOWN | MUX_MODE7) + >; + }; + dcan1_default: dcan1_default_pins { pinctrl-single,pins = < 0x180 (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* uart1_rxd.d_can1_tx */ 0x184 (PIN_INPUT_PULLUP | MUX_MODE2) /* uart1_txd.d_can1_rx */ >; }; + + dcan1_sleep: dcan1_sleep_pins { + pinctrl-single,pins = < + 0x180 (PIN_INPUT_PULLDOWN | MUX_MODE7) + 0x184 (PIN_INPUT_PULLDOWN | MUX_MODE7) + >; + }; }; &i2c0 { @@ -527,13 +541,15 @@ }; &dcan0 { - pinctrl-names = "default"; + pinctrl-names = "default", "sleep"; pinctrl-0 = <&dcan0_default>; + pinctrl-1 = <&dcan0_sleep>; status = "okay"; }; &dcan1 { - pinctrl-names = "default"; + pinctrl-names = "default", "sleep"; pinctrl-0 = <&dcan1_default>; + pinctrl-1 = <&dcan1_sleep>; status = "okay"; };