Skip to content

Commit

Permalink
dt-bindings: iio: adc: add bindings doc for MT6360 ADC
Browse files Browse the repository at this point in the history
This change adds the binding doc for the MT6360 ADC.

Signed-off-by: Gene Chen <gene_chen@richtek.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/1603181267-15610-2-git-send-email-gene.chen.richtek@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
  • Loading branch information
Gene Chen authored and Jonathan Cameron committed Nov 8, 2020
1 parent 499da8b commit 396cd50
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions Documentation/devicetree/bindings/iio/adc/mediatek,mt6360-adc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/iio/adc/mediatek,mt6360-adc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Mediatek MT6360 and similar ADCs

maintainers:
- Gene Chen <gene_chen@richtek.com>

properties:
compatible:
const: mediatek,mt6360-adc

"#io-channel-cells":
const: 1

required:
- compatible
- "#io-channel-cells"

additionalProperties: false

examples:
- |
adc {
compatible = "mediatek,mt6360-adc";
#io-channel-cells = <1>;
};
...

0 comments on commit 396cd50

Please sign in to comment.