From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751608AbcFFNMq (ORCPT ); Mon, 6 Jun 2016 09:12:46 -0400 Received: from mail-oi0-f67.google.com ([209.85.218.67]:34251 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750764AbcFFNMp (ORCPT ); Mon, 6 Jun 2016 09:12:45 -0400 Date: Mon, 6 Jun 2016 08:12:43 -0500 From: Rob Herring To: Gerd Hoffmann Cc: linux-rpi-kernel@lists.infradead.org, Eric Anholt , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Stephen Warren , Lee Jones , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:BROADCOM BCM2835 ARM ARCHITECTURE" , open list Subject: Re: [PATCH 20/32] dt-bindings: Add binding for brcm,bcm2835-sdhost. Message-ID: <20160606131243.GA8629@rob-hp-laptop> References: <1464817421-8519-1-git-send-email-kraxel@redhat.com> <1464817421-8519-21-git-send-email-kraxel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1464817421-8519-21-git-send-email-kraxel@redhat.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 01, 2016 at 11:43:29PM +0200, Gerd Hoffmann wrote: > From: Eric Anholt > > 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 > --- > .../devicetree/bindings/mmc/brcm,bcm2835-sdhci.txt | 3 +++ > .../bindings/mmc/brcm,bcm2835-sdhost.txt | 24 ++++++++++++++++++++++ > 2 files changed, 27 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mmc/brcm,bcm2835-sdhost.txt > > diff --git a/Documentation/devicetree/bindings/mmc/brcm,bcm2835-sdhci.txt b/Documentation/devicetree/bindings/mmc/brcm,bcm2835-sdhci.txt > index 59476fb..3cc74e2 100644 > --- a/Documentation/devicetree/bindings/mmc/brcm,bcm2835-sdhci.txt > +++ b/Documentation/devicetree/bindings/mmc/brcm,bcm2835-sdhci.txt > @@ -15,4 +15,7 @@ sdhci: sdhci { > interrupts = <2 30>; > clocks = <&clk_mmc>; > bus-width = <4>; > + dmas = <&dma 13>, > + <&dma 13>; > + dma-names = "tx", "rx"; This looks unrelated. Plus SDHCI implies internal DMA master generally, so is external DMA really supported? > }; > 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..074992c > --- /dev/null > +++ b/Documentation/devicetree/bindings/mmc/brcm,bcm2835-sdhost.txt > @@ -0,0 +1,24 @@ > +Broadcom BCM2835 SDHOST controller > + > +This file documents differences between the core properties described > +by mmc.txt and the properties that represent the BCM2835 controller. > + > +Required properties: > +- compatible: Should be "brcm,bcm2835-sdhci". sdhost? > +- clocks: The clock feeding the SDHOST controller. reg, interrupts missing. > + > +Optional properties: > +- dmas: DMA channels for read and write. > + See Documentation/devicetree/bindings/dma/dma.txt for details dma-names? > + > +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"; > +}; > -- > 1.8.3.1 >