From patchwork Fri Jul 13 17:30:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Smirnov X-Patchwork-Id: 10523923 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 7B3E1602A0 for ; Fri, 13 Jul 2018 17:30:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6807129CDF for ; Fri, 13 Jul 2018 17:30:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5C10A29CE6; Fri, 13 Jul 2018 17:30:51 +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=-2.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 5890D29CDF for ; Fri, 13 Jul 2018 17:30:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=sev9NWyKcWMGQgrm2jKNfF1yDvHoZnLHxbLpGaBiSOU=; b=ALCjlRHHnpGLc2CqQDghidYdEQ 1IiwHs7oEXHfEhLZNxYlmhFBgYnQg5apHKjODj26FYpcVPvLUxYbSIjabhv2FZmJFuFBka8gfMScY U8LWmrN6pCOxVjQJJ+UbwB6YurAyeW47vqVFRgHsYI5XFnNV3CVfOdF98xNR1Jx72mWusigV/CqxV QS+j2nEEKzPULZFgw7M40s64z4qZfQn5W3yrSzWCDMRcdavElupEuw8MR3rIDmtsbX/FeHm2Iyrp8 Ajq4k/5wrbWKpOliWXhvcDzLKYrl9G0yRmEQOh6G/GDDAjQ9ajoGbi1+XCo7PZHgEH3PGM3O7Y0ww rAo7q1cA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fe1u2-00020W-Gc; Fri, 13 Jul 2018 17:30:46 +0000 Received: from mail-pf0-x241.google.com ([2607:f8b0:400e:c00::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fe1tq-0001lg-OB for linux-arm-kernel@lists.infradead.org; Fri, 13 Jul 2018 17:30:36 +0000 Received: by mail-pf0-x241.google.com with SMTP id e10-v6so23017099pfn.1 for ; Fri, 13 Jul 2018 10:30:24 -0700 (PDT) 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=mMwf/iRAXQeXiQYwou7re9WKXqDNodIAVXvANEVeNaM=; b=AegatfjZnYsRGXZPdFjK4uLI+l6je3L3AaRYFfmddi7VMJkII2vYUBrHHdMzRyN5du tJZSYdfk01cn8ATukixjJ/oZzuPaDV2dkKTRwWsltRp1mUmTm/2mcKrkMY7xouXCX6wZ AUGK9bsbos35KZNqP9FGiWVA+p2ErJhUix+W0+17to+2GkVQPLHRR8EX6gUgynci7Gol BDU4HTmmtR6EmyZa/nu3dOIG6DgwIfdnldcLkfadFRZ10sokJsHaaHvgZVwsLFMHjcu1 sa989PeQMi8ZCpZFtcLLiFSFBqEd+sebHcTjJel8k3O/mhgesIkzyKJGx9Esu0jGO0FO bpGg== 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=mMwf/iRAXQeXiQYwou7re9WKXqDNodIAVXvANEVeNaM=; b=RJMXRS2h0+JfuTd9VjsQb80hUTnAGyC8DICP2phoKhHfagMMblbhHQFnvsj6SGRcty a4ZIvVFKiEdCxtnAAKWRLcgASPLg72v1UMCbvR7HY9aA9udohOy13r5wbi5Bj/gflzWa +kcQ1iQzPBc5yoWzhAIpqTU3lPgINwS/ZpYq7S7twBTOPQksA9e2JJKuXjYBuX+QJ1dm iVb8mi/a+vYeCfmNgJ4AzzjOFiJnH/+DUJg/DqvjH5pcPn73JGmTvm1Rez8SX5d41C5Z 5Xr+7+tI4hDEr1Yey6mHOIkl9b5YIQUVsb2oFTxo4thxyg5nu2M4sRJxZgGNAqgWj3g4 f/LQ== X-Gm-Message-State: AOUpUlGkDjDa+bPl+FtkOZJ/rpRA/nPK/RmuJK75r1uGzLqCYJD0x+l8 TsEnY0OO5e23T9cFTuvXIuU= X-Google-Smtp-Source: AAOMgpfBnWyameoIM+XwJ7iTt9XwDrl/m1/icSJCor4x9oC/vPV9ckXDpoUCNwBuYgSrc/wiCSO9IQ== X-Received: by 2002:a62:fb05:: with SMTP id x5-v6mr8085427pfm.210.1531503024122; Fri, 13 Jul 2018 10:30:24 -0700 (PDT) Received: from squirtle.lan (c-24-22-235-96.hsd1.wa.comcast.net. [24.22.235.96]) by smtp.gmail.com with ESMTPSA id s12-v6sm38371547pfm.41.2018.07.13.10.30.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Jul 2018 10:30:23 -0700 (PDT) From: Andrey Smirnov To: Shawn Guo Subject: [PATCH v2 1/2] ARM: dts: imx51-zii-scu3-esb: Add switch IRQ line pinumx config Date: Fri, 13 Jul 2018 10:30:04 -0700 Message-Id: <20180713173005.19552-2-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180713173005.19552-1-andrew.smirnov@gmail.com> References: <20180713173005.19552-1-andrew.smirnov@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180713_103034_784801_D257781F X-CRM114-Status: GOOD ( 14.39 ) 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: Nikita Yushchenko , Mark Rutland , devicetree@vger.kernel.org, Andrey Smirnov , linux-kernel@vger.kernel.org, Rob Herring , Andrew Lunn , linux-arm-kernel@lists.infradead.org, Fabio Estevam , cphealy@gmail.com, Lucas Stach 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 Instead of relying on default values, configure PAD_AUD3_BB_CK to be a GPIO explicitly. While at, it change the pad configuration to enable a 100K pull-down (the pin is used as IRQ_TYPE_LEVEL_HIGH). Cc: Fabio Estevam Cc: Nikita Yushchenko Cc: Lucas Stach Cc: cphealy@gmail.com Cc: Shawn Guo Cc: Rob Herring Cc: Mark Rutland Cc: linux-arm-kernel@lists.infradead.org Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: Andrew Lunn Reviewed-by: Andrew Lunn Signed-off-by: Andrey Smirnov Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx51-zii-scu3-esb.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/imx51-zii-scu3-esb.dts b/arch/arm/boot/dts/imx51-zii-scu3-esb.dts index 2941a92d40f1..0bb42c00d72b 100644 --- a/arch/arm/boot/dts/imx51-zii-scu3-esb.dts +++ b/arch/arm/boot/dts/imx51-zii-scu3-esb.dts @@ -221,6 +221,8 @@ interrupts = <20 IRQ_TYPE_LEVEL_HIGH>; interrupt-controller; #interrupt-cells = <2>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_switch>; ports { #address-cells = <1>; @@ -426,6 +428,12 @@ >; }; + pinctrl_switch: switchgrp { + fsl,pins = < + MX51_PAD_AUD3_BB_CK__GPIO4_20 0xc5 + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < MX51_PAD_UART1_RXD__UART1_RXD 0x1c5