[PATCH 00/10] dt-bindings: Convert SP805 to Json-schema (and fix users)

From: Andre Przywara
Date: Fri Aug 28 2020 - 09:09:16 EST


This is an attempt to convert the SP805 watchdog DT binding to yaml.
This is done in the first patch, the remaining nine 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 SP805 DT user I could find is U-Boot, which
seems to only use a very minimal subset of the binding (just the first
clock).
I only tried to fix those DTs that were easily and reliably fixable.
AFAICT, a missing primecell compatible string, for instance, would
prevent the Linux driver from probing the device at all, so I didn't
dare to touch those DTs at all. Missing clocks are equally fatal.

Cheers,
Andre

Andre Przywara (10):
dt-bindings: watchdog: sp-805: Convert to Json-schema
arm64: dts: arm: Fix SP805 clock-names
arm64: dts: broadcom: Fix SP805 clock-names
arm64: dts: freescale: Fix SP805 clock-names
arm64: dts: hisilicon: Fix SP805 clocks
arm64: dts: lg: Fix SP805 clocks
ARM: dts: arm: Fix SP805 clocks
ARM: dts: Cygnus: Fix SP805 clocks
ARM: dts: NSP: Fix SP805 clock-names
ARM: dts: hisilicon: Fix SP805 clocks

.../bindings/watchdog/arm,sp805.txt | 32 ---------
.../bindings/watchdog/arm,sp805.yaml | 72 +++++++++++++++++++
arch/arm/boot/dts/arm-realview-eb.dtsi | 2 +-
arch/arm/boot/dts/arm-realview-pb11mp.dts | 4 +-
arch/arm/boot/dts/arm-realview-pbx.dtsi | 4 +-
arch/arm/boot/dts/bcm-cygnus.dtsi | 4 +-
arch/arm/boot/dts/bcm-nsp.dtsi | 2 +-
arch/arm/boot/dts/hisi-x5hd2.dtsi | 5 +-
arch/arm/boot/dts/mps2.dtsi | 4 +-
arch/arm/boot/dts/vexpress-v2m-rs1.dtsi | 2 +-
arch/arm/boot/dts/vexpress-v2m.dtsi | 2 +-
arch/arm/boot/dts/vexpress-v2p-ca15-tc1.dts | 4 +-
arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts | 2 +-
arch/arm/boot/dts/vexpress-v2p-ca9.dts | 2 +-
arch/arm64/boot/dts/arm/juno-motherboard.dtsi | 2 +-
.../boot/dts/arm/rtsm_ve-motherboard.dtsi | 2 +-
.../boot/dts/broadcom/northstar2/ns2.dtsi | 2 +-
.../boot/dts/broadcom/stingray/stingray.dtsi | 2 +-
.../arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 4 +-
.../arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 16 ++---
.../arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 16 ++---
arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 10 +--
arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 5 +-
arch/arm64/boot/dts/lg/lg1312.dtsi | 4 +-
arch/arm64/boot/dts/lg/lg1313.dtsi | 4 +-
25 files changed, 126 insertions(+), 82 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/watchdog/arm,sp805.txt
create mode 100644 Documentation/devicetree/bindings/watchdog/arm,sp805.yaml

--
2.17.1