From patchwork Tue Sep 9 14:55:30 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 37128 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f197.google.com (mail-ig0-f197.google.com [209.85.213.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DD39F20566 for ; Tue, 9 Sep 2014 14:56:27 +0000 (UTC) Received: by mail-ig0-f197.google.com with SMTP id r2sf77887307igi.0 for ; Tue, 09 Sep 2014 07:56:27 -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=WraSsDRJ0T6EU4DYFyUkbk9cxSwIPLRFmWq8pkQlgPg=; b=Q7qHt+2b4PXk6IER2xaNV1/AHMl1umqe1GKDa1z3JiVdK95STmNDBAvFWYT4fTDgbN P5md4W3xXDV5n41lGZAmov9LY5TkOe1L8OtXPnUXCZe30hg/4b8nMLQa7rsnMHUfkMJh 7uKxkg+7daxCQfxhxSsL+WypS1XdBc2dYX59R9dIlRJnlV8k1IMfDqQzzLVsjZfM8aYF rDC4yGpCC3T+ZexSnXNgj9ehQl5clQ1HiDomwKpdsToE5Lg8CvXEeqcKULoFJXXQoqd0 cKATEOmGZ7IalyfG/S7QpCR9SLzEMq3NU2cjB7zRdm0fZ+Tv6GlmC8QFTl/AjGaW4sF4 vzLA== X-Gm-Message-State: ALoCoQnO+wCgplPl5OhWo7xaaiL/nvyaM4lOegstWC2tbHz6m6CGNiZQ0jEh9OMAkVdQru0xfZmw X-Received: by 10.182.191.36 with SMTP id gv4mr1104628obc.50.1410274587524; Tue, 09 Sep 2014 07:56:27 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.96.56 with SMTP id j53ls601049qge.28.gmail; Tue, 09 Sep 2014 07:56:27 -0700 (PDT) X-Received: by 10.52.146.161 with SMTP id td1mr964265vdb.8.1410274587447; Tue, 09 Sep 2014 07:56:27 -0700 (PDT) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx.google.com with ESMTPS id l2si5300481vdi.4.2014.09.09.07.56.27 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 09 Sep 2014 07:56:27 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.171 as permitted sender) client-ip=209.85.220.171; Received: by mail-vc0-f171.google.com with SMTP id id10so17084098vcb.2 for ; Tue, 09 Sep 2014 07:56:27 -0700 (PDT) X-Received: by 10.52.129.165 with SMTP id nx5mr25013925vdb.25.1410274587334; Tue, 09 Sep 2014 07:56:27 -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 uj3csp296613vcb; Tue, 9 Sep 2014 07:56:26 -0700 (PDT) X-Received: by 10.68.208.8 with SMTP id ma8mr30682883pbc.88.1410274586415; Tue, 09 Sep 2014 07:56:26 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id uz1si23573252pac.182.2014.09.09.07.56.25 for ; Tue, 09 Sep 2014 07:56:26 -0700 (PDT) Received-SPF: none (google.com: linux-omap-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 S932730AbaIIO4Y (ORCPT + 5 others); Tue, 9 Sep 2014 10:56:24 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:58693 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932719AbaIIO4U (ORCPT ); Tue, 9 Sep 2014 10:56:20 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id s89Eu6e9013042; Tue, 9 Sep 2014 09:56:06 -0500 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s89Eu6xi024037; Tue, 9 Sep 2014 09:56:06 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.174.1; Tue, 9 Sep 2014 09:56:06 -0500 Received: from localhost.localdomain (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s89EtaMk021075; Tue, 9 Sep 2014 09:56:02 -0500 From: Roger Quadros To: CC: , , , , , , , , , , Dave Gerlach , Roger Quadros Subject: [PATCH v2 08/12] ARM: dts: am437x-gp-evm: Add pinctrl sleep states for dcan pins Date: Tue, 9 Sep 2014 17:55:30 +0300 Message-ID: <1410274534-22826-9-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1410274534-22826-1-git-send-email-rogerq@ti.com> References: <1410274534-22826-1-git-send-email-rogerq@ti.com> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-omap@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.171 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 Signed-off-by: Roger Quadros --- 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"; };