From patchwork Thu Dec 8 00:57:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Longerbeam X-Patchwork-Id: 9465545 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id EC88460512 for ; Thu, 8 Dec 2016 01:02:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BB8FD28565 for ; Thu, 8 Dec 2016 01:02:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AEC4F28599; Thu, 8 Dec 2016 01:02:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2597128565 for ; Thu, 8 Dec 2016 01:02:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933718AbcLHBBl (ORCPT ); Wed, 7 Dec 2016 20:01:41 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:35069 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753350AbcLHA7r (ORCPT ); Wed, 7 Dec 2016 19:59:47 -0500 Received: by mail-pg0-f65.google.com with SMTP id p66so25034706pga.2; Wed, 07 Dec 2016 16:59:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ZP3Tw7ZAQ8lCkS5VvtHE3/YoEm/AX7I3s3HN0mtNqhQ=; b=a0GqG+VngdRp+Pn18pVJR7v9IvvjjB9HeOdrr8+RooI4zvTdFCNSKYKvvPn/aLgzZa G2TJtfLSEVS1kETYo/1au+/m+JpmYie7aZrmGIt2cM3yx+Egql87Nulz3o6Uc0slOEg0 T523siY5JAL498RFMQ4iXZ0A5FxPTn5laubB9tBNu/z8r6crZ7UBYtc2v+5VDLgUNjFt eI0IFCnnMUovsogITej/pk3wG4jb1qZFF1Fg3Uss9fJmnRSbNBO+q+/ClHLS+1jGUsjj 15D1KdUpfPETV2aJZzQ8X/6rrgsiXie6aBZq1FEIXGDuTMdRyCHBck7s96/MhLr3kKEP LHjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ZP3Tw7ZAQ8lCkS5VvtHE3/YoEm/AX7I3s3HN0mtNqhQ=; b=fQ0YjMcTcpyC3RUe48WrG63GlnBIe7PLQd8q2VQpQKQiW7xKG6Cst9ggiQ3UxXo41v nLb1ocAygXWSuzYyBZxUggNxObZixZCHIomVNOKhs8DlVLosNb6SRQ+CyStSTRPsDbSJ moIQ2fQqaW+4RGMzngDoFJXT620jeZnZOR7/JyxiQjxbxYmSLC7VizurnoXQYTjLPSLU iaV7ADjMESOAlrzYv78WgVI/Jb38c20DDgFOCl4cHqi3RGupaqoBa3X9lQIneY6uOHso yQpRMd3m9NidNByPdy0Iia2xUgZQkiiKn7DDWkvtA9sXFtLhKxsY/jLxV3LRY3ltNxpc zx0g== X-Gm-Message-State: AKaTC00NYW+nvFS7l1BRCRx7YGAxUuaaoTLyf2la7SNkeVb5VtBhUYPOfYSAQ/+RsXHttg== X-Received: by 10.84.218.136 with SMTP id r8mr153550976pli.23.1481158775560; Wed, 07 Dec 2016 16:59:35 -0800 (PST) Received: from majic.sklembedded.com (c-73-241-2-21.hsd1.ca.comcast.net. [73.241.2.21]) by smtp.googlemail.com with ESMTPSA id n25sm45265872pfi.33.2016.12.07.16.59.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 07 Dec 2016 16:59:34 -0800 (PST) From: Steve Longerbeam X-Google-Original-From: Steve Longerbeam To: shawnguo@kernel.org, kernel@pengutronix.de, fabio.estevam@nxp.com, robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, tomi.valkeinen@ti.com, p.zabel@pengutronix.de Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, Steve Longerbeam Subject: [PATCH 07/12] ARM: dts: imx6-sabreauto: add reset-gpios property for max7310_b Date: Wed, 7 Dec 2016 16:57:48 -0800 Message-Id: <1481158673-15937-8-git-send-email-steve_longerbeam@mentor.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1481158673-15937-1-git-send-email-steve_longerbeam@mentor.com> References: <1481158673-15937-1-git-send-email-steve_longerbeam@mentor.com> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The reset pin to the port expander chip (MAX7310) is controlled by a gpio, so define a reset-gpios property to control it. There are three MAX7310's on the SabreAuto CPU card (max7310_[abc]), but all use the same pin for their reset. Since all can't acquire the same pin, assign it to max7310_b, that chip is needed by more functions (usb and adv7180). Signed-off-by: Steve Longerbeam --- arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi index 043d20c..944a4fa 100644 --- a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi +++ b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi @@ -136,6 +136,9 @@ reg = <0x32>; gpio-controller; #gpio-cells = <2>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_max7310>; + reset-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; }; max7310_c: gpio@34 { @@ -442,6 +445,12 @@ >; }; + pinctrl_max7310: max7310grp { + fsl,pins = < + MX6QDL_PAD_SD2_DAT0__GPIO1_IO15 0x80000000 + >; + }; + pinctrl_pwm3: pwm1grp { fsl,pins = < MX6QDL_PAD_SD4_DAT1__PWM3_OUT 0x1b0b1