Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp645805lqo; Wed, 8 May 2024 10:17:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUOzwp6EtKnjnm3LVT34ycLqPBuOeons9AURZ6SkpSc4vzsvi+/CGhzA23vyq76MkCUCvynFn2gGcN8FBsXH7XoZxX4YmXysRbp7tdoEw== X-Google-Smtp-Source: AGHT+IEUztVdL4QL/udAMat8DNJ7yFB+qldqB8KB0I6An4zEoJNl23vYDBslwUZLUm4VTon0/2L8 X-Received: by 2002:a17:902:d183:b0:1eb:144f:63b7 with SMTP id d9443c01a7336-1eeb078e5bbmr23492535ad.56.1715188624839; Wed, 08 May 2024 10:17:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715188624; cv=pass; d=google.com; s=arc-20160816; b=zjk39FIDs41SxXLM4BBdsAWioOrGXMgx57s/Fpx0ClgoSlqnLEv0vALaByMFx8q0yl Lt/FbKZiSPcwXp96foIAXh2R116qj7s1KBqM4J4tdwtXxnOqF66Ky9EqQvgrk+JxXTOa 4v+xDFZHNR9JjTzY54AO2vQnVWfqLGMQ4bgeN8o+wGUi2Mcf4z9be7d7wwL7ml9tirzn STrMYyTSM+zwluZasGEEEdgZ0nXQVRQ72xGBDaSdPBqleFEKkLW78rNrZmgt0prhPlXU D2PwVIE+jBUMUAvDwhfyeew2QUzHdd9Y8VhZrTix/+gEvacJDlqdcRcW5mkhWPkIjHI7 QWrQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=K6i1inkk1HdZG0RAxFC807dO0ylhV1wxNEJo/OBI1xs=; fh=q28TbP8gJzJf3EsQFaX94gbEqOileTJ6fAnSUxI2c2E=; b=ra/hoaL1wkEJveGexHh/sS3wJd0V7t9H7rg4cayo9gMYrKPwQDUl2ejHa5HggXXzzo gvpcwssZxsYVLKRNt8LVIrJmZLiVsjg018CSwfz8EVsoLFnMDMJwNzVQbiXhuzW35YFW 0ncNZ2LWt2o9N3VUjjSnVpkC3OUVpsXTIqw82R+3dIJeky+LP89OGQYT3eYKWnve2U6o TSQ+7+PsS+k+3jX8l1Ys3f/2h8pyqT6l0HBlwl/w/A3T5E6Emlvq6L1XXD/Dso5SDeM4 bTkVTBv2o/ZkWeMsmwE9SpvKii50wVisZU+scP7P3gsjXwAnRjcF8BuvUK/0Ftae5FCv 5BNw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@alliedtelesis.co.nz header.s=mail181024 header.b=Qwf9Djb2; arc=pass (i=1 spf=pass spfdomain=alliedtelesis.co.nz dkim=pass dkdomain=alliedtelesis.co.nz dmarc=pass fromdomain=alliedtelesis.co.nz); spf=pass (google.com: domain of linux-kernel+bounces-173605-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173605-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=alliedtelesis.co.nz Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id z9-20020a170902d54900b001e78de621a4si10496428plf.384.2024.05.08.10.17.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 10:17:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-173605-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@alliedtelesis.co.nz header.s=mail181024 header.b=Qwf9Djb2; arc=pass (i=1 spf=pass spfdomain=alliedtelesis.co.nz dkim=pass dkdomain=alliedtelesis.co.nz dmarc=pass fromdomain=alliedtelesis.co.nz); spf=pass (google.com: domain of linux-kernel+bounces-173605-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173605-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=alliedtelesis.co.nz Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id BD083B2465D for ; Wed, 8 May 2024 17:14:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 002A912B153; Wed, 8 May 2024 17:14:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=alliedtelesis.co.nz header.i=@alliedtelesis.co.nz header.b="Qwf9Djb2" Received: from gate2.alliedtelesis.co.nz (gate2.alliedtelesis.co.nz [202.36.163.20]) (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 6D7D2128818 for ; Wed, 8 May 2024 17:14:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.36.163.20 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715188456; cv=none; b=czPBQJrYq9061QdI9Udx7cItY1i32kkvHwOiRQAcid440pg1l5B9QuIHCSMv22dLh7XHplBZPPESW524nqg1LsVcBWi1x9SdZdYaa9XxO4dK7MwMeKqw+nwnY0YGxNxWrlbJwcwZUyK2UEPzBsP7EZnHFH+OQtzob0IfYul2/2c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715188456; c=relaxed/simple; bh=W8j83Ea3GVr160getEMTkfwK8jToX2Yy/9+67CqUuPk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=iPC5utVVRz1lMcwrw7/IESG1VMXarESwkiDNNWbuzsdTLmi3OYhQEj/g5p/db+B7DMjlrB0MrUSxENqUfZTumhIH1BWAelPyDD5Rg3dDg2Xbsg0ypai7PWRKIZ4QLLkuX5GJ6nHp2nNKnwcHtRD8wsCflGMhtY/zSpVQzKhnUL8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=alliedtelesis.co.nz; spf=pass smtp.mailfrom=alliedtelesis.co.nz; dkim=pass (2048-bit key) header.d=alliedtelesis.co.nz header.i=@alliedtelesis.co.nz header.b=Qwf9Djb2; arc=none smtp.client-ip=202.36.163.20 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=alliedtelesis.co.nz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alliedtelesis.co.nz Received: from svr-chch-seg1.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id 16C512C0184; Thu, 9 May 2024 05:05:48 +1200 (NZST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1715187948; bh=K6i1inkk1HdZG0RAxFC807dO0ylhV1wxNEJo/OBI1xs=; h=From:To:Cc:Subject:Date:From; b=Qwf9Djb2RMAun6OB2Y6eBQb2o3Rv2anmPlu3G+XWcSXwSNISlf/lzMAg3qnKDPHgF UBHOAlszfWetHpUJlt/KHO4oJenK7PfittF1dPiAYDyulzorDS+vbXzvxLcPBrFGRV eV2C6kS0xm0GCYfCEplYWwgWQspyYvD8xZo+ELx5KVR5KVHa1N8ocm6JfwCW0DVXlJ PBU8ROrIhWVYm1t26vKdI6NVpG906ZCWhO4Z/9/lc17oSlOtHSbufqyFEb/To4Knbb hFQjZbB1uOkpGH5NLbJJgGdS/AiOsxqKoxTmh1IsGNe6xO2W86X+jxm8zExx6hiVHt NNTzkKt0Jsocw== Received: from pat.atlnz.lc (Not Verified[10.32.16.33]) by svr-chch-seg1.atlnz.lc with Trustwave SEG (v8,2,6,11305) id ; Thu, 09 May 2024 05:05:47 +1200 Received: from chrisp-dl.ws.atlnz.lc (chrisp-dl.ws.atlnz.lc [10.33.22.30]) by pat.atlnz.lc (Postfix) with ESMTP id C5FAA13ECD2; Thu, 9 May 2024 05:05:47 +1200 (NZST) Received: by chrisp-dl.ws.atlnz.lc (Postfix, from userid 1030) id C02B528091F; Thu, 9 May 2024 05:05:47 +1200 (NZST) From: Chris Packham To: jdelvare@suse.com, linux@roeck-us.net, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Chris Packham Subject: [PATCH 0/2] hwmon: (adt7475) duty cycle configuration Date: Thu, 9 May 2024 05:05:41 +1200 Message-ID: <20240508170544.263059-1-chris.packham@alliedtelesis.co.nz> X-Mailer: git-send-email 2.43.2 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 X-SEG-SpamProfiler-Analysis: v=2.4 cv=MfrPuI/f c=1 sm=1 tr=0 ts=663bb0eb a=KLBiSEs5mFS1a/PbTCJxuA==:117 a=TpHVaj0NuXgA:10 a=IntvOMply_uMlCww3fEA:9 a=3ZKOabzyN94A:10 X-SEG-SpamProfiler-Score: 0 x-atlnz-ls: pat I have a system that has very over spec'd fans so the amount of noise whe= n they run at 100% duty cycle is considerable. We have userspace monitoring tool= s that will configure appropriate fan control parameters but there is a bit of a= delay between the kernel loading the driver and the userland tools catching up = to configure the fan control. This series adds device properties that allow = the PWM duty cycle to be specified via device properties so the PWM duty cycl= e can be reduced as soon as possible. Chris Packham (2): dt-bindings: hwmon: Document adt7475 PWM initial duty cycle hwmon: (adt7475) Add support for configuring initial PWM duty cycle .../devicetree/bindings/hwmon/adt7475.yaml | 26 ++++++++- drivers/hwmon/adt7475.c | 56 +++++++++++++++++++ 2 files changed, 81 insertions(+), 1 deletion(-) --=20 2.43.2