Skip to content

dt-bindings: Convert SP804 to Json-schema (and fix users)

Andre Przywara linux-arm-kernel linux-devicetree lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6dt-bindings: timers: sp-804: Convert to json-schemaDocumentation/devicetree/bindings/timer/arm,sp804.txt Documentation/devicetree/bindings/timer/arm,sp804.yaml+82 -291 reply
2/6ARM: dts: arm: Fix SP804 usersarch/arm/boot/dts/arm-realview-pb11mp.dts arch/arm/boot/dts/mps2.dtsi arch/arm/boot/dts/vexpress-v2p-ca9.dts+14 -122 replies
3/6ARM: dts: broadcom: Fix SP804 nodearch/arm/boot/dts/bcm-nsp.dtsi+1 -16 replies
4/6ARM: dts: hisilicon: Fix SP804 usersarch/arm/boot/dts/hi3620.dtsi arch/arm/boot/dts/hip04.dtsi+22 -120 replies
5/6ARM: dts: nspire: Fix SP804 usersarch/arm/boot/dts/nspire.dtsi+8 -40 replies
6/6arm64: dts: lg: Fix SP804 usersarch/arm64/boot/dts/lg/lg1312.dtsi arch/arm64/boot/dts/lg/lg1313.dtsi+6 -60 replies

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchLinus Walleij
1/6
2/6A-b
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] dt-bindings: Convert SP804 to Json-schema (and fix users)

This is the first attempt to convert the SP804 timer binding to yaml. This is done in the first patch, the remaining five fix some DT users.

I couldn't test any of those DT files on actual machines, but tried to make the changes in a way that would be transparent to at least the Linux driver. The only other SP804 DT user I could find is FreeBSD, but they seem to use a different binding (no clocks, but a clock-frequency property).
For some platforms I wonder how this worked before (missing arm,primecell compatible), maybe they magically spring to life now?

Cheers,
Andre

Andre Przywara (6):
dt-bindings: timers: sp-804: Convert to json-schema
ARM: dts: arm: Fix SP804 users
ARM: dts: broadcom: Fix SP804 node
ARM: dts: hisilicon: Fix SP804 users
ARM: dts: nspire: Fix SP804 users
arm64: dts: lg: Fix SP804 users

 .../devicetree/bindings/timer/arm,sp804.txt   | 29 -------
 .../devicetree/bindings/timer/arm,sp804.yaml  | 82 +++++++++++++++++++
 arch/arm/boot/dts/arm-realview-pb11mp.dts     | 16 ++--
 arch/arm/boot/dts/bcm-nsp.dtsi                |  2 +-
 arch/arm/boot/dts/hi3620.dtsi                 | 30 ++++---
 arch/arm/boot/dts/hip04.dtsi                  |  4 +-
 arch/arm/boot/dts/mps2.dtsi                   |  6 +-
 arch/arm/boot/dts/nspire.dtsi                 | 12 ++-
 arch/arm/boot/dts/vexpress-v2p-ca9.dts        |  4 +-
 arch/arm64/boot/dts/lg/lg1312.dtsi            |  6 +-
 arch/arm64/boot/dts/lg/lg1313.dtsi            |  6 +-
 11 files changed, 133 insertions(+), 64 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/timer/arm,sp804.txt
 create mode 100644 Documentation/devicetree/bindings/timer/arm,sp804.yaml
Signature · 1 line
2.17.1