Skip to content

Commit

Permalink
dt-bindings: rtc: Add Mstar SSD202D RTC
Browse files Browse the repository at this point in the history
Add YAML bindings for Mstar SSD202D RTC.

Signed-off-by: Romain Perier <romain.perier@gmail.com>
Link: https://lore.kernel.org/r/20230913151606.69494-3-romain.perier@gmail.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
  • Loading branch information
Romain Perier authored and Alexandre Belloni committed Oct 16, 2023
1 parent ebf6255 commit cfb6762
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/rtc/mstar,ssd202d-rtc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Mstar SSD202D Real Time Clock

maintainers:
- Daniel Palmer <daniel@0x0f.com>
- Romain Perier <romain.perier@gmail.com>

allOf:
- $ref: rtc.yaml#

properties:
compatible:
enum:
- mstar,ssd202d-rtc
reg:
maxItems: 1

required:
- compatible
- reg

unevaluatedProperties: false

examples:
- |
rtc@6800 {
compatible = "mstar,ssd202d-rtc";
reg = <0x6800 0x200>;
};
...

0 comments on commit cfb6762

Please sign in to comment.