mbox series

[0/9] dt-bindings: crypto: convert fsl-sec4 to DT schema

Message ID 20230301015702.3388458-1-peng.fan@oss.nxp.com (mailing list archive)
Headers show
Series dt-bindings: crypto: convert fsl-sec4 to DT schema | expand

Message

Peng Fan (OSS) March 1, 2023, 1:56 a.m. UTC
From: Peng Fan <peng.fan@nxp.com>

This is effort towards SystemReady IR 2.0 to convert the txt binding to DT
schema.
Patch 1 is just to drop uneeded number since following DT schema will update the name

The fsl-sec4.txt binding has two parts, one is crypto, one is snvs, so I split
into two DT schema file. patch 2,3 is for crypto, patch 4,5,6 is for snvs,
patch 7 is to drop fsl-sec4.txt binding. patch 8,9 is to add new node

Peng Fan (9):
  ARM: dts: vfxxx: drop the number after jr
  dt-bindings: crypto: fsl-sec4: convert to DT schema
  dt-bindings: crypto: fsl-sec4: support sec5.4/0 and i.MX6UL
  dt-bindings: crypto: add fsl-sec4-snvs DT schema
  dt-bindings: crypto: fsl-sec4-snvs: add simple-mfd compatible
  dt-bindings: crypto: fsl-sec4-snvs: add fsl sec 5.x compatible
  dt-bindings: crypto: drop fsl-sec4 txt binding
  dt-bindings: crypto: fsl-sec4-snvs: add snvs-lpgpr support
  dt-bindings: crypto: fsl-sec4-snvs: add poweroff support

 .../bindings/crypto/fsl-sec4-snvs.yaml        | 181 ++++++
 .../devicetree/bindings/crypto/fsl-sec4.txt   | 553 ------------------
 .../devicetree/bindings/crypto/fsl-sec4.yaml  | 366 ++++++++++++
 arch/arm/boot/dts/vfxxx.dtsi                  |   4 +-
 4 files changed, 549 insertions(+), 555 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/crypto/fsl-sec4-snvs.yaml
 delete mode 100644 Documentation/devicetree/bindings/crypto/fsl-sec4.txt
 create mode 100644 Documentation/devicetree/bindings/crypto/fsl-sec4.yaml

Comments

Rob Herring (Arm) March 1, 2023, 3:06 a.m. UTC | #1
On Wed, Mar 01, 2023 at 09:56:53AM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
> 
> This is effort towards SystemReady IR 2.0 to convert the txt binding to DT
> schema.
> Patch 1 is just to drop uneeded number since following DT schema will update the name
> 
> The fsl-sec4.txt binding has two parts, one is crypto, one is snvs, so I split
> into two DT schema file. patch 2,3 is for crypto, patch 4,5,6 is for snvs,
> patch 7 is to drop fsl-sec4.txt binding. patch 8,9 is to add new node
> 
> Peng Fan (9):
>   ARM: dts: vfxxx: drop the number after jr
>   dt-bindings: crypto: fsl-sec4: convert to DT schema
>   dt-bindings: crypto: fsl-sec4: support sec5.4/0 and i.MX6UL
>   dt-bindings: crypto: add fsl-sec4-snvs DT schema
>   dt-bindings: crypto: fsl-sec4-snvs: add simple-mfd compatible
>   dt-bindings: crypto: fsl-sec4-snvs: add fsl sec 5.x compatible
>   dt-bindings: crypto: drop fsl-sec4 txt binding
>   dt-bindings: crypto: fsl-sec4-snvs: add snvs-lpgpr support
>   dt-bindings: crypto: fsl-sec4-snvs: add poweroff support

I'll leave it to you to work out which one to take[1]. :(

