drivers: sensor: implement output diagnostics sensor for TLE9104

Implement a sensor for the output diagnostics of the power train
switch TLE9104.

Signed-off-by: Benedikt Schmidt <benedikt.schmidt@embedded-solutions.at>
This commit is contained in:
Benedikt Schmidt 2024-02-15 11:42:42 +01:00 committed by Carles Cufí
commit 888d071fe7
10 changed files with 216 additions and 0 deletions

View file

@ -0,0 +1,15 @@
# Copyright (c) 2024 SILA Embedded Solutions GmbH
# SPDX-License-Identifier: Apache-2.0
description: Output diagnostics of the powertrain switch TLE9104
compatible: "infineon,tle9104-diagnostics"
include: [sensor-device.yaml]
on-bus: tle9104
properties:
"#sensor-cells":
type: int
const: 0