From patchwork Tue Jun 14 22:49:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Longerbeam X-Patchwork-Id: 9177129 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 AC5D46021C for ; Tue, 14 Jun 2016 22:52:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9CE8928307 for ; Tue, 14 Jun 2016 22:52:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 91FB62833B; Tue, 14 Jun 2016 22:52:24 +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.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, 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 46C7728307 for ; Tue, 14 Jun 2016 22:52:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932308AbcFNWwR (ORCPT ); Tue, 14 Jun 2016 18:52:17 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:35634 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932180AbcFNWvV (ORCPT ); Tue, 14 Jun 2016 18:51:21 -0400 Received: by mail-pf0-f193.google.com with SMTP id t190so302155pfb.2 for ; Tue, 14 Jun 2016 15:51:20 -0700 (PDT) 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=kcfuLRGrlMoSwGqWDwDQVeWeKs2Y3UVDq7hJU/zZx5U=; b=0uHA4oduOExOi9nvz7uf/Yb1ME8eIMHYAHsZzyPYN3mE27JyVsfeUIjZ7v9oJV4xJe gC2c2VPmu5siZQ84EFbJRHbUoTgU8xkzRCf9oLsHXAp1HdAUWEnvMq6V7eC2tDyWyuec Hl6VNCr1RXtVabYlblPtbYydaTic8L54R69w3AYe5YJa3Nu8ZFl14JlIHvB5+wM9mRGd 0ZQ9XKJyMKEJso71ZP/nGdgtFFew0nTAG+l9aaTrta1jvIjxkOBWS8eRm2/0zWHfe5R0 2IiN5GEprcbDMh3oi8z2zK9uY9cwgvxALMxMXH/665DvOnYHewpjmpZJTtbGlmLSCvAC y6hw== 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=kcfuLRGrlMoSwGqWDwDQVeWeKs2Y3UVDq7hJU/zZx5U=; b=W7gcsZRyGS2vM1X0K0NBbn+nglh7H6RJQL6lbM+K7bbabHlI1P3/GgQk9BJq9LVVAk REutFTg2uDxecovsz8vejxhM2KVSV6SACWhYgfF5aI9bPaopaV0ckIBqqJu+fOVHiOXb 4zj38CYiksK5bXj1lEoQgq1+xs3nwMG6vQf9G7LEdBv7SYuQRaO8WmwmiDwvxqA4DXle 8jBogrHFRrtLqTPX8Rcv6hWhcIy/MM8/0cJtkrFbV3NNvVNocxUHq4a4/z4gX0bBoQjS C+G+9rvYAgtBehAYhrqxAuh91Jcny62b6v4AD+it3cVJ+s3cU4iMbIqDu9cPdJQCuIAy LIpg== X-Gm-Message-State: ALyK8tILLNjJhwWEtG5W0vRK3CWc8ihZoq9Tf329lUw0vRiDg9AminVk4nxJZ/RavZ1TyQ== X-Received: by 10.98.56.86 with SMTP id f83mr41956pfa.83.1465944680501; Tue, 14 Jun 2016 15:51:20 -0700 (PDT) Received: from mothership.sklembedded.com (c-73-241-2-21.hsd1.ca.comcast.net. [73.241.2.21]) by smtp.googlemail.com with ESMTPSA id v184sm47829999pfb.24.2016.06.14.15.51.19 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 14 Jun 2016 15:51:20 -0700 (PDT) From: Steve Longerbeam X-Google-Original-From: Steve Longerbeam To: linux-media@vger.kernel.org Cc: Steve Longerbeam Subject: [PATCH 22/38] ARM: dts: imx6-sabreauto: add reset-gpios property for max7310 Date: Tue, 14 Jun 2016 15:49:18 -0700 Message-Id: <1465944574-15745-23-git-send-email-steve_longerbeam@mentor.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1465944574-15745-1-git-send-email-steve_longerbeam@mentor.com> References: <1465944574-15745-1-git-send-email-steve_longerbeam@mentor.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@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. Signed-off-by: Steve Longerbeam --- arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi index 13f50e8..81e3ab7 100644 --- a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi +++ b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi @@ -129,6 +129,9 @@ reg = <0x30>; gpio-controller; #gpio-cells = <2>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_max7310>; + reset-gpios = <&gpio1 15 1>; }; max7310_b: gpio@32 { @@ -136,6 +139,9 @@ reg = <0x32>; gpio-controller; #gpio-cells = <2>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_max7310>; + reset-gpios = <&gpio1 15 1>; }; max7310_c: gpio@34 { @@ -143,6 +149,9 @@ reg = <0x34>; gpio-controller; #gpio-cells = <2>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_max7310>; + reset-gpios = <&gpio1 15 1>; }; }; }; @@ -441,6 +450,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