All of lore.kernel.org
 help / color / mirror / Atom feed
From: shawnguo@kernel.org (Shawn Guo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: dts: imx6sx: Add GPU bindings
Date: Mon, 29 Aug 2016 21:41:00 +0800	[thread overview]
Message-ID: <20160829134100.GO30790@tiger> (raw)
In-Reply-To: <20160826142254.6950-1-marex@denx.de>

On Fri, Aug 26, 2016 at 04:22:54PM +0200, Marek Vasut wrote:
> Add bindings for the Vivante GC400T GPU found in the i.MX6SX .
> 
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Lucas Stach <l.stach@pengutronix.de>
> Cc: Fabio Estevam <fabio.estevam@nxp.com>
> Cc: Shawn Guo <shawnguo@kernel.org>
> ---
>  arch/arm/boot/dts/imx6sx.dtsi | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi
> index 6a993bfda..901c2d2 100644
> --- a/arch/arm/boot/dts/imx6sx.dtsi
> +++ b/arch/arm/boot/dts/imx6sx.dtsi
> @@ -1250,6 +1250,16 @@
>  			};
>  		};
>  
> +		gpu: gpu at 01800000 {

Wrong place for the node.  It should go right before dma-apbh at 01804000.
I fixed it up and applied patch.

Shawn

> +			compatible = "vivante,gc";
> +			reg = <0x01800000 0x4000>;
> +			interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
> +			clocks = <&clks IMX6SX_CLK_GPU>,
> +				 <&clks IMX6SX_CLK_GPU>,
> +				 <&clks IMX6SX_CLK_GPU>;
> +			clock-names = "bus", "core", "shader";
> +		};
> +
>  		pcie: pcie at 0x08000000 {
>  			compatible = "fsl,imx6sx-pcie", "snps,dw-pcie";
>  			reg = <0x08ffc000 0x4000>; /* DBI */
> @@ -1273,4 +1283,9 @@
>  			status = "disabled";
>  		};
>  	};
> +
> +	gpu-subsystem {
> +		compatible = "fsl,imx-gpu-subsystem";
> +		cores = <&gpu>;
> +	};
>  };
> -- 
> 2.9.3
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2016-08-29 13:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-26 14:22 [PATCH] ARM: dts: imx6sx: Add GPU bindings Marek Vasut
2016-08-26 14:36 ` Lucas Stach
2016-08-29 13:41 ` Shawn Guo [this message]
2016-08-29 13:45   ` Marek Vasut

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=20160829134100.GO30790@tiger \
    --to=shawnguo@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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.