Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1344823 > unrolled thread

[PATCH 3/4] ARM: bcm2835: Include SDHOST in the device tree.

Started byEric Anholt <eric@anholt.net>
First post2016-02-27 00:20 +0100
Last post2016-02-27 19:20 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 3/4] ARM: bcm2835: Include SDHOST in the device tree. Eric Anholt <eric@anholt.net> - 2016-02-27 00:20 +0100
    Re: [PATCH 3/4] ARM: bcm2835: Include SDHOST in the device tree. Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2016-02-27 19:20 +0100

#1344823 — [PATCH 3/4] ARM: bcm2835: Include SDHOST in the device tree.

FromEric Anholt <eric@anholt.net>
Date2016-02-27 00:20 +0100
Subject[PATCH 3/4] ARM: bcm2835: Include SDHOST in the device tree.
Message-ID<r6zPZ-26L-27@gated-at.bofh.it>
It's disabled by default, and will be enabled by a particular board's
DT.  The DMA channels are also currently left out, because our DMA
engine support doesn't yet include slave SG, and there doesn't appear
to be a clean way to include "does slave SG" in the channel
request/config process.

Signed-off-by: Eric Anholt <eric@anholt.net>
---
 arch/arm/boot/dts/bcm283x.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi
index 597a78f..7b2721b 100644
--- a/arch/arm/boot/dts/bcm283x.dtsi
+++ b/arch/arm/boot/dts/bcm283x.dtsi
@@ -366,6 +366,14 @@
 			status = "disabled";
 		};
 
+		sdhost: sdhost@7e202000 {
+			compatible = "brcm,bcm2835-sdhost";
+			reg = <0x7e202000 0x100>;
+			interrupts = <2 24>;
+			clocks = <&clocks BCM2835_CLOCK_VPU>;
+			status = "disabled";
+		};
+
 		pwm: pwm@7e20c000 {
 			compatible = "brcm,bcm2835-pwm";
 			reg = <0x7e20c000 0x28>;
-- 
2.7.0

[toc] | [next] | [standalone]


#1345054

FromSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Date2016-02-27 19:20 +0100
Message-ID<r6RDc-70n-3@gated-at.bofh.it>
In reply to#1344823
Hello.

On 02/27/2016 02:05 AM, Eric Anholt wrote:

> It's disabled by default, and will be enabled by a particular board's
> DT.  The DMA channels are also currently left out, because our DMA
> engine support doesn't yet include slave SG, and there doesn't appear
> to be a clean way to include "does slave SG" in the channel
> request/config process.
>
> Signed-off-by: Eric Anholt <eric@anholt.net>
> ---
>   arch/arm/boot/dts/bcm283x.dtsi | 8 ++++++++
>   1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi
> index 597a78f..7b2721b 100644
> --- a/arch/arm/boot/dts/bcm283x.dtsi
> +++ b/arch/arm/boot/dts/bcm283x.dtsi
> @@ -366,6 +366,14 @@
>   			status = "disabled";
>   		};
>
> +		sdhost: sdhost@7e202000 {

    Please just sd@7e202000 to better comply with ePAPR.

[...]

MBR, Sergei

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web