From patchwork Tue Feb 6 12:57:52 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: 126995 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp2893547ljc; Tue, 6 Feb 2018 04:58:55 -0800 (PST) X-Google-Smtp-Source: AH8x224kz0gKdOpG3FVSzoj6dV1kFbrwYcUDEATzInalYSwC+2q1cifptrTysaymBtLtd6N5g5UV X-Received: by 10.98.24.80 with SMTP id 77mr2363440pfy.145.1517921935204; Tue, 06 Feb 2018 04:58:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517921935; cv=none; d=google.com; s=arc-20160816; b=cMdJ01SMGl1zIX607QawT3nFaOV4p7IsbnkMN97Yd0E30grrIF+kJQdxNq7iU33wEF ud00ap6iKBkPRlHg+RTb+9UYCTLpVM230Pg4JtDrzV1Hwg/1SMoTzOxB8OmOftxCcnCS 6eOgAZuix9n8HQvWpC/WPasbN+etPzChnbbnoiOzh4g4TH8JjHLFn4S7ZK4zzKEjfZoV 1wxAqNDvx30xCzlLMINvx+/D6eXe0O1FZ+CgYhLBShoKQf2JlzvTJ85SnM3OxRxKKOCp U0RGKm8JjQry6rZl1zF1zrryvvq5o4ro+gzX0j0sBW7lusuCrmgaY7sNAjEZ2SYvej0g xUrQ== 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=8aJ1TdADTL/EuMYPDFa1Y93ro/B6m2bnZIdz8RaZsJo=; b=Ie1jbhOtf4H+ZyaKiDh+siz230B5xlYmrsxSbjCXNNOiDfHwz4HUZviShMYrFs02NM o4WCNN///vp6xnfYUS087ff6ayseRF2duu1Sf3ypEX2d+sjBfDbPufEvisA8HwVLgAMB N3kAVkookntMLBfc+iMAqPEpaqlzk20z/SiNnKXNgu/EBbjXk9mc4NYwUpx/QfRGY08E xp9K04PPnhqzdWeaY3EaVsaasabAxwNy1exXGXDz1danQEuYRYhTsKpbbLW0ZrLIYHT1 eX9NLu5KJRCBda24z8l+e9YaYznI9TYq58H9wwl/eji+6vcWqbpQZtaVBKVewprHZyeO oaAg== 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=U/9yEkao; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-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 i13si1292426pfk.100.2018.02.06.04.58.54; Tue, 06 Feb 2018 04:58:55 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-omap-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=U/9yEkao; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-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 S1752755AbeBFM6x (ORCPT + 5 others); Tue, 6 Feb 2018 07:58:53 -0500 Received: from fllnx209.ext.ti.com ([198.47.19.16]:23820 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752647AbeBFM6w (ORCPT ); Tue, 6 Feb 2018 07:58:52 -0500 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id w16CwOWe016762; Tue, 6 Feb 2018 06:58:24 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1517921904; bh=lCkIWTn5O4SOIK8sUjY+XM+gxqkVVfUkLkHyd/RfLUU=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=U/9yEkao1y9qmau5/cWG32AbYGBC0gqQVi+jLK/1m4U9LthdCCVkg66qq9KZo+bHz cBZWTu8cFNcLj2noNIwMpLK6MlnMpls8+mYxMpblSkeNMwXs1sZvjUIRnD/7uKYwIU TTvibcZ1h7eHq1C1G973D6ySgN8OorriP5BMRmic= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w16CwODl005868; Tue, 6 Feb 2018 06:58:24 -0600 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Tue, 6 Feb 2018 06:58:24 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) 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.1261.35 via Frontend Transport; Tue, 6 Feb 2018 06:58:24 -0600 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w16CwHXV007055; Tue, 6 Feb 2018 06:58:21 -0600 From: Kishon Vijay Abraham I To: =?utf-8?q?Beno=C3=AEt_Cousson?= , Tony Lindgren , Rob Herring CC: Mark Rutland , Russell King , , , , , Kishon Vijay Abraham I Subject: [PATCH v2 01/15] ARM: multi_v7_defconfig: Enable CONFIG_MMC_SDHCI_OMAP Date: Tue, 6 Feb 2018 18:27:52 +0530 Message-ID: <20180206125806.19350-2-kishon@ti.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180206125806.19350-1-kishon@ti.com> References: <20180206125806.19350-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Enable CONFIG_MMC_SDHCI_OMAP so that TI's dra7/k2g based SoC's can use sdhci-omap for eMMC/SD/SDIO controller.. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) -- 2.11.0 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" 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/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 61509c4b769f..c8761731aaee 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig @@ -741,6 +741,7 @@ CONFIG_MMC_DW_ROCKCHIP=y CONFIG_MMC_SH_MMCIF=y CONFIG_MMC_SUNXI=y CONFIG_MMC_BCM2835=y +CONFIG_MMC_SDHCI_OMAP=y CONFIG_NEW_LEDS=y CONFIG_LEDS_CLASS=y CONFIG_LEDS_CLASS_FLASH=m From patchwork Tue Feb 6 12:57:55 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: 127010 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp2897826ljc; Tue, 6 Feb 2018 05:02:51 -0800 (PST) X-Google-Smtp-Source: AH8x226GLWZ84uKSKeTbEXfXPG37LPPRAiiOhzwDZxFtTFa/sK+nySu3Qw9iBHpd/Rsm/ww7/YeK X-Received: by 10.98.8.206 with SMTP id 75mr2409375pfi.172.1517922171263; Tue, 06 Feb 2018 05:02:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517922171; cv=none; d=google.com; s=arc-20160816; b=SjVXuIH30Wk8EtR0idrLvPPWruldWak8WqJjcOMR7Apfga/Yp3Hb5q6k2Lz5QSnzdM 892UcdYMFPR04wE0t7/s2txIjhzveb87+Wq013FCMl1v4IFUZPejmPnbYhq4jG0UirZg uTGISpoI6c+YCuSS5fQENCcov44b9NhbuUaM68S2i4eJCK5+YGffDe15e07ZLPHbwGCD yeCgVZ6NaESFpXp4qD6LgHJ0m6158MdR7EGejDdnvGu4JDsGRL3lhW8bq7zC3d5dR9Ad EjHdZVvg+yfG4uV9YqF2HV2e0rQ4jBnvr1I/8/vlEhMq3SZAHxipcEzjmbv19N+GyvTc PFbg== 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=db0HM4uCJ9nBb4/ICw2ATin+s71sliXOz+UOUJIF8+k=; b=WjjngEgRK7TpPokiYUUfBvLMjk6VJl2D1BnXEVbhebgP4CEDZ55qqovLVnw4O9mzuw Mz32O80DbwIWdMx+Yp0ekgmFza8vcYR19X99jVnz8/eYmciswamvLFeRqkHiWaxm7lY/ lqNvl7svVr8Hp4+s7sTar1s4uEBqEkfLJT2IF1ztZjX8BZeYIGVJy747FIItFkw0dehN YPa16CJjLDHRoB3BEoVldO/Ib+skf098ECO0Yepyo9SWaFaE2eoZJIIQuGp5ckqG0d8W 5mPV7tqRYlt0jc6YxLAhW7T/pF8sb4i2xTk899eHGT/gqHAnfPNpZTdsdwBlhq3nR64N S9Dg== 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=II0qtJdj; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-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 l7-v6si1254170pls.728.2018.02.06.05.02.51; Tue, 06 Feb 2018 05:02:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-omap-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=II0qtJdj; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-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 S1753026AbeBFNCq (ORCPT + 5 others); Tue, 6 Feb 2018 08:02:46 -0500 Received: from lelnx194.ext.ti.com ([198.47.27.80]:15701 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752995AbeBFM7B (ORCPT ); Tue, 6 Feb 2018 07:59:01 -0500 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id w16CwYRB012943; Tue, 6 Feb 2018 06:58:34 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1517921914; bh=BUIPcMaeEV0XclNRnIhpaSTjqyg3oqPI0D8r03Vw6QU=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=II0qtJdjrhXae7Cu6sY79H3o1XlI+ymfDiXxG1TlTuTd7Bd7/EInoF+OPmL45oirs eVzbqxfYR0PUNpcEYkghaW47uKzW0ts8kdHYayXz+n9tm9pkVwULFzQbvNhxY3IC83 0pQQ/a1ID38Wk3EUPcvFNaSmQPRtWl3zWhxQBfjY= Received: from DLEE101.ent.ti.com (dlee101.ent.ti.com [157.170.170.31]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w16CwYbi006142; Tue, 6 Feb 2018 06:58:34 -0600 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Tue, 6 Feb 2018 06:58:34 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Tue, 6 Feb 2018 06:58:34 -0600 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w16CwHXY007055; Tue, 6 Feb 2018 06:58:31 -0600 From: Kishon Vijay Abraham I To: =?utf-8?q?Beno=C3=AEt_Cousson?= , Tony Lindgren , Rob Herring CC: Mark Rutland , Russell King , , , , , Sekhar Nori , Kishon Vijay Abraham I Subject: [PATCH v2 04/15] ARM: dts: dra76-evm: Shift to using common IOdelay data Date: Tue, 6 Feb 2018 18:27:55 +0530 Message-ID: <20180206125806.19350-5-kishon@ti.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180206125806.19350-1-kishon@ti.com> References: <20180206125806.19350-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org From: Sekhar Nori Now that we have a device-tree include file with common MMC/SD IOdelay data for DRA76x SoC, shift the EVM device-tree file to using that. Tested-by: Jean-Jacques Hiblot Signed-off-by: Sekhar Nori Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/dra76-evm.dts | 41 +---------------------------------------- 1 file changed, 1 insertion(+), 40 deletions(-) -- 2.11.0 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" 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/dra76-evm.dts b/arch/arm/boot/dts/dra76-evm.dts index c4fe7f8ef72a..70854be0ce6a 100644 --- a/arch/arm/boot/dts/dra76-evm.dts +++ b/arch/arm/boot/dts/dra76-evm.dts @@ -9,6 +9,7 @@ #include "dra76x.dtsi" #include "dra7-evm-common.dtsi" +#include "dra76x-mmc-iodelay.dtsi" #include / { @@ -100,46 +101,6 @@ }; }; -&dra7_pmx_core { - mmc1_pins_default: mmc1_pins_default { - pinctrl-single,pins = < - DRA7XX_CORE_IOPAD(0x376c, PIN_INPUT | MUX_MODE14) /* mmc1sdcd.gpio219 */ - DRA7XX_CORE_IOPAD(0x3754, PIN_INPUT_PULLUP | 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: pinmux_mmc1_sdr12_pins { - pinctrl-single,pins = < - DRA7XX_CORE_IOPAD(0x3754, PIN_INPUT_PULLUP | 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 */ - >; - }; - - mmc2_pins_default: mmc2_pins_default { - pinctrl-single,pins = < - DRA7XX_CORE_IOPAD(0x349c, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a23.mmc2_clk */ - DRA7XX_CORE_IOPAD(0x34b0, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_cs1.mmc2_cmd */ - DRA7XX_CORE_IOPAD(0x34a0, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a24.mmc2_dat0 */ - DRA7XX_CORE_IOPAD(0x34a4, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a25.mmc2_dat1 */ - DRA7XX_CORE_IOPAD(0x34a8, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a26.mmc2_dat2 */ - DRA7XX_CORE_IOPAD(0x34ac, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a27.mmc2_dat3 */ - DRA7XX_CORE_IOPAD(0x348c, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a19.mmc2_dat4 */ - DRA7XX_CORE_IOPAD(0x3490, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a20.mmc2_dat5 */ - DRA7XX_CORE_IOPAD(0x3494, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a21.mmc2_dat6 */ - DRA7XX_CORE_IOPAD(0x3498, PIN_INPUT_PULLUP | MUX_MODE1) /* gpmc_a22.mmc2_dat7 */ - >; - }; -}; - &i2c1 { status = "okay"; clock-frequency = <400000>; From patchwork Tue Feb 6 12:58:01 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: 126997 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp2893996ljc; Tue, 6 Feb 2018 04:59:31 -0800 (PST) X-Google-Smtp-Source: AH8x225Q6dqpbNDBz7lrcmtd55N6XOtZ7xNS49BVMjFCuwVhdfW4BRfeIy9C0kOT9PhiVcs4glNX X-Received: by 10.99.178.92 with SMTP id t28mr1900114pgo.193.1517921971826; Tue, 06 Feb 2018 04:59:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517921971; cv=none; d=google.com; s=arc-20160816; b=WEup+36391bTxvZkx77j/KU4NDVVbOcepgkiP6HtAxe9F6sP0sEP2lyEs7aALhwPue eWhcUUH54d2bVRkg7ZA17G2Jt2Bo8jJP98WBkHiKqolXlWFy8zK7XhegP1TbaIIAS9pr W8m3HSV09/B4YTCw1y/zTEI8kEtfn/MW3OR70A/4zcysT7xXOVdZ9PnQkoRJekUJncz6 7dz2Zv7RjE020f3M4LWzTAup9BeONRaTMEycd28akPiyWyrsYb5oYrKyaTbVuZrYFgy4 xsD/AJHgIvX/6kXbHUrO+fpi5fVKa/gB1Y0tj/h+BcJwsda3Y1CcNTYB1qEYR/eo2Fcj IqDA== 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=M8z1BHjfa7KNx551dtKrj+ePWJXBzPfpSq9okKobEXY=; b=OZdCp4hytQ0fkaEgq34UvQ02eySTNj5iLnfq4tu/dM05Vhtslfsjer466wLY4V422v jp5+FxCxI3muAOcPm8Fa/utF2jYrROeCM1BA8L806WPEwyGwOrDUt5r3qQBeq8LedtZg JVDFQaxjKwqJduXmWB+pNIpm0bFlAxjTEVO7AFNfykIV+wFy6FUzC0zOw2Z3NCi+72tY uvYzKhuglA7W1uOfn+GT4RxfoeMCxvvyNmgadlideEtMXBrVcRg0EAGBhbWIo/ROMFLq ZCfMsSJqtmQBOvgiKsf2aShKKKS+Nm8eugzsiMQ5mPWnPlXiX2hFvzJ5FRw77OnLfJaq 8/aA== 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=cEUPCIZP; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-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 3-v6si8543165pll.204.2018.02.06.04.59.31; Tue, 06 Feb 2018 04:59:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-omap-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=cEUPCIZP; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-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 S1753105AbeBFM72 (ORCPT + 5 others); Tue, 6 Feb 2018 07:59:28 -0500 Received: from fllnx210.ext.ti.com ([198.47.19.17]:61993 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752921AbeBFM7Z (ORCPT ); Tue, 6 Feb 2018 07:59:25 -0500 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id w16Cws3v002242; Tue, 6 Feb 2018 06:58:54 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1517921934; bh=mWYvSKfAidu9L7nWnCyvVV0aPCdS2htn4L3ro4k5Ixc=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=cEUPCIZPEqY2HN1jEQTKGwFGVLyJAJT3nwsPa7kpFlBS6xuIDKJE38PZfVCe0Hmlo Rfp/UDLo9Y420ASFfNDk36Ou3BhDFjyUCeExQjKQgdjotmEAqEOXQ8N78/EDwy7tWo JJl3qyheUZLYMq8CwinDnwD72YV8eOqppmvGcSdQ= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w16Cwsnq006546; Tue, 6 Feb 2018 06:58:54 -0600 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Tue, 6 Feb 2018 06:58:53 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Tue, 6 Feb 2018 06:58:53 -0600 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w16CwHXe007055; Tue, 6 Feb 2018 06:58:51 -0600 From: Kishon Vijay Abraham I To: =?utf-8?q?Beno=C3=AEt_Cousson?= , Tony Lindgren , Rob Herring CC: Mark Rutland , Russell King , , , , , Kishon Vijay Abraham I Subject: [PATCH v2 10/15] ARM: dts: dra76-evm: Add "vqmmc-supply" property for mmc2 Date: Tue, 6 Feb 2018 18:28:01 +0530 Message-ID: <20180206125806.19350-11-kishon@ti.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180206125806.19350-1-kishon@ti.com> References: <20180206125806.19350-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Add "vqmmc-supply" property for mmc2 to indicate the supply connected to the IO lines. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/dra76-evm.dts | 1 + 1 file changed, 1 insertion(+) -- 2.11.0 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" 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/dra76-evm.dts b/arch/arm/boot/dts/dra76-evm.dts index 088853001c81..2deb96405d06 100644 --- a/arch/arm/boot/dts/dra76-evm.dts +++ b/arch/arm/boot/dts/dra76-evm.dts @@ -322,6 +322,7 @@ &mmc2 { status = "okay"; vmmc-supply = <&vio_1v8>; + vqmmc-supply = <&vio_1v8>; bus-width = <8>; pinctrl-names = "default", "hs", "ddr_1_8v", "hs200_1_8v"; pinctrl-0 = <&mmc2_pins_default>; From patchwork Tue Feb 6 12:58:05 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: 127001 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp2894410ljc; Tue, 6 Feb 2018 05:00:07 -0800 (PST) X-Google-Smtp-Source: AH8x226jJFbzMc4b6EFW6xvl9EEkVTBHatkOun5KuQPrAWgKKnzwN1e5Zi5xJOray6qcwUkZB/xm X-Received: by 10.99.56.79 with SMTP id h15mr1878612pgn.402.1517922007043; Tue, 06 Feb 2018 05:00:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517922007; cv=none; d=google.com; s=arc-20160816; b=oE5v4MVJ74/7D5soIlJbGNVNmw7/VlPz1ODnkpk3G03QO+PIFvWSpnuybdgJAiIpZU dgXrUU65O3QHaqGzzJ1x06rrNa6jua0aKf6OaSwNLj1+8HB92s5gxmCjJYQLx4z2jxTm XDhJZNZp9Nj/kMuM+B8X5y68tw+5mKRJ4V4XfLv/GeNUYZ9lqHyGgCJj/IT/KQue7pRR BOcCHWnchegR2tow+Z7XZVcF0+YbVmeUUOXZF1QLgCpxeIipSUEt2kFfB3LODEI+nyis 8Q6WcDGhLbdqRUHiRvBKLcnZOjNz4Dqt2PDdcN9T2K7qvd3vgRxPqGNaztPbN/deGmew 2KMA== 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=ldtdvP1d/lEIksHMpCeE0GTd7dQyBr5yKRyGu1cF22o=; b=K9cx3KqkiPoseO4JLQWamQsGerwS3FcDOG2aORREzdX1Wn1cRmFOdWnpHntGqi40Wx W4ngaljxhG6Z9RcPum71R2+vAcqdLi9gZ4Q+QPrU5/epSEJTzRJDfKXk2/4PZyAlRiyk fYXWwCvsMyyxnctAbrn4wiwHLAJzItZ9TNRuMfmdbiV54CufWiOXfDdDREf7WMwmBK1Z ZZhGZzC5AGX/r+IT6hvJ0YqB9trW4VGDJIGNcEuCq5aIFhQzgHyBOSvP+rMJGJNbHBzv eU/IBe8v7WI/59iDIIQVzXcTsK35q1Lt4KUN+JivuOEf/IBq3kpi/gQ2/VERRHcOhZxo EyWQ== 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=Y1w3qUwU; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-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 i2si3252874pfj.20.2018.02.06.05.00.06; Tue, 06 Feb 2018 05:00:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-omap-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=Y1w3qUwU; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-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 S1753174AbeBFNAE (ORCPT + 5 others); Tue, 6 Feb 2018 08:00:04 -0500 Received: from lelnx193.ext.ti.com ([198.47.27.77]:55238 "EHLO lelnx193.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753130AbeBFM7g (ORCPT ); Tue, 6 Feb 2018 07:59:36 -0500 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id w16Cx75V021145; Tue, 6 Feb 2018 06:59:07 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1517921947; bh=AChNomfbyXdcmmTrkCfLPbPLOQi7sW1hpmd+fZAvK74=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Y1w3qUwUudMILgjayvTbOr04kGIxXs0C2i/oC/WqXOySai/E+/OlzR95v0prfc4dB +5XUC+WJop9vyH22mlBeQ7ycrB26/Y0OEYV59m+AnZ3C4rSKcOh3PMnz3ls5OdZuOR cMxr39ZjPe4CsRlZ1TtTPs1JlEFjR9kEBMIb6Hv4= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w16Cx7a7006902; Tue, 6 Feb 2018 06:59:07 -0600 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Tue, 6 Feb 2018 06:59:06 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Tue, 6 Feb 2018 06:59:06 -0600 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w16CwHXi007055; Tue, 6 Feb 2018 06:59:04 -0600 From: Kishon Vijay Abraham I To: =?utf-8?q?Beno=C3=AEt_Cousson?= , Tony Lindgren , Rob Herring CC: Mark Rutland , Russell King , , , , , Kishon Vijay Abraham I Subject: [PATCH v2 14/15] ARM: dts: dra7: Use sdhci-omap programming model Date: Tue, 6 Feb 2018 18:28:05 +0530 Message-ID: <20180206125806.19350-15-kishon@ti.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180206125806.19350-1-kishon@ti.com> References: <20180206125806.19350-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Use sdhci-omap programming model based on the generic sdhci library for programming the first 2 instances of eMMC/SD/SDIO controller. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi | 3 +-- arch/arm/boot/dts/am57xx-idk-common.dtsi | 2 +- arch/arm/boot/dts/dra7-evm.dts | 1 + arch/arm/boot/dts/dra7.dtsi | 15 ++++++--------- arch/arm/boot/dts/dra72-evm-common.dtsi | 2 +- arch/arm/boot/dts/dra76-evm.dts | 3 ++- 6 files changed, 12 insertions(+), 14 deletions(-) -- 2.11.0 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" 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/am57xx-beagle-x15-common.dtsi b/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi index 7539096fe4d8..1827b1e9a9f2 100644 --- a/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi +++ b/arch/arm/boot/dts/am57xx-beagle-x15-common.dtsi @@ -444,8 +444,7 @@ vmmc-supply = <&vdd_3v3>; vqmmc-supply = <&vdd_3v3>; bus-width = <8>; - ti,non-removable; - cap-mmc-dual-data-rate; + non-removable; }; &sata { diff --git a/arch/arm/boot/dts/am57xx-idk-common.dtsi b/arch/arm/boot/dts/am57xx-idk-common.dtsi index 43cdf523a8a0..855c130afc69 100644 --- a/arch/arm/boot/dts/am57xx-idk-common.dtsi +++ b/arch/arm/boot/dts/am57xx-idk-common.dtsi @@ -423,7 +423,7 @@ vmmc-supply = <&v3_3d>; vqmmc-supply = <&v3_3d>; bus-width = <8>; - ti,non-removable; + non-removable; max-frequency = <96000000>; }; diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index f1425b0f3a54..e9a1aa17cca5 100644 --- a/arch/arm/boot/dts/dra7-evm.dts +++ b/arch/arm/boot/dts/dra7-evm.dts @@ -325,6 +325,7 @@ vmmc-supply = <&evm_1v8_sw>; vqmmc-supply = <&evm_1v8_sw>; bus-width = <8>; + non-removable; pinctrl-names = "default", "hs", "ddr_1_8v-rev11", "ddr_1_8v", "hs200_1_8v-rev11", "hs200_1_8v"; pinctrl-0 = <&mmc2_pins_default>; pinctrl-1 = <&mmc2_pins_hs>; diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index b4ef814c556c..7bf33d522b14 100644 --- a/arch/arm/boot/dts/dra7.dtsi +++ b/arch/arm/boot/dts/dra7.dtsi @@ -1066,17 +1066,15 @@ }; mmc1: mmc@4809c000 { - compatible = "ti,omap4-hsmmc"; + compatible = "ti,dra7-sdhci"; reg = <0x4809c000 0x400>; interrupts = ; ti,hwmods = "mmc1"; - ti,dual-volt; - ti,needs-special-reset; - dmas = <&sdma_xbar 61>, <&sdma_xbar 62>; - dma-names = "tx", "rx"; status = "disabled"; pbias-supply = <&pbias_mmc_reg>; max-frequency = <192000000>; + cap-sd-highspeed; + cap-mmc-highspeed; }; hdqw1w: 1w@480b2000 { @@ -1087,15 +1085,14 @@ }; mmc2: mmc@480b4000 { - compatible = "ti,omap4-hsmmc"; + compatible = "ti,dra7-sdhci"; reg = <0x480b4000 0x400>; interrupts = ; ti,hwmods = "mmc2"; - ti,needs-special-reset; - dmas = <&sdma_xbar 47>, <&sdma_xbar 48>; - dma-names = "tx", "rx"; status = "disabled"; max-frequency = <192000000>; + cap-sd-highspeed; + cap-mmc-highspeed; }; mmc3: mmc@480ad000 { diff --git a/arch/arm/boot/dts/dra72-evm-common.dtsi b/arch/arm/boot/dts/dra72-evm-common.dtsi index 2e485a13dfd7..4f48f97c9c47 100644 --- a/arch/arm/boot/dts/dra72-evm-common.dtsi +++ b/arch/arm/boot/dts/dra72-evm-common.dtsi @@ -421,7 +421,7 @@ pinctrl-names = "default"; pinctrl-0 = <&mmc2_pins_default>; bus-width = <8>; - ti,non-removable; + non-removable; max-frequency = <192000000>; }; diff --git a/arch/arm/boot/dts/dra76-evm.dts b/arch/arm/boot/dts/dra76-evm.dts index 2deb96405d06..f8c0c6b068fd 100644 --- a/arch/arm/boot/dts/dra76-evm.dts +++ b/arch/arm/boot/dts/dra76-evm.dts @@ -307,7 +307,7 @@ &mmc1 { status = "okay"; vmmc-supply = <&vio_3v3_sd>; - vmmc_aux-supply = <&ldo4_reg>; + vqmmc-supply = <&ldo4_reg>; bus-width = <4>; /* * SDCD signal is not being used here - using the fact that GPIO mode @@ -324,6 +324,7 @@ vmmc-supply = <&vio_1v8>; vqmmc-supply = <&vio_1v8>; bus-width = <8>; + non-removable; pinctrl-names = "default", "hs", "ddr_1_8v", "hs200_1_8v"; pinctrl-0 = <&mmc2_pins_default>; pinctrl-1 = <&mmc2_pins_default>;