dt-bindings: rtc: Split loongson,ls2x-rtc into SoC-based compatibles
authorBinbin Zhou <zhoubinbin@loongson.cn>
Fri, 2 Jun 2023 09:50:20 +0000 (17:50 +0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 25 Jun 2023 23:19:03 +0000 (01:19 +0200)
commit487ef32caebe010f0ff0f17267230ebaf2177e67
treedb47cf183304dc16139cfe16df1bb25bcc2171ff
parent7e2a60efab8ad901c4743137857c1c5e18e27ed8
dt-bindings: rtc: Split loongson,ls2x-rtc into SoC-based compatibles

Move Loongson RTC bindings from trivial-rtc.yaml into loongson,rtc.yaml.

The architectures associated with this driver use the built-in DTB, so
we can just drop the compatible(rtc-ls2x) with wildcards.
Also, soc-based compatible is more accurate for hardware differences
between chips.

Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/1b0bb443bd74647c17b7902f3d719700f81a1dba.1685693501.git.zhoubinbin@loongson.cn
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Documentation/devicetree/bindings/rtc/loongson,rtc.yaml [new file with mode: 0644]
Documentation/devicetree/bindings/rtc/trivial-rtc.yaml