From patchwork Mon Aug 7 07:22:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sanchayan X-Patchwork-Id: 9884503 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 09F9160363 for ; Mon, 7 Aug 2017 07:24:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F092725223 for ; Mon, 7 Aug 2017 07:24:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E152B2621B; Mon, 7 Aug 2017 07:24:15 +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=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 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 9C27F25223 for ; Mon, 7 Aug 2017 07:24:15 +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=PagtekFV2bULvKKBdqwlHamjbpImGxwpVFFyAFXA59c=; b=eTi9wK6oCibFD05eQxcSPmPW+F y3eUAwH8TRcQrlIsr7XuMsTe3liV/airCn2pOSHyyM9FaD2OQiwK7FdZSk3DlEvOPtwa6j9pHECDu E7cpllRiq4m+9o5cumKB9apmmIp6XtuQ5H0aQgA7FfX1YIHhLXT/1t+CHNkhORBedFgWVHrZfznvo Gp78COKkBSNeluc6lP/5k72jKPGqyHrleNvRo+NR+g2fzATcW+GwlfpAkw9fT58mvbbbuA1PfF439 igTj5jUDw4QRYV5yymnH3VjHg4LnkiAXhHEDohFVdQP0viUOSKgeDqSD+ESl7eipYBccUjkbBe+eP PS8is/aw==; 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 1decOa-0008Dl-DS; Mon, 07 Aug 2017 07:24:12 +0000 Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1decNz-0007WG-14 for linux-arm-kernel@lists.infradead.org; Mon, 07 Aug 2017 07:23:39 +0000 Received: by mail-pf0-x243.google.com with SMTP id t83so8248925pfj.3 for ; Mon, 07 Aug 2017 00:23:14 -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 :in-reply-to:references; bh=0P8JcmHrd65atfc6V9cPEmCQgdx9WYygiQAQ0bEghAg=; b=BWynqmSdSPJArH6IqrYY/YTBT2MHrsBKJL3NPEfgjPPmQwgglA/KjOGrygGwIEd4PF P8G+B2YGtWfHDikVqiCNfC3Z3cfg4c54taLhMFZzSFCcJQnUs4iQFbZa2GcKy8nCeSMd rji1dKdw85s5f6MzEcbgmP5EWEPUy1OS3b2RnfbyWj4wPssGAvT8uVZ6OcFQQFIuWP9Z CMYqH34lgJ3jPQDDGjB4tUFdNdqCWkk3fN0B/8NKwvAtGL3b+1ExJWl8kVe6RPW6DRlG n0HAuMYe7CYOLcnP3DDYzlWCnlRpf+O4moA/3/AD4UEfHrYxVv0RobdbYDW6jIOOX5SW DlJg== 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:in-reply-to:references; bh=0P8JcmHrd65atfc6V9cPEmCQgdx9WYygiQAQ0bEghAg=; b=EDks3mXqI1JRRjRLptNgmfdhGOuuvfuwvxZjNJ83qj08Gh9eKLUShr2Bc0vcQkl9Hp lMC6Mv+zxNwCcxDAX3IDy69/4MhdFOxvv/+vgxw+I/rDO/YVTFa9t8WMOh9yalJwW60a 2M0vh4lzZI77FWmVqXic7kAUpZiyioZDH26FGxAq+oWN7E/TumwovhtFATFYUfIzsafs WZvhHW37zN1LN1w+fLdIXznoT5rfMxrmaK6iUeigou7Li24DjaeqV5pfaQH4AQU23BzU nGJoB2wIxv8w3UKp8qL2q+Uiqx509+KwNzyV1c9xi2xRcF4tS1FORvraHf7Hhb+zfmzp S4Pg== X-Gm-Message-State: AIVw111+4oOxdxbdnV2jGxIQOblLxy9l+fnbt1E96bWetZOtE+n3r9qe 58fYdhcKrADMKx++ X-Received: by 10.84.232.143 with SMTP id i15mr13044348plk.248.1502090594153; Mon, 07 Aug 2017 00:23:14 -0700 (PDT) Received: from localhost ([115.115.243.34]) by smtp.gmail.com with ESMTPSA id q76sm14409248pfg.42.2017.08.07.00.23.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 07 Aug 2017 00:23:13 -0700 (PDT) From: Sanchayan Maity To: shawnguo@kernel.org Subject: [PATCH 02/10] ARM: dts: imx6qdl-apalis: split usdhc1 pinctrl to support 4- and 8-bit Date: Mon, 7 Aug 2017 12:52:34 +0530 Message-Id: X-Mailer: git-send-email 2.13.3 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170807_002335_593323_923F0D29 X-CRM114-Status: UNSURE ( 9.28 ) 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: marcel.ziswiler@toradex.com, maitysanchayan@gmail.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org 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 Split the pinctrl property for usdhc1 into a 4-bit SD interface and an extension to 8-bit. This is required to support both 8-bit and 4-bit interface on usdhc1 as per the carrier board. Signed-off-by: Sanchayan Maity --- arch/arm/boot/dts/imx6qdl-apalis.dtsi | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl-apalis.dtsi b/arch/arm/boot/dts/imx6qdl-apalis.dtsi index ba01dd76d887..117dee65f3f7 100644 --- a/arch/arm/boot/dts/imx6qdl-apalis.dtsi +++ b/arch/arm/boot/dts/imx6qdl-apalis.dtsi @@ -1,5 +1,5 @@ /* - * Copyright 2014-2016 Toradex AG + * Copyright 2014-2017 Toradex AG * Copyright 2012 Freescale Semiconductor, Inc. * Copyright 2011 Linaro Ltd. * @@ -460,7 +460,7 @@ /* MMC1 */ &usdhc1 { pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_usdhc1>; + pinctrl-0 = <&pinctrl_usdhc1_4bit &pinctrl_usdhc1_8bit>; vqmmc-supply = <®_3p3v>; bus-width = <8>; voltage-ranges = <3300 3300>; @@ -912,7 +912,7 @@ >; }; - pinctrl_usdhc1: usdhc1grp { + pinctrl_usdhc1_4bit: usdhc1grp_4bit { fsl,pins = < MX6QDL_PAD_SD1_CMD__SD1_CMD 0x17071 MX6QDL_PAD_SD1_CLK__SD1_CLK 0x10071 @@ -920,6 +920,11 @@ MX6QDL_PAD_SD1_DAT1__SD1_DATA1 0x17071 MX6QDL_PAD_SD1_DAT2__SD1_DATA2 0x17071 MX6QDL_PAD_SD1_DAT3__SD1_DATA3 0x17071 + >; + }; + + pinctrl_usdhc1_8bit: usdhc1grp_8bit { + fsl,pins = < MX6QDL_PAD_NANDF_D0__SD1_DATA4 0x17071 MX6QDL_PAD_NANDF_D1__SD1_DATA5 0x17071 MX6QDL_PAD_NANDF_D2__SD1_DATA6 0x17071