From nobody Sun Feb 8 00:03:48 2026 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 965748F7D; Sun, 4 Jan 2026 17:33:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.11.138.130 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767548002; cv=none; b=Nmiri4HuIizfadVOLME3alJ1h6SgFkVd3UqEtbEZe9a+KdNvEqpHNFSwmTBQDB7PX/Z6XEe6SxRdeuKK5aokltAxtEQkGRlvXxUYo3Fvk+dnBVNm5Dod8fR8/J0gFgbBOoZLQbiKitdz0PnOahURMEARyODH3oki+IdDAP3Y7wE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767548002; c=relaxed/simple; bh=6+aEdJU1NH/ANJOqdFSg8R+PiSzgV2DhFeo0YyL3bqM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=QSkOMJJAo/N9pNoqliWvic0beaSSWB+uforQ+g7x7hBJNOrjmlrSOOOEVy+vJyJ66U/J+7S8/f6/ikHv6wig1UuBRK10UpVuIrW6saOlqsc0qWlDAoo8becxlQQhgfPriv10WcFoRMG+Rz7S6LfoUj78cq/nDJsTE9/U2TueJP8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de; spf=pass smtp.mailfrom=sntech.de; dkim=pass (2048-bit key) header.d=sntech.de header.i=@sntech.de header.b=Sd0A3O0t; arc=none smtp.client-ip=185.11.138.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sntech.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sntech.de header.i=@sntech.de header.b="Sd0A3O0t" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sntech.de; s=gloria202408; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type; bh=0DP+1yGPBBVMcr2TC+yz8B4QYdC8bgtcz7KVzCDiW/s=; b=Sd0A3O0tA9EOYvRSFLfQEavMrY iNGZ2iFX49M2/EG0VfPqkUw6EeXYY3EBwbznR24jZr02DqJNUeh1SguI9kxjvt/heD2aEoyArMTK9 JVE/ntDnUdaVtmtZxxkSI+pdp/0dI9mjgh+RiTRZbpMwlDFZ4m/NRtbTl0/hxXA8RsmlLI4P5CXba Gj5ljq7KgVmC4EGk58Nuq5putjR6JfMjLXsGIJMq/NOcec5n3RzE0wOfQyWLz/09S1vYWL0/+zMCx bnijMH+JMMkHq8T2Iibs6Zip2yJqPx7CM9HAXuv1ZprZx4sJzsn7ox2oG71yMw5jFtFSJDcDIIHW9 IFGtUoNQ==; Received: from i53875ac4.versanet.de ([83.135.90.196] helo=phil..) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1vcRya-00123u-P3; Sun, 04 Jan 2026 18:33:13 +0100 From: Heiko Stuebner To: lee@kernel.org Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, heiko@sntech.de, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] dt-bindings: mfd: qnap,ts433-mcu: Add qnap,ts133-mcu compatible Date: Sun, 4 Jan 2026 18:33:09 +0100 Message-ID: <20260104173310.2685852-2-heiko@sntech.de> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20260104173310.2685852-1-heiko@sntech.de> References: <20260104173310.2685852-1-heiko@sntech.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The same MCU is used on a number of devices, each with a slightly different set of features, like the number of LEDs. Add a compatible for the MCU used in the TS133 variant. This is the 1-disk consumer variant of the RK356x-based family. Signed-off-by: Heiko Stuebner Acked-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/mfd/qnap,ts433-mcu.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mfd/qnap,ts433-mcu.yaml b/Do= cumentation/devicetree/bindings/mfd/qnap,ts433-mcu.yaml index 5454d9403cad..12e738b1270a 100644 --- a/Documentation/devicetree/bindings/mfd/qnap,ts433-mcu.yaml +++ b/Documentation/devicetree/bindings/mfd/qnap,ts433-mcu.yaml @@ -16,6 +16,7 @@ description: properties: compatible: enum: + - qnap,ts133-mcu - qnap,ts233-mcu - qnap,ts433-mcu =20 --=20 2.47.2 From nobody Sun Feb 8 00:03:48 2026 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 74AFD15853B; Sun, 4 Jan 2026 17:33:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.11.138.130 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767548003; cv=none; b=sQMdNTcHb5OdtAggIXc4jLsICt6SriZNBqI6MFqhLMHqdvqH33x2aCT92vWW+CqMzut9mONjMCNQxm16ZhNY8VXpP2hIx936FZg6cdgDbOpUzgayJ3vuVqYjEu379atWjfgaYjcDA8mOJNcm8qTYOa5fYs4TVOCGhiforcEo/Wk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767548003; c=relaxed/simple; bh=0zwJ8VQ8Azs9CIEQPiuf26DId0EcKiUl9ywyQK4Lon0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=mXDhtoRqtjEuThKOEVcypWHAkKOcf53+wYXmELUl7zbgKVdBDhT2ZKNh8HWDJSUOVrBwAHExiLrdPWF1usSZnbqptsiNUeoFhtdqYjXN/flRw4nUqYhgv3HPJhy6dXuP813ZIAqWYKcDxBk2Z2wrz1CWx4ovrQf7pS2ljQZaR+0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de; spf=pass smtp.mailfrom=sntech.de; dkim=pass (2048-bit key) header.d=sntech.de header.i=@sntech.de header.b=tuDeHt7n; arc=none smtp.client-ip=185.11.138.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sntech.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sntech.de header.i=@sntech.de header.b="tuDeHt7n" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sntech.de; s=gloria202408; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type; bh=9pONht70LoYnpO26WvNMohRzTdq6TfBZRpdKHzi+NGo=; b=tuDeHt7noGcZOaycXvLYb+0HjG d3Z36yCLMFwvOkEs/n9JGpqf1R4BtrKMrjKX/9PU4EJIDOKcEENy5HZXQeDgtaj5pCEcbfOv7tmX0 LoDAi1INh5JkKe0gVCmKrKducp+sCuV44OD7CdlsZkjcV3nuofXcz8NmVccnUs5OALNznVAUZleUD lHDGwC/sIRSDaP4NoRYOUa5dW9BPoX6a8VpPEiMI4/mE6yIybEhQVdGNaFp/T8WYpLGNGqkAkWZsG okRoqhI/8QHnAacCFT/O9NnRqcX1StQfSMUyexK/rf/ovSxi11n660tGMzbgTqHWgUUIhSB58ufzG a6Wt8cAw==; Received: from i53875ac4.versanet.de ([83.135.90.196] helo=phil..) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1vcRyb-00123u-3b; Sun, 04 Jan 2026 18:33:13 +0100 From: Heiko Stuebner To: lee@kernel.org Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, heiko@sntech.de, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] mfd: qnap-mcu: Add driver data for TS133 variant Date: Sun, 4 Jan 2026 18:33:10 +0100 Message-ID: <20260104173310.2685852-3-heiko@sntech.de> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20260104173310.2685852-1-heiko@sntech.de> References: <20260104173310.2685852-1-heiko@sntech.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 --- drivers/mfd/qnap-mcu.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/mfd/qnap-mcu.c b/drivers/mfd/qnap-mcu.c index 08e55ff24012..556bc5bb43d9 100644 --- a/drivers/mfd/qnap-mcu.c +++ b/drivers/mfd/qnap-mcu.c @@ -444,6 +444,14 @@ static int qnap_mcu_power_off(struct sys_off_data *dat= a) return NOTIFY_DONE; } =20 +static const struct qnap_mcu_variant qnap_ts133_mcu =3D { + .baud_rate =3D 115200, + .num_drives =3D 1, + .fan_pwm_min =3D 51, /* Specified in original model.conf */ + .fan_pwm_max =3D 255, + .usb_led =3D false, +}; + static const struct qnap_mcu_variant qnap_ts233_mcu =3D { .baud_rate =3D 115200, .num_drives =3D 2, @@ -529,6 +537,7 @@ static int qnap_mcu_probe(struct serdev_device *serdev) } =20 static const struct of_device_id qnap_mcu_dt_ids[] =3D { + { .compatible =3D "qnap,ts133-mcu", .data =3D &qnap_ts133_mcu }, { .compatible =3D "qnap,ts233-mcu", .data =3D &qnap_ts233_mcu }, { .compatible =3D "qnap,ts433-mcu", .data =3D &qnap_ts433_mcu }, { /* sentinel */ } --=20 2.47.2