linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: afaerber@suse.de (Andreas Färber)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v5 04/18] ARM: dts: exynos5250: add sysmmu nodes
Date: Sun, 22 Feb 2015 18:58:03 +0100	[thread overview]
Message-ID: <54EA18AB.10507@suse.de> (raw)
In-Reply-To: <1422028288-891-5-git-send-email-m.szyprowski@samsung.com>

Am 23.01.2015 um 16:51 schrieb Marek Szyprowski:
> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
> ---
>  arch/arm/boot/dts/exynos5250.dtsi | 250 ++++++++++++++++++++++++++++++++++++++
>  1 file changed, 250 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi
> index ae22bd9..8583b9e 100644
> --- a/arch/arm/boot/dts/exynos5250.dtsi
> +++ b/arch/arm/boot/dts/exynos5250.dtsi
> @@ -224,6 +224,7 @@
>  		interrupts = <0 91 0>;
>  		clocks = <&clock CLK_G2D>;
>  		clock-names = "fimg2d";
> +		iommus = <&sysmmu_g2d>;
>  	};
>  
>  	mfc: codec at 11000000 {
> @@ -233,6 +234,8 @@
>  		power-domains = <&pd_mfc>;
>  		clocks = <&clock CLK_MFC>;
>  		clock-names = "mfc";
> +		iommus = <&sysmmu_mfc_l>, <&sysmmu_mfc_r>;
> +		iommu-names = "left", "right";
>  	};
>  
>  	rtc: rtc at 101E0000 {
> @@ -693,6 +696,7 @@
>  		power-domains = <&pd_gsc>;
>  		clocks = <&clock CLK_GSCL0>;
>  		clock-names = "gscl";
> +		iommu = <&sysmmu_gsc1>;
>  	};
>  
>  	gsc_1:  gsc at 13e10000 {
> @@ -702,6 +706,7 @@
>  		power-domains = <&pd_gsc>;
>  		clocks = <&clock CLK_GSCL1>;
>  		clock-names = "gscl";
> +		iommu = <&sysmmu_gsc1>;
>  	};
>  
>  	gsc_2:  gsc at 13e20000 {
> @@ -711,6 +716,7 @@
>  		power-domains = <&pd_gsc>;
>  		clocks = <&clock CLK_GSCL2>;
>  		clock-names = "gscl";
> +		iommu = <&sysmmu_gsc2>;
>  	};
>  
>  	gsc_3:  gsc at 13e30000 {
> @@ -720,6 +726,7 @@
>  		power-domains = <&pd_gsc>;
>  		clocks = <&clock CLK_GSCL3>;
>  		clock-names = "gscl";
> +		iommu = <&sysmmu_gsc3>;
>  	};
>  
>  	hdmi: hdmi {
> @@ -743,6 +750,7 @@
>  		clocks = <&clock CLK_MIXER>, <&clock CLK_HDMI>,
>  			 <&clock CLK_SCLK_HDMI>;
>  		clock-names = "mixer", "hdmi", "sclk_hdmi";
> +		iommus = <&sysmmu_tv>;
>  	};
>  
>  	dp_phy: video-phy at 10040720 {
> @@ -763,6 +771,7 @@
>  		power-domains = <&pd_disp1>;
>  		clocks = <&clock CLK_SCLK_FIMD1>, <&clock CLK_FIMD1>;
>  		clock-names = "sclk_fimd", "fimd";
> +		iommus = <&sysmmu_fimd1>;
>  	};
>  
>  	adc: adc at 12D10000 {
> @@ -784,4 +793,245 @@
>  		clocks = <&clock CLK_SSS>;
>  		clock-names = "secss";
>  	};
> +
> +	sysmmu_gsc0: sysmmu at 13E80000 {
> +		compatible = "samsung,exynos-sysmmu";
> +		reg = <0x13E80000 0x1000>;
> +		interrupt-parent = <&combiner>;
> +		interrupts = <2 0>;
> +		power-domains = <&pd_gsc>;
> +		clock-names = "sysmmu", "master";
> +		clocks = <&clock CLK_SMMU_GSCL0>, <&clock CLK_GSCL0>;
> +		#iommu-cells = <0>;
> +	};
> +
> +	sysmmu_gsc1: sysmmu at 13E90000 {
> +		compatible = "samsung,exynos-sysmmu";
> +		reg = <0x13E90000 0x1000>;
> +		interrupt-parent = <&combiner>;
> +		interrupts = <2 2>;
> +		power-domains = <&pd_gsc>;
> +		clock-names = "sysmmu", "master";
> +		clocks = <&clock CLK_SMMU_GSCL1>, <&clock CLK_GSCL1>;
> +		#iommu-cells = <0>;
> +	};
> +
> +	sysmmu_gsc2: sysmmu at 13EA0000 {
> +		compatible = "samsung,exynos-sysmmu";
> +		reg = <0x13EA0000 0x1000>;
> +		interrupt-parent = <&combiner>;
> +		interrupts = <2 4>;
> +		power-domains = <&pd_gsc>;
> +		clock-names = "sysmmu", "master";
> +		clocks = <&clock CLK_SMMU_GSCL2>, <&clock CLK_GSCL2>;
> +		#iommu-cells = <0>;
> +	};
> +
> +	sysmmu_gsc3: sysmmu at 13EB0000 {
> +		compatible = "samsung,exynos-sysmmu";
> +		reg = <0x13EB0000 0x1000>;
> +		interrupt-parent = <&combiner>;
> +		interrupts = <2 6>;
> +		power-domains = <&pd_gsc>;
> +		clock-names = "sysmmu", "master";
> +		clocks = <&clock CLK_SMMU_GSCL3>, <&clock CLK_GSCL3>;
> +		#iommu-cells = <0>;
> +	};
> +
> +	sysmmu_mfc_r: sysmmu at 11200000 {
> +		compatible = "samsung,exynos-sysmmu";
> +		reg = <0x11200000 0x1000>;
> +		interrupt-parent = <&combiner>;
> +		interrupts = <6 2>;
> +		power-domains = <&pd_mfc>;
> +		clock-names = "sysmmu", "master";
> +		clocks = <&clock CLK_SMMU_MFCR>, <&clock CLK_MFC>;
> +		#iommu-cells = <0>;
> +	};
> +
> +	sysmmu_mfc_l: sysmmu at 11210000 {
> +		compatible = "samsung,exynos-sysmmu";
> +		reg = <0x11210000 0x1000>;
> +		interrupt-parent = <&combiner>;
> +		interrupts = <8 5>;
> +		power-domains = <&pd_mfc>;
> +		clock-names = "sysmmu", "master";
> +		clocks = <&clock CLK_SMMU_MFCL>, <&clock CLK_MFC>;
> +		#iommu-cells = <0>;
> +	};

