All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] crypto: caam - Added property fsl,sec-era in SEC4.0 device tree binding.
@ 2013-01-23  5:34 Vakul Garg
  2013-01-23 22:34   ` Kim Phillips
  0 siblings, 1 reply; 5+ messages in thread
From: Vakul Garg @ 2013-01-23  5:34 UTC (permalink / raw)
  To: linux-crypto

This new property defines the era of the particular SEC version.
The compatible property in device tree "crypto" node has been updated
not to contain SEC era numbers.

Signed-off-by: Vakul Garg <vakul@freescale.com>
---
 .../devicetree/bindings/crypto/fsl-sec4.txt        |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/crypto/fsl-sec4.txt b/Documentation/devicetree/bindings/crypto/fsl-sec4.txt
index fc9ce6f..dc40055 100644
--- a/Documentation/devicetree/bindings/crypto/fsl-sec4.txt
+++ b/Documentation/devicetree/bindings/crypto/fsl-sec4.txt
@@ -54,8 +54,13 @@ PROPERTIES
    - compatible
       Usage: required
       Value type: <string>
-      Definition: Must include "fsl,sec-v4.0". Also includes SEC
-           ERA versions (optional) with which the device is compatible.
+      Definition: Must include "fsl,sec-v4.0"
+
+   - fsl,sec-era
+      Usage: required
+      Value type: <u32>
+      Definition: A standard property. Define the 'ERA' of the SEC
+          device.
 
    - #address-cells
        Usage: required
@@ -107,7 +112,8 @@ PROPERTIES
 
 EXAMPLE
 	crypto@300000 {
-		compatible = "fsl,sec-v4.0", "fsl,sec-era-v2.0";
+		compatible = "fsl,sec-v4.0";
+		fsl,sec-era = <0x2>;
 		#address-cells = <1>;
 		#size-cells = <1>;
 		reg = <0x300000 0x10000>;
-- 
1.7.7.6

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] crypto: caam - Added property fsl,sec-era in SEC4.0 device tree binding.
  2013-01-23  5:34 [PATCH] crypto: caam - Added property fsl,sec-era in SEC4.0 device tree binding Vakul Garg
@ 2013-01-23 22:34   ` Kim Phillips
  0 siblings, 0 replies; 5+ messages in thread
From: Kim Phillips @ 2013-01-23 22:34 UTC (permalink / raw)
  To: Vakul Garg; +Cc: linux-crypto, devicetree-discuss

cc'ing devicetree-discuss.  Start using scripts/get_maintainers.pl.

On Wed, 23 Jan 2013 11:04:55 +0530
Vakul Garg <vakul@freescale.com> wrote:

> +++ b/Documentation/devicetree/bindings/crypto/fsl-sec4.txt
> @@ -54,8 +54,13 @@ PROPERTIES
>     - compatible
>        Usage: required
>        Value type: <string>
> -      Definition: Must include "fsl,sec-v4.0". Also includes SEC
> -           ERA versions (optional) with which the device is compatible.
> +      Definition: Must include "fsl,sec-v4.0"
> +
> +   - fsl,sec-era
> +      Usage: required

what's the rationale for going from optional to required?

