linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] dt-bindings: Convert SP804 to Json-schema (and fix users)
@ 2020-08-26 18:37 Andre Przywara
  2020-08-26 18:37 ` [PATCH 1/6] dt-bindings: timers: sp-804: Convert to json-schema Andre Przywara
                   ` (5 more replies)
  0 siblings, 6 replies; 16+ messages in thread
From: Andre Przywara @ 2020-08-26 18:37 UTC (permalink / raw)
  To: Rob Herring, devicetree
  Cc: Thomas Gleixner, Daniel Lezcano, Haojian Zhuang,
	linux-arm-kernel, linux-kernel, Chanho Min, Linus Walleij,
	Liviu Dudau, Lorenzo Pieralisi, Sudeep Holla, Ray Jui,
	Scott Branden, Wei Xu

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

-- 
2.17.1


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2020-08-28 14:23 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-26 18:37 [PATCH 0/6] dt-bindings: Convert SP804 to Json-schema (and fix users) Andre Przywara
2020-08-26 18:37 ` [PATCH 1/6] dt-bindings: timers: sp-804: Convert to json-schema Andre Przywara
2020-08-26 21:36   ` Rob Herring
2020-08-26 18:38 ` [PATCH 2/6] ARM: dts: arm: Fix SP804 users Andre Przywara
2020-08-28 14:03   ` Linus Walleij
2020-08-28 14:22     ` André Przywara
2020-08-26 18:38 ` [PATCH 3/6] ARM: dts: broadcom: Fix SP804 node Andre Przywara
2020-08-26 18:42   ` Florian Fainelli
2020-08-26 18:53     ` André Przywara
2020-08-26 18:59       ` Florian Fainelli
2020-08-26 20:55         ` Florian Fainelli
2020-08-28 13:59           ` André Przywara
2020-08-26 21:29       ` Rob Herring
2020-08-26 18:38 ` [PATCH 4/6] ARM: dts: hisilicon: Fix SP804 users Andre Przywara
2020-08-26 18:38 ` [PATCH 5/6] ARM: dts: nspire: " Andre Przywara
2020-08-26 18:38 ` [PATCH 6/6] arm64: dts: lg: " Andre Przywara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).