From patchwork Wed Jun 4 16:30:18 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 31393 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f69.google.com (mail-oa0-f69.google.com [209.85.219.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 21AAC203AC for ; Wed, 4 Jun 2014 16:32:44 +0000 (UTC) Received: by mail-oa0-f69.google.com with SMTP id i7sf44714444oag.0 for ; Wed, 04 Jun 2014 09:32:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=d3cX1V8g2ecbUt4ZSefEhUrqK7OJcGFUOdgGwMzZFnk=; b=DGBklgSRwl4GZxT9+xBEpibxK/ShssCeCtwtcOvQP0ERN1m/vwvU5D67C6AUNYjirt 9Oj8aVYVohAJCjaeR8GPMkz6Hf/PjmjWMHGxlIkKJ6qCfDuY4ZFUD936quYObZWKB8oF 3RGMFdZHgiHLHVnvdXgN9FrLa878/D/69EmTibBRearE0yZFDvl9q38/leZIMvobL1tp 7271GS6J+7ELAHx2Gialk003WmIp86mwx6O2K0uwJ/XRJUoyFeM7e0zVulN/KE4wv62C /yhiKtZQ7Oj+t4/6790IINL4Yd9PWkwDSo+YfYlyqzkyUmFTutTuKecA0VIQMoSn1C8v rhUA== X-Gm-Message-State: ALoCoQlx5/D5BWLctcInoXPV5DZNOgp0tE+PxXSA/T9I3yv7p7M9nU0gBReKOtQW6d+H0E3n0eRC X-Received: by 10.50.50.69 with SMTP id a5mr2514201igo.6.1401899564467; Wed, 04 Jun 2014 09:32:44 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.83.50 with SMTP id i47ls3152172qgd.38.gmail; Wed, 04 Jun 2014 09:32:44 -0700 (PDT) X-Received: by 10.220.160.67 with SMTP id m3mr3687054vcx.56.1401899564358; Wed, 04 Jun 2014 09:32:44 -0700 (PDT) Received: from mail-ve0-f170.google.com (mail-ve0-f170.google.com [209.85.128.170]) by mx.google.com with ESMTPS id ce2si2014550vdc.67.2014.06.04.09.32.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 04 Jun 2014 09:32:44 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.170 as permitted sender) client-ip=209.85.128.170; Received: by mail-ve0-f170.google.com with SMTP id db11so9173723veb.29 for ; Wed, 04 Jun 2014 09:32:44 -0700 (PDT) X-Received: by 10.220.15.8 with SMTP id i8mr3695022vca.45.1401899564271; Wed, 04 Jun 2014 09:32:44 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.54.6 with SMTP id vs6csp58602vcb; Wed, 4 Jun 2014 09:32:43 -0700 (PDT) X-Received: by 10.68.189.68 with SMTP id gg4mr65377445pbc.42.1401899563485; Wed, 04 Jun 2014 09:32:43 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fn1si6861366pbb.74.2014.06.04.09.32.42; Wed, 04 Jun 2014 09:32:42 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754247AbaFDQbU (ORCPT + 27 others); Wed, 4 Jun 2014 12:31:20 -0400 Received: from mail-wi0-f179.google.com ([209.85.212.179]:50064 "EHLO mail-wi0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754195AbaFDQbQ (ORCPT ); Wed, 4 Jun 2014 12:31:16 -0400 Received: by mail-wi0-f179.google.com with SMTP id bs8so1844364wib.0 for ; Wed, 04 Jun 2014 09:31:15 -0700 (PDT) X-Received: by 10.180.78.225 with SMTP id e1mr6946989wix.17.1401899475548; Wed, 04 Jun 2014 09:31:15 -0700 (PDT) Received: from localhost.localdomain (cpc14-aztw22-2-0-cust189.18-1.cable.virginm.net. [82.45.1.190]) by mx.google.com with ESMTPSA id s10sm4355698wjs.29.2014.06.04.09.31.14 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 04 Jun 2014 09:31:14 -0700 (PDT) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, chris@printf.net, ulf.hansson@linaro.org, maxime.coquelin@st.com, patrice.chotard@st.com, srinivas.kandagatla@gmail.com Cc: peter.griffin@linaro.org, kernel@stlinux.com, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, Giuseppe Cavallaro Subject: [PATCH v3 04/10] ARM: STi: DT: Add sdhci controller for stih416 Date: Wed, 4 Jun 2014 17:30:18 +0100 Message-Id: <1401899424-1365-5-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1401899424-1365-1-git-send-email-peter.griffin@linaro.org> References: <1401899424-1365-1-git-send-email-peter.griffin@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.griffin@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.170 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This patch adds device tree config for both sdhci controllers on the stih416 SoC. Signed-off-by: Giuseppe Cavallaro Signed-off-by: Peter Griffin Acked-by: Lee Jones Acked-by: Maxime Coquelin --- arch/arm/boot/dts/stih416.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/stih416.dtsi b/arch/arm/boot/dts/stih416.dtsi index 06473c5..6473287 100644 --- a/arch/arm/boot/dts/stih416.dtsi +++ b/arch/arm/boot/dts/stih416.dtsi @@ -236,5 +236,29 @@ resets = <&powerdown STIH416_KEYSCAN_POWERDOWN>, <&softreset STIH416_KEYSCAN_SOFTRESET>; }; + + mmc0: sdhci@fe81e000 { + compatible = "st,sdhci"; + status = "disabled"; + reg = <0xfe81e000 0x1000>; + interrupts = ; + interrupt-names = "mmcirq"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_mmc0>; + clock-names = "mmc"; + clocks = <&clk_s_a1_ls 1>; + }; + + mmc1: sdhci@fe81f000 { + compatible = "st,sdhci"; + status = "disabled"; + reg = <0xfe81f000 0x1000>; + interrupts = ; + interrupt-names = "mmcirq"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_mmc1>; + clock-names = "mmc"; + clocks = <&clk_s_a1_ls 8>; + }; }; };