From patchwork Wed Apr 25 12:54:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 134269 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp827467lji; Wed, 25 Apr 2018 05:55:34 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/tRLIkmhdwZMxyC1OfXCefR5k6Xc3t2qsjiZmcvxa2Lbw97FYbaPFNiwx4s651od+IN2ph X-Received: by 10.99.110.199 with SMTP id j190mr23217542pgc.71.1524660934590; Wed, 25 Apr 2018 05:55:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524660934; cv=none; d=google.com; s=arc-20160816; b=hL7nzvFXrtVOtbUnYApRexiKNIV9SCQz9p9UG2YrXRFlYUmfikQ+wB7nPbaYYzNlx9 O8FVhX0WazmbODw56lQhnKCu+UsvmQreHyqY+DBTJBGVGZp6YqHByiuf51f27IfTw8S9 +4yrnBEKoYECkvTDbfPJgSVb2qEp8W1+RTN731dX/3xxNAHfIafZCmganAHsiHZg2D+s 5+5xRycEtsf63UrG76rpHT4pF+iR0uOdjXDOyFmLGgnIWqEqtqpcwq3lRT1MHxRt4lSA PRa22glSj/Tm60AIFX9cFStRpD7TBX2BpuxSdHwuou/FQkU767LCzePwsDdTU4Lzk0lb Gveg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=SakzIPoRf+37HsLaX7cODbY//cuajMprHPst04W6ids=; b=aWspPtvBepNB3zEDVj/BJDuetMHRdNnCJfmL2CKnBSfGeDu03eeEZygjeMz47zIm2D jCIoAyKjO8Lw42z35fxTMBuH+lQ7oteOtLxCC5AktCqcwYprrknORF1TflRxR+lryk7k 6dW1SFLaw5bWUkKKAJVoW3wuh2q2fo+oc0RTx6/h1q8GFDTMW/uJmIfbJzVb+huElJ4s dOgSML8o3l+8rV0/3hKDaehfvDl5IMb2b/XMwHGg3UDEC3veh7FTNqYrrFf6AQ7jnWvS xAegozY1Q/FAoe0JLByb1pW7IbBNcKkL0S654i9V8BW0NMg4RkQi/l/x20q9Gnt5YmaE jUCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=JUhE9d3q; spf=pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-mmc-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g77si4417784pfa.304.2018.04.25.05.55.34; Wed, 25 Apr 2018 05:55:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=JUhE9d3q; spf=pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-mmc-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753980AbeDYMzb (ORCPT + 6 others); Wed, 25 Apr 2018 08:55:31 -0400 Received: from fllnx209.ext.ti.com ([198.47.19.16]:15262 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751525AbeDYMz1 (ORCPT ); Wed, 25 Apr 2018 08:55:27 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id w3PCtJIg024382; Wed, 25 Apr 2018 07:55:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1524660920; bh=79z+cWHMB79+CBOkMRQnv1sjEa0FPZhvFeJ/jBiRp4g=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=JUhE9d3qWEZ2FW15D+Me3p4Y/AlgKra++yzztx21ghOkzfJEOdCRU1PHLA05LEhD5 MuCDKcig6BfsFDZadlsP/GjwOiB6LpJYIm9CnZuFeGmvEEWUB5PFV9B4zyZF2jaT2U I+m71xxKGPcdCMevQFIIWaAnsIye1fqRDc9MeXXg= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3PCtJd4023716; Wed, 25 Apr 2018 07:55:19 -0500 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Wed, 25 Apr 2018 07:55:19 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Wed, 25 Apr 2018 07:55:19 -0500 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3PCt1SH021671; Wed, 25 Apr 2018 07:55:16 -0500 From: Kishon Vijay Abraham I To: =?utf-8?q?Beno=C3=AEt_Cousson_?= , Tony Lindgren CC: Jonathan Corbet , Rob Herring , Mark Rutland , , , , , , Subject: [PATCH v3 04/15] ARM: dts: dra74x-mmc-iodelay: Add a new pinctrl group for clk line without pullup Date: Wed, 25 Apr 2018 18:24:38 +0530 Message-ID: <20180425125449.19755-5-kishon@ti.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180425125449.19755-1-kishon@ti.com> References: <20180425125449.19755-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org During a short period when the bus voltage is switched from 3.3v to 1.8v, (to enumerate UHS mode), the mmc module is disabled and the mmc IO lines are kept in a state according to the programmed pad mux pull type. According to 4.2.4.2 Timing to Switch Signal Voltage in "SD Specifications Part 1 Physical Layer Specification Version 5.00 February 22, 2016", the host should hold CLK line low for at least 5ms. In order to keep the card line low during voltage switch, the pad mux of mmc1_clk line should be configured to pull down. Add a new pinctrl group for clock line without pullup to be used in boards where mmc1_clk line is not connected to an external pullup. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/dra74x-mmc-iodelay.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) -- 2.17.0 -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/dra74x-mmc-iodelay.dtsi b/arch/arm/boot/dts/dra74x-mmc-iodelay.dtsi index 28ebb4eb884a..30af5a03a852 100644 --- a/arch/arm/boot/dts/dra74x-mmc-iodelay.dtsi +++ b/arch/arm/boot/dts/dra74x-mmc-iodelay.dtsi @@ -49,6 +49,17 @@ >; }; + mmc1_pins_default_no_clk_pu: mmc1_pins_default_no_clk_pu { + pinctrl-single,pins = < + DRA7XX_CORE_IOPAD(0x3754, PIN_INPUT_PULLDOWN | MUX_MODE0) /* mmc1_clk.clk */ + DRA7XX_CORE_IOPAD(0x3758, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_cmd.cmd */ + DRA7XX_CORE_IOPAD(0x375c, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat0.dat0 */ + DRA7XX_CORE_IOPAD(0x3760, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat1.dat1 */ + DRA7XX_CORE_IOPAD(0x3764, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat2.dat2 */ + DRA7XX_CORE_IOPAD(0x3768, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_dat3.dat3 */ + >; + }; + mmc1_pins_sdr12: mmc1_pins_sdr12 { pinctrl-single,pins = < DRA7XX_CORE_IOPAD(0x3754, PIN_INPUT_PULLUP | MUX_MODE0) /* mmc1_clk.clk */ From patchwork Wed Apr 25 12:54:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 134275 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp828279lji; Wed, 25 Apr 2018 05:56:15 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+tUD7SXHa9ZyZpo1CiS3W+LjOdHpY1EoJBHk6dP2DFFeYvN+Pj4Ec3Inhkp2b2iCvZymha X-Received: by 10.98.137.16 with SMTP id v16mr27481059pfd.13.1524660975731; Wed, 25 Apr 2018 05:56:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524660975; cv=none; d=google.com; s=arc-20160816; b=vNgWMWCgt3tIcCcvobD9W6fK7t85eOydhmspyYGTXeuyQU/gE+gwB6eOCsj4RS6rcw AsW7biIVgh+geJb51e2QQYWQrST3AQ/vhPBkDWuVKRpZHn4LiIfxZjlhLWz4MmI+vfDV uTo93HY2NJ1sg9Tz/08Q07KdU/JOrwBdUFdQt/REjGEN+IepLFQpQO+BcWJjAwT21xGZ pav5MQgp9QLREgWsHBKdabiUz0TLWUmA3mDxrkcg8oR7QWm9nPLkoLXEvQcGY5QGLHKk HyeuNLcl6hUL+Znq8j/EiVB373FSogZdChR6Ehnl57Gdx7irbrdG6ZEqkGwrSOZo9vDf TcNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=pvU2JmX9yDO/oDWL9hYZv86rN0hh+nJh/B739gRpXdg=; b=wTbM5+JoKKl8xQRelueMwe0hccXc6IKVZk2xjqa8+vn8FBV2lwzPkWoTnYQjlK8fpW B3PYvOn3H7G8kN/x+7JCZJIX4nl7bYS1LO1MeG4+9pAi+wj9Z+iNdd1FJY9po9gQ1xq5 tOdFviIiFeVlNKIZGzZ5qQcfJO29PLgUqBrkzUgLpGTuyIH8AACg56lY+8f04bcpP4Yt gAl2PEObSvmtpq9fqHgs5hPbjpqnPrp/c2Za/+Fe3QpD/eUG0BBsH9hgiB08uhF4ClnJ mt/A+tPZZU0N3zY73jtgaf9V/Lwp++bdHF/EnRe/Buy0csEGu6iJtzPoqnTTCGzIkRnz xOVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=OvkPJkN7; spf=pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-mmc-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f11-v6si4222705plj.58.2018.04.25.05.56.15; Wed, 25 Apr 2018 05:56:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=OvkPJkN7; spf=pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-mmc-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754250AbeDYM4N (ORCPT + 6 others); Wed, 25 Apr 2018 08:56:13 -0400 Received: from fllnx210.ext.ti.com ([198.47.19.17]:61821 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753354AbeDYM4G (ORCPT ); Wed, 25 Apr 2018 08:56:06 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id w3PCu0XD019484; Wed, 25 Apr 2018 07:56:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1524660960; bh=ZBkV4136b+uKH/UBbkKnhkdQUl6fdBaD4DsesqAz2jA=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=OvkPJkN7O8ILUv3u3bBA2wk5xxoGq5oVCqiHXQwFiST/R+AT2ZFm4FVhr1TffrBnl OaIbrrPf3EREyVuglT26Ik/o48kRSzkmObI6X+zWmi4/nCmvQXoAnJEnx3WQLU4aHH /JOBKoGxTJKULk8Icxr6+Z569osuNXTcl7mbzqUI= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3PCu0cx024605; Wed, 25 Apr 2018 07:56:00 -0500 Received: from DFLE106.ent.ti.com (10.64.6.27) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Wed, 25 Apr 2018 07:56:00 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Wed, 25 Apr 2018 07:56:00 -0500 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3PCt1SS021671; Wed, 25 Apr 2018 07:55:57 -0500 From: Kishon Vijay Abraham I To: =?utf-8?q?Beno=C3=AEt_Cousson_?= , Tony Lindgren CC: Jonathan Corbet , Rob Herring , Mark Rutland , , , , , , Subject: [PATCH v3 15/15] Documentation: ARM: Add new MMC requirements for DRA7/K2G Date: Wed, 25 Apr 2018 18:24:49 +0530 Message-ID: <20180425125449.19755-16-kishon@ti.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180425125449.19755-1-kishon@ti.com> References: <20180425125449.19755-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org >From 4.18 kernel, all the MMC controller instances in DRA7 are programmed using sdhci based driver (sdhci-omap.c). Document this new requirement here. Both omap2plus_defconfig and multi_v7_defconfig has CONFIG_MMC_SDHCI_OMAP enabled. Signed-off-by: Kishon Vijay Abraham I --- Documentation/arm/OMAP/README | 4 ++++ 1 file changed, 4 insertions(+) -- 2.17.0 -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/arm/OMAP/README b/Documentation/arm/OMAP/README index 75645c45d14a..5bf5ac3b3ed4 100644 --- a/Documentation/arm/OMAP/README +++ b/Documentation/arm/OMAP/README @@ -5,3 +5,7 @@ KERNEL NEW DEPENDENCIES v4.3+ Update is needed for custom .config files to make sure CONFIG_REGULATOR_PBIAS is enabled for MMC1 to work properly. + +v4.18+ Update is needed for custom .config files to make sure + CONFIG_MMC_SDHCI_OMAP is enabled for all MMC instances + to work in DRA7 based boards.