>  .../bindings/crypto/fsl-sec4-snvs.yaml        | 181 ++++++
>  .../devicetree/bindings/crypto/fsl-sec4.txt   | 553 ------------------
>  .../devicetree/bindings/crypto/fsl-sec4.yaml  | 366 ++++++++++++
>  arch/arm/boot/dts/vfxxx.dtsi                  |   4 +-
>  4 files changed, 549 insertions(+), 555 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/crypto/fsl-sec4-snvs.yaml
>  delete mode 100644 Documentation/devicetree/bindings/crypto/fsl-sec4.txt
>  create mode 100644 Documentation/devicetree/bindings/crypto/fsl-sec4.yaml

Filenames based on compatible strings...

Rob

[1] https://lore.kernel.org/all/20230220213334.353779-1-robh@kernel.org/
Peng Fan March 1, 2023, 3:10 a.m. UTC | #2
Hi Rob,

> Subject: Re: [PATCH 0/9] dt-bindings: crypto: convert fsl-sec4 to DT schema
> 
> On Wed, Mar 01, 2023 at 09:56:53AM +0800, Peng Fan (OSS) wrote:
> > From: Peng Fan <peng.fan@nxp.com>
> >
> > This is effort towards SystemReady IR 2.0 to convert the txt binding
> > to DT schema.
> > Patch 1 is just to drop uneeded number since following DT schema will
> > update the name
> >
> > The fsl-sec4.txt binding has two parts, one is crypto, one is snvs, so
> > I split into two DT schema file. patch 2,3 is for crypto, patch 4,5,6
> > is for snvs, patch 7 is to drop fsl-sec4.txt binding. patch 8,9 is to
> > add new node
> >
> > Peng Fan (9):
> >   ARM: dts: vfxxx: drop the number after jr
> >   dt-bindings: crypto: fsl-sec4: convert to DT schema
> >   dt-bindings: crypto: fsl-sec4: support sec5.4/0 and i.MX6UL
> >   dt-bindings: crypto: add fsl-sec4-snvs DT schema
> >   dt-bindings: crypto: fsl-sec4-snvs: add simple-mfd compatible
> >   dt-bindings: crypto: fsl-sec4-snvs: add fsl sec 5.x compatible
> >   dt-bindings: crypto: drop fsl-sec4 txt binding
> >   dt-bindings: crypto: fsl-sec4-snvs: add snvs-lpgpr support
> >   dt-bindings: crypto: fsl-sec4-snvs: add poweroff support
> 
> I'll leave it to you to work out which one to take[1]. :(

Thanks for working on it.  Let's go with your patchset.

Thanks,
Peng.
> 
> >  .../bindings/crypto/fsl-sec4-snvs.yaml        | 181 ++++++
> >  .../devicetree/bindings/crypto/fsl-sec4.txt   | 553 ------------------
> >  .../devicetree/bindings/crypto/fsl-sec4.yaml  | 366 ++++++++++++
> >  arch/arm/boot/dts/vfxxx.dtsi                  |   4 +-
> >  4 files changed, 549 insertions(+), 555 deletions(-)  create mode
> > 100644 Documentation/devicetree/bindings/crypto/fsl-sec4-snvs.yaml
> >  delete mode 100644
> > Documentation/devicetree/bindings/crypto/fsl-sec4.txt
> >  create mode 100644
> > Documentation/devicetree/bindings/crypto/fsl-sec4.yaml
> 
> Filenames based on compatible strings...
> 
> Rob
> 
> [1]
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flore.
> kernel.org%2Fall%2F20230220213334.353779-1-
> robh%40kernel.org%2F&data=05%7C01%7Cpeng.fan%40nxp.com%7C403af
> 158981344444a5c08db1a01f439%7C686ea1d3bc2b4c6fa92cd99c5c301635%
> 7C0%7C0%7C638132367911500608%7CUnknown%7CTWFpbGZsb3d8eyJWIj
> oiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C
> 3000%7C%7C%7C&sdata=KsKhl8M5Z9Mqy0%2BfW12WJ9MRw6lTWFYTN1Qi
> xnSagJo%3D&reserved=0