mfd: qnap-mcu: Add driver data for TS133 variant

A patch from »qnap-mcu: Add TS133 support« in state Mainline for linux-kernel

From: Heiko Stuebner <heiko@...> Date: Tue, 30 Dec 2025 23:01:07 +0100

Commit-Message

Add the TS133 compatible and affiliated driver data to qnap-mcu. The TS133 is mostly similar to the TS233/TS433, except only having one drive and no USB-LED. The fan pwm-limits from the vendor-configuration also are the same as for the TS233/TS433 variants. Signed-off-by: Heiko Stuebner <heiko@...>

Patch-Comment

drivers/mfd/qnap-mcu.c | 9 +++++++++ 1 file changed, 9 insertions(+)

Statistics

  • 9 lines added
  • 0 lines removed

Changes

---------------------------- drivers/mfd/qnap-mcu.c ----------------------------
index 08e55ff24012..556bc5bb43d9 100644
@@ -444,6 +444,14 @@ static int qnap_mcu_power_off(struct sys_off_data *data)
return NOTIFY_DONE;
}
+static const struct qnap_mcu_variant qnap_ts133_mcu = {
+ .baud_rate = 115200,
+ .num_drives = 1,
+ .fan_pwm_min = 51, /* Specified in original model.conf */
+ .fan_pwm_max = 255,
+ .usb_led = false,
+};
+
static const struct qnap_mcu_variant qnap_ts233_mcu = {
.baud_rate = 115200,
.num_drives = 2,
@@ -529,6 +537,7 @@ static int qnap_mcu_probe(struct serdev_device *serdev)
}
static const struct of_device_id qnap_mcu_dt_ids[] = {
+ { .compatible = "qnap,ts133-mcu", .data = &qnap_ts133_mcu },
{ .compatible = "qnap,ts233-mcu", .data = &qnap_ts233_mcu },
{ .compatible = "qnap,ts433-mcu", .data = &qnap_ts433_mcu },
{ /* sentinel */ }
 
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...