Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: rtc: Add Nuvoton ma35d1 rtc

Add documentation describing the Nuvoton ma35d1 rtc controller.

Signed-off-by: Jacky Huang <ychuang3@nuvoton.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230925070251.28-2-ychuang570808@gmail.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

authored by

Jacky Huang and committed by
Alexandre Belloni
3767bba6 cef9ecc8

+48
+48
Documentation/devicetree/bindings/rtc/nuvoton,ma35d1-rtc.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/rtc/nuvoton,ma35d1-rtc.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Nuvoton MA35D1 Real Time Clock 8 + 9 + maintainers: 10 + - Min-Jen Chen <mjchen@nuvoton.com> 11 + 12 + allOf: 13 + - $ref: rtc.yaml# 14 + 15 + properties: 16 + compatible: 17 + enum: 18 + - nuvoton,ma35d1-rtc 19 + 20 + reg: 21 + maxItems: 1 22 + 23 + interrupts: 24 + maxItems: 1 25 + 26 + clocks: 27 + maxItems: 1 28 + 29 + required: 30 + - compatible 31 + - reg 32 + - interrupts 33 + - clocks 34 + 35 + unevaluatedProperties: false 36 + 37 + examples: 38 + - | 39 + #include <dt-bindings/interrupt-controller/arm-gic.h> 40 + #include <dt-bindings/clock/nuvoton,ma35d1-clk.h> 41 + rtc@40410000 { 42 + compatible = "nuvoton,ma35d1-rtc"; 43 + reg = <0x40410000 0x200>; 44 + interrupts = <GIC_SPI 5 IRQ_TYPE_EDGE_RISING>; 45 + clocks = <&clk RTC_GATE>; 46 + }; 47 + 48 + ...