[PATCH v2 0/5] dt-bindings: rtc: convert at91sam9 bindings to

From: Sergiu Moga
Date: Thu Mar 03 2022 - 09:12:29 EST


This patch series addresses the conversion of the RTC binding for
Atmel/Microchip SoCs to Device Tree Schema format. It also changes
the node names from some of the "dtsi" files from "rtt" to the more
generic "rtc", while moving some of the specific properties from the
"dts" files to the "dtsi" files as well as adding this required property to
the "dtsi" files that were missing it.

Changes since v1:
- Add the "start-year" property as suggested by Alexandre Belloni
- Fix the errors generated from not using the more generic "rtc" node
name for the example of the binding, as suggested by Krzysztof Kozlowski
- Replace the "uint32-array" type of the "atmel,rtt-rtc-time-reg"
property with "syscon", as suggested by Krzysztof Kozlowski
- Move the "atmel,rtt-rtc-time-reg" property from some of the
Atmel/Microchip board files to the SoC files
- Add the "atmel,rtt-rtc-time-reg" required property to the
Atmel/Microchip SoC files that were missing it
- Use the more generic "rtc" node name inside the Atmel/Microchip SoC
files that were using "rtt" instead
- Add SAMA7G5 compatible strings list to the DT binding


Sergiu Moga (5):
ARM: dts: at91: Move rtt node properties from "dts" file to "dtsi"
file
ARM: dts: at91: Add the required `atmel,rtt-rtc-time-reg` property
ARM: dts: at91: Use the generic "rtc" node name for the rtt IPs
dt-bindings: rtc: convert at91sam9 bindings to json-schema
dt-bindings: rtc: at91: Add SAMA7G5 compatible strings list

.../bindings/rtc/atmel,at91sam9-rtc.txt | 25 -------
.../bindings/rtc/atmel,at91sam9-rtc.yaml | 65 +++++++++++++++++++
arch/arm/boot/dts/at91-sam9x60ek.dts | 5 --
arch/arm/boot/dts/at91-sama7g5ek.dts | 4 --
arch/arm/boot/dts/at91sam9260.dtsi | 1 +
arch/arm/boot/dts/at91sam9260ek.dts | 1 -
arch/arm/boot/dts/at91sam9261.dtsi | 1 +
arch/arm/boot/dts/at91sam9263.dtsi | 2 +
arch/arm/boot/dts/at91sam9g45.dtsi | 1 +
arch/arm/boot/dts/at91sam9m10g45ek.dts | 1 -
arch/arm/boot/dts/at91sam9rl.dtsi | 1 +
arch/arm/boot/dts/sam9x60.dtsi | 3 +-
arch/arm/boot/dts/sama7g5.dtsi | 3 +-
13 files changed, 75 insertions(+), 38 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.txt
create mode 100644 Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.yaml

--
2.25.1