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 v3 2/3] ARM: shmobile: sh73a0: Use SoC-specific 48-bit CMT compat string
Date: Mon, 08 Sep 2014 00:57:07 +0000	[thread overview]
Message-ID: <1410137828-4769-3-git-send-email-horms+renesas@verge.net.au> (raw)
In-Reply-To: <1410137828-4769-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 sh73a0 48-bit CMT
clock source.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>

---
v3
* First post
---
 arch/arm/boot/dts/sh73a0.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/sh73a0.dtsi b/arch/arm/boot/dts/sh73a0.dtsi
index 6cb29cd..030a592 100644
--- a/arch/arm/boot/dts/sh73a0.dtsi
+++ b/arch/arm/boot/dts/sh73a0.dtsi
@@ -49,7 +49,7 @@
 	};
 
 	cmt1: timer@e6138000 {
-		compatible = "renesas,cmt-48";
+		compatible = "renesas,cmt-48-sh73a0", "renesas,cmt-48";
 		reg = <0xe6138000 0x200>;
 		interrupts = <0 65 IRQ_TYPE_LEVEL_HIGH>;
 
-- 
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 v3 2/3] ARM: shmobile: sh73a0: Use SoC-specific 48-bit CMT compat string
Date: Mon,  8 Sep 2014 09:57:07 +0900	[thread overview]
Message-ID: <1410137828-4769-3-git-send-email-horms+renesas@verge.net.au> (raw)
In-Reply-To: <1410137828-4769-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 sh73a0 48-bit CMT
clock source.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>

---
v3
* First post
---
 arch/arm/boot/dts/sh73a0.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/sh73a0.dtsi b/arch/arm/boot/dts/sh73a0.dtsi
index 6cb29cd..030a592 100644
--- a/arch/arm/boot/dts/sh73a0.dtsi
+++ b/arch/arm/boot/dts/sh73a0.dtsi
@@ -49,7 +49,7 @@
 	};
 
 	cmt1: timer at e6138000 {
-		compatible = "renesas,cmt-48";
+		compatible = "renesas,cmt-48-sh73a0", "renesas,cmt-48";
 		reg = <0xe6138000 0x200>;
 		interrupts = <0 65 IRQ_TYPE_LEVEL_HIGH>;
 
-- 
2.0.1

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

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-08  0:57 [PATCH v3 0/3] ARM: shmobile: sh73a0: Enable CMT1 device using DT Simon Horman
2014-09-08  0:57 ` Simon Horman
2014-09-08  0:57 ` [PATCH v3 1/3] ARM: shmobile: sh73a0: Add CMT1 device to DT Simon Horman
2014-09-08  0:57   ` Simon Horman
2014-09-08  0:57 ` Simon Horman [this message]
2014-09-08  0:57   ` [PATCH v3 2/3] ARM: shmobile: sh73a0: Use SoC-specific 48-bit CMT compat string Simon Horman
2014-09-08  0:57 ` [PATCH v3 3/3] ARM: shmobile: kzm9g-reference: Enable CMT1 in device tree Simon Horman
2014-09-08  0:57   ` Simon Horman
2014-09-08  1:10 ` [PATCH v3 0/3] ARM: shmobile: sh73a0: Enable CMT1 device using DT Magnus Damm
2014-09-08  1:10   ` Magnus Damm
2014-09-08  1:52   ` Simon Horman
2014-09-08  1:52     ` Simon Horman
2014-09-09  2:53     ` Simon Horman
2014-09-09  2:53       ` 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=1410137828-4769-3-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.