These two nodes (and further ones below) seem sorted wrongly. Please
order by unit address.

Regards,
Andreas

> +
> +	sysmmu_tv: sysmmu at 14650000 {
> +		compatible = "samsung,exynos-sysmmu";
> +		reg = <0x14650000 0x1000>;
> +		interrupt-parent = <&combiner>;
> +		interrupts = <7 4>;
> +		power-domains = <&pd_disp1>;
> +		clock-names = "sysmmu", "master";
> +		clocks = <&clock CLK_SMMU_TV>, <&clock CLK_MIXER>;
> +		#iommu-cells = <0>;
> +	};
> +
> +	sysmmu_fimd1: sysmmu at 14640000 {
> +		compatible = "samsung,exynos-sysmmu";
> +		reg = <0x14640000 0x1000>;
> +		interrupt-parent = <&combiner>;
> +		interrupts = <3 2>;
> +		power-domains = <&pd_disp1>;
> +		clock-names = "sysmmu", "master";
> +		clocks = <&clock CLK_SMMU_FIMD1>, <&clock CLK_FIMD1>;
> +		#iommu-cells = <0>;
> +	};
> +
> +	sysmmu_g2d: sysmmu at 10A60000 {
> +		compatible = "samsung,exynos-sysmmu";
> +		reg = <0x10A60000 0x1000>;
> +		interrupt-parent = <&combiner>;
> +		interrupts = <24 5>;
> +		clock-names = "sysmmu", "master";
> +		clocks = <&clock CLK_SMMU_2D>, <&clock CLK_G2D>;
> +		#iommu-cells = <0>;
> +	};
> +
> +	sysmmu_rotator: sysmmu at 11D40000 {
> +		compatible = "samsung,exynos-sysmmu";
> +		reg = <0x11D40000 0x1000>;
> +		interrupt-parent = <&combiner>;
> +		interrupts = <4 0>;
> +		clock-names = "sysmmu", "master";
> +		clocks = <&clock CLK_SMMU_ROTATOR>, <&clock CLK_ROTATOR>;
> +		#iommu-cells = <0>;
> +	};
> +
> +	sysmmu_jpeg: sysmmu at 11F20000 {
> +		compatible = "samsung,exynos-sysmmu";
> +		reg = <0x11F20000 0x1000>;
> +		interrupt-parent = <&combiner>;
> +		interrupts = <4 2>;
> +		power-domains = <&pd_gsc>;
> +		clock-names = "sysmmu", "master";
> +		clocks = <&clock CLK_SMMU_JPEG>, <&clock CLK_JPEG>;
> +		#iommu-cells = <0>;
> +	};
> +
> +	sysmmu_fimc_isp: sysmmu at 13260000 {
> +		compatible = "samsung,exynos-sysmmu";
> +		reg = <0x13260000 0x1000>;
> +		interrupt-parent = <&combiner>;
> +		interrupts = <10 6>;
> +		clock-names = "sysmmu";
> +		clocks = <&clock CLK_SMMU_FIMC_ISP>;
> +		#iommu-cells = <0>;
> +	};
> +
> +	sysmmu_fimc_drc: sysmmu at 13270000 {
> +		compatible = "samsung,exynos-sysmmu";
> +		reg = <0x13270000 0x1000>;
> +		interrupt-parent = <&combiner>;
> +		interrupts = <11 6>;
> +		clock-names = "sysmmu";
> +		clocks = <&clock CLK_SMMU_FIMC_DRC>;
> +		#iommu-cells = <0>;
> +	};
> +
> +	sysmmu_fimc_fd: sysmmu at 132A0000 {
> +		compatible = "samsung,exynos-sysmmu";
> +		reg = <0x132A0000 0x1000>;
> +		interrupt-parent = <&combiner>;
> +		interrupts = <5 0>;
> +		clock-names = "sysmmu";
> +		clocks = <&clock CLK_SMMU_FIMC_FD>;
> +		#iommu-cells = <0>;
> +	};
> +
> +	sysmmu_fimc_scc: sysmmu at 13280000 {
> +		compatible = "samsung,exynos-sysmmu";
> +		reg = <0x13280000 0x1000>;
> +		interrupt-parent = <&combiner>;
> +		interrupts = <5 2>;
> +		clock-names = "sysmmu";
> +		clocks = <&clock CLK_SMMU_FIMC_SCC>;
> +		#iommu-cells = <0>;
> +	};
> +
> +	sysmmu_fimc_scp: sysmmu at 13290000 {
> +		compatible = "samsung,exynos-sysmmu";
> +		reg = <0x13290000 0x1000>;
> +		interrupt-parent = <&combiner>;
> +		interrupts = <3 6>;
> +		clock-names = "sysmmu";
> +		clocks = <&clock CLK_SMMU_FIMC_SCP>;
> +		#iommu-cells = <0>;
> +	};
> +
> +	sysmmu_fimc_mcuctl: sysmmu at 132B0000 {
> +		compatible = "samsung,exynos-sysmmu";
> +		reg = <0x132B0000 0x1000>;
> +		interrupt-parent = <&combiner>;
> +		interrupts = <5 4>;
> +		clock-names = "sysmmu";
> +		clocks = <&clock CLK_SMMU_FIMC_MCU>;
> +		#iommu-cells = <0>;
> +	};
> +
> +	sysmmu_fimc_odc: sysmmu at 132C0000 {
> +		compatible = "samsung,exynos-sysmmu";
> +		reg = <0x132C0000 0x1000>;
> +		interrupt-parent = <&combiner>;
> +		interrupts = <11 0>;
> +		clock-names = "sysmmu";
> +		clocks = <&clock CLK_SMMU_FIMC_ODC>;
> +		#iommu-cells = <0>;
> +	};
> +
> +	sysmmu_fimc_dis0: sysmmu at 132D0000 {
> +		compatible = "samsung,exynos-sysmmu";
> +		reg = <0x132D0000 0x1000>;
> +		interrupt-parent = <&combiner>;
> +		interrupts = <10 4>;
> +		clock-names = "sysmmu";
> +		clocks = <&clock CLK_SMMU_FIMC_DIS0>;
> +		#iommu-cells = <0>;
> +	};
> +
> +	sysmmu_fimc_dis1: sysmmu at 132E0000{
> +		compatible = "samsung,exynos-sysmmu";
> +		reg = <0x132E0000 0x1000>;
> +		interrupt-parent = <&combiner>;
> +		interrupts = <9 4>;
> +		clock-names = "sysmmu";
> +		clocks = <&clock CLK_SMMU_FIMC_DIS1>;
> +		#iommu-cells = <0>;
> +	};
> +
> +	sysmmu_fimc_3dnr: sysmmu at 132F0000 {
> +		compatible = "samsung,exynos-sysmmu";
> +		reg = <0x132F0000 0x1000>;
> +		interrupt-parent = <&combiner>;
> +		interrupts = <5 6>;
> +		clock-names = "sysmmu";
> +		clocks = <&clock CLK_SMMU_FIMC_3DNR>;
> +		#iommu-cells = <0>;
> +	};
> +
> +	sysmmu_fimc_lite0: sysmmu at 13C40000 {
> +		compatible = "samsung,exynos-sysmmu";
> +		reg = <0x13C40000 0x1000>;
> +		interrupt-parent = <&combiner>;
> +		interrupts = <3 4>;
> +		power-domains = <&pd_gsc>;
> +		clock-names = "sysmmu", "master";
> +		clocks = <&clock CLK_SMMU_FIMC_LITE0>, <&clock CLK_CAMIF_TOP>;
> +		#iommu-cells = <0>;
> +	};
> +
> +	sysmmu_fimc_lite1: sysmmu at 13C50000 {
> +		compatible = "samsung,exynos-sysmmu";
> +		reg = <0x13C50000 0x1000>;
> +		interrupt-parent = <&combiner>;
> +		interrupts = <24 1>;
> +		power-domains = <&pd_gsc>;
> +		clock-names = "sysmmu", "master";
> +		clocks = <&clock CLK_SMMU_FIMC_LITE1>, <&clock CLK_CAMIF_TOP>;
> +		#iommu-cells = <0>;
> +	};
>  };

