From patchwork Thu Jun 1 14:34:00 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: 100928 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp835427qge; Thu, 1 Jun 2017 07:35:11 -0700 (PDT) X-Received: by 10.157.40.202 with SMTP id s68mr1279252ota.36.1496327711680; Thu, 01 Jun 2017 07:35:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496327711; cv=none; d=google.com; s=arc-20160816; b=X/kiWzh2gCUhoamKwu8EXJQmStLMef+R2zgcZw5v4RNpFkRNv10CcXgvC43RzTl5ee WUelK1VaWb3MhGho8TWOUBGieuvLG+r43aTNY1mBlYjGPbVymLJH8It6/ioMs0H0oboo eM4cojl3HDltpA0HwXNNAtbob6P65A+1Gjl77SLpgeXeojqFBW8Kxv8UvkhdiMepuKkd 4p+b9XNopVm34+QWwxuOq0yT1Kk3akdpsaifc6K6xar3Jy6XsoHPkUEEhTD+57eN9ah6 zpFS1UEd6CjjmTjcllPW4jXYfdmteEgtjwiptrDJ/OVWh7EiKtzOpHPX4e9HhpStVpJr HgZQ== 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=h9XJoMbdvE9/tfUbamYouR1rVRFrJ7dHOc8GTJ+eIro=; b=oe2be53TOm3B9HGn2l7+n11aCQECfR2k0CnYPb7TU2SimrLdaQmLCV/yU8oNlEQkhX 19w3q/Gdm7ZK30pE7yVfx6kkjyV4rktLvzPypmoy2BB/CxrKBFzEGQGvXgeKEGQUS1Sl 3FDigdjUPoRgbRtx+9sr/JuvLpZNxbzc70MjxNCmyWw2hiv7zheoiDMhQePvXbf026EI AA7aQMUiUWAARJLV3utS7L3ADE21/l1roXWpeMHG8UgyiHJHS82AJqX77BztObe+lKHk nUSTPeuh+6ZCcIdl3yJecSVlUXkNo84XOsMHk0XhuVLCX59z5CGkujZXaaxAU0VGAUuk GQZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com; 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 k143si8336343oib.247.2017.06.01.07.35.11; Thu, 01 Jun 2017 07:35:11 -0700 (PDT) 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; 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 S1751166AbdFAOfH (ORCPT + 7 others); Thu, 1 Jun 2017 10:35:07 -0400 Received: from lelnx194.ext.ti.com ([198.47.27.80]:42680 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751142AbdFAOfF (ORCPT ); Thu, 1 Jun 2017 10:35:05 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id v51EYU0o020939; Thu, 1 Jun 2017 09:34:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1496327670; bh=jXzTQwcHU+0ZZJjKaJHu4s0J5DLsTW2qArLNBKyGKAI=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=ds0k0TzZmUtontDbqUxkCBTbFcjJGwp5cmqPlO/11XJhLLQJBnjDI8vgXwc3JE8Ed bl0zEkMD+7qbMS7h5EgM9LT3v1AlUSlrCr2VWSBcnoxjKSAB2s7QSw73yaPMFFrE0v iKPFIaNQBlqqpMnR6cDu6/79uilFhA6Eo829736Q= Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id v51EYU3E001642; Thu, 1 Jun 2017 09:34:30 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.294.0; Thu, 1 Jun 2017 09:34:30 -0500 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 v51EY7El003521; Thu, 1 Jun 2017 09:34:27 -0500 From: Kishon Vijay Abraham I To: Tony Lindgren , Rob Herring , CC: Russell King , , , , , , Subject: [PATCH 6/7] ARM: dts: dra7: Add "max-frequency" property to MMC dt nodes Date: Thu, 1 Jun 2017 20:04:00 +0530 Message-ID: <20170601143401.16852-7-kishon@ti.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170601143401.16852-1-kishon@ti.com> References: <20170601143401.16852-1-kishon@ti.com> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add "max-frequency" property to MMC dt nodes and set the maximum frequency to 192MHz for MMC1/MMC2, 64MHz for MMC3 and 192MHz for MMC4. pdata quirks must be utilized to detect presence of rev 1.1/1.0 of silicon and adjust maximum frequencies as per restrictions documented in i843. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Sekhar Nori --- arch/arm/boot/dts/dra7.dtsi | 5 +++++ 1 file changed, 5 insertions(+) -- 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/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index e7144662af45..c09a91e77f53 100644 --- a/arch/arm/boot/dts/dra7.dtsi +++ b/arch/arm/boot/dts/dra7.dtsi @@ -1037,6 +1037,7 @@ dma-names = "tx", "rx"; status = "disabled"; pbias-supply = <&pbias_mmc_reg>; + max-frequency = <192000000>; }; mmc2: mmc@480b4000 { @@ -1048,6 +1049,7 @@ dmas = <&sdma_xbar 47>, <&sdma_xbar 48>; dma-names = "tx", "rx"; status = "disabled"; + max-frequency = <192000000>; }; mmc3: mmc@480ad000 { @@ -1059,6 +1061,8 @@ dmas = <&sdma_xbar 77>, <&sdma_xbar 78>; dma-names = "tx", "rx"; status = "disabled"; + /* Errata i887 limits max-frequency of MMC3 to 64 MHz */ + max-frequency = <64000000>; }; mmc4: mmc@480d1000 { @@ -1070,6 +1074,7 @@ dmas = <&sdma_xbar 57>, <&sdma_xbar 58>; dma-names = "tx", "rx"; status = "disabled"; + max-frequency = <192000000>; }; mmu0_dsp1: mmu@40d01000 {