drivers: sensor: add sensors for MAX31790
Add sensors for fan speed and fan fault for the PWM controller MAX31790. Signed-off-by: Benedikt Schmidt <benedikt.schmidt@embedded-solutions.at>
This commit is contained in:
parent
961c985ee4
commit
04f38ffba2
11 changed files with 342 additions and 0 deletions
10
dts/bindings/sensor/maxim,max31790-fan-fault.yaml
Normal file
10
dts/bindings/sensor/maxim,max31790-fan-fault.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
# Copyright (c) 2024 SILA Embedded Solutions GmbH
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: fan fault measurement of Maxim Integrated MAX31790 PWM Controller
|
||||
|
||||
compatible: "maxim,max31790-fan-fault"
|
||||
|
||||
include: [sensor-device.yaml]
|
||||
|
||||
on-bus: max31790
|
23
dts/bindings/sensor/maxim,max31790-fan-speed.yaml
Normal file
23
dts/bindings/sensor/maxim,max31790-fan-speed.yaml
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Copyright (c) 2024 SILA Embedded Solutions GmbH
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: fan speed measurement of Maxim Integrated MAX31790 PWM Controller
|
||||
|
||||
compatible: "maxim,max31790-fan-speed"
|
||||
|
||||
include: [sensor-device.yaml]
|
||||
|
||||
on-bus: max31790
|
||||
|
||||
properties:
|
||||
channel:
|
||||
type: int
|
||||
enum:
|
||||
- 1
|
||||
- 2
|
||||
- 3
|
||||
- 4
|
||||
- 5
|
||||
- 6
|
||||
required: true
|
||||
description: PWM channel number
|
Loading…
Add table
Add a link
Reference in a new issue