From patchwork Fri Nov 14 15:57:29 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Wojtas X-Patchwork-Id: 5308241 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C31C8C11AC for ; Fri, 14 Nov 2014 16:04:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 050A72017D for ; Fri, 14 Nov 2014 16:04:58 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 349F820138 for ; Fri, 14 Nov 2014 16:04:57 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XpJKA-0002ao-G1; Fri, 14 Nov 2014 16:02:14 +0000 Received: from merlin.infradead.org ([2001:4978:20e::2]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XpJGu-0006xt-65 for linux-arm-kernel@bombadil.infradead.org; Fri, 14 Nov 2014 15:58:52 +0000 Received: from mail-wi0-f182.google.com ([209.85.212.182]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XpJGr-0007rD-9m for linux-arm-kernel@lists.infradead.org; Fri, 14 Nov 2014 15:58:49 +0000 Received: by mail-wi0-f182.google.com with SMTP id h11so3099296wiw.15 for ; Fri, 14 Nov 2014 07:58:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=wFOHhkbjLgIsZSSBGRz0MDRcAVcKwpZbl0G/eRZEWM8=; b=f6UmUUt4Lo32bvsiMn8FEHG63q4Lujpv2saIKz6fIeK6TXpZRDS4VVcxLkuLzJe/HC yKVXe8g5cdwoWc2drn283Bn8coc916e7QV6SHsN/IKJ5upHiXgbJu1sMm14e/ykXulwh xQ/6/1S1E044uC6vXb4vc8FE4pZA+WwjVOvkpGF4Dg/zTAcIj/zgoF23+6cM7n+erI9W gkLtTxoyWNaPxYa4Pi6QFODz9W+I1Ht2hPn6J3XSW4XPf8cDKjGsN7NjjjkmrVCmdF2L HNiNicFB6V2xY62/2DjhtSD0QHtxgpS4YTo/bzDgruCFoBn5vagr/2RHA95uSpWFUApG h/xA== X-Gm-Message-State: ALoCoQmGn9d415ijg74iS6VVi68T/rlCs07FkAr2ynAB6jJbsZavM13yqGIh6AgdmZ9FXKrx+dIm X-Received: by 10.194.205.132 with SMTP id lg4mr14783064wjc.84.1415980704272; Fri, 14 Nov 2014 07:58:24 -0800 (PST) Received: from mw-VirtualBox.semihalf.com (cardhu.semihalf.com. [213.17.239.108]) by mx.google.com with ESMTPSA id dm10sm3898170wib.18.2014.11.14.07.58.22 for (version=TLSv1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 14 Nov 2014 07:58:23 -0800 (PST) From: Marcin Wojtas To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 2/5] ARM: mvebu: enable no-1-8-v flag for Armada 385 DB SDHCI interface Date: Fri, 14 Nov 2014 16:57:29 +0100 Message-Id: <1415980652-7429-3-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1415980652-7429-1-git-send-email-mw@semihalf.com> References: <1415980652-7429-1-git-send-email-mw@semihalf.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141114_105849_447062_222A778C X-CRM114-Status: UNSURE ( 9.39 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) Cc: thomas.petazzoni@free-electrons.com, andrew@lunn.ch, jason@lakedaemon.net, tawfik@marvell.com, alior@marvell.com, ezequiel.garcia@free-electrons.com, gregory.clement@free-electrons.com, mw@semihalf.com, sebastian.hesselbarth@gmail.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The Marvell Armada 38x SoC's SDHCI interface is capable of using 1.8v voltage, needed for driving "UHS-I" SD cards at their full speed. It is not, however, possible on the DB board. Due to physical connectivity connector supply is tied to 3v and any attempt of changing voltage in order to operate in the fastest UHS modes fails. This patch enables equivalent SDHCI quirk in order to adjust controller operation to system capabilities. Signed-off-by: Marcin Wojtas Reviewed-by: Gregory CLEMENT Acked-by: Thomas Petazzoni Acked-by: Andrew Lunn --- arch/arm/boot/dts/armada-385-db.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/armada-385-db.dts b/arch/arm/boot/dts/armada-385-db.dts index 1af886f..b125712 100644 --- a/arch/arm/boot/dts/armada-385-db.dts +++ b/arch/arm/boot/dts/armada-385-db.dts @@ -121,6 +121,7 @@ wp-inverted; bus-width = <8>; status = "okay"; + no-1-8-v; }; usb3@f0000 {