All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kukjin Kim <kgene-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Krzysztof Kozlowski
	<k.kozlowski.k-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Kukjin Kim <kgene-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH v4 02/13] ARM: dts: exynos4: Use labels for overriding nodesin Exynos4210
Date: Wed, 13 May 2015 18:02:05 +0900	[thread overview]
Message-ID: <5553130D.3010909@kernel.org> (raw)
In-Reply-To: <1431351773-2031-3-git-send-email-k.kozlowski.k-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

On 05/11/15 22:42, Krzysztof Kozlowski wrote:
> Usage of labels instead of full paths reduces possible mistakes when
> overriding nodes.
> 
Well, I'm not sure what kind of the possible mistakes you mentioned...?

I don't think we need to use the label for gic, combiner.

- Kukjin

> Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> ---
>  arch/arm/boot/dts/exynos4210.dtsi | 43 +++++++++++++++++++--------------------
>  1 file changed, 21 insertions(+), 22 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/exynos4210.dtsi b/arch/arm/boot/dts/exynos4210.dtsi
> index 76b84852f29c..a9a55304e31a 100644
> --- a/arch/arm/boot/dts/exynos4210.dtsi
> +++ b/arch/arm/boot/dts/exynos4210.dtsi
> @@ -52,16 +52,6 @@
>  		};
>  	};
>  
> -	pmu_system_controller: system-controller@10020000 {
> -		clock-names = "clkout0", "clkout1", "clkout2", "clkout3",
> -				"clkout4", "clkout8", "clkout9";
> -		clocks = <&clock CLK_OUT_DMC>, <&clock CLK_OUT_TOP>,
> -			<&clock CLK_OUT_LEFTBUS>, <&clock CLK_OUT_RIGHTBUS>,
> -			<&clock CLK_OUT_CPU>, <&clock CLK_XXTI>,
> -			<&clock CLK_XUSBXTI>;
> -		#clock-cells = <1>;
> -	};
> -
>  	sysram: sysram@02020000 {
>  		compatible = "mmio-sram";
>  		reg = <0x02020000 0x20000>;
> @@ -95,18 +85,6 @@
>  		arm,data-latency = <2 2 1>;
>  	};
>  
> -	gic: interrupt-controller@10490000 {
> -		cpu-offset = <0x8000>;
> -	};
> -
> -	combiner: interrupt-controller@10440000 {
> -		samsung,combiner-nr = <16>;
> -		interrupts = <0 0 0>, <0 1 0>, <0 2 0>, <0 3 0>,
> -			     <0 4 0>, <0 5 0>, <0 6 0>, <0 7 0>,
> -			     <0 8 0>, <0 9 0>, <0 10 0>, <0 11 0>,
> -			     <0 12 0>, <0 13 0>, <0 14 0>, <0 15 0>;
> -	};
> -
>  	mct: mct@10050000 {
>  		compatible = "samsung,exynos4210-mct";
>  		reg = <0x10050000 0x800>;
> @@ -245,3 +223,24 @@
>  		status = "disabled";
>  	};
>  };
> +
> +&gic {
> +	cpu-offset = <0x8000>;
> +};
> +
> +&combiner {
> +	samsung,combiner-nr = <16>;
> +	interrupts = <0 0 0>, <0 1 0>, <0 2 0>, <0 3 0>,
> +		     <0 4 0>, <0 5 0>, <0 6 0>, <0 7 0>,
> +		     <0 8 0>, <0 9 0>, <0 10 0>, <0 11 0>,
> +		     <0 12 0>, <0 13 0>, <0 14 0>, <0 15 0>;
> +};
> +
> +&pmu_system_controller {
> +	clock-names = "clkout0", "clkout1", "clkout2", "clkout3",
> +			"clkout4", "clkout8", "clkout9";
> +	clocks = <&clock CLK_OUT_DMC>, <&clock CLK_OUT_TOP>,
> +		<&clock CLK_OUT_LEFTBUS>, <&clock CLK_OUT_RIGHTBUS>,
> +		<&clock CLK_OUT_CPU>, <&clock CLK_XXTI>, <&clock CLK_XUSBXTI>;
> +	#clock-cells = <1>;
> +};

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: kgene@kernel.org (Kukjin Kim)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 02/13] ARM: dts: exynos4: Use labels for overriding nodesin Exynos4210
Date: Wed, 13 May 2015 18:02:05 +0900	[thread overview]
Message-ID: <5553130D.3010909@kernel.org> (raw)
In-Reply-To: <1431351773-2031-3-git-send-email-k.kozlowski.k@gmail.com>

