All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Horman <horms+renesas@verge.net.au>
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 4/5] ARM: shmobile: r7s72100: Use SoC-specific MTU2 compat string
Date: Mon, 08 Sep 2014 00:27:47 +0000	[thread overview]
Message-ID: <1410136068-32220-5-git-send-email-horms+renesas@verge.net.au> (raw)
In-Reply-To: <1410136068-32220-1-git-send-email-horms+renesas@verge.net.au>

In general Renesas hardware is not documented to the extent
where the relationship between IP blocks on different SoCs can be assumed
although they may appear to operate the same way. Furthermore the
documentation typically does not specify a version for individual
IP blocks. For these reasons a convention of using the SoC name in place
of a version and providing SoC-specific compat strings has been adopted.

Although not universally liked this convention is used in the bindings for
a number of drivers for Renesas hardware. The purpose of this patch is to
make use of the SoC-specific CMT compat string for the r7s72100 MTU2
clock source.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r7s72100.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/r7s72100.dtsi b/arch/arm/boot/dts/r7s72100.dtsi
index 1d28d01..801a556 100644
--- a/arch/arm/boot/dts/r7s72100.dtsi
+++ b/arch/arm/boot/dts/r7s72100.dtsi
@@ -230,7 +230,7 @@
 	};
 
 	mtu2: timer@fcff0000 {
-		compatible = "renesas,mtu2";
+		compatible = "renesas,mtu2-r7s72100", "renesas,mtu2";
 		reg = <0xfcff0000 0x400>;
 		interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>;
 		interrupt-names = "tgi0a";
-- 
2.0.1


WARNING: multiple messages have this Message-ID (diff)
From: horms+renesas@verge.net.au (Simon Horman)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 4/5] ARM: shmobile: r7s72100: Use SoC-specific MTU2 compat string
Date: Mon,  8 Sep 2014 09:27:47 +0900	[thread overview]
Message-ID: <1410136068-32220-5-git-send-email-horms+renesas@verge.net.au> (raw)
In-Reply-To: <1410136068-32220-1-git-send-email-horms+renesas@verge.net.au>

In general Renesas hardware is not documented to the extent
where the relationship between IP blocks on different SoCs can be assumed
although they may appear to operate the same way. Furthermore the
documentation typically does not specify a version for individual
IP blocks. For these reasons a convention of using the SoC name in place
of a version and providing SoC-specific compat strings has been adopted.

Although not universally liked this convention is used in the bindings for
a number of drivers for Renesas hardware. The purpose of this patch is to
make use of the SoC-specific CMT compat string for the r7s72100 MTU2
clock source.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r7s72100.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/r7s72100.dtsi b/arch/arm/boot/dts/r7s72100.dtsi
index 1d28d01..801a556 100644
--- a/arch/arm/boot/dts/r7s72100.dtsi
+++ b/arch/arm/boot/dts/r7s72100.dtsi
@@ -230,7 +230,7 @@
 	};
 
 	mtu2: timer at fcff0000 {
-		compatible = "renesas,mtu2";
+		compatible = "renesas,mtu2-r7s72100", "renesas,mtu2";
 		reg = <0xfcff0000 0x400>;
 		interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>;
 		interrupt-names = "tgi0a";
-- 
2.0.1

  parent reply	other threads:[~2014-09-08  0:27 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-08  0:27 [PATCH 0/5] ARM: shmobile: Use SoC-specific clock source compat strings Simon Horman
2014-09-08  0:27 ` Simon Horman
2014-09-08  0:27 ` [PATCH 1/5] ARM: shmobile: r8a7740: Use SoC-specific 48-bit CMT compat string Simon Horman
2014-09-08  0:27   ` Simon Horman
2014-09-08  0:27 ` [PATCH 2/5] ARM: shmobile: r8a7790: " Simon Horman
2014-09-08  0:27   ` Simon Horman
2014-09-08  0:27 ` [PATCH 3/5] ARM: shmobile: r8a7791: " Simon Horman
2014-09-08  0:27   ` Simon Horman
2014-09-08  0:27 ` Simon Horman [this message]
2014-09-08  0:27   ` [PATCH 4/5] ARM: shmobile: r7s72100: Use SoC-specific MTU2 " Simon Horman
2014-09-08  0:27 ` [PATCH 5/5] ARM: shmobile: r8a7779: Use SoC-specific TMU " Simon Horman
2014-09-08  0:27   ` Simon Horman
2014-09-08  0:29 ` [PATCH 0/5] ARM: shmobile: Use SoC-specific clock source compat strings Simon Horman
2014-09-08  0:29   ` Simon Horman
2014-09-09  2:50   ` Simon Horman
2014-09-09  2:50     ` Simon Horman

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=1410136068-32220-5-git-send-email-horms+renesas@verge.net.au \
    --to=horms+renesas@verge.net.au \
    --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.