Re: [PATCH] crypto: caam - standardize device tree naming convention to utilize '-vX.Y'

2011-03-23 Thread Herbert Xu
On Mon, Mar 14, 2011 at 05:42:47PM -0500, Kim Phillips wrote:
 Help clarify that the number trailing in compatible nomenclature
 is the version number of the device, i.e., change:
 
 fsl,p4080-sec4.0, fsl,sec4.0;
 
 to:
 
 fsl,p4080-sec-v4.0, fsl,sec-v4.0;
 
 Signed-off-by: Kim Phillips kim.phill...@freescale.com
 Cc: Kumar Gala kumar.g...@freescale.com
 Cc: Steve Cornelius s...@pobox.com

Applied.
-- 
Email: Herbert Xu herb...@gondor.apana.org.au
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[PATCH] crypto: caam - standardize device tree naming convention to utilize '-vX.Y'

2011-03-14 Thread Kim Phillips
Help clarify that the number trailing in compatible nomenclature
is the version number of the device, i.e., change:

fsl,p4080-sec4.0, fsl,sec4.0;

to:

fsl,p4080-sec-v4.0, fsl,sec-v4.0;

Signed-off-by: Kim Phillips kim.phill...@freescale.com
Cc: Kumar Gala kumar.g...@freescale.com
Cc: Steve Cornelius s...@pobox.com
---
 .../devicetree/bindings/crypto/fsl-sec4.txt|   68 ++--
 arch/powerpc/boot/dts/p4080ds.dts  |   41 ++--
 drivers/crypto/caam/caamalg.c  |4 +-
 drivers/crypto/caam/ctrl.c |6 +-
 4 files changed, 60 insertions(+), 59 deletions(-)

diff --git a/Documentation/devicetree/bindings/crypto/fsl-sec4.txt 
b/Documentation/devicetree/bindings/crypto/fsl-sec4.txt
index fce16a8..568aa3c 100644
--- a/Documentation/devicetree/bindings/crypto/fsl-sec4.txt
+++ b/Documentation/devicetree/bindings/crypto/fsl-sec4.txt
@@ -53,7 +53,7 @@ PROPERTIES
- compatible
   Usage: required
   Value type: string
-  Definition: Must include fsl,p4080-sec4.0,fsl,sec-4.0
+  Definition: Must include fsl,p4080-sec-v4.0,fsl,sec-v4.0
 
- #address-cells
Usage: required
@@ -72,7 +72,7 @@ PROPERTIES
   Usage: required
   Value type: prop-encoded-array
   Definition: A standard property.  Specifies the physical
-  address and length of the SEC4.0 configuration registers.
+  address and length of the SEC4 configuration registers.
   registers
 
- ranges
@@ -105,7 +105,7 @@ PROPERTIES
 
 EXAMPLE
crypto@30 {
-   compatible = fsl,p4080-sec4.0, fsl,sec4.0;
+   compatible = fsl,p4080-sec-v4.0, fsl,sec-v4.0;
#address-cells = 1;
#size-cells = 1;
reg = 0x30 0x1;
@@ -127,7 +127,7 @@ P4080 Job Ring (JR) Node
   - compatible
   Usage: required
   Value type: string
-  Definition: Must include 
fsl,p4080-sec4.0-job-ring,fsl,sec4.0-job-ring
+  Definition: Must include 
fsl,p4080-sec-v4.0-job-ring,fsl,sec-v4.0-job-ring
 
   - reg
   Usage: required
@@ -163,8 +163,8 @@ P4080 Job Ring (JR) Node
 
 EXAMPLE
jr@1000 {
-   compatible = fsl,p4080-sec4.0-job-ring,
-fsl,sec4.0-job-ring;
+   compatible = fsl,p4080-sec-v4.0-job-ring,
+fsl,sec-v4.0-job-ring;
reg = 0x1000 0x1000;
fsl,liodn = 0x081;
interrupt-parent = mpic;
@@ -186,7 +186,7 @@ P4080 Run Time Integrity Check (RTIC) Node
   - compatible
   Usage: required
   Value type: string
-  Definition: Must include fsl,p4080-sec4.0-rtic,fsl,sec4.0-rtic.
+  Definition: Must include fsl,p4080-sec-v4.0-rtic,fsl,sec-v4.0-rtic.
 
- #address-cells
Usage: required
@@ -219,8 +219,8 @@ P4080 Run Time Integrity Check (RTIC) Node
 
 EXAMPLE
rtic@6000 {
-   compatible = fsl,p4080-sec4.0-rtic,
-fsl,sec4.0-rtic;
+   compatible = fsl,p4080-sec-v4.0-rtic,
+fsl,sec-v4.0-rtic;
#address-cells = 1;
#size-cells = 1;
reg = 0x6000 0x100;
@@ -238,7 +238,7 @@ P4080 Run Time Integrity Check (RTIC) Memory Node
   - compatible
   Usage: required
   Value type: string
-  Definition: Must include 
fsl,p4080-sec4.0-rtic-memory,fsl,sec4.0-rtic-memory.
+  Definition: Must include 
fsl,p4080-sec-v4.0-rtic-memory,fsl,sec-v4.0-rtic-memory.
 
   - reg
   Usage: required
@@ -270,8 +270,8 @@ P4080 Run Time Integrity Check (RTIC) Memory Node
 
 EXAMPLE
rtic-a@0 {
-   compatible = fsl,p4080-sec4.0-rtic-memory,
-fsl,sec4.0-rtic-memory;
+   compatible = fsl,p4080-sec-v4.0-rtic-memory,
+fsl,sec-v4.0-rtic-memory;
reg = 0x00 0x20 0x100 0x80;
fsl,liodn   = 0x03c;
fsl,rtic-region  = 0x12345678 0x12345678 0x12345678;
@@ -288,7 +288,7 @@ P4080 Secure Non-Volatile Storage (SNVS) Node
   - compatible
   Usage: required
   Value type: string
-  Definition: Must include fsl,p4080-sec4.0-mon, fsl,sec4.0-mon.
+  Definition: Must include fsl,p4080-sec-v4.0-mon, fsl,sec-v4.0-mon.
 
   - reg
   Usage: required
@@ -315,7 +315,7 @@ P4080 Secure Non-Volatile Storage (SNVS) Node
 
 EXAMPLE
sec_mon@314000 {
-   compatible = fsl,p4080-sec4.0-mon, fsl,sec4.0-mon;
+   compatible = fsl,p4080-sec-v4.0-mon, fsl,sec-v4.0-mon;
reg = 0x314000 0x1000;
interrupt-parent = mpic;
interrupts = 93 2;
@@ -325,7 +325,7 @@ EXAMPLE
 FULL EXAMPLE
 
crypto: crypto@30 {
-   compatible = fsl,p4080-sec4.0, fsl,sec4.0;
+   compatible = fsl,p4080-sec-v4.0, fsl,sec-v4.0;
#address-cells = 1;
#size-cells = 1;