Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2359025rdg; Mon, 16 Oct 2023 01:38:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGWnIxhb3D/SJ0NvVYWLflAU4Fr3XgyMep0+hbPtjhrnrX6NT1fIUetBJJqQOteocxj6A8p X-Received: by 2002:a05:6a00:ccb:b0:6bc:b13c:35d5 with SMTP id b11-20020a056a000ccb00b006bcb13c35d5mr3962244pfv.13.1697445507548; Mon, 16 Oct 2023 01:38:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697445507; cv=none; d=google.com; s=arc-20160816; b=Wq/lsPI3SXmpsw2SVEUsDlI4G/i7UlFGjQjWgCeUzTcWO/O/0kS/OZaJMkv+s0lYae ut4DswgGMOfFK39g+1kSLEQ3euoQ2q0Cyobb0pMVHh9YQUzcCtT8Uv40Mf0fTk8wiXhv 2Cat2GCxB8UwJXKKqF/MaE1+PnsipBv7rmEO3S90eesrcfkWujn5pcVkIjYh1pFP/DlH 51zJRNhFSgAMo3QJlp4t0UyWiqazpTLwDcRo2Lp3d1oTz948BxWHltblJUDZ8wvvUehQ 5PHX7S2TekKMyp3KRrSptInNXPqcTF6XYYZ0XubOer9xbE4D8ZNXiQObQ+RE2iXlC6A9 sPVw== 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=+dDc+JFvPQYziTivdJAsBuiK7HtHQ+wh1mq0WyZIQh0=; fh=jVfC5y9HvxUpPXsjgEUzN6Gy1m3u5D6D9dKX/OObWJE=; b=uaGCcyCQPlbbXb4M/j+6JokWQTKna/YTP/+HrWZta59UWXA9uiz1yL92FAjsGmSb4U ToPyiC2/Q9y3lir/WrxgY6u2x/CEXEZLc96rD/WFMswKwmMBXxHawVSBUmsjnvf3Ampn Fxa5hmA8Y8qYVAEaugLFVkXrBVxvzr20cR2O1JxqzOX2UHIIM39Qvo6ArnpbJdcG39db SS6V0V43znsRuPRsiHg414xgj4+k9NZkNYf4jvHehexmZWIej4o54ou7FGuXTq5Txrvd bQs/1G1KRmIhxCwayuoXGCGE9PQMqxEXvSLgIoOVqxaaC8o67hIEuiE6qyxCj/pQhQx5 i7rQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="m/NjqnuN"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id 18-20020a630a12000000b0056a36ac322fsi10050835pgk.514.2023.10.16.01.38.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 01:38:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="m/NjqnuN"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id 4CDEB806E3EB; Mon, 16 Oct 2023 01:38:23 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230152AbjJPIiP (ORCPT + 99 others); Mon, 16 Oct 2023 04:38:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229574AbjJPIiO (ORCPT ); Mon, 16 Oct 2023 04:38:14 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4946A9B; Mon, 16 Oct 2023 01:38:13 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-503056c8195so5437044e87.1; Mon, 16 Oct 2023 01:38:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697445491; x=1698050291; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=+dDc+JFvPQYziTivdJAsBuiK7HtHQ+wh1mq0WyZIQh0=; b=m/NjqnuNAEzOk7KTTt7lv3a+Vx387UE20lFYr0I9gO8o4hG81L759C783dAbf6FLIC XbcLluNJmTR+JBci8Y1zKZ1JTwp53hXsLYSC4eBGoe1XlD4MqXaLHEjs3TtggKpxAoz1 Wb10SB0blYs3j4xkQkdWM0RY2P8TUU8KxYVkdtkqW8nxz7ml7/+pL7bBCknSL3y/dj20 fmUxsT2SAu3yEzX0o6i5wZTcncjejfS0dX/fR2f3Wk+a0rp/q/UfMw9se5JPjHe1nIVD grDkm/m0tuOIv/rQ1XBz2gzu4vDF0crLYJxGzJAqqJfdRJCt0yjJzED2bek3+ute/LU7 jcOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697445491; x=1698050291; 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=+dDc+JFvPQYziTivdJAsBuiK7HtHQ+wh1mq0WyZIQh0=; b=OAyGE4uZ2MgrjRi12hY0AHYJQxn/PY9EkNZMqwb7q+KB0C7weA3NiW+qUm+F8U+fsF c35keFbv3hONbtHtHqHx3JDye/SgarjY8pZfeargzY8a60qV7JKRO9U+/wMJYdV2vDYc Kz1zTI0VKKDdI2ujmXTqh93yw/GZYqFpk+Vgs0n2BlME0/jDDFGW7VlVsz2i3i+GEgSQ VECwNM+1FQ6bvZ5rH85h08tE+YLT35yO6KmrMLa1yNozuV/xHcF8EPfiJXDI2CM7Ku3V 6SFfPLCSpuKwhQ2IAUzpZF0MvzElu0u9k0EpM4nMaMxK+BQZ9CaCKocrkXSaETgATGLU kuwA== X-Gm-Message-State: AOJu0YxTusldAKy1tzkzvtHSZxzsGux5B8+Zhee8Z0jQ8e8ORFTmTBoF vXRrmD4FdATl2b2823oS66MgpKQnV9XN3A== X-Received: by 2002:a05:6512:1307:b0:500:7f71:e46b with SMTP id x7-20020a056512130700b005007f71e46bmr29896857lfu.1.1697445491007; Mon, 16 Oct 2023 01:38:11 -0700 (PDT) Received: from fedora.. (cable-178-148-234-71.dynamic.sbb.rs. [178.148.234.71]) by smtp.gmail.com with ESMTPSA id p20-20020a05600c469400b004067e905f44sm6633554wmo.9.2023.10.16.01.38.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 01:38:10 -0700 (PDT) From: Aleksa Savic To: linux-hwmon@vger.kernel.org Cc: leonard.anderweit@gmail.com, Aleksa Savic , Jack Doan , Jean Delvare , Guenter Roeck , Jonathan Corbet , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] hwmon: (aquacomputer_d5next) Add support for Aquacomputer High Flow USB and MPS Flow Date: Mon, 16 Oct 2023 10:35:56 +0200 Message-ID: <20231016083559.139341-1-savicaleksa83@gmail.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.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 (lipwig.vger.email [0.0.0.0]); Mon, 16 Oct 2023 01:38:23 -0700 (PDT) This series adds support for the Aquacomputer High Flow USB and MPS Flow flow sensor devices, which communicate through a proprietary USB protocol. Patch 1 resolves the case when devices that communicate through the legacy way (such as these) don't contain a reading for a sensor, in which case -ENODATA is now returned. Patch 2 adds support for the devices and implements reading their temperature and flow sensors. Aleksa Savic (2): hwmon: (aquacomputer_d5next) Check if temp sensors of legacy devices are connected hwmon: (aquacomputer_d5next) Add support for Aquacomputer High Flow USB and MPS Flow Documentation/hwmon/aquacomputer_d5next.rst | 7 ++ drivers/hwmon/aquacomputer_d5next.c | 72 +++++++++++++++++++-- 2 files changed, 74 insertions(+), 5 deletions(-) -- 2.41.0