From patchwork Fri Feb 3 01:21:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ken Lin X-Patchwork-Id: 9553399 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 39431604A7 for ; Fri, 3 Feb 2017 01:22:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 279A628499 for ; Fri, 3 Feb 2017 01:22:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 180EE284CE; Fri, 3 Feb 2017 01:22:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Flag: YES X-Spam-Level: ** X-Spam-Status: Yes, score=2.5 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_SORBS_SPAM, RCVD_IN_SORBS_WEB, T_DKIM_INVALID autolearn=no version=3.3.1 X-Spam-Report: * 3.8 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server * [64.147.2.100 listed in dnsbl.sorbs.net] * 0.5 RCVD_IN_SORBS_SPAM RBL: SORBS: sender is a spam source * [209.85.218.68 listed in dnsbl.sorbs.net] * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (yungching0725[at]gmail.com) * 0.0 DKIM_ADSP_CUSTOM_MED No valid author signature, adsp_override is * CUSTOM_MED * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AAD6028499 for ; Fri, 3 Feb 2017 01:22:50 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cZSaM-0008RS-AA; Fri, 03 Feb 2017 01:22:46 +0000 Received: from mail-oi0-f68.google.com ([209.85.218.68]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cZSaI-0008FW-Fp for linux-arm-kernel@lists.infradead.org; Fri, 03 Feb 2017 01:22:44 +0000 Received: by mail-oi0-f68.google.com with SMTP id u143so379449oif.3 for ; Thu, 02 Feb 2017 17:22:21 -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; bh=XoS0+igWhq8s7VeXWOIXKeI4O6tNbKV0rjDST1+0vxQ=; b=cTMFEAsFpmaDy0N3uw5JrkBWNCxZA6DP0pyVzkfcWnmjdgCFx2+KsUgD80p9YZlTRp V9szGsaJE6ofcSVlT3IUBqk6m1C003ciaaWO0csi0ilXPRLg1JyQC9wabysz+WDVxn2Z N1m34vK812SDufc8sRjWLgZ96gOvJvIc2G1gi/z44VWZQowtftKWl4Y57vWssMp0gEal fXRGgXWHlMWhqxG1txqyl+tNGYL20zrcypyrhR5s1UnBf4d8HYurGI4kX+PnNk+4fZpL sYFM1EGrf6FIy3awleDTiAFzkcKdp9yt0taeFI/R1VdaxOpWNQ/exI/rkeHWLMcpPg/Z HskA== 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; bh=XoS0+igWhq8s7VeXWOIXKeI4O6tNbKV0rjDST1+0vxQ=; b=HmMl/CWlyCHvioef78hi6WGg3aF2jbtNZOOhFO0GtM512+1Mn/x3GhNtM3gTET1xg6 OwrbomYaX+oPsRANsI1nxHJyFpRNmH5VUHrb4FC6zBAXcn6/Frm6QYAuoq4Z0WDhpjoG M0opR+0aLvnwU6ZToOrr9/BV+Ep065bqpTqHtMfvmtX62VB768ipREzQTN6w25bdYezk FDJLdru+rfuEzh+JXwz+u5OiKavfY7neg1zYbMi4yXfbWRTh7IMKCEkbB8m17wqkYyEx sMC7h+VSwYKDYJz3CPJn14gxt9OX/4tc8T/F20BFi0vo/HYXpqmD08EUiPPHa0i2RAbn NNBA== X-Gm-Message-State: AIkVDXJTte1OJKHB8fziWm07l4V3L3YpWFhMmaTWuGzdV3UHUsSKgMIXd+Ca2FR2jJJCqw== X-Received: by 10.202.66.6 with SMTP id p6mr5260515oia.107.1486084880844; Thu, 02 Feb 2017 17:21:20 -0800 (PST) Received: from localhost.localdomain (wsip-64-147-2-100.oc.oc.cox.net. [64.147.2.100]) by smtp.googlemail.com with ESMTPSA id r130sm13269391oif.20.2017.02.02.17.21.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 02 Feb 2017 17:21:19 -0800 (PST) From: Ken Lin X-Google-Original-From: Ken Lin To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: dts: imx6q-bx50v3/imx6q-b450v3/imx6q-b650v3: change pca953x GPIO default settings Date: Fri, 3 Feb 2017 09:21:14 +0800 Message-Id: <20170203012114.20411-1-ken.lin@advantech.com> X-Mailer: git-send-email 2.11.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170202_172242_609414_55C3267B X-CRM114-Status: UNSURE ( 9.14 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, peter.chiang@advantech.com, ken.lin@advantech.com, linux-kernel@vger.kernel.org, linux@armlinux.org.uk, robh+dt@kernel.org, peter.stretz@advantech.com, kernel@pengutronix.de, fabio.estevam@nxp.com, shawnguo@kernel.org, akshay.bhat@timesys.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Leave pca953x P06,P07 pins on b850v3 platform and P06 pin on b450v3/b650v3 unconfigured in the kernel space since they could be configured as DP1_RST and DP2_RST by the applications for the DP FW update support Signed-off-by: Ken Lin --- arch/arm/boot/dts/imx6q-b450v3.dts | 7 +++++++ arch/arm/boot/dts/imx6q-b650v3.dts | 7 +++++++ arch/arm/boot/dts/imx6q-bx50v3.dtsi | 14 -------------- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/arch/arm/boot/dts/imx6q-b450v3.dts b/arch/arm/boot/dts/imx6q-b450v3.dts index 78bfc1a307d6..04779816d3d1 100644 --- a/arch/arm/boot/dts/imx6q-b450v3.dts +++ b/arch/arm/boot/dts/imx6q-b450v3.dts @@ -104,4 +104,11 @@ output-low; line-name = "PCA9539-P05"; }; + + P07 { + gpio-hog; + gpios = <7 0>; + output-low; + line-name = "PCA9539-P07"; + }; }; diff --git a/arch/arm/boot/dts/imx6q-b650v3.dts b/arch/arm/boot/dts/imx6q-b650v3.dts index 1dcaee23ed9c..9ee8c81c2b80 100644 --- a/arch/arm/boot/dts/imx6q-b650v3.dts +++ b/arch/arm/boot/dts/imx6q-b650v3.dts @@ -97,6 +97,13 @@ output-low; line-name = "PCA9539-P05"; }; + + P07 { + gpio-hog; + gpios = <7 0>; + output-low; + line-name = "PCA9539-P07"; + }; }; &usbphy1 { diff --git a/arch/arm/boot/dts/imx6q-bx50v3.dtsi b/arch/arm/boot/dts/imx6q-bx50v3.dtsi index e4a415fd899b..f99e6efda3e2 100644 --- a/arch/arm/boot/dts/imx6q-bx50v3.dtsi +++ b/arch/arm/boot/dts/imx6q-bx50v3.dtsi @@ -184,20 +184,6 @@ interrupt-parent = <&gpio2>; interrupts = <3 IRQ_TYPE_LEVEL_LOW>; - P06 { - gpio-hog; - gpios = <6 0>; - output-low; - line-name = "PCA9539-P06"; - }; - - P07 { - gpio-hog; - gpios = <7 0>; - output-low; - line-name = "PCA9539-P07"; - }; - P10 { gpio-hog; gpios = <8 0>;