drivers: sensor: add diagnostics sensor for BD8LB600FS

Implement a sensor for the output diagnostics of the low side
switch BD8LB600FS.

Signed-off-by: Benedikt Schmidt <benedikt.schmidt@embedded-solutions.at>
This commit is contained in:
Benedikt Schmidt 2023-12-27 20:44:33 +01:00 committed by Alberto Escolar
commit 4e4049d939
8 changed files with 160 additions and 0 deletions

View file

@ -0,0 +1,17 @@
# Copyright (c) 2024 SILA Embedded Solutions GmbH
# SPDX-License-Identifier: Apache-2.0
description: |
Open load detection, over current protection and thermal shutdown
sensor of the low side switch BD8LB600FS
compatible: "rohm,bd8lb600fs-diagnostics"
include: sensor-device.yaml
on-bus: bd8lb600fs
properties:
"#sensor-cells":
type: int
const: 0