On 05/11/15 22:42, Krzysztof Kozlowski wrote:
> Usage of labels instead of full paths reduces possible mistakes when
> overriding nodes.
> 
Well, I'm not sure what kind of the possible mistakes you mentioned...?

I don't think we need to use the label for gic, combiner.

- Kukjin

> Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
> ---
>  arch/arm/boot/dts/exynos4210.dtsi | 43 +++++++++++++++++++--------------------
>  1 file changed, 21 insertions(+), 22 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/exynos4210.dtsi b/arch/arm/boot/dts/exynos4210.dtsi
> index 76b84852f29c..a9a55304e31a 100644
> --- a/arch/arm/boot/dts/exynos4210.dtsi
> +++ b/arch/arm/boot/dts/exynos4210.dtsi
> @@ -52,16 +52,6 @@
>  		};
>  	};
>  
> -	pmu_system_controller: system-controller at 10020000 {
> -		clock-names = "clkout0", "clkout1", "clkout2", "clkout3",
> -				"clkout4", "clkout8", "clkout9";
> -		clocks = <&clock CLK_OUT_DMC>, <&clock CLK_OUT_TOP>,
> -			<&clock CLK_OUT_LEFTBUS>, <&clock CLK_OUT_RIGHTBUS>,
> -			<&clock CLK_OUT_CPU>, <&clock CLK_XXTI>,
> -			<&clock CLK_XUSBXTI>;
> -		#clock-cells = <1>;
> -	};
> -
>  	sysram: sysram at 02020000 {
>  		compatible = "mmio-sram";
>  		reg = <0x02020000 0x20000>;
> @@ -95,18 +85,6 @@
>  		arm,data-latency = <2 2 1>;
>  	};
>  
> -	gic: interrupt-controller at 10490000 {
> -		cpu-offset = <0x8000>;
> -	};
> -
> -	combiner: interrupt-controller at 10440000 {
> -		samsung,combiner-nr = <16>;
> -		interrupts = <0 0 0>, <0 1 0>, <0 2 0>, <0 3 0>,
> -			     <0 4 0>, <0 5 0>, <0 6 0>, <0 7 0>,
> -			     <0 8 0>, <0 9 0>, <0 10 0>, <0 11 0>,
> -			     <0 12 0>, <0 13 0>, <0 14 0>, <0 15 0>;
> -	};
> -
>  	mct: mct at 10050000 {
>  		compatible = "samsung,exynos4210-mct";
>  		reg = <0x10050000 0x800>;
> @@ -245,3 +223,24 @@
>  		status = "disabled";
>  	};
>  };
> +
> +&gic {
> +	cpu-offset = <0x8000>;
> +};
> +
> +&combiner {
> +	samsung,combiner-nr = <16>;
> +	interrupts = <0 0 0>, <0 1 0>, <0 2 0>, <0 3 0>,
> +		     <0 4 0>, <0 5 0>, <0 6 0>, <0 7 0>,
> +		     <0 8 0>, <0 9 0>, <0 10 0>, <0 11 0>,
> +		     <0 12 0>, <0 13 0>, <0 14 0>, <0 15 0>;
> +};
> +
> +&pmu_system_controller {
> +	clock-names = "clkout0", "clkout1", "clkout2", "clkout3",
> +			"clkout4", "clkout8", "clkout9";
> +	clocks = <&clock CLK_OUT_DMC>, <&clock CLK_OUT_TOP>,
> +		<&clock CLK_OUT_LEFTBUS>, <&clock CLK_OUT_RIGHTBUS>,
> +		<&clock CLK_OUT_CPU>, <&clock CLK_XXTI>, <&clock CLK_XUSBXTI>;
> +	#clock-cells = <1>;
> +};

WARNING: multiple messages have this Message-ID (diff)
From: Kukjin Kim <kgene@kernel.org>
To: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
Cc: Kukjin Kim <kgene@kernel.org>,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4 02/13] ARM: dts: exynos4: Use labels for overriding nodesin Exynos4210
Date: Wed, 13 May 2015 18:02:05 +0900	[thread overview]
Message-ID: <5553130D.3010909@kernel.org> (raw)
In-Reply-To: <1431351773-2031-3-git-send-email-k.kozlowski.k@gmail.com>

