f516fb704d
Clean-up incorrect indentation, extra spaces, long lines, and missing EOF newline in schema files. Most of the clean-ups are for list indentation which should always be 2 spaces more than the preceding keyword. Found with yamllint (which I plan to integrate into the checks). Cc: linux-arm-kernel@lists.infradead.org Cc: linux-clk@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: linux-spi@vger.kernel.org Cc: linux-gpio@vger.kernel.org Cc: linux-remoteproc@vger.kernel.org Cc: linux-hwmon@vger.kernel.org Cc: linux-i2c@vger.kernel.org Cc: linux-fbdev@vger.kernel.org Cc: linux-iio@vger.kernel.org Cc: linux-input@vger.kernel.org Cc: linux-pm@vger.kernel.org Cc: linux-media@vger.kernel.org Cc: alsa-devel@alsa-project.org Cc: linux-mmc@vger.kernel.org Cc: linux-mtd@lists.infradead.org Cc: netdev@vger.kernel.org Cc: linux-rtc@vger.kernel.org Cc: linux-serial@vger.kernel.org Cc: linux-usb@vger.kernel.org Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Rob Herring <robh@kernel.org>
84 lines
1.6 KiB
YAML
84 lines
1.6 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/rtc/ingenic,rtc.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Ingenic SoCs Real-Time Clock DT bindings
|
|
|
|
maintainers:
|
|
- Paul Cercueil <paul@crapouillou.net>
|
|
|
|
allOf:
|
|
- $ref: rtc.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
oneOf:
|
|
- enum:
|
|
- ingenic,jz4740-rtc
|
|
- ingenic,jz4760-rtc
|
|
- items:
|
|
- const: ingenic,jz4725b-rtc
|
|
- const: ingenic,jz4740-rtc
|
|
- items:
|
|
- enum:
|
|
- ingenic,jz4770-rtc
|
|
- ingenic,jz4780-rtc
|
|
- const: ingenic,jz4760-rtc
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
maxItems: 1
|
|
|
|
clock-names:
|
|
const: rtc
|
|
|
|
system-power-controller:
|
|
description: |
|
|
Indicates that the RTC is responsible for powering OFF
|
|
the system.
|
|
type: boolean
|
|
|
|
ingenic,reset-pin-assert-time-ms:
|
|
minimum: 0
|
|
maximum: 125
|
|
default: 60
|
|
description: |
|
|
Reset pin low-level assertion time after wakeup
|
|
(assuming RTC clock at 32 kHz)
|
|
|
|
ingenic,min-wakeup-pin-assert-time-ms:
|
|
minimum: 0
|
|
maximum: 2000
|
|
default: 100
|
|
description: |
|
|
Minimum wakeup pin assertion time
|
|
(assuming RTC clock at 32 kHz)
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- interrupts
|
|
- clocks
|
|
- clock-names
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/clock/jz4740-cgu.h>
|
|
rtc_dev: rtc@10003000 {
|
|
compatible = "ingenic,jz4740-rtc";
|
|
reg = <0x10003000 0x40>;
|
|
|
|
interrupt-parent = <&intc>;
|
|
interrupts = <15>;
|
|
|
|
clocks = <&cgu JZ4740_CLK_RTC>;
|
|
clock-names = "rtc";
|
|
};
|