Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: iio: adc: Add TI TWL603X GPADC

Document TI TWL603X GPADC devicetree bindings.
A driver is already there, the compatibles are used, but not documented.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230820123229.530371-1-andreas@kemnade.info
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Andreas Kemnade and committed by
Jonathan Cameron
da2737c9 732ad342

+43
+43
Documentation/devicetree/bindings/iio/adc/ti,twl6030-gpadc.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/iio/adc/ti,twl6030-gpadc.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: GPADC subsystem in the TWL6030 power module 8 + 9 + maintainers: 10 + - Andreas Kemnade <andreas@kemnade.info> 11 + 12 + description: 13 + The GPADC subsystem in the TWL603X consists of a 10-bit ADC 14 + combined with a 15-input analog multiplexer in the TWL6030 resp. a 15 + 19-input analog muliplexer in the TWL6032. 16 + 17 + properties: 18 + compatible: 19 + enum: 20 + - ti,twl6030-gpadc 21 + - ti,twl6032-gpadc 22 + 23 + interrupts: 24 + maxItems: 1 25 + 26 + "#io-channel-cells": 27 + const: 1 28 + 29 + required: 30 + - compatible 31 + - interrupts 32 + - "#io-channel-cells" 33 + 34 + additionalProperties: false 35 + 36 + examples: 37 + - | 38 + gpadc { 39 + compatible = "ti,twl6030-gpadc"; 40 + interrupts = <3>; 41 + #io-channel-cells = <1>; 42 + }; 43 + ...