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>
89 lines
1.8 KiB
YAML
89 lines
1.8 KiB
YAML
# SPDX-License-Identifier: GPL-2.0-only
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/timer/snps,dw-apb-timer.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Synopsys DesignWare APB Timer
|
|
|
|
maintainers:
|
|
- Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
|
|
properties:
|
|
compatible:
|
|
oneOf:
|
|
- const: snps,dw-apb-timer
|
|
- enum:
|
|
- snps,dw-apb-timer-sp
|
|
- snps,dw-apb-timer-osc
|
|
deprecated: true
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
minItems: 1
|
|
items:
|
|
- description: Timer ticks reference clock source
|
|
- description: APB interface clock source
|
|
|
|
clock-names:
|
|
minItems: 1
|
|
items:
|
|
- const: timer
|
|
- const: pclk
|
|
|
|
clock-frequency: true
|
|
|
|
clock-freq:
|
|
$ref: "/schemas/types.yaml#/definitions/uint32"
|
|
description: |
|
|
Has the same meaning as the 'clock-frequency' property - timer clock
|
|
frequency in HZ, but is defined only for the backwards compatibility
|
|
with the picoxcell platform.
|
|
|
|
unevaluatedProperties: false
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- interrupts
|
|
|
|
oneOf:
|
|
- required:
|
|
- clocks
|
|
- clock-names
|
|
- required:
|
|
- clock-frequency
|
|
- required:
|
|
- clock-freq
|
|
|
|
examples:
|
|
- |
|
|
timer@ffe00000 {
|
|
compatible = "snps,dw-apb-timer";
|
|
interrupts = <0 170 4>;
|
|
reg = <0xffe00000 0x1000>;
|
|
clocks = <&timer_clk>, <&timer_pclk>;
|
|
clock-names = "timer", "pclk";
|
|
};
|
|
- |
|
|
timer@ffe00000 {
|
|
compatible = "snps,dw-apb-timer";
|
|
interrupts = <0 170 4>;
|
|
reg = <0xffe00000 0x1000>;
|
|
clocks = <&timer_clk>;
|
|
clock-names = "timer";
|
|
};
|
|
- |
|
|
timer@ffe00000 {
|
|
compatible = "snps,dw-apb-timer";
|
|
interrupts = <0 170 4>;
|
|
reg = <0xffe00000 0x1000>;
|
|
clock-frequency = <25000000>;
|
|
};
|
|
...
|