On 05/11/15 22:42, Krzysztof Kozlowski wrote:
> Usage of labels instead of full paths reduces possible mistakes when
> overriding nodes.
> 
Well, I'm not sure what kind of the possible mistakes you mentioned...?

I don't think we need to use the label for gic, combiner.

- Kukjin

> Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
> ---
>  arch/arm/boot/dts/exynos4210.dtsi | 43 +++++++++++++++++++--------------------
>  1 file changed, 21 insertions(+), 22 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/exynos4210.dtsi b/arch/arm/boot/dts/exynos4210.dtsi
> index 76b84852f29c..a9a55304e31a 100644
> --- a/arch/arm/boot/dts/exynos4210.dtsi
> +++ b/arch/arm/boot/dts/exynos4210.dtsi
> @@ -52,16 +52,6 @@
>  		};
>  	};
>  
> -	pmu_system_controller: system-controller@10020000 {
> -		clock-names = "clkout0", "clkout1", "clkout2", "clkout3",
> -				"clkout4", "clkout8", "clkout9";
> -		clocks = <&clock CLK_OUT_DMC>, <&clock CLK_OUT_TOP>,
> -			<&clock CLK_OUT_LEFTBUS>, <&clock CLK_OUT_RIGHTBUS>,
> -			<&clock CLK_OUT_CPU>, <&clock CLK_XXTI>,
> -			<&clock CLK_XUSBXTI>;
> -		#clock-cells = <1>;
> -	};
> -
>  	sysram: sysram@02020000 {
>  		compatible = "mmio-sram";
>  		reg = <0x02020000 0x20000>;
> @@ -95,18 +85,6 @@
>  		arm,data-latency = <2 2 1>;
>  	};
>  
> -	gic: interrupt-controller@10490000 {
> -		cpu-offset = <0x8000>;
> -	};
> -
> -	combiner: interrupt-controller@10440000 {
> -		samsung,combiner-nr = <16>;
> -		interrupts = <0 0 0>, <0 1 0>, <0 2 0>, <0 3 0>,
> -			     <0 4 0>, <0 5 0>, <0 6 0>, <0 7 0>,
> -			     <0 8 0>, <0 9 0>, <0 10 0>, <0 11 0>,
> -			     <0 12 0>, <0 13 0>, <0 14 0>, <0 15 0>;
> -	};
> -
>  	mct: mct@10050000 {
>  		compatible = "samsung,exynos4210-mct";
>  		reg = <0x10050000 0x800>;
> @@ -245,3 +223,24 @@
>  		status = "disabled";
>  	};
>  };
> +
> +&gic {
> +	cpu-offset = <0x8000>;
> +};
> +
> +&combiner {
> +	samsung,combiner-nr = <16>;
> +	interrupts = <0 0 0>, <0 1 0>, <0 2 0>, <0 3 0>,
> +		     <0 4 0>, <0 5 0>, <0 6 0>, <0 7 0>,
> +		     <0 8 0>, <0 9 0>, <0 10 0>, <0 11 0>,
> +		     <0 12 0>, <0 13 0>, <0 14 0>, <0 15 0>;
> +};
> +
> +&pmu_system_controller {
> +	clock-names = "clkout0", "clkout1", "clkout2", "clkout3",
> +			"clkout4", "clkout8", "clkout9";
> +	clocks = <&clock CLK_OUT_DMC>, <&clock CLK_OUT_TOP>,
> +		<&clock CLK_OUT_LEFTBUS>, <&clock CLK_OUT_RIGHTBUS>,
> +		<&clock CLK_OUT_CPU>, <&clock CLK_XXTI>, <&clock CLK_XUSBXTI>;
> +	#clock-cells = <1>;
> +};


  parent reply	other threads:[~2015-05-13  9:02 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-11 13:42 [PATCH v4 00/13] ARM: dts: exynos4: labels for overriding nodes Krzysztof Kozlowski
2015-05-11 13:42 ` Krzysztof Kozlowski
2015-05-11 13:42 ` [PATCH v4 01/13] ARM: dts: Add labels to Exynos4 nodes Krzysztof Kozlowski
2015-05-11 13:42   ` Krzysztof Kozlowski
2015-05-13  8:59   ` Kukjin Kim
2015-05-13  8:59     ` Kukjin Kim
     [not found]     ` <5553125A.6090404-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2015-05-13  9:42       ` Krzysztof Kozłowski
2015-05-13  9:42         ` Krzysztof Kozłowski
2015-05-13  9:42         ` Krzysztof Kozłowski
2015-05-11 13:42 ` [PATCH v4 02/13] ARM: dts: exynos4: Use labels for overriding nodes in Exynos4210 Krzysztof Kozlowski
2015-05-11 13:42   ` Krzysztof Kozlowski
     [not found]   ` <1431351773-2031-3-git-send-email-k.kozlowski.k-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-05-13  9:02     ` Kukjin Kim [this message]
2015-05-13  9:02       ` [PATCH v4 02/13] ARM: dts: exynos4: Use labels for overriding nodesin Exynos4210 Kukjin Kim
2015-05-13  9:02       ` Kukjin Kim
2015-05-13  9:51       ` Krzysztof Kozlowski
2015-05-13  9:51         ` Krzysztof Kozlowski
2015-05-11 13:42 ` [PATCH v4 03/13] ARM: dts: exynos4: Use labels for overriding nodes in Exynos4210 Origen Krzysztof Kozlowski
2015-05-11 13:42   ` Krzysztof Kozlowski
2015-05-13  9:11   ` Kukjin Kim
2015-05-13  9:11     ` Kukjin Kim
2015-05-13  9:55     ` Krzysztof Kozlowski
2015-05-13  9:55       ` Krzysztof Kozlowski
2015-05-11 13:42 ` [PATCH v4 04/13] ARM: dts: exynos4: Use labels for overriding nodes in SMDKv310 Krzysztof Kozlowski
2015-05-11 13:42   ` Krzysztof Kozlowski
     [not found] ` <1431351773-2031-1-git-send-email-k.kozlowski.k-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-05-11 13:42   ` [PATCH v4 05/13] ARM: dts: exynos4: Use labels for overriding nodes in Trats Krzysztof Kozlowski
2015-05-11 13:42     ` Krzysztof Kozlowski
2015-05-11 13:42     ` Krzysztof Kozlowski
2015-05-11 13:42 ` [PATCH v4 06/13] ARM: dts: exynos4: Use labels for overriding nodes in Exynos4212 Krzysztof Kozlowski
2015-05-11 13:42   ` Krzysztof Kozlowski
2015-05-11 13:42 ` [PATCH v4 07/13] ARM: dts: exynos4: Use labels for overriding nodes in Exynos4x12 Krzysztof Kozlowski
2015-05-11 13:42   ` Krzysztof Kozlowski
2015-05-11 13:42 ` [PATCH v4 08/13] ARM: dts: exynos4: Use labels for overriding nodes in Exynos4412 Krzysztof Kozlowski
2015-05-11 13:42   ` Krzysztof Kozlowski
2015-05-11 13:42 ` [PATCH v4 09/13] ARM: dts: exynos4: Use labels for overriding nodes in Odroid Krzysztof Kozlowski
2015-05-11 13:42   ` Krzysztof Kozlowski
2015-05-11 23:51   ` Eduardo Valentin
2015-05-11 23:51     ` Eduardo Valentin
2015-05-11 13:42 ` [PATCH v4 10/13] ARM: dts: exynos4: Use labels for overriding nodes in SMDK4412 Krzysztof Kozlowski
2015-05-11 13:42   ` Krzysztof Kozlowski
2015-05-11 13:42 ` [PATCH v4 11/13] ARM: dts: exynos4: Use labels for overriding nodes in Trats2 Krzysztof Kozlowski
2015-05-11 13:42   ` Krzysztof Kozlowski
2015-05-11 13:42 ` [PATCH v4 12/13] ARM: dts: exynos4: Use labels for overriding nodes in Exynos4412 Origen Krzysztof Kozlowski
2015-05-11 13:42   ` Krzysztof Kozlowski
2015-05-11 13:42 ` [PATCH v4 13/13] ARM: dts: exynos4: Use labels for overriding nodes in Tiny4412 Krzysztof Kozlowski
2015-05-11 13:42   ` Krzysztof Kozlowski

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=5553130D.3010909@kernel.org \
    --to=kgene-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=k.kozlowski.k-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA@public.gmane.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.