-- 
SUSE Linux GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany
GF: Felix Imend?rffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu,
Graham Norton; HRB 21284 (AG N?rnberg)

  parent reply	other threads:[~2015-02-22 17:58 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-23 15:51 [PATCH v5 00/18] Exynos SYSMMU (IOMMU) integration with DT and DMA-mapping subsystem Marek Szyprowski
2015-01-23 15:51 ` [PATCH v5 01/18] drm: exynos: detach from default dma-mapping domain on init Marek Szyprowski
2015-01-23 15:51 ` [PATCH v5 02/18] arm: exynos: pm_domains: add support for devices registered before arch_initcall Marek Szyprowski
2015-01-23 15:51 ` [PATCH v5 03/18] ARM: dts: exynos4: add sysmmu nodes Marek Szyprowski
2015-01-23 15:51 ` [PATCH v5 04/18] ARM: dts: exynos5250: " Marek Szyprowski
2015-01-27  6:25   ` Hongbo Zhang
2015-02-22 17:58   ` Andreas Färber [this message]
2015-01-23 15:51 ` [PATCH v5 05/18] ARM: dts: exynos5420: " Marek Szyprowski
2015-02-22 18:00   ` Andreas Färber
2015-01-23 15:51 ` [PATCH v5 06/18] iommu: exynos: don't read version register on every tlb operation Marek Szyprowski
2015-01-23 15:51 ` [PATCH v5 07/18] iommu: exynos: remove unused functions Marek Szyprowski
2015-01-23 15:51 ` [PATCH v5 08/18] iommu: exynos: remove useless spinlock Marek Szyprowski
2015-01-23 15:51 ` [PATCH v5 09/18] iommu: exynos: refactor function parameters to simplify code Marek Szyprowski
2015-01-23 15:51 ` [PATCH v5 10/18] iommu: exynos: remove unused functions, part 2 Marek Szyprowski
2015-01-23 15:51 ` [PATCH v5 11/18] iommu: exynos: remove useless device_add/remove callbacks Marek Szyprowski
2015-01-25 15:38   ` Laurent Pinchart
2015-01-26 11:00     ` Joerg Roedel
2015-01-26 11:09       ` Will Deacon
2015-01-26 12:06       ` Marek Szyprowski
2015-01-26 13:03       ` Laurent Pinchart
2015-01-26 13:47         ` Joerg Roedel
2015-01-23 15:51 ` [PATCH v5 12/18] iommu: exynos: add support for binding more than one sysmmu to master device Marek Szyprowski
2015-01-23 15:51 ` [PATCH v5 13/18] iommu: exynos: add support for runtime_pm Marek Szyprowski
2015-01-23 15:51 ` [PATCH v5 14/18] iommu: exynos: rename variables to reflect their purpose Marek Szyprowski
2015-01-23 15:51 ` [PATCH v5 15/18] iommu: exynos: document internal structures Marek Szyprowski
2015-01-23 15:51 ` [PATCH v5 16/18] iommu: exynos: remove excessive includes and sort others alphabetically Marek Szyprowski
2015-01-23 15:51 ` [PATCH v5 17/18] iommu: exynos: init from dt-specific callback instead of initcall Marek Szyprowski
2015-01-23 15:51 ` [PATCH v5 18/18] iommu: exynos: add callback for initializing devices from device tree Marek Szyprowski
2015-02-04  9:53 ` [PATCH v5 00/18] Exynos SYSMMU (IOMMU) integration with DT and DMA-mapping subsystem Hongbo Zhang
2015-02-04 13:54   ` Marek Szyprowski
2015-02-04 14:21 ` Joerg Roedel
2015-04-17 14:33   ` Javier Martinez Canillas
2015-04-17 14:48     ` Marek Szyprowski
2015-04-17 16:15       ` Javier Martinez Canillas

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=54EA18AB.10507@suse.de \
    --to=afaerber@suse.de \
    --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 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).