From patchwork Wed Jul 9 15:07:38 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 4516501 Return-Path: X-Original-To: patchwork-linux-mmc@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 C4836BEEAA for ; Wed, 9 Jul 2014 15:08:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E88682037A for ; Wed, 9 Jul 2014 15:08:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DFB80201F5 for ; Wed, 9 Jul 2014 15:08:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755745AbaGIPIW (ORCPT ); Wed, 9 Jul 2014 11:08:22 -0400 Received: from mail-wg0-f47.google.com ([74.125.82.47]:32956 "EHLO mail-wg0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932608AbaGIPIT (ORCPT ); Wed, 9 Jul 2014 11:08:19 -0400 Received: by mail-wg0-f47.google.com with SMTP id y10so2240315wgg.18 for ; Wed, 09 Jul 2014 08:08:18 -0700 (PDT) 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=p+2yhrZ60XOrZiBZhHT6YGd2x7Uqse42PG7w4GSkt3M=; b=jizxQ3qIYRcS6E/KdzlKO1pxHSCNu+fYaPsgJ5+D42M16e233N+d8OpsomcOC7dtug DClb+8TQCDBQnoXRO6k+sesKd+xaV828gJFnaITnk6SfaDp0GCIAHBnlLX5k2J8xiF3N ulko6SpuWyTW7QLrgUiN52QPy3Rcrgv0mOnn9dc4WCZsIJxNmy4r+DaZlvExtKcmKicu UYmtCm8ZV9QY11pa9G9xO7K/mbzpU5aSJDxG4HELsytEjKVTsfXbzrxhMuvvsEaQH8V6 X8H9WETl2nL2tLQooeRlTajmEUcHoM4kKd2XdW4FvnLr6kzE4Z3AKWvAvt+g8y0+xZkU JUaA== X-Gm-Message-State: ALoCoQlF4MTFa2j7WgpjPOLzKcWSATieAeggvc0BCiCsXf3S41Pm/2I5LbhDRYlMsBKcMrBzR2um X-Received: by 10.181.8.198 with SMTP id dm6mr12104362wid.30.1404918497956; Wed, 09 Jul 2014 08:08:17 -0700 (PDT) Received: from griffinp-ThinkPad-X1-Carbon-2nd.home (host86-181-29-22.range86-181.btcentralplus.com. [86.181.29.22]) by mx.google.com with ESMTPSA id cd1sm103941088wjc.19.2014.07.09.08.08.16 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 Jul 2014 08:08:17 -0700 (PDT) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, ulf.hansson@linaro.org, chris@printf.net, maxime.coquelin@st.com, patrice.chotard@st.com, srinivas.kandagatla@gmail.com Cc: peter.griffin@linaro.org, lee.jones@linaro.org, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, peppe.cavallaro@st.com Subject: [PATCH v4 07/10] ARM: STi: DT: Enable mmc0 for both stih415 and stih416 SoCs Date: Wed, 9 Jul 2014 16:07:38 +0100 Message-Id: <1404918461-25390-8-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1404918461-25390-1-git-send-email-peter.griffin@linaro.org> References: <1404918461-25390-1-git-send-email-peter.griffin@linaro.org> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 Because the first sdhci controller is present on both stih415 and stih416 SoC which can both populate the b2020 board, it can be enabled in the generic DT file. Signed-off-by: Giuseppe Cavallaro Signed-off-by: Peter Griffin Acked-by: Lee Jones Acked-by: Maxime Coquelin --- arch/arm/boot/dts/stih41x-b2020.dtsi | 4 ++++ arch/arm/boot/dts/stih41x-b2020x.dtsi | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/stih41x-b2020.dtsi b/arch/arm/boot/dts/stih41x-b2020.dtsi index d8a8429..5c2df46 100644 --- a/arch/arm/boot/dts/stih41x-b2020.dtsi +++ b/arch/arm/boot/dts/stih41x-b2020.dtsi @@ -74,5 +74,9 @@ pinctrl-0 = <&pinctrl_rgmii1>; }; + + mmc0: sdhci@fe81e000 { + bus-width = <8>; + }; }; }; diff --git a/arch/arm/boot/dts/stih41x-b2020x.dtsi b/arch/arm/boot/dts/stih41x-b2020x.dtsi index df01c12..f797a06 100644 --- a/arch/arm/boot/dts/stih41x-b2020x.dtsi +++ b/arch/arm/boot/dts/stih41x-b2020x.dtsi @@ -8,6 +8,10 @@ */ / { soc { + mmc0: sdhci@fe81e000 { + status = "okay"; + }; + spifsm: spifsm@fe902000 { #address-cells = <1>; #size-cells = <1>;