[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AM0PR04MB60045D52CF83EE802F23BD19E7B79@AM0PR04MB6004.eurprd04.prod.outlook.com>
Date: Tue, 7 Mar 2023 06:56:00 +0000
From: Gaurav Jain <gaurav.jain@....com>
To: "Peng Fan (OSS)" <peng.fan@....nxp.com>,
"herbert@...dor.apana.org.au" <herbert@...dor.apana.org.au>,
"davem@...emloft.net" <davem@...emloft.net>,
"robh+dt@...nel.org" <robh+dt@...nel.org>,
"krzysztof.kozlowski+dt@...aro.org"
<krzysztof.kozlowski+dt@...aro.org>,
Horia Geanta <horia.geanta@....com>,
Pankaj Gupta <pankaj.gupta@....com>,
"shawnguo@...nel.org" <shawnguo@...nel.org>,
"s.hauer@...gutronix.de" <s.hauer@...gutronix.de>
CC: "kernel@...gutronix.de" <kernel@...gutronix.de>,
"stefan@...er.ch" <stefan@...er.ch>,
"linux-crypto@...r.kernel.org" <linux-crypto@...r.kernel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>, Peng Fan <peng.fan@....com>
Subject: RE: [PATCH 3/9] dt-bindings: crypto: fsl-sec4: support sec5.4/0 and
i.MX6UL
> -----Original Message-----
> From: Peng Fan (OSS) <peng.fan@....nxp.com>
> Sent: Wednesday, March 1, 2023 7:27 AM
> To: herbert@...dor.apana.org.au; davem@...emloft.net;
> robh+dt@...nel.org; krzysztof.kozlowski+dt@...aro.org; Horia Geanta
> <horia.geanta@....com>; Pankaj Gupta <pankaj.gupta@....com>; Gaurav Jain
> <gaurav.jain@....com>; shawnguo@...nel.org; s.hauer@...gutronix.de
> Cc: kernel@...gutronix.de; stefan@...er.ch; linux-crypto@...r.kernel.org;
> devicetree@...r.kernel.org; linux-kernel@...r.kernel.org; linux-arm-
> kernel@...ts.infradead.org; Peng Fan <peng.fan@....com>
> Subject: [PATCH 3/9] dt-bindings: crypto: fsl-sec4: support sec5.4/0 and i.MX6UL
>
> From: Peng Fan <peng.fan@....com>
>
> Add i.MX6UL, SEC 5.0 and SEC 5.4 support.
>
> Signed-off-by: Peng Fan <peng.fan@....com>
> ---
> .../devicetree/bindings/crypto/fsl-sec4.yaml | 58 ++++++++++++++++---
> 1 file changed, 50 insertions(+), 8 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/crypto/fsl-sec4.yaml
> b/Documentation/devicetree/bindings/crypto/fsl-sec4.yaml
> index 678c8389ef49..1b801ae5ab51 100644
> --- a/Documentation/devicetree/bindings/crypto/fsl-sec4.yaml
> +++ b/Documentation/devicetree/bindings/crypto/fsl-sec4.yaml
> @@ -45,8 +45,18 @@ maintainers:
>
> properties:
> compatible:
> - enum:
> - - fsl,sec-v4.0
> + oneOf:
> + - enum:
> + - fsl,sec-v4.0
> + - items:
> + - enum:
> + - fsl,imx6ul-caam
> + - fsl,sec-v5.0
> + - const: fsl,sec-v4.0
> + - items:
> + - const: fsl,sec-v5.4
> + - const: fsl,sec-v5.0
> + - const: fsl,sec-v4.0
fsl,sec-v5.2, fsl,sec-v5.3, fsl,sec-v6.0 also used in Qoriq
regards
Gaurav
>
> "#address-cells":
> const: 1
> @@ -77,6 +87,8 @@ properties:
>
> clock-names:
> oneOf:
> + - items:
> + - const: ipg
> - items:
> - const: mem
> - const: aclk
> @@ -85,11 +97,17 @@ properties:
> - items:
> - const: aclk
> - const: ipg
> + - items:
> + - const: ipg
> + - const: aclk
> - items:
> - const: ipg
> - const: aclk
> - const: mem
>
> + dma-coherent:
> + type: boolean
> +
> fsl,sec-era:
> description:
> Optional. A standard property. Define the 'ERA' of the SEC device.
> @@ -108,8 +126,16 @@ patternProperties:
>
> properties:
> compatible:
> - enum:
> - - fsl,sec-v4.0-job-ring
> + oneOf:
> + - enum:
> + - fsl,sec-v4.0-job-ring
> + - items:
> + - const: fsl,sec-v5.0-job-ring
> + - const: fsl,sec-v4.0-job-ring
> + - items:
> + - const: fsl,sec-v5.4-job-ring
> + - const: fsl,sec-v5.0-job-ring
> + - const: fsl,sec-v4.0-job-ring
>
> reg:
> maxItems: 1
> @@ -148,8 +174,16 @@ patternProperties:
>
> properties:
> compatible:
> - enum:
> - - fsl,sec-v4.0-rtic
> + oneOf:
> + - enum:
> + - fsl,sec-v4.0-rtic
> + - items:
> + - const: fsl,sec-v5.0-rtic
> + - const: fsl,sec-v4.0-rtic
> + - items:
> + - const: fsl,sec-v5.4-rtic
> + - const: fsl,sec-v5.0-rtic
> + - const: fsl,sec-v4.0-rtic
>
> "#address-cells":
> const: 1
> @@ -187,8 +221,16 @@ patternProperties:
>
> properties:
> compatible:
> - enum:
> - - fsl,sec-v4.0-rtic-memory
> + oneOf:
> + - enum:
> + - fsl,sec-v4.0-rtic-memory
> + - items:
> + - const: fsl,sec-v5.0-rtic-memory
> + - const: fsl,sec-v4.0-rtic-memory
> + - items:
> + - const: fsl,sec-v5.4-rtic-memory
> + - const: fsl,sec-v5.0-rtic-memory
> + - const: fsl,sec-v4.0-rtic-memory
>
> reg:
> minItems: 1
> --
> 2.37.1
Powered by blists - more mailing lists