>  EXAMPLE
>  	crypto@300000 {
> -		compatible = "fsl,sec-v4.0", "fsl,sec-era-v2.0";
> +		compatible = "fsl,sec-v4.0";
> +		fsl,sec-era = <0x2>;

use decimal notation

Kim

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] crypto: caam - Added property fsl,sec-era in SEC4.0 device tree binding.
@ 2013-01-23 22:34   ` Kim Phillips
  0 siblings, 0 replies; 5+ messages in thread
From: Kim Phillips @ 2013-01-23 22:34 UTC (permalink / raw)
  To: Vakul Garg; +Cc: linux-crypto, devicetree-discuss

cc'ing devicetree-discuss.  Start using scripts/get_maintainers.pl.

On Wed, 23 Jan 2013 11:04:55 +0530
Vakul Garg <vakul@freescale.com> wrote:

> +++ b/Documentation/devicetree/bindings/crypto/fsl-sec4.txt
> @@ -54,8 +54,13 @@ PROPERTIES
>     - compatible
>        Usage: required
>        Value type: <string>
> -      Definition: Must include "fsl,sec-v4.0". Also includes SEC
> -           ERA versions (optional) with which the device is compatible.
> +      Definition: Must include "fsl,sec-v4.0"
> +
> +   - fsl,sec-era
> +      Usage: required

what's the rationale for going from optional to required?

>  EXAMPLE
>  	crypto@300000 {
> -		compatible = "fsl,sec-v4.0", "fsl,sec-era-v2.0";
> +		compatible = "fsl,sec-v4.0";
> +		fsl,sec-era = <0x2>;

use decimal notation

Kim

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH] crypto: caam - Added property fsl, sec-era in SEC4.0 device tree binding.
@ 2013-01-23  6:47 Vakul Garg
  0 siblings, 0 replies; 5+ messages in thread
From: Vakul Garg @ 2013-01-23  6:47 UTC (permalink / raw)
  To: linuxppc-dev

This new property defines the era of the particular SEC version.
The compatible property in device tree "crypto" node has been updated
not to contain SEC era numbers.

Signed-off-by: Vakul Garg <vakul@freescale.com>
---
 .../devicetree/bindings/crypto/fsl-sec4.txt        |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/crypto/fsl-sec4.txt b/Documentation/devicetree/bindings/crypto/fsl-sec4.txt
index fc9ce6f..dc40055 100644
--- a/Documentation/devicetree/bindings/crypto/fsl-sec4.txt
+++ b/Documentation/devicetree/bindings/crypto/fsl-sec4.txt
@@ -54,8 +54,13 @@ PROPERTIES
    - compatible
       Usage: required
       Value type: <string>
-      Definition: Must include "fsl,sec-v4.0". Also includes SEC
-           ERA versions (optional) with which the device is compatible.
+      Definition: Must include "fsl,sec-v4.0"
+
+   - fsl,sec-era
+      Usage: required
+      Value type: <u32>
+      Definition: A standard property. Define the 'ERA' of the SEC
+          device.
 
    - #address-cells
        Usage: required
@@ -107,7 +112,8 @@ PROPERTIES
 
 EXAMPLE
 	crypto@300000 {
-		compatible = "fsl,sec-v4.0", "fsl,sec-era-v2.0";
+		compatible = "fsl,sec-v4.0";
+		fsl,sec-era = <0x2>;
 		#address-cells = <1>;
 		#size-cells = <1>;
 		reg = <0x300000 0x10000>;
-- 
1.7.7.6

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH] crypto: caam - Added property fsl, sec-era in SEC4.0 device tree binding.
@ 2013-01-23  6:45 Vakul Garg
  0 siblings, 0 replies; 5+ messages in thread
From: Vakul Garg @ 2013-01-23  6:45 UTC (permalink / raw)
  To: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ

This new property defines the era of the particular SEC version.
The compatible property in device tree "crypto" node has been updated
not to contain SEC era numbers.

Signed-off-by: Vakul Garg <vakul-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
---
 .../devicetree/bindings/crypto/fsl-sec4.txt        |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/crypto/fsl-sec4.txt b/Documentation/devicetree/bindings/crypto/fsl-sec4.txt
index fc9ce6f..dc40055 100644
--- a/Documentation/devicetree/bindings/crypto/fsl-sec4.txt
+++ b/Documentation/devicetree/bindings/crypto/fsl-sec4.txt
@@ -54,8 +54,13 @@ PROPERTIES
    - compatible
       Usage: required
       Value type: <string>
-      Definition: Must include "fsl,sec-v4.0". Also includes SEC
-           ERA versions (optional) with which the device is compatible.
+      Definition: Must include "fsl,sec-v4.0"
+
+   - fsl,sec-era
+      Usage: required
+      Value type: <u32>
+      Definition: A standard property. Define the 'ERA' of the SEC
+          device.
 
    - #address-cells
        Usage: required
@@ -107,7 +112,8 @@ PROPERTIES
 
 EXAMPLE
 	crypto@300000 {
-		compatible = "fsl,sec-v4.0", "fsl,sec-era-v2.0";
+		compatible = "fsl,sec-v4.0";
+		fsl,sec-era = <0x2>;
 		#address-cells = <1>;
 		#size-cells = <1>;
 		reg = <0x300000 0x10000>;
-- 
1.7.7.6

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-01-23 22:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-23  5:34 [PATCH] crypto: caam - Added property fsl,sec-era in SEC4.0 device tree binding Vakul Garg
2013-01-23 22:34 ` Kim Phillips
2013-01-23 22:34   ` Kim Phillips
2013-01-23  6:45 [PATCH] crypto: caam - Added property fsl, sec-era " Vakul Garg
2013-01-23  6:47 Vakul Garg

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.