Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp612284rwd; Sat, 20 May 2023 03:46:42 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5+hBJqRP+I4I/67ju5xLnz5AjcJk3aqukzZMxVsYiy+3tXsJHs9IhZi8rUnO8Y/S4qC3nQ X-Received: by 2002:a05:6a20:7343:b0:10a:ef63:cd15 with SMTP id v3-20020a056a20734300b0010aef63cd15mr586642pzc.60.1684579601804; Sat, 20 May 2023 03:46:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684579601; cv=none; d=google.com; s=arc-20160816; b=px8U1NZViv5b+uO1Zy+saR+slwiuR1Ulsmk6Rn8nMmHDd/+SdXSRDptFWFNMFRdIS7 c2Me/0jQ+qhi+RiYkcVN2XSXuC5obIglWz3Os/B6zLu8N/sD1sDuj8yLcwlyiYjgsx7B ffFB/X7WGpPOf5hy8UqLtwYGfrsiRO6iUlBUur8rTxK4Ox65PAJO5GpM8T5aE8XLu/BG kiKKsSCsQP5/l08p5fVjnw2NikO4780yK5gtlMNYT339rhif2Yj41jFTeGaV5ZOvYsYX 5Rz6C+YB3I8HVdhAPKUtobtcWdxQS9cZku8oaAa9jiuAA83sFlTIySSW3uovwLLdgFNe GTQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=XA+rGR/5RZlOrKnSN2M7bLdRSVOCHkd7kIdBn+h4Kwg=; b=FCr04uJjKUn3+dPerXGPSxXymMMcEKBhZHVGOx4JLGLy4gZR8vPx3hz1nnGkx2I5Nt PdPRqs0gQih62IWGJEqi0rkS88/zPHbIzs5csazrM6DqeOlQZZ/FqBwQYH80DeS7M2Nz o+w2IOOjIG2Vi4Vmz29PdeHoaX3PjDvM0K+Fn2Q/HfAHU3gcWrfY9Y4lKYjZYqyQf0uO G1/dXBgRYCdgIFoJcoXdioYbJ0oUQ+h0zkbWrpxNcStmOAdudz3+LIwN8P2acNZI6kZt 1qyosHL/cxV9tKqr6GXx6xx/4MTS8wH9cpvG48MKaPVc40uRDBGLg5UtDq2ng2d0Mgn4 O4FA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="o34NDl/w"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r134-20020a632b8c000000b0052c22753de4si1306245pgr.662.2023.05.20.03.46.26; Sat, 20 May 2023 03:46:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="o34NDl/w"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230489AbjETJzT (ORCPT + 99 others); Sat, 20 May 2023 05:55:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231459AbjETJzR (ORCPT ); Sat, 20 May 2023 05:55:17 -0400 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85632E5D; Sat, 20 May 2023 02:55:15 -0700 (PDT) Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-966400ee79aso785080966b.0; Sat, 20 May 2023 02:55:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684576514; x=1687168514; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=XA+rGR/5RZlOrKnSN2M7bLdRSVOCHkd7kIdBn+h4Kwg=; b=o34NDl/wkAzpmfsZvTL5p/J/yXeEDNTfzUlTQdeBULHCNGVnvAkCBoHbAAr7QaRT1S yrGobt0GaXBG1DEwchMWFG7oHEqZi/fglhoy2K+cGKbhtoXwuUZrlq7bxq966+JzTqgg DUjcExwylxhNvflTVhfxLhKQ5bsgk8e4y2xEqnCa8SECB6kGFUdvU17naUgLLEHIYxP3 sFp24xxwV6YWOBT4Wd3tPzpJTwcBL6bETYP6IavEEzSd5xEvfNvc6Fr/z8YPImS7lnz/ N45WnI4RWZaPlMYkH9QaaatASAQqKx2B+ZwwaxsWyW2vIMUpge1vGfKlJLRbrF7GrAc4 r+HQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684576514; x=1687168514; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=XA+rGR/5RZlOrKnSN2M7bLdRSVOCHkd7kIdBn+h4Kwg=; b=X2Ee4cfJYjAjOcJ+0xT+pSqh1Ol/VqcLkdgY8rCf/9t34nYsUszPBO17WH9I8MnrHF 2q0uc6QB4U7WhJ/P5N8uN4+hMSbYbqtP9C6BFn32xlZ5/3/HVpmwINjwDwXQROnHap/E ggMxfDSJcF2JdonAApgx5NZFXDposknGi9mWxiv68KPLu8qSOdeFK16wd6kGkuWePW3k /FAlYBGldrISh2kDsWDrCk32cJRCLrYRWvc3WDWJquUVJLSGgV1AU2i+/7ncvmTmc/Mk ml/Ieq8NRR5tGFQ8P2gEZzqU9UyLEk9B+zXVMKqAknWIUJznj2jJWHjKHnXqx+7jnXdX 6s9A== X-Gm-Message-State: AC+VfDyDiWE7DCao2T4Pvhaw8mBRsME7J3myOZDec65UFoGMHH7JygHv ZVfqXrLQtSwprgJN9XJT/V3VWIx3shR/9g== X-Received: by 2002:a17:906:eec8:b0:932:7f5c:4bb2 with SMTP id wu8-20020a170906eec800b009327f5c4bb2mr4203606ejb.75.1684576513603; Sat, 20 May 2023 02:55:13 -0700 (PDT) Received: from fedora.. ([87.116.164.240]) by smtp.gmail.com with ESMTPSA id jy18-20020a170907763200b0094e1344ddfdsm628335ejc.34.2023.05.20.02.55.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 May 2023 02:55:13 -0700 (PDT) From: Aleksa Savic To: linux-hwmon@vger.kernel.org Cc: main@ehvag.de, Aleksa Savic , Jack Doan , Jean Delvare , Guenter Roeck , Jonathan Corbet , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/2] hwmon: (aquacomputer_d5next) Support for Aquacomputer Leakshield Date: Sat, 20 May 2023 11:54:45 +0200 Message-Id: <20230520095447.509287-1-savicaleksa83@gmail.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series adds support for reading sensors of the Aquacomputer Leakshield leak prevention system. First patch renames a macro that is now used for determining a missing reading for multiple types of sensors. The second patch adds support for the device. Changes in v2: - Moved the macro renaming into a separate patch Aleksa Savic (2): hwmon: (aquacomputer_d5next) Rename AQC_TEMP_SENSOR_DISCONNECTED hwmon: (aquacomputer_d5next) Add support for Aquacomputer Leakshield Documentation/hwmon/aquacomputer_d5next.rst | 9 ++ drivers/hwmon/aquacomputer_d5next.c | 117 ++++++++++++++++++-- 2 files changed, 118 insertions(+), 8 deletions(-) -- 2.40.1