drivers: tla2021: Add driver

This adds a driver for Texas Instruments Cost-Optimized, Ultra-Small,
12-Bit, System-Monitoring ADCs. Currently only TLA2021 is supported,
TLA2022 and TLA2024 may follow based on this driver.

Signed-off-by: Caspar Friedrich <c.s.w.friedrich@gmail.com>
This commit is contained in:
Caspar Friedrich 2023-05-10 23:17:57 +02:00 committed by Carles Cufí
commit 9291c9f7d6
5 changed files with 370 additions and 0 deletions

View file

@ -0,0 +1,15 @@
# Copyright (c) 2023 Caspar Friedrich <c.s.w.friedrich@gmail.com>
# SPDX-License-Identifier: Apache-2.0
description: Texas Instruments TLA2021 Low-Power ADC
compatible: "ti,tla2021"
include: [i2c-device.yaml, adc-controller.yaml]
properties:
"#io-channel-cells":
const: 1
io-channel-cells:
- input