From patchwork Thu Oct 24 07:15:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Billy Tsai X-Patchwork-Id: 13848457 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 BF05078C9C; Thu, 24 Oct 2024 07:15:50 +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=1729754153; cv=none; b=aq0HKZrqK9T16C33h/qi/NnzQyeOjpzltXkmZoAyatCu2No+vlvq9917evFbLbyC0+jEYA8xtsC+ruXeG2b+m1z5EY8vDtUD1KdANKXMpRyGa6Jjq8AHqiLZpuuGGa/cMEnYDpuNpbNhvpWPOAVoOi9KCPMuKGCl7K6CXXzBBbI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729754153; c=relaxed/simple; bh=rsbgrNHNb4PGhRjN3KC2IH8pOcG2KkW5OnYWL5YpX9c=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=e8XhmcYu/IEqFN6ZYgYNZccB8YQLVJbLjtN0QU2Atv7gaKUpAewRuajaXAhxtSMLQmsBi7dzPmhgBrGnsWrWEmBSy7uCJN8erIi6SCYYR3O99j/eN68rlo+SZKDy4fAil/9sbgQQ0e+ix4V+msj50vNs6HHzWAss0/MtNKm+6aE= 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.1258.12; Thu, 24 Oct 2024 15:15:48 +0800 Received: from mail.aspeedtech.com (192.168.10.10) by TWMBX01.aspeed.com (192.168.0.62) with Microsoft SMTP Server id 15.2.1258.12 via Frontend Transport; Thu, 24 Oct 2024 15:15:48 +0800 From: Billy Tsai To: , , , , , , , , , , , , , , , Subject: [PATCH v1 0/2] Enable WDT reload feature Date: Thu, 24 Oct 2024 15:15:46 +0800 Message-ID: <20241024071548.3370363-1-billy_tsai@aspeedtech.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-hwmon@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Aspeed PWM controller has the WDT reload feature, which changes the duty cycle to a preprogrammed value after a WDT/EXTRST#. Billy Tsai (2): hwmon: (aspeed-g6-pwm-tacho): Extend the #pwm-cells to 4 hwmon: (aspeed-g6-pwm-tacho): Support the WDT reload .../bindings/hwmon/aspeed,g6-pwm-tach.yaml | 25 +++++++++- drivers/hwmon/aspeed-g6-pwm-tach.c | 49 +++++++++++++++++++ drivers/pwm/core.c | 6 +-- include/linux/pwm.h | 10 ++++ 4 files changed, 86 insertions(+), 4 deletions(-)