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 ADS1100 and ADS1000

The ADS1100 is a 16-bit ADC (at 8 samples per second).
The ADS1000 is similar, but has a fixed data rate.

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230307065535.7927-1-mike.looijmans@topic.nl
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Mike Looijmans and committed by
Jonathan Cameron
f8c64b14 666cac91

+46
+46
Documentation/devicetree/bindings/iio/adc/ti,ads1100.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,ads1100.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: TI ADS1100/ADS1000 single channel I2C analog to digital converter 8 + 9 + maintainers: 10 + - Mike Looijmans <mike.looijmans@topic.nl> 11 + 12 + description: | 13 + Datasheet at: https://www.ti.com/lit/gpn/ads1100 14 + 15 + properties: 16 + compatible: 17 + enum: 18 + - ti,ads1100 19 + - ti,ads1000 20 + 21 + reg: 22 + maxItems: 1 23 + 24 + vdd-supply: true 25 + 26 + "#io-channel-cells": 27 + const: 0 28 + 29 + required: 30 + - compatible 31 + - reg 32 + 33 + additionalProperties: false 34 + 35 + examples: 36 + - | 37 + i2c { 38 + #address-cells = <1>; 39 + #size-cells = <0>; 40 + 41 + adc@49 { 42 + compatible = "ti,ads1100"; 43 + reg = <0x49>; 44 + }; 45 + }; 46 + ...