Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1721981rdb; Sat, 2 Dec 2023 07:01:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IE298Xwx+Aw6XwuX00sqnk8B5ViPZNt0A8Jyd1RzvUnzDS5DOkVk5tbEf8YrZ63/kAtsbWk X-Received: by 2002:a05:6a00:3318:b0:6ce:32f5:64c6 with SMTP id cq24-20020a056a00331800b006ce32f564c6mr1346562pfb.37.1701529294255; Sat, 02 Dec 2023 07:01:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701529294; cv=none; d=google.com; s=arc-20160816; b=xEm49JLgjtvLjpCbXNf4ADbhcPpUTxWIrxEb40Nx+iNn9p+HMmfdUAQDpUryTJTYXp tvWFCiD5GnVmYUCZfD3Qhy5A834bCLUeF6A+pMbo7n7pHIkVf/hOkpRMLPu6TmRe2SGm KtTHMKpRUUotBn2StXIiKd1WJof61uSK/7aGZex1rudpG3bFZwEBfOT/QAz3VxvObbj8 K6BnfhxQCZfQ6hEh2htPZHw+0G6jHhTn/9+8y3bSMMCyVE+c/RU2g3X3MxkLXgm1qUbl jgonBYiHTtHALybTBW0C+X9IWXCVktsmGyJce5x9KDdGEw/bN9f4O8iMM699gqZA3fdP w0jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:to:subject:cc:user-agent:mime-version :date:message-id:dkim-signature; bh=9Vs3j89rW22UXeBMAdvylutlnUMQpIFaDWsz9pX0NMo=; fh=V7Z9cNjHJ/vaa66yRQefMgEUVIm15gyVzERJyCyU9vs=; b=NHArSFp1hddb9okJB6HiEOMav4/pW/NQQfzJ+fsVzc6cui+iUDFxEApxxr+MFeGOyG chyIB9qRZ3UbEy/dynnNWPyoV3NstmWARYLuTYSdnLFY9d/zAN+Oz0J94skMfik5drfv TywA1yU61VnWQpffnIE/HMAHLF/YAXOeSVwxr3+w6fWZQHnxuIe/jJ6hUFz7yUWPKneA SLa9ElkodrSQs4kral75V5IUTEhXzF+rA7zSWLeAgJRXiEgkuXbIyYY1hBYayeEBwdtg 7hgNFnYiYE6PYdVEP/iUFYdlrf8ZgEq9XzvIGAKo3EsLXsQexuRBoILeUzBZ3HeAW3Ea 1P7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=BMdmqpQK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id v16-20020a056a00149000b006cbe3c123a6si5068786pfu.9.2023.12.02.07.01.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Dec 2023 07:01:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=BMdmqpQK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 90F428040D66; Sat, 2 Dec 2023 07:01:30 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230181AbjLBPBR (ORCPT + 99 others); Sat, 2 Dec 2023 10:01:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229451AbjLBPBP (ORCPT ); Sat, 2 Dec 2023 10:01:15 -0500 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0179D102; Sat, 2 Dec 2023 07:01:20 -0800 (PST) Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-40bda47b7c1so8043625e9.1; Sat, 02 Dec 2023 07:01:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701529278; x=1702134078; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:cc:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=9Vs3j89rW22UXeBMAdvylutlnUMQpIFaDWsz9pX0NMo=; b=BMdmqpQKYuvW2O/QS/LSHJPNmN2mY2S49uA5kNyUucyiK10ROSz22ullF74baD9qJP 2HhOIS1vevCVHIW6DhiLe+Hd+TULpUnDZ4TE0JvUJqpB89EkAlse91g2rvHGnhtUJMl5 7NE01Nql7cHODS1pGIXGbHPZY7JDDmKf9vT4v3FJB5KcHvNs/HoX3aFKbiNDZaplP6vI dwiPgSTb75DCDS7y5a2+B+whzlw2ujWAGV+7vMkLKVVTDAQBKrfmO5Akd/8fGyleShAO WIcHgN8ntCwp2MwrbxiELTy4GREFLMMba2igzI6q8oHwXgs/I5+nQX73ghXdPjHklsYO 8Z+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701529278; x=1702134078; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:cc:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=9Vs3j89rW22UXeBMAdvylutlnUMQpIFaDWsz9pX0NMo=; b=dwGJYejdEAEalMUQKnZ/WWnFeKZvJOd4YskEHHpROQisvO1j4Q4c9Wy2V5xRMB5l4I JVZZrcRq2QV4WPfIf8pUgnacgP23tYHu2zivWABtAzSbVLojVQNrVw7dSzTrqKTC77CK t/4VjmJPUINPIhKtYKxx2moH8xu7BClnLtkUO+a25SQUxKwsXLgJvK5oFhBxDvvR9kby AzyLXUZc0rQqRO0i5yrvZHkZXWlBEYGQzmPAjagd0WA6byjAO/W+Cxe9S/z9czwR0Nc4 dkInNz/yYacFnLR+62Obdhxj2VijrCX9yMTIDnQxDCCz7p3r8oPA4TLsuy7d6H0uPA3d aQhg== X-Gm-Message-State: AOJu0Ywr2v/h0Z/r+r/syr/g145eL9vveyfM3O1whWcixFJIa7wjwVT1 BWqcWTYeD0RxtTcJfNDU/QY= X-Received: by 2002:a05:600c:230b:b0:40b:5f03:b41a with SMTP id 11-20020a05600c230b00b0040b5f03b41amr650987wmo.316.1701529278226; Sat, 02 Dec 2023 07:01:18 -0800 (PST) Received: from [192.168.0.28] (cable-178-148-234-71.dynamic.sbb.rs. [178.148.234.71]) by smtp.gmail.com with ESMTPSA id f17-20020a05600c155100b004083729fc14sm12635732wmg.20.2023.12.02.07.01.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 02 Dec 2023 07:01:17 -0800 (PST) Message-ID: <45484650-4975-4f66-971d-7599681b1538@gmail.com> Date: Sat, 2 Dec 2023 16:01:16 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Cc: savicaleksa83@gmail.com, Jean Delvare , linux-hwmon@vger.kernel.org, Jonathan Corbet , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] hwmon: Add driver for Gigabyte AORUS Waterforce AIO coolers To: Guenter Roeck References: <20231020130212.8919-1-savicaleksa83@gmail.com> Content-Language: en-US From: Aleksa Savic In-Reply-To: <20231020130212.8919-1-savicaleksa83@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Sat, 02 Dec 2023 07:01:30 -0800 (PST) On 2023-10-20 15:02:08 GMT+02:00, Aleksa Savic wrote: > This driver exposes hardware sensors of the Gigabyte AORUS Waterforce > all-in-one CPU liquid coolers, which communicate through a proprietary > USB HID protocol. Report offsets were initially discovered in [1] and > confirmed by me on a Waterforce X240 by observing the sent reports from > the official software. > > Available sensors are pump and fan speed in RPM, as well as coolant > temperature. Also available through debugfs is the firmware version. > > Attaching a fan is optional and allows it to be controlled from the > device. If it's not connected, the fan-related sensors will report > zeroes. > > The addressable RGB LEDs and LCD screen are not supported in this > driver and should be controlled through userspace tools. > > [1]: https://github.com/liquidctl/liquidctl/issues/167 > > Signed-off-by: Aleksa Savic > --- > Documentation/hwmon/gigabyte_waterforce.rst | 47 +++ > MAINTAINERS | 7 + > drivers/hwmon/Kconfig | 10 + > drivers/hwmon/Makefile | 1 + > drivers/hwmon/gigabyte_waterforce.c | 439 ++++++++++++++++++++ > 5 files changed, 504 insertions(+) > create mode 100644 Documentation/hwmon/gigabyte_waterforce.rst > create mode 100644 drivers/hwmon/gigabyte_waterforce.c Hi Guenter, Any thoughts on the patch? I'll fix the issues kernel bot reported in v2. Thanks, Aleksa