[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKrE-KdsPD8Q+UWaqJMMgskvhZ0oTeCyO2AQ9-mBDZR76KzSjQ@mail.gmail.com>
Date: Mon, 17 Mar 2014 17:38:58 +0530
From: Girish KS <girishks2000@...il.com>
To: Girish K S <ks.giri@...sung.com>
Cc: "linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>, devicetree@...r.kernel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
"Anna, Suman" <s-anna@...com>,
Jassi Singh <jassisinghbrar@...il.com>,
Ilho Lee <ilho215.lee@...sung.com>
Subject: Re: [PATCH 2/2] arm64: dts: exynos: added mailbox node
On Mon, Mar 17, 2014 at 5:33 PM, Girish K S <ks.giri@...sung.com> wrote:
> This patch adds the dt node for the mailbox IP
>
> Signed-off-by: Girish K S <ks.giri@...sung.com>
>
> Change-Id: I35e45e9a62592887a84a909aee54f259a2f731fa
Sorry for this. will modify in the v2 with other comments
> ---
> .../bindings/mailbox/samsung-mailbox.txt | 24 +++++++
> arch/arm64/boot/dts/samsung-gh7.dtsi | 66 ++++++++++++++++++++
> arch/arm64/boot/dts/samsung-ssdk-gh7.dts | 3 +
> 3 files changed, 93 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/mailbox/samsung-mailbox.txt
>
> diff --git a/Documentation/devicetree/bindings/mailbox/samsung-mailbox.txt b/Documentation/devicetree/bindings/mailbox/samsung-mailbox.txt
> new file mode 100644
> index 0000000..1908d71
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/mailbox/samsung-mailbox.txt
> @@ -0,0 +1,24 @@
> +
> +Samsung Mailbox Driver
> +
> +Required properties:
> +- compatible: Should be one of the following,
> + "samsung,gh7-mailbox" for
> + Samsung GH7 SoC series
> + "samsung,exynos-mailbox" for
> + exynosx SoC series
> +- reg: Contains the mailbox register address range (base address
> + and length)
> +- interrupts: Contains the interrupt information for the mailbox
> + device.
> +- samsung,mbox-names: Array of the names of the mailboxes
> +
> +Example:
> +
> +/* Samsung GH7 SoC */
> +mailbox@...a0000 {
> + compatible = "samsung,gh7-mailbox";
> + reg = <0x0 0x100a0000 0x0 0x1000>;
> + interrupts = <0 310 0>;
> + samsung,mbox-names = "a7q-scp";
> +};
> diff --git a/arch/arm64/boot/dts/samsung-gh7.dtsi b/arch/arm64/boot/dts/samsung-gh7.dtsi
> index c3610bd..be4cce9 100644
> --- a/arch/arm64/boot/dts/samsung-gh7.dtsi
> +++ b/arch/arm64/boot/dts/samsung-gh7.dtsi
> @@ -107,5 +107,71 @@
> interrupts = <0 420 0>;
> arm,primecell-periphid = <0x341011>; /* HACK */
> };
> +
> + };
> +
> + mailbox@...a0000 {
> + compatible = "samsung,gh7-mailbox";
> + reg = <0x0 0x100a0000 0x0 0x1000>;
> + interrupts = <0 310 0>;
> + samsung,mbox-names = "a7q-scp";
> + status = "disabled";
> + };
> +
> + mailbox@...00000 {
> + compatible = "samsung,exynos-mailbox";
> + reg = < 0x0 0x24100000 0x0 0x10000>;
> + interrupts = <0 251 0>;
> + samsung,mbox-names = "ncp-a7q-0";
> + status = "disabled";
> + };
> + mailbox@...10000 {
> + compatible = "samsung,exynos-mailbox";
> + reg = <0x0 0x24110000 0x0 0x10000>;
> + interrupts = <0 252 0>;
> + samsung,mbox-names = "ncp-a7q-1";
> + status = "disabled";
> + };
> + mailbox@...20000 {
> + compatible = "samsung,exynos-mailbox";
> + reg = <0x0 0x24120000 0x0 0x10000>;
> + interrupts = <0 253 0>;
> + samsung,mbox-names = "ncp-a7q-2";
> + status = "disabled";
> + };
> + mailbox@...30000 {
> + compatible = "samsung,exynos-mailbox";
> + reg = <0x0 0x24130000 0x0 0x10000>;
> + interrupts = <0 254 0>;
> + samsung,mbox-names = "ncp-a7q-3";
> + status = "disabled";
> + };
> + mailbox@...40000 {
> + compatible = "samsung,exynos-mailbox";
> + reg = <0x0 0x24140000 0x0 0x10000>;
> + interrupts = <0 255 0>;
> + samsung,mbox-names = "ncp-a7q-4";
> + status = "disabled";
> + };
> + mailbox@...50000 {
> + compatible = "samsung,exynos-mailbox";
> + reg = <0x0 0x24150000 0x0 0x10000>;
> + interrupts = <0 256 0>;
> + samsung,mbox-names = "ncp-a7q-5";
> + status = "disabled";
> + };
> + mailbox@...60000 {
> + compatible = "samsung,exynos-mailbox";
> + reg = <0x0 0x24160000 0x0 0x10000>;
> + interrupts = <0 257 0>;
> + samsung,mbox-names = "ncp-a7q-6";
> + status = "disabled";
> + };
> + mailbox@...70000 {
> + compatible = "samsung,exynos-mailbox";
> + reg = <0x0 0x24170000 0x0 0x10000>;
> + interrupts = <0 258 0>;
> + samsung,mbox-names = "ncp-a7q-7";
> + status = "disabled";
> };
> };
> diff --git a/arch/arm64/boot/dts/samsung-ssdk-gh7.dts b/arch/arm64/boot/dts/samsung-ssdk-gh7.dts
> index 4ce7d67..bfe5455 100644
> --- a/arch/arm64/boot/dts/samsung-ssdk-gh7.dts
> +++ b/arch/arm64/boot/dts/samsung-ssdk-gh7.dts
> @@ -23,4 +23,7 @@
> device_type = "memory";
> reg = <0x00000000 0x80000000 0 0x20000000>;
> };
> + mailbox@...a0000 {
> + status = "okay";
> + };
> };
> --
> 1.7.10.4
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@...ts.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists