drivers: pwm: split up driver for MAX31790 into a MFD
Split up the driver for the PWM controller MAX31790 into a multi function device driver. Signed-off-by: Benedikt Schmidt <benedikt.schmidt@embedded-solutions.at>
This commit is contained in:
parent
68eb97ea05
commit
961c985ee4
11 changed files with 254 additions and 176 deletions
14
dts/bindings/mfd/maxim,max31790.yaml
Normal file
14
dts/bindings/mfd/maxim,max31790.yaml
Normal file
|
@ -0,0 +1,14 @@
|
|||
# Copyright (c) 2024 SILA Embedded Solutions GmbH
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: Maxim MAX31790 6-channel I2C-bus PWM controller, MFD device
|
||||
|
||||
compatible: "maxim,max31790"
|
||||
|
||||
include: i2c-device.yaml
|
||||
|
||||
bus: max31790
|
||||
|
||||
properties:
|
||||
reg:
|
||||
required: true
|
|
@ -3,14 +3,13 @@
|
|||
|
||||
description: Maxim MAX31790 6-channel I2C-bus PWM controller
|
||||
|
||||
compatible: "maxim,max31790"
|
||||
compatible: "maxim,max31790-pwm"
|
||||
|
||||
include: [pwm-controller.yaml, i2c-device.yaml, base.yaml]
|
||||
include: [pwm-controller.yaml, base.yaml]
|
||||
|
||||
on-bus: max31790
|
||||
|
||||
properties:
|
||||
reg:
|
||||
required: true
|
||||
|
||||
"#pwm-cells":
|
||||
const: 2
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue