All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: Zhao Qiang <qiang.zhao@nxp.com>
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linuxppc-dev@lists.ozlabs.org, Priyanka.Jain@freescale.com,
	oss@buserror.net
Subject: Re: [PATCH 1/6] QE: Add IC, SI and SIRAM document to device tree bindings.
Date: Fri, 8 Jan 2016 15:02:22 -0600	[thread overview]
Message-ID: <20160108210222.GA19019@rob-hp-laptop> (raw)
In-Reply-To: <1452219494-31947-1-git-send-email-qiang.zhao@nxp.com>

On Fri, Jan 08, 2016 at 10:18:09AM +0800, Zhao Qiang wrote:
> Add IC, SI and SIRAM document of QE to
> Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/qe.txt
> 
> Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
> ---
>  .../devicetree/bindings/powerpc/fsl/cpm_qe/qe.txt  | 53 ++++++++++++++++++++++
>  1 file changed, 53 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/qe.txt b/Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/qe.txt
> index 4f89302..5e00fc8 100644
> --- a/Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/qe.txt
> +++ b/Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/qe.txt
> @@ -69,6 +69,59 @@ Example:
>  	};
>       };
>  
> +* Interrupt Controller (IC)
> +
> +Required properties:
> +- compatible : should be "fsl,qe-ic".
> +- reg : Address range of IC register set.
> +- interrupts : interrupts generated by the device.

Add interrupt-controller, too.

> +
> +Example:
> +
> +	qeic: interrupt-controller@80 {
> +		interrupt-controller;
> +		compatible = "fsl,qe-ic";
> +		#address-cells = <0>;
> +		#interrupt-cells = <1>;
> +		reg = <0x80 0x80>;
> +		interrupts = <95 2 0 0  94 2 0 0>; //high:79 low:78
> +	};
> +
> +* Serial Interface Block (SI)
> +
> +The SI manages the routing of eight TDM lines to the QE block serial drivers
> +, the MCC and the UCCs, for receive and transmit.
> +
> +Required properties:
> +- compatible : should be "fsl,qe-si".
> +- reg : Address range of SI register set.
> +
> +Example:
> +
> +	si1: si@700 {
> +		#address-cells = <1>;
> +		#size-cells = <0>;

Why are these needed? There are no child nodes.

> +		compatible = "fsl,qe-si";
> +		reg = <0x700 0x80>;
> +	};
> +
> +* Serial Interface Block RAM(SIRAM)
> +
> +store the routing entries of SI
> +
> +Required properties:
> +- compatible : should be "fsl,qe-siram".
> +- reg : Address range of SI RAM.
> +
> +Example:
> +
> +	siram1: siram@1000 {
> +		#address-cells = <1>;
> +		#size-cells = <1>;

ditto.

> +		compatible = "fsl,qe-siram";
> +		reg = <0x1000 0x800>;
> +	};
> +
>  * QE Firmware Node
>  
>  This node defines a firmware binary that is embedded in the device tree, for
> -- 
> 2.1.0.27.g96db324
> 
> --
> To unsubscribe from this list: send the line "unsubscribe devicetree" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

      parent reply	other threads:[~2016-01-08 21:02 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-08  2:18 [PATCH 1/6] QE: Add IC, SI and SIRAM document to device tree bindings Zhao Qiang
2016-01-08  2:18 ` Zhao Qiang
2016-01-08  2:18 ` [PATCH 2/6] QE: Add ucc hdlc document to bindings Zhao Qiang
2016-01-08  2:18   ` Zhao Qiang
2016-01-08 20:10   ` Rob Herring
2016-01-08  2:18 ` [PATCH 3/6] QE: Add uqe_serial " Zhao Qiang
2016-01-08  2:18   ` Zhao Qiang
2016-01-08 20:12   ` Rob Herring
2016-01-11  8:19     ` Qiang Zhao
2016-01-11  8:19       ` Qiang Zhao
2016-01-11  8:19       ` Qiang Zhao
2016-01-18  3:28     ` Qiang Zhao
2016-01-18  3:28       ` Qiang Zhao
2016-01-18  9:10   ` Li Yang
2016-01-18  9:10     ` Li Yang
2016-01-18  9:24     ` Qiang Zhao
2016-01-18  9:24       ` Qiang Zhao
2016-01-18  9:24       ` Qiang Zhao
2016-01-18 23:07       ` Scott Wood
2016-01-18 23:07         ` Scott Wood
2016-01-19  1:22         ` Qiang Zhao
2016-01-19  1:22           ` Qiang Zhao
2016-01-19  1:22           ` Qiang Zhao
2016-01-08  2:18 ` [PATCH 4/6] T104xD4RDB: Add qe node to t104xd4rdb Zhao Qiang
2016-01-08  2:18   ` Zhao Qiang
2016-01-08  2:18 ` [PATCH 5/6] T104xRDB: Add qe node to t104xrdb Zhao Qiang
2016-01-08  2:18   ` Zhao Qiang
2016-01-08  2:18 ` [PATCH 6/6] T104xQDS: Add qe node to t104xqds Zhao Qiang
2016-01-08  2:18   ` Zhao Qiang
2016-01-08 21:02 ` Rob Herring [this message]

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=20160108210222.GA19019@rob-hp-laptop \
    --to=robh@kernel.org \
    --cc=Priyanka.Jain@freescale.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=oss@buserror.net \
    --cc=qiang.zhao@nxp.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.