From patchwork Wed Jul 6 23:36:41 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Longerbeam X-Patchwork-Id: 9217417 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 6BF48608A6 for ; Wed, 6 Jul 2016 23:37:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5D5F7284E8 for ; Wed, 6 Jul 2016 23:37:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 523AB2854D; Wed, 6 Jul 2016 23:37:37 +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 F40832854D for ; Wed, 6 Jul 2016 23:37:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932686AbcGFXhf (ORCPT ); Wed, 6 Jul 2016 19:37:35 -0400 Received: from mail-pa0-f67.google.com ([209.85.220.67]:33965 "EHLO mail-pa0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755878AbcGFXh1 (ORCPT ); Wed, 6 Jul 2016 19:37:27 -0400 Received: by mail-pa0-f67.google.com with SMTP id us13so152217pab.1 for ; Wed, 06 Jul 2016 16:37:03 -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=LGWzjxCxcdkHBYOMXHwpFZ7o55tl7VJGXTdCOGVU65c=; b=AD7V4wRsouIALmwZg3K3Mf4xk3e+btVxd79Ng3Mmk3iFfEvu3XXJu2JnWkmJ7PcBA2 GjRjq7EPuMgoVA4eDsJ95nI4Lm1nPpzrc5TqdHkm++dwRPNiApJnxYa+wLmmS9aw+4Es nEwRiPNarGt/2WzG3myq6MpdOIBVUeCB5YHVlxxysJom/TnhvPQUav2FbctCAgBF/kjk Hz04je+XN6arYVfm+xpQBUbA7rduf7JcHwQfR4YDbg475XWpP4/iZ/5sAZSgsv1LXhA8 a6Ov5wvXxogTb+g/iQa0ECFGlJCqSJ4EpKTGspusqK7jw+z0qedpRdqgZPfig3/su1ai 0E+A== 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=LGWzjxCxcdkHBYOMXHwpFZ7o55tl7VJGXTdCOGVU65c=; b=CujWre3EMqHxKB38tQcpKNrIVSi3zVkDy8Zha2ttIWwmDJDDPkKHbKtGAOFRoYhohF 8gHYYIf64eAIBma4AMMgu9obS2oVmswgszQGUG4dv4S6+RgmnGlpdSY7YrUHSb93lGmA XjFOqvwo/lAYDVEIrqQ2wWv3+LcrLz7f1O/DUNVO4EdZt3vVOj8phRkdu6wXqg5NoA2L gaVgYa4xZysqzi4Gvb8OVTSN7zNNhGepD96Opdu1nf617Eg7cSzzs6p0Y07GLg7SIiOe +alXQ1IRp4R9k33CPCgdRaphjJQanR+uPXwCtTGGEXkGMH0tsHQX59baoT8qnBNuaw5h 5tBQ== X-Gm-Message-State: ALyK8tJRMVh62yTwuHuT64lwvJuCZaA7Tv9MSfimgItV8Nx40v95+vTkD+NiszgIcrLqWg== X-Received: by 10.66.139.230 with SMTP id rb6mr47475873pab.101.1467848220875; Wed, 06 Jul 2016 16:37:00 -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 by5sm166764pad.36.2016.07.06.16.36.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 06 Jul 2016 16:37:00 -0700 (PDT) From: Steve Longerbeam X-Google-Original-From: Steve Longerbeam To: linux-media@vger.kernel.org Cc: Steve Longerbeam Subject: [PATCH 4/6] ARM: dts: imx6-sabreauto: add reset-gpios property for max7310_b Date: Wed, 6 Jul 2016 16:36:41 -0700 Message-Id: <1467848203-14007-5-git-send-email-steve_longerbeam@mentor.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1467848203-14007-1-git-send-email-steve_longerbeam@mentor.com> References: <1467848203-14007-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 13f50e8..3f12d74 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 { @@ -441,6 +444,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