From nobody Tue Dec 2 02:04:28 2025 Received: from TWMBX01.aspeed.com (mail.aspeedtech.com [211.20.114.72]) (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 5CC7432FA0B; Thu, 20 Nov 2025 11:12:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=211.20.114.72 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763637161; cv=none; b=N5Gy0rGE1Yo5DZOEr/ArA5XKkMBa/rDSEzivk0xPpNFa1vOxJYajTNetZU4kCQuQQ5MN/sBs5USaNonbJ5JugiU13SWjNB1MBldtmDSKQcHSdinbp3uRYJXVL0rnbzUwBW+mkBQhUKhZLm5rcwGOeFOoR60hs72ma6RAZFyTsxg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763637161; c=relaxed/simple; bh=jrpiq8xW/VHPB3RrV1Az+oFlae8Vnr8Mhyy66AqgzTc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=eANhk7WQblApujqXvderHLwx+/Jg3KWReuCJlqLyzH48hQ1TUqkErPLgZXKQmG/7+WVY+2HrK0Nai1cp4GUaBiSRVIGTjdYy6ESnpdFtvm+p/r6FZ8N1wQ6YzTkHDPhznxbCRSCfiGwNx+QhfQph/TKBqzNrvZpx7yUMZ+FvvVc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=aspeedtech.com; spf=pass smtp.mailfrom=aspeedtech.com; arc=none smtp.client-ip=211.20.114.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=aspeedtech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=aspeedtech.com Received: from TWMBX01.aspeed.com (192.168.0.62) by TWMBX01.aspeed.com (192.168.0.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1748.10; Thu, 20 Nov 2025 19:12:34 +0800 Received: from [127.0.1.1] (192.168.10.13) by TWMBX01.aspeed.com (192.168.0.62) with Microsoft SMTP Server id 15.2.1748.10 via Frontend Transport; Thu, 20 Nov 2025 19:12:34 +0800 From: Billy Tsai Date: Thu, 20 Nov 2025 19:12:31 +0800 Subject: [PATCH v3 1/2] dt-bindings: hwmon: Add AST2700 compatible Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-ID: <20251120-upstream_pwm_tach-v3-1-eaa2f9b300a2@aspeedtech.com> References: <20251120-upstream_pwm_tach-v3-0-eaa2f9b300a2@aspeedtech.com> In-Reply-To: <20251120-upstream_pwm_tach-v3-0-eaa2f9b300a2@aspeedtech.com> To: Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , Billy Tsai CC: , , , , , X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1763637154; l=1136; i=billy_tsai@aspeedtech.com; s=20251118; h=from:subject:message-id; bh=jrpiq8xW/VHPB3RrV1Az+oFlae8Vnr8Mhyy66AqgzTc=; b=M6A3kKIiiCGLB1Q6l96/zkUfNG6Ml7CYM8l6u6kb7CTnAN8GwRcGj+Bj6X8OtBaE20UAsPs6O 0lp+U3FB+LnBJBr+OGdp6nEuHnGVMLJzLrpZ2F8y3fqrLkU3wJr2gzn X-Developer-Key: i=billy_tsai@aspeedtech.com; a=ed25519; pk=/A8qvgZ6CPfnwKgT6/+k+nvXOkN477MshEGJvVdzeeQ= Adds support for the AST2700 PWM/Tach controller by extending the compatible string enumeration in the device tree binding. The AST2700 PWM/Tach hardware is compatible with the existing binding schema and requires no additional properties or modifications beyond the new compatible string. Signed-off-by: Billy Tsai Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/hwmon/aspeed,g6-pwm-tach.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/hwmon/aspeed,g6-pwm-tach.yam= l b/Documentation/devicetree/bindings/hwmon/aspeed,g6-pwm-tach.yaml index 9e5ed901ae54..851fb16ec7fa 100644 --- a/Documentation/devicetree/bindings/hwmon/aspeed,g6-pwm-tach.yaml +++ b/Documentation/devicetree/bindings/hwmon/aspeed,g6-pwm-tach.yaml @@ -18,8 +18,11 @@ description: | =20 properties: compatible: - enum: - - aspeed,ast2600-pwm-tach + oneOf: + - items: + - const: aspeed,ast2700-pwm-tach + - const: aspeed,ast2600-pwm-tach + - const: aspeed,ast2600-pwm-tach =20 reg: maxItems: 1 --=20 2.34.1 From nobody Tue Dec 2 02:04:28 2025 Received: from TWMBX01.aspeed.com (mail.aspeedtech.com [211.20.114.72]) (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 AD5D433032A; Thu, 20 Nov 2025 11:12:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=211.20.114.72 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763637163; cv=none; b=l4+RxfnsgqCFGjziCxH6yIkVmrolOkCy5fuazvwDbd1zjmeELlljFkI/rHiv7x31/c9CTiPWvqgkf/5/opfkAHX2PZw0bOrjEjeZybcxyDeS/iKm9noG2XurrM0Tb+YQsQMC3BigTDptv6LEmpv4XYs4XKKRNiYOWnTf4Qfkrxk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763637163; c=relaxed/simple; bh=ej2x2zXWoa7QtHmm0Xcp6bZn7Ld93lchW1+uF4w0usU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=ewrP9VI79lN1vmAka8KClNQdpLiP9RQrX478OT3aTeAjr5AivBj1HIY3iVUIVyoDnUx+lHpE1dVDp90A2reG+AecScUM0i8+FvZ06OcZzE7o640mzWP8FVwK2lYumKmpJgeWlnbqP53jAnSIonHBbignhdk/cnCi1lZfe5ajNto= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=aspeedtech.com; spf=pass smtp.mailfrom=aspeedtech.com; arc=none smtp.client-ip=211.20.114.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=aspeedtech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=aspeedtech.com Received: from TWMBX01.aspeed.com (192.168.0.62) by TWMBX01.aspeed.com (192.168.0.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1748.10; Thu, 20 Nov 2025 19:12:34 +0800 Received: from [127.0.1.1] (192.168.10.13) by TWMBX01.aspeed.com (192.168.0.62) with Microsoft SMTP Server id 15.2.1748.10 via Frontend Transport; Thu, 20 Nov 2025 19:12:34 +0800 From: Billy Tsai Date: Thu, 20 Nov 2025 19:12:32 +0800 Subject: [PATCH v3 2/2] hwmon: (aspeed-g6-pwm-tach): Add AST2700 compatible string Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-ID: <20251120-upstream_pwm_tach-v3-2-eaa2f9b300a2@aspeedtech.com> References: <20251120-upstream_pwm_tach-v3-0-eaa2f9b300a2@aspeedtech.com> In-Reply-To: <20251120-upstream_pwm_tach-v3-0-eaa2f9b300a2@aspeedtech.com> To: Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery , Billy Tsai CC: , , , , , X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1763637154; l=856; i=billy_tsai@aspeedtech.com; s=20251118; h=from:subject:message-id; bh=ej2x2zXWoa7QtHmm0Xcp6bZn7Ld93lchW1+uF4w0usU=; b=9D8NhxSOyyG7fLbywKVqdjG1j+SQgH267L/XyiiX3zrdd3nPdvt9S2B2UD+K/F7tfAiJFl7mu eQwMsMn8g+nDR0affVT6WVYSAiPG6plYrtnArbJqsrQPPzpQqSl5SXV X-Developer-Key: i=billy_tsai@aspeedtech.com; a=ed25519; pk=/A8qvgZ6CPfnwKgT6/+k+nvXOkN477MshEGJvVdzeeQ= Extends device tree support to include the AST2700 chip variant by adding its compatible string to the device match table. The AST2700 PWM/TACH hardware is compatible with the existing driver implementation used for AST2600. Signed-off-by: Billy Tsai --- drivers/hwmon/aspeed-g6-pwm-tach.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/hwmon/aspeed-g6-pwm-tach.c b/drivers/hwmon/aspeed-g6-p= wm-tach.c index 4174b129d1fc..44e1ecba205d 100644 --- a/drivers/hwmon/aspeed-g6-pwm-tach.c +++ b/drivers/hwmon/aspeed-g6-pwm-tach.c @@ -528,6 +528,9 @@ static const struct of_device_id aspeed_pwm_tach_match[= ] =3D { { .compatible =3D "aspeed,ast2600-pwm-tach", }, + { + .compatible =3D "aspeed,ast2700-pwm-tach", + }, {}, }; MODULE_DEVICE_TABLE(of, aspeed_pwm_tach_match); --=20 2.34.1