devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: Alban Bedel <albeu@free.fr>, linux-mips@linux-mips.org
Cc: Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Ian Campbell <ijc+devicetree@hellion.org.uk>,
	Kumar Gala <galak@codeaurora.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	Jason Cooper <jason@lakedaemon.net>,
	Ralf Baechle <ralf@linux-mips.org>,
	Andrew Bresticker <abrestic@chromium.org>,
	Qais Yousef <qais.yousef@imgtec.com>,
	Gabor Juhos <juhosg@openwrt.org>,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 03/12] devicetree: Add bindings for the ATH79 DDR controllers
Date: Sun, 19 Apr 2015 16:52:00 +0300	[thread overview]
Message-ID: <5533B300.2050805@cogentembedded.com> (raw)
In-Reply-To: <1429448288-20742-4-git-send-email-albeu@free.fr>

Hello.

On 4/19/2015 3:57 PM, Alban Bedel wrote:

> The DDR controller of the ARxxx and AR9xxx famillies provides an
> interface to flush the FIFO between various devices and the DDR.
> This is mainly used by the IRQ controller to flush the FIFO before
> running the interrupt handler of such devices.

> Signed-off-by: Alban Bedel <albeu@free.fr>
> ---
> v2: * Fix the node names to respect ePAPR

    I don't see where you did this.

> ---
>   .../memory-controllers/ath79-ddr-controller.txt    | 35 ++++++++++++++++++++++
>   1 file changed, 35 insertions(+)
>   create mode 100644 Documentation/devicetree/bindings/memory-controllers/ath79-ddr-controller.txt
>
> diff --git a/Documentation/devicetree/bindings/memory-controllers/ath79-ddr-controller.txt b/Documentation/devicetree/bindings/memory-controllers/ath79-ddr-controller.txt
> new file mode 100644
> index 0000000..5541eed
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/memory-controllers/ath79-ddr-controller.txt
> @@ -0,0 +1,35 @@
> +Binding for Qualcomm  Atheros AR7xxx/AR9xxx DDR controller
> +
> +The DDR controller of the ARxxx and AR9xxx famillies provides an interface

    Families.

> +to flush the FIFO between various devices and the DDR. This is mainly used
> +by the IRQ controller to flush the FIFO before running the interrupt handler
> +of such devices.
> +
> +Required properties:
> +
> +- compatible: has to be "qca,<soc-type>-ddr-controller",
> +  "qca,[ar7100|ar7240]-ddr-controller" as fallback.
> +  On SoC with PCI support "qca,ar7100-ddr-controller" should be used as
> +  fallback, otherwise "qca,ar7240-ddr-controller" should be used.
> +- reg: Base address and size of the controllers memory area
> +- #qca,ddr-wb-channel-cells: has to be 1, the index of the write buffer
> +  channel
> +
> +Example:
> +
> +	ddr_ctrl: ddr-controller@18000000 {

    Should still be "memory-controller@18000000".

> +		compatible = "qca,ar9132-ddr-controller",
> +				"qca,ar7240-ddr-controller";
> +		reg = <0x18000000 0x100>;
> +
> +		#qca,ddr-wb-channel-cells = <1>;
> +	};
> +
> +	...
> +
> +	cpuintc@0 {

    "interrupt-controller" here?

> +		...
> +		qca,ddr-wb-channel-interrupts = <2>, <3>, <4>, <5>;
> +		qca,ddr-wb-channels = <&ddr_ctrl 3>, <&ddr_ctrl 2>,
> +					<&ddr_ctrl 0>, <&ddr_ctrl 1>;
> +	};

WBR, Sergei

  reply	other threads:[~2015-04-19 13:52 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-19 12:57 [PATCH v2 00/12] MIPS: ath79: Add OF support and DTS for TL-WR1043ND Alban Bedel
2015-04-19 12:57 ` [PATCH v2 01/12] devicetree: Add bindings for the SoC of the ATH79 familly Alban Bedel
2015-04-19 12:57 ` [PATCH v2 02/12] MIPS: ath79: Add basic device tree support Alban Bedel
2015-04-19 12:58 ` [PATCH v2 05/12] devicetree: Add bindings for the ATH79 MISC interrupt controllers Alban Bedel
2015-04-19 12:58 ` [PATCH v2 06/12] MIPS: ath79: Add OF support to the IRQ controllers Alban Bedel
2015-04-19 12:58 ` [PATCH v2 07/12] devicetree: Add bindings for the ATH79 PLL controllers Alban Bedel
     [not found]   ` <1429448288-20742-8-git-send-email-albeu-GANU6spQydw@public.gmane.org>
2015-04-19 14:30     ` Jonas Gorski
2015-04-19 12:58 ` [PATCH v2 08/12] MIPS: ath79: Add OF support to the clocks Alban Bedel
2015-04-19 14:36 ` [PATCH v2 10/12] MIPS: ath79: Add OF support to the GPIO driver Alban Bedel
     [not found] ` <1429448288-20742-1-git-send-email-albeu-GANU6spQydw@public.gmane.org>
2015-04-19 12:57   ` [PATCH v2 03/12] devicetree: Add bindings for the ATH79 DDR controllers Alban Bedel
2015-04-19 13:52     ` Sergei Shtylyov [this message]
2015-04-19 12:58   ` [PATCH v2 04/12] devicetree: Add bindings for the ATH79 interrupt controllers Alban Bedel
2015-04-19 13:42   ` [PATCH v2 09/12] devicetree: Add bindings for the ATH79 GPIO controllers Alban Bedel
2015-04-19 14:27     ` Jonas Gorski
2015-04-19 15:01   ` [PATCH v2 11/12] of: Add vendor prefix for TP-Link Technologies Co. Ltd Alban Bedel
2015-04-19 15:27 ` [PATCH v2 12/12] MIPS: Add basic support for the TL-WR1043ND version 1 Alban Bedel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5533B300.2050805@cogentembedded.com \
    --to=sergei.shtylyov@cogentembedded.com \
    --cc=abrestic@chromium.org \
    --cc=albeu@free.fr \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=jason@lakedaemon.net \
    --cc=juhosg@openwrt.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=mark.rutland@arm.com \
    --cc=pawel.moll@arm.com \
    --cc=qais.yousef@imgtec.com \
    --cc=ralf@linux-mips.org \
    --cc=robh+dt@kernel.org \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).