mbox series

[net-next,v3,0/4] dt-bindings: net: convert sff,sfp to dtschema

Message ID 20220707091437.446458-1-ioana.ciornei@nxp.com (mailing list archive)
Headers show
Series dt-bindings: net: convert sff,sfp to dtschema | expand

Message

Ioana Ciornei July 7, 2022, 9:14 a.m. UTC
This patch set converts the sff,sfp to dtschema.

The first patch does a somewhat mechanical conversion without changing
anything else beside the format in which the dt binding is presented.

In the second patch we rename some dt nodes to be generic. The last two
patches change the GPIO related properties so that they uses the -gpios
preferred suffix. This way, all the DTBs are passing the validation
against the sff,sfp.yaml binding.

Changes in v2:
 - 1/4: used the -gpios suffix
 - 1/4: restricted the use of some gpios if the compatible is sff,sff
 - 2: new patch, renamed some example dt nodes to be generic
 - 3,4: new patches, changed to the preffered -gpios suffix all impacted
   DT files

Changes in v3:
 - 1/4: moved the -gpios properties to be under properties and not
   pattern properties.

Ioana Ciornei (4):
  dt-bindings: net: convert sff,sfp to dtschema
  dt-bindings: net: sff,sfp: rename example dt nodes to be more generic
  arch: arm64: dts: lx2160a-clearfog-itx: rename the sfp GPIO properties
  arch: arm64: dts: marvell: rename the sfp GPIO properties

 .../devicetree/bindings/net/sff,sfp.txt       |  85 -----------
 .../devicetree/bindings/net/sff,sfp.yaml      | 142 ++++++++++++++++++
 MAINTAINERS                                   |   1 +
 .../freescale/fsl-lx2160a-clearfog-itx.dtsi   |   8 +-
 .../dts/marvell/armada-3720-turris-mox.dts    |  10 +-
 .../boot/dts/marvell/armada-3720-uDPU.dts     |  16 +-
 .../boot/dts/marvell/armada-7040-mochabin.dts |  16 +-
 .../marvell/armada-8040-clearfog-gt-8k.dts    |   4 +-
 .../boot/dts/marvell/armada-8040-mcbin.dtsi   |  24 +--
 .../dts/marvell/armada-8040-puzzle-m801.dts   |  16 +-
 arch/arm64/boot/dts/marvell/cn9130-crb.dtsi   |   6 +-
 arch/arm64/boot/dts/marvell/cn9130-db.dtsi    |   8 +-
 arch/arm64/boot/dts/marvell/cn9131-db.dtsi    |   8 +-
 arch/arm64/boot/dts/marvell/cn9132-db.dtsi    |   8 +-
 14 files changed, 205 insertions(+), 147 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/net/sff,sfp.txt
 create mode 100644 Documentation/devicetree/bindings/net/sff,sfp.yaml

Comments

Jakub Kicinski July 11, 2022, 10:30 p.m. UTC | #1
On Thu,  7 Jul 2022 12:14:33 +0300 Ioana Ciornei wrote:
> This patch set converts the sff,sfp to dtschema.
> 
> The first patch does a somewhat mechanical conversion without changing
> anything else beside the format in which the dt binding is presented.
> 
> In the second patch we rename some dt nodes to be generic. The last two
> patches change the GPIO related properties so that they uses the -gpios
> preferred suffix. This way, all the DTBs are passing the validation
> against the sff,sfp.yaml binding.

Looks ready for applying to net-next, if anyone wants to take 
the dts changes please speak up now..
patchwork-bot+netdevbpf@kernel.org July 13, 2022, 12:40 a.m. UTC | #2
Hello:

This series was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Thu,  7 Jul 2022 12:14:33 +0300 you wrote:
> This patch set converts the sff,sfp to dtschema.
> 
> The first patch does a somewhat mechanical conversion without changing
> anything else beside the format in which the dt binding is presented.
> 
> In the second patch we rename some dt nodes to be generic. The last two
> patches change the GPIO related properties so that they uses the -gpios
> preferred suffix. This way, all the DTBs are passing the validation
> against the sff,sfp.yaml binding.
> 
> [...]

Here is the summary with links:
  - [net-next,v3,1/4] dt-bindings: net: convert sff,sfp to dtschema
    https://git.kernel.org/netdev/net-next/c/70991f1e6858
  - [net-next,v3,2/4] dt-bindings: net: sff,sfp: rename example dt nodes to be more generic
    https://git.kernel.org/netdev/net-next/c/7ff7c9922859
  - [net-next,v3,3/4] arch: arm64: dts: lx2160a-clearfog-itx: rename the sfp GPIO properties
    https://git.kernel.org/netdev/net-next/c/dfa2854cbf92
  - [net-next,v3,4/4] arch: arm64: dts: marvell: rename the sfp GPIO properties
    https://git.kernel.org/netdev/net-next/c/4ce223e5ef70

You are awesome, thank you!