From patchwork Fri Feb 26 23:05:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Anholt X-Patchwork-Id: 8442931 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7D9A29F2F0 for ; Fri, 26 Feb 2016 23:14:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 93829203E6 for ; Fri, 26 Feb 2016 23:14:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A0156203ED for ; Fri, 26 Feb 2016 23:14:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755631AbcBZXMl (ORCPT ); Fri, 26 Feb 2016 18:12:41 -0500 Received: from anholt.net ([50.246.234.109]:45001 "EHLO anholt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752825AbcBZXMh (ORCPT ); Fri, 26 Feb 2016 18:12:37 -0500 X-Greylist: delayed 412 seconds by postgrey-1.27 at vger.kernel.org; Fri, 26 Feb 2016 18:12:36 EST Received: from localhost (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id A16862C9C072; Fri, 26 Feb 2016 15:05:46 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at anholt.net Received: from anholt.net ([127.0.0.1]) by localhost (kingsolver.anholt.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id BW_TMFhkOfci; Fri, 26 Feb 2016 15:05:45 -0800 (PST) Received: from eliezer.anholt.net (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 6C4582C9C074; Fri, 26 Feb 2016 15:05:43 -0800 (PST) Received: by eliezer.anholt.net (Postfix, from userid 1000) id ED5E4F01C25; Fri, 26 Feb 2016 15:05:42 -0800 (PST) From: Eric Anholt To: linux-rpi-kernel@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Stephen Warren , Lee Jones , Florian Fainelli , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , devicetree@vger.kernel.org, Ulf Hansson , linux-mmc@vger.kernel.org, Eric Anholt Subject: [PATCH 1/4] dt-bindings: Add binding for brcm,bcm2835-sdhost. Date: Fri, 26 Feb 2016 15:05:39 -0800 Message-Id: <1456527942-3045-2-git-send-email-eric@anholt.net> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1456527942-3045-1-git-send-email-eric@anholt.net> References: <1456527942-3045-1-git-send-email-eric@anholt.net> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 This is the other SD controller on the platform, which can be swapped to the role of SD card host using pin muxing. Signed-off-by: Eric Anholt Acked-by: Rob Herring --- .../bindings/mmc/brcm,bcm2835-sdhost.txt | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/bindings/mmc/brcm,bcm2835-sdhost.txt diff --git a/Documentation/devicetree/bindings/mmc/brcm,bcm2835-sdhost.txt b/Documentation/devicetree/bindings/mmc/brcm,bcm2835-sdhost.txt new file mode 100644 index 0000000..f55c446 --- /dev/null +++ b/Documentation/devicetree/bindings/mmc/brcm,bcm2835-sdhost.txt @@ -0,0 +1,25 @@ +Broadcom BCM2835 SDHOST controller + +This file documents differences between the core properties described +by mmc.txt and the properties that represent the BCM2835 SDHOST controller. + +Required properties: +- compatible: Must be "brcm,bcm2835-sdhost" +- clocks: The phandle for the clock feeding the SDHOST controller + +Optional properties: +- dmas: DMA channel phandles for read and write +- dma-names: DMA channel names for read and write, must be "rx" and "tx" + See Documentation/devicetree/bindings/dma/dma.txt for details + +Example: + +sdhost: sdhost@7e202000 { + compatible = "brcm,bcm2835-sdhost"; + reg = <0x7e202000 0x100>; + interrupts = <2 24>; + clocks = <&clocks BCM2835_CLOCK_VPU>; + dmas = <&dma 13>, + <&dma 13>; + dma-names = "tx", "rx"; +};