mirror of
https://github.com/torvalds/linux.git
synced 2026-05-01 21:12:29 -04:00
Generally at most 1 blank line is the standard style for DT schema files. Remove the few cases with more than 1 so that the yamllint check for this can be enabled. Acked-by: Lee Jones <lee@kernel.org> Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org> # remoteproc Acked-by: Georgi Djakov <djakov@kernel.org> Acked-by: Vinod Koul <vkoul@kernel.org> Acked-by: Andi Shyti <andi.shyti@kernel.org> Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Acked-by: Jonathan Cameron <jonathan.cameron@huawei.com> Acked-by: Philipp Zabel <p.zabel@pengutronix.de> Acked-by: Uwe Kleine-König <ukleinek@kernel.org> # for allwinner,sun4i-a10-pwm.yaml Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com> # mtd Acked-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Mark Brown <broonie@kernel.org> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com> Acked-by: Manivannan Sadhasivam <mani@kernel.org> # For PCI controller bindings Link: https://patch.msgid.link/20251023143957.2899600-1-robh@kernel.org Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
59 lines
1.0 KiB
YAML
59 lines
1.0 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/iio/adc/cosmic,10001-adc.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Cosmic Circuits CC-10001 ADC
|
|
|
|
maintainers:
|
|
- Jonathan Cameron <jic23@kernel.org>
|
|
|
|
description:
|
|
Cosmic Circuits 10001 10-bit ADC device.
|
|
|
|
properties:
|
|
compatible:
|
|
const: cosmic,10001-adc
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
adc-reserved-channels:
|
|
$ref: /schemas/types.yaml#/definitions/uint32
|
|
description:
|
|
Bitmask of reserved channels, i.e. channels that cannot be
|
|
used by the OS.
|
|
|
|
clocks:
|
|
maxItems: 1
|
|
|
|
clock-names:
|
|
const: adc
|
|
|
|
vref-supply: true
|
|
|
|
"#io-channel-cells":
|
|
const: 1
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- clocks
|
|
- clock-names
|
|
- vref-supply
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
adc@18101600 {
|
|
compatible = "cosmic,10001-adc";
|
|
reg = <0x18101600 0x24>;
|
|
adc-reserved-channels = <0x2>;
|
|
clocks = <&adc_clk>;
|
|
clock-names = "adc";
|
|
vref-supply = <®_1v8>;
|
|
};
|
|
...
|