From patchwork Thu Dec 14 13:40:54 2017 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: 121948 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp6820953qgn; Thu, 14 Dec 2017 05:42:43 -0800 (PST) X-Google-Smtp-Source: ACJfBou8mu0GMgDlmYcaicrycfD4uidfeTCrJWSzImNy6ybiGsxqRi4kgREGkhBPWAyKWsFYwCSr X-Received: by 10.84.254.2 with SMTP id b2mr9397826plm.407.1513258963548; Thu, 14 Dec 2017 05:42:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513258963; cv=none; d=google.com; s=arc-20160816; b=tvv18opY3GU8EYBE1ZNJrStz69PITXHQ21B3yglYRHLT+HnAGDGJQ3RiWXFQ6vMqv1 00W7WDsLuxOlu+4nwrDSBRpLSCEVEN95jttr4WMPsGHD4l40/SfnwW2IqJEPJLIsrTB9 VKUZbhCoR+4jyj2ObYa69303fBBc+qOJB3FNn2MIVuNspbi7pyqLdRKYt/uag33sQ9HW 4n8SlvO0hDAOiZRTePlCcVzYEx8E4k/P5dDXBabzUUSZwhM02iZhlCVoxEuhBadpSuyl FyEFEn3aK26ciNzObvWjngmDDkn8PrL712Lw4JYPfnrj3Tzy85ntr8a/t8z4nsrCoOQA 1JeA== 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=lXsZIRDtz1iqyIXy6SMGMj2XRUwo9SVawvKB+pGeV48=; b=mddlc7xxfak+NHMarb5oHa28EdB6sHPF2gooKyHMi4XONNtpsDqaE39i+cJWNF+Fv/ uTdFKwPVOhlHvBhBEfEihQ+6iIkb+MBXAuT5tHAueFQFBpf4Kqp7eqFzuQnb7YVDHqN2 Yg27SoffWQsllvxgE8yok/cG63sNomPZ3FAoPmVTdyj3SJ1Ivluj7JyyBdlR3ufWhMS5 QCn0LgS4CcsOhfX0gUVrO87vaR88fF+qsVi+MEQJwIREThofkxCoPNAdpRqyrIFoOuZV 8a131C65kr6pnsdEffX/dKq8a1vrARchHRV4M9klsVtxv1TIwnDVSmHTvJF2Ki/TRdCZ Eixg== 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=BeaEUfX4; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 h5si2953803pgv.9.2017.12.14.05.42.43; Thu, 14 Dec 2017 05:42:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=BeaEUfX4; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1752899AbdLNNmk (ORCPT + 6 others); Thu, 14 Dec 2017 08:42:40 -0500 Received: from fllnx210.ext.ti.com ([198.47.19.17]:51773 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752893AbdLNNmh (ORCPT ); Thu, 14 Dec 2017 08:42:37 -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 vBEDfv8u009692; Thu, 14 Dec 2017 07:41:57 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1513258917; bh=yvyuGyN3vN72eEVNukLCqUAUA1dv+qt4YoiJeufjZZI=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=BeaEUfX4fQNkp/PLiY42bsr7tlR4QcZXgeu9jcac6UXz0XgJDp2Q60FLcT6fauXSK cBfcsodZ3xaiKhWNtHNs5K33UfDPskFxEuxceUbjBdDMb1W4R1aFekYI7wwxJWoDyV MKS0GnqfLdRjZAwmnFR5tOavCk1OfshJZUckXaDw= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id vBEDfvUJ030690; Thu, 14 Dec 2017 07:41:57 -0600 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Thu, 14 Dec 2017 07:41:57 -0600 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Thu, 14 Dec 2017 07:41:57 -0600 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id vBEDewBR009855; Thu, 14 Dec 2017 07:41:53 -0600 From: Kishon Vijay Abraham I To: Tony Lindgren , , Santosh Shilimkar CC: Rob Herring , Mark Rutland , Russell King , , , , , , , Subject: [PATCH 14/14] ARM: dts: keystone-k2g: Use sdhci-omap programming model Date: Thu, 14 Dec 2017 19:10:54 +0530 Message-ID: <20171214134054.7749-15-kishon@ti.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171214134054.7749-1-kishon@ti.com> References: <20171214134054.7749-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Use sdhci-omap programming model based on the generic sdhci library for programming the MMC/SD controller. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/keystone-k2g.dtsi | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) -- 2.11.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" 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/keystone-k2g.dtsi b/arch/arm/boot/dts/keystone-k2g.dtsi index 8f313ff406b9..2c6da70eac38 100644 --- a/arch/arm/boot/dts/keystone-k2g.dtsi +++ b/arch/arm/boot/dts/keystone-k2g.dtsi @@ -349,14 +349,10 @@ }; mmc0: mmc@23000000 { - compatible = "ti,k2g-hsmmc", "ti,omap4-hsmmc"; + compatible = "ti,k2g-sdhci"; reg = <0x23000000 0x400>; interrupts = ; - dmas = <&edma1 24 0>, <&edma1 25 0>; - dma-names = "tx", "rx"; bus-width = <4>; - ti,needs-special-reset; - no-1-8-v; max-frequency = <96000000>; power-domains = <&k2g_pds 0xb>; clocks = <&k2g_clks 0xb 1>, <&k2g_clks 0xb 2>; @@ -365,14 +361,11 @@ }; mmc1: mmc@23100000 { - compatible = "ti,k2g-hsmmc", "ti,omap4-hsmmc"; + compatible = "ti,k2g-sdhci"; reg = <0x23100000 0x400>; interrupts = ; - dmas = <&edma1 26 0>, <&edma1 27 0>; - dma-names = "tx", "rx"; bus-width = <8>; - ti,needs-special-reset; - ti,non-removable; + non-removable; max-frequency = <96000000>; power-domains = <&k2g_pds 0xc>; clocks = <&k2g_clks 0xc 1>, <&k2g_clks 0xc 2>;