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:
Benedikt Schmidt 2024-02-01 17:26:59 +01:00 committed by David Leach
commit 961c985ee4
11 changed files with 254 additions and 176 deletions

View 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

View file

@ -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