From patchwork Thu Dec 29 22:27:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Longerbeam X-Patchwork-Id: 9491597 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 900B462AB7 for ; Thu, 29 Dec 2016 22:32:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7E86720007 for ; Thu, 29 Dec 2016 22:32:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 72D622018E; Thu, 29 Dec 2016 22:32:47 +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 276EA20007 for ; Thu, 29 Dec 2016 22:32:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753431AbcL2Wc1 (ORCPT ); Thu, 29 Dec 2016 17:32:27 -0500 Received: from mail-pg0-f68.google.com ([74.125.83.68]:34677 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753309AbcL2W2I (ORCPT ); Thu, 29 Dec 2016 17:28:08 -0500 Received: by mail-pg0-f68.google.com with SMTP id b1so20088471pgc.1; Thu, 29 Dec 2016 14:28:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=9SVRH95loBuVcfw9oh2PKi+N9dXFciHwjt2c93srpJc=; b=OrD96Rz3nJXRIAw6tM6pQW4hKvBo6XecGOIusb7qrp/NeO5a2cZa96FYsxloMJJS6O l1B8UPO/ZGCpr37VQa3Qict17PX/3FU5QIboGvXb6YOpkVtxMb/KuayEzdDMMiKs+0YN LO6hfUEFQnt1w9zqmAeM8vQrgsmrRjaq01ducKBK2h3JiRJFrdfW9EuFKUoMGYdMCZAQ d0cpEprDyd7TmW07JnGhtQOyWWFZAyQOEB5+L4ovL4caVy73BEOpqjcdkc1wwqeqNtHq ry5vP55yyiGuKA5yX6SArGdMXqjXe2TdxnrN4r6rsIPNrD97Nyjjlz5k3eYIu1eLD9ZO 6TKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=9SVRH95loBuVcfw9oh2PKi+N9dXFciHwjt2c93srpJc=; b=NNrNNGvh7dI/UMopv6fmEz7H2rzcZSIOTWRHu1dWqtOFb1jea5ggHTKqC/5RZHffCd i3HIkK3DfEF/fEXtT429jNnW0sMI2MiRFxHJG09x6++N/FKbF9X0yh6CJ2uA3I1mT1k6 WOo0eH5ZwELzs4fOJYy7lwuC8a/zrnA/Oo5TLQAfCgLhgT2ut9WRbullttlyc8aoOir9 Aqd8j7Vtt0TNBMmV9syy22z3NDeWWrscg/KI9BVfIE7BwipC8VTSya/OAHll4wXuHcBu nnc0rgQpSD+Ho0R9M7hTrtFB/knzYxraeeESOtKrWjz25cfy1SEqNMr3T/68aXVguRzX oLZw== X-Gm-Message-State: AIkVDXKYyKrTbl9enst+nkeGd15hr1ohNbdCh0iQvvrKZP8AkBFb8ZbGvam9uNeabOpDpw== X-Received: by 10.84.140.3 with SMTP id 3mr92292982pls.61.1483050487369; Thu, 29 Dec 2016 14:28:07 -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 u3sm107243068pfk.3.2016.12.29.14.28.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 29 Dec 2016 14:28:06 -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, linus.walleij@linaro.org, gnurou@gmail.com, mchehab@kernel.org, gregkh@linuxfoundation.org, p.zabel@pengutronix.de Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-media@vger.kernel.org, devel@driverdev.osuosl.org, Steve Longerbeam Subject: [PATCH 07/20] ARM: dts: imx6-sabreauto: add reset-gpios property for max7310_b Date: Thu, 29 Dec 2016 14:27:22 -0800 Message-Id: <1483050455-10683-8-git-send-email-steve_longerbeam@mentor.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1483050455-10683-1-git-send-email-steve_longerbeam@mentor.com> References: <1483050455-10683-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. 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 4a6d038..516bac6 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