From patchwork Tue Jun 14 15:37:16 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alan Cooper X-Patchwork-Id: 9176207 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 869D26075D for ; Tue, 14 Jun 2016 15:38:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7AAD421327 for ; Tue, 14 Jun 2016 15:38:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6F58D27E78; Tue, 14 Jun 2016 15:38:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 19D8821327 for ; Tue, 14 Jun 2016 15:38:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751841AbcFNPiE (ORCPT ); Tue, 14 Jun 2016 11:38:04 -0400 Received: from mail-pa0-f65.google.com ([209.85.220.65]:35058 "EHLO mail-pa0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751833AbcFNPiD (ORCPT ); Tue, 14 Jun 2016 11:38:03 -0400 Received: by mail-pa0-f65.google.com with SMTP id hf6so5077403pac.2 for ; Tue, 14 Jun 2016 08:38:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=PHwvr555xn3dVTsVhb/Ya/uAyDZ8Y/8QEackSCegwaU=; b=YXuDT9khNIn3y7eRQS7ojcrraLduVX/49QkoeLFSNRrKw1ArGJd31IFolvseKYZOOf oDbYZBu4GbpK9VH+T4lPeUcv3qmYSP6m+wF9CpkZts2wyHmTX1cAz1zt3N1hl9lTqdhZ AGC+EGG2idGigvJFAhdjF8BhlS8zTgJMPJwTKCJpdnyY08IFECJWTn6qtr2/L3bNOsuI eh9XaF7xMR+C31TP9w563tVwYOu2DoAGxC2eb9F8zoP+5Fx/WsQ4rQA0AGUMO3eE8tYI 8L87+wLlkATf8ZbjSQ1Iymkgs7djviUqzOezxCLP3W3LX92pTTxHf9y2TZmAwcg2gaQx PJhA== 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=PHwvr555xn3dVTsVhb/Ya/uAyDZ8Y/8QEackSCegwaU=; b=fh9FrljPBHp7e91HsO78Ipw00QXBftT0QGxpyJ3GuUCAi0Qv1+ZaRyvDoVrbV9tQBA OwwvClhlAh6jqDYie+fW8GZq95BqhIhSlAv6wQSN3FCW56RL4et/u/F1usIsmBLxTu8D x3KqQCVpJ4+9B4rwVQr1X7KIGNOoStpbBIZih25eYguciYXJsyNd7FzAFXQ0Q2aqey0S B5eLHALp/AiUcXgfUKQrjN+YP+MqdrZIm/3nkPmiV+VC51oiMG0bhjXMLSoq9u9xHKr1 QiiFHEYp2jQkYMfbjaThuIBS0M99k824yOQQ6uJyikKRJZ7ceIeVw+8wQBohS7H5Vixq tozA== X-Gm-Message-State: ALyK8tJYeLWDJYGFGCP/iq/b7Cp4b6TDhYfSts9DDnQJOFheN89mg93nj8uTYsh44eNZBg== X-Received: by 10.66.73.138 with SMTP id l10mr28614620pav.92.1465918682476; Tue, 14 Jun 2016 08:38:02 -0700 (PDT) Received: from lacooper-HPE-470f.and.broadcom.com ([216.31.219.19]) by smtp.gmail.com with ESMTPSA id yp4sm12240149pab.48.2016.06.14.08.38.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 14 Jun 2016 08:38:01 -0700 (PDT) From: Al Cooper To: ulf.hansson@linaro.org, adrian.hunter@intel.com, linux-mmc@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com Cc: Al Cooper Subject: [PATCH V6 2/2] mmc: DT: sdhci-brcmstb: Add device tree bindings Date: Tue, 14 Jun 2016 11:37:16 -0400 Message-Id: <1465918636-21034-3-git-send-email-alcooperx@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1465918636-21034-1-git-send-email-alcooperx@gmail.com> References: <1465918636-21034-1-git-send-email-alcooperx@gmail.com> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The example includes the properties required to enable UHS modes. Signed-off-by: Al Cooper --- .../devicetree/bindings/mmc/brcm,bcm7425-sdhci.txt | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bindings/mmc/brcm,bcm7425-sdhci.txt diff --git a/Documentation/devicetree/bindings/mmc/brcm,bcm7425-sdhci.txt b/Documentation/devicetree/bindings/mmc/brcm,bcm7425-sdhci.txt new file mode 100644 index 0000000..8284717 --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/brcm,bcm7425-sdhci.txt @@ -0,0 +1,36 @@ +* BROADCOM BRCMSTB/BMIPS SDHCI Controller + +This file documents differences between the core properties in mmc.txt +and the properties used by the sdhci-brcmstb driver. + +NOTE: The driver disables all UHS speed modes by default and depends +on Device Tree properties to enable them for SoC/Board combinations +that support them. + +Required properties: +- compatible: "brcm,bcm7425-sdhci" + +Refer to clocks/clock-bindings.txt for generic clock consumer properties. + +Example: + + sdhci@f03e0100 { + compatible = "brcm,bcm7425-sdhci"; + reg = <0xf03e0000 0x100>; + interrupts = <0x0 0x26 0x0>; + sdhci,auto-cmd12; + clocks = <&sw_sdio>; + sd-uhs-sdr50; + sd-uhs-ddr50; + }; + + sdhci@f03e0300 { + non-removable; + bus-width = <0x8>; + compatible = "brcm,bcm7425-sdhci"; + reg = <0xf03e0200 0x100>; + interrupts = <0x0 0x27 0x0>; + sdhci,auto-cmd12; + clocks = ; + mmc-hs200-1_8v; + };