Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp778511lqo; Wed, 8 May 2024 14:55:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVPNkvkvtakrxSA0Iir8Khvoa927PrPKy7dNMQ2/4sB0Ozs1F3H+qz73YCnTnUc1r5JUYvoJXpZsa96yM40iPiwx+sHHFTLd+FL0UJd4g== X-Google-Smtp-Source: AGHT+IFGgYJIf5TJvtLy0JxWD6Adgu1oiKU69p+q+TkwNc5dO1xcqqruTQweeDMuFPPUQLiOXPKl X-Received: by 2002:a05:620a:3bd5:b0:792:bd36:c380 with SMTP id af79cd13be357-792bd36c519mr28492285a.74.1715205340743; Wed, 08 May 2024 14:55:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715205340; cv=pass; d=google.com; s=arc-20160816; b=mAcO941sHv4FZCISl2czErxPjGFemowwvUPix3GzNDxED8IrtFKUzN+WRPBf6e0+FB js55Wcj5ucpZFjhyuPOOgI3eE3cJ2flknb2xEDqY24fho/PUyd0mrzf3wpmEv2bXwG0w +OF1RmbGe9f/Rj4WrQsGd8SOl7paEOgPRC8ZOb1xBs4hL1tQbsGuFj2FJeIc1Ikzgjt2 Y+F8npn6htGL0LTLsNsRfobrAJjs4uN+xt4xZL8CBfNDhkS6uX7hYSBJhMgW9e0iEa7w VE4gwijT+o9i32q7j5I/xaA2GqIXipU44dbjfjXHRWMurRnPpLY1yjsqr8C5WF5aBzQd CQxQ== 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=RIBsKaML1GYlJf0TYhDKn8YLY1NDU1lgKIRGtdKqthc=; fh=q28TbP8gJzJf3EsQFaX94gbEqOileTJ6fAnSUxI2c2E=; b=t4AX3typz6/6fo/UIHB3ITFkxy8VzIlOhxU3zc3tL84lz6B+uYQu7YjrtWgrOX5TnM Et5oS8vW51PtI/6nHJwtxNthwnnY74wOvArNd9ZQI8IfKGiqhBtzYph1tuNc8FS7qiYi vJcOecviVWJeI5u2RAQFHsil1m2y+Bn/p7mVdS52oLIKVfyhlXG9ZnuwKWGCKnDEsQwj OTT/nORW4OfTxEO2GXy8bTQJEZi81yKfR53OOw9PuXCLoJ/EeTWBQ0XU5jk+GnBR0mUV FXKk35RXBt1F5S5MFaPIoZnEps9jZsyIK4T/oK7sd8iVWIdvIk+of184QWEphhuvxa3K zzeQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@alliedtelesis.co.nz header.s=mail181024 header.b=ly4RhmoT; 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-173865-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173865-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 ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id x28-20020a05620a14bc00b00792b2d4713esi2753692qkj.297.2024.05.08.14.55.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 14:55:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-173865-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@alliedtelesis.co.nz header.s=mail181024 header.b=ly4RhmoT; 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-173865-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173865-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 7A6B71C21386 for ; Wed, 8 May 2024 21:55:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D92161339AB; Wed, 8 May 2024 21:55:14 +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="ly4RhmoT" 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 161CA13328D for ; Wed, 8 May 2024 21:55:08 +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=1715205313; cv=none; b=Z0QGiHoFcBgvXgbY2RqMkQHitKvHqdUBj7YQMpHnwiw7Y/gTxbNgAWJIxaKNJCtT6nt7kopMlJVUVWqSXanLh6SkMdqQwm/f84B7ba6I/3wQRmm2bU+Aowlf7Mp0335ilTP6LGis6XWC8cYvEzg59MKFklSBuKemWZQLRPRWI+Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715205313; c=relaxed/simple; bh=4f5DUf1pONPmn0vooSlEAH1gHVZXc7bMU1Qr2jHYsqQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=q3sB4eg3yF4QR0ML7HqKIaLywgbWbTAJk5qaS2MFFfRkLFrh0A1dCv+BhkTAqX77ffSldZt6cdeJPke4Zye2RVbu/cQH4c70UAVnQZGVR49KqbvEWHfugvSF7s1aQLrTYU8TMmAj5NYCtq367oqnuuhRc42LsOIbHeU7gMC0H0g= 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=ly4RhmoT; 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 9254E2C011D; Thu, 9 May 2024 09:55:06 +1200 (NZST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1715205306; bh=RIBsKaML1GYlJf0TYhDKn8YLY1NDU1lgKIRGtdKqthc=; h=From:To:Cc:Subject:Date:From; b=ly4RhmoTOvMCl37AVm/JNVjW/2WAnldu1S981IKHHoFeEob8Yuy3AyU1CE0mYqU7b a5VBp8/tNy/kHw8bPY1oOVUugDy/ArIK7C2on+72+3sZ53C+dWA3QnTEuEt4wp91eh G0NH6NsS5ISZI/awFEUb2x4tnzuD5qUHrAolgS5hKTeAXHB3ULEq9RHcaJg0FQBMLY JboETgWoUL83XirYCi6tVW5TNmqmHxYGFhaWXYmgimAuVV26cnZnsfUzfUkHtlk//8 Oj9Wsn0MKDZXGPr1OTt7Amtxhnw26cm9Eq/AFJXVDXJ2XmNLx9xPO/ULyRQ/IwjkUM XFucufBuQvoEg== 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 09:55:06 +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 4920413EDD7; Thu, 9 May 2024 09:55:06 +1200 (NZST) Received: by chrisp-dl.ws.atlnz.lc (Postfix, from userid 1030) id 44A77280483; Thu, 9 May 2024 09:55:06 +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 v2 0/2] hwmon: (adt7475) duty cycle configuration Date: Thu, 9 May 2024 09:55:02 +1200 Message-ID: <20240508215504.300580-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=663bf4ba 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. Apologies for sending the quick v2 but the v1 I sent was an earlier local iteration than what I meant to send out. 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 | 27 ++++++++- drivers/hwmon/adt7475.c | 58 +++++++++++++++++++ 2 files changed, 84 insertions(+), 1 deletion(-) --=20 2.43.2