Message ID | 20230301015702.3388458-9-peng.fan@oss.nxp.com (mailing list archive) |
---|---|
State | Not Applicable |
Delegated to: | Herbert Xu |
Headers | show |
Series | dt-bindings: crypto: convert fsl-sec4 to DT schema | expand |
On 01/03/2023 02:57, Peng Fan (OSS) wrote: > From: Peng Fan <peng.fan@nxp.com> > > Add snvs-lpgpr support for fsl-sec4-snvs > > Signed-off-by: Peng Fan <peng.fan@nxp.com> > --- > .../bindings/crypto/fsl-sec4-snvs.yaml | 19 +++++++++++++++++++ > 1 file changed, 19 insertions(+) > > diff --git a/Documentation/devicetree/bindings/crypto/fsl-sec4-snvs.yaml b/Documentation/devicetree/bindings/crypto/fsl-sec4-snvs.yaml > index 1a4b4975e1d9..688057ec5c97 100644 > --- a/Documentation/devicetree/bindings/crypto/fsl-sec4-snvs.yaml > +++ b/Documentation/devicetree/bindings/crypto/fsl-sec4-snvs.yaml > @@ -124,6 +124,25 @@ properties: > - compatible > - interrupts > > + snvs-lpgpr: > + type: object Why not ref to that binding? Much less code... Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/crypto/fsl-sec4-snvs.yaml b/Documentation/devicetree/bindings/crypto/fsl-sec4-snvs.yaml index 1a4b4975e1d9..688057ec5c97 100644 --- a/Documentation/devicetree/bindings/crypto/fsl-sec4-snvs.yaml +++ b/Documentation/devicetree/bindings/crypto/fsl-sec4-snvs.yaml @@ -124,6 +124,25 @@ properties: - compatible - interrupts + snvs-lpgpr: + type: object + + properties: + compatible: + oneOf: + - enum: + - fsl,imx7d-snvs-lpgpr + - fsl,imx6q-snvs-lpgpr + - fsl,imx6ul-snvs-lpgpr + - items: + - enum: + - fsl,imx8mm-snvs-lpgpr + - fsl,imx8mp-snvs-lpgpr + - const: fsl,imx7d-snvs-lpgpr + + required: + - compatible + required: - compatible - reg