-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dt-bindings:iio:adc:ti,twl4030-madc yaml conversion
Conversion from txt to yaml as part of a general move of IIO bindings to the new format. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Rob Herring <robh@kernel.org> Acked-by: Sebastian Reichel <sre@kernel.org> Link: https://lore.kernel.org/r/20200909175946.395313-3-jic23@kernel.org
- Loading branch information
Jonathan Cameron
authored and
Jonathan Cameron
committed
Sep 21, 2020
1 parent
22daffe
commit 128aba0
Showing
2 changed files
with
48 additions
and
24 deletions.
There are no files selected for viewing
48 changes: 48 additions & 0 deletions
48
Documentation/devicetree/bindings/iio/adc/ti,twl4030-madc.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/iio/adc/ti,twl4030-madc.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: MADC subsystem in the TWL4030 power module | ||
|
||
maintainers: | ||
- Sebastian Reichel <sre@kernel.org> | ||
|
||
description: | ||
The MADC subsystem in the TWL4030 consists of a 10-bit ADC | ||
combined with a 16-input analog multiplexer. | ||
|
||
properties: | ||
compatible: | ||
const: ti,twl4030-madc | ||
|
||
interrupts: | ||
maxItems: 1 | ||
|
||
ti,system-uses-second-madc-irq: | ||
type: boolean | ||
description: | ||
Set if the second madc irq register should be used, which is intended | ||
to be used by Co-Processors (e.g. a modem). | ||
|
||
"#io-channel-cells": | ||
const: 1 | ||
|
||
required: | ||
- compatible | ||
- interrupts | ||
- "#io-channel-cells" | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
twl { | ||
madc { | ||
compatible = "ti,twl4030-madc"; | ||
interrupts = <3>; | ||
#io-channel-cells = <1>; | ||
}; | ||
}; | ||
... |
24 changes: 0 additions & 24 deletions
24
Documentation/devicetree/bindings/iio/adc/twl4030-madc.txt
This file was deleted.
Oops, something went wrong.