From: Nikita Shubin Date: Tue, 2 May 2023 08:08:24 +0000 (+0300) Subject: fixup! dt-bindings: rtc: add DT bindings for Cirrus EP93xx X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=bbe8c2f734d53bd08ee44700a2328caafdaac63b;p=linux.git fixup! dt-bindings: rtc: add DT bindings for Cirrus EP93xx --- diff --git a/Documentation/devicetree/bindings/rtc/cirrus,ep9301-rtc.yaml b/Documentation/devicetree/bindings/rtc/cirrus,ep9301-rtc.yaml new file mode 100644 index 0000000000000..63572c197e922 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/cirrus,ep9301-rtc.yaml @@ -0,0 +1,40 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/cirrus,ep9301-rtc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cirrus EP93xx Real Time Clock controller + +maintainers: + - Hartley Sweeten + - Alexander Sverdlin + +properties: + compatible: + oneOf: + - const: cirrus,ep9301-rtc + - items: + - enum: + - cirrus,ep9302-rtc + - cirrus,ep9307-rtc + - cirrus,ep9312-rtc + - cirrus,ep9315-rtc + - const: cirrus,ep9301-rtc + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + rtc@80920000 { + compatible = "cirrus,ep9301-rtc"; + reg = <0x80920000 0x100>; + }; + diff --git a/Documentation/devicetree/bindings/rtc/cirrus,ep93xx-rtc.yaml b/Documentation/devicetree/bindings/rtc/cirrus,ep93xx-rtc.yaml deleted file mode 100644 index d4774e984e7be..0000000000000 --- a/Documentation/devicetree/bindings/rtc/cirrus,ep93xx-rtc.yaml +++ /dev/null @@ -1,32 +0,0 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rtc/cirrus,ep93xx-rtc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Cirrus EP93xx Real Time Clock controller - -maintainers: - - Hartley Sweeten - - Alexander Sverdlin - -properties: - compatible: - const: cirrus,ep9301-rtc - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - rtc0: rtc@80920000 { - compatible = "cirrus,ep9301-rtc"; - reg = <0x80920000 0x100>; - }; -