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:
parent
66018d5f0a
commit
9291c9f7d6
5 changed files with 370 additions and 0 deletions
15
dts/bindings/adc/ti,tla2021.yaml
Normal file
15
dts/bindings/adc/ti,tla2021.yaml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue