From nobody Tue Jun 9 00:59:52 2026 Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AE9D7330B14 for ; Sun, 24 May 2026 20:51:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779655882; cv=none; b=FtRH5+HTcNJ+4pKy1vKpORn9bHSDlrlrs1vr0ZpeorhWtx2+1pA4RRRxdjEOZsMvZgbmNDNTHpRTb88i5XT9nbzr2Z4BVGonKn0JP+DRyMA7Hr/JRe+Px/tb2awuWz3KyPnNLxYeKVd1Tvfi5+iWkpC2q6LMxISn1rwTbcRnom8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779655882; c=relaxed/simple; bh=V2o/vJV29MW00MzllS88rek3h8IxCCPVdHA37Y/IsL8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Pjvr6YZXkNUlC10ngEFy9D9QdN3P8WB4nUUzQkCbLzi92PiA8XrYQ41P/lGQH0tkxW/lzZpqLU+9HBuOHBtlUpxObvT47fdsnwJ98/l9zBStPRXn6h/tGNLztZKcZrQ5jtugVuxf3RYQFT563orZ8dz6+XJpWAcUw85i95ezYjc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=kwt3PX4C; arc=none smtp.client-ip=209.85.221.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="kwt3PX4C" Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-43d7645adbdso5808657f8f.1 for ; Sun, 24 May 2026 13:51:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779655876; x=1780260676; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=FgZxqqtEk/bcjKKyOMFKpuNhp2tz27mBRUcefyZzmdc=; b=kwt3PX4CwQiefsHk5NL57J2GetGpFZPhNDsHy1xt181H6YuvNC2iFQpPLIhWF8AZVW v+VAUTxyJQdWORwJEW9I2hN95npm5345WLRVHi8BpXhMpkSBpMv7TLZWfOP0kgbbaY0t ykKb7C3TtTy0PTu8TCBDWgsTzRvecuHdt78ZXP4ylahFe2G8M5NaO5eIj29U8NWn7j77 hLujKJZ1qDmTcNR42asp+dA8lydwDxoY5JSg+QeYa7fu8hzxI46P7TveWwBF1gs7yiiZ FGm4/fISLHA35u34i5uoAKYTcNOAzuhwMgEavkQSD0j3CRojfOkXHz7ahHP8mcJwRlFg 5qqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779655876; x=1780260676; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=FgZxqqtEk/bcjKKyOMFKpuNhp2tz27mBRUcefyZzmdc=; b=FeH2UdO87LV5m7fkiXxClgdm9PmC7u9oDIaShWTGQzTD9ahf/dnMiPtGUKVbRJRt+m p+gcU2o/2InyvwFDtjcXmOa0N1y+tHFUOab1ZXTvgdBqEM7JVXznbkAadC5PsdWd3Q7I 1T20K9iQWJL6rpBv6FufaREQZAf8yGulhQrR6KUA1tBUdkx++gZ7JxJLYkOvBu6EbeDN ApIkrosu+U+HRQqveUdZGUksUU/1xUkMOXIF/qSkezEoBwPnXupL/1/OuaUS+FURoiAr hO8F92L4AFmBJqCOgqnutZ3DhsC0n5I4DbhmJfBOY1PgeKg2/deJUcPxVhXtYnqMzjRZ NsGw== X-Forwarded-Encrypted: i=1; AFNElJ/e0kNKqZqazW6ItuA4kFmlq92MY+58QTEZ9UCQea0zPtD47c5RX90oNvLINACUQ4r276XuMEvN+QxwrUc=@vger.kernel.org X-Gm-Message-State: AOJu0Yz11QB2AM8eHmjC8j2XnWCcnzaCKRG74WFtSwK2waC3Dr6mzU9x 1mmchhVbfg1GzQ/mhorSKDNAnl4IgmgzSjGU7wPzt74DCI/hGUAUMXfc X-Gm-Gg: Acq92OFdlT2HHSDfU3iDDe8Nv1vw59W/Q4+kKaR/stb68DU4CoyijSGUqN6fNz3BGoG Ps3/Gpj/4HorqNDiPhpbhz79GyyoZMu6SSZJHwHqRsgmkRorvsS1si4i5YogPiaM87EAlIlOefK 67zEhJ6TsXtWHh2khTco2m3QYJ6EZLbEXcq5WaM8nUIH0wQWCI8bHu8CQuLG2IF8X0B/EbNvHZD Y+/7i8yUl4S/LYjQ4x7qd1DP++eQLaYLRSjvPbd61Upcsf84JrkjpXlnQQEPvoNFxL+fYj2tszp zQwPe7Fi4UL+1jsGw1E0D9GDzWNOQm6rzRVATMjnTFjaU4DPy4BPxFcaSQ+CXBmZG1aLn2eCKdD 6Cvm0d25ShxepnHU9MI8ppT8UczayE0zCdFwukX+r/75CKgZqKzowNzzH0KfhkzCMPl1qq8z+/F VPrU2z X-Received: by 2002:a05:6000:2384:b0:43c:fc5c:a9fe with SMTP id ffacd0b85a97d-45eb39e1efcmr19662501f8f.20.1779655875822; Sun, 24 May 2026 13:51:15 -0700 (PDT) Received: from sefo-laptop ([2a02:8071:50c5:5c0::361b]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-45eb6d6ebf0sm22738588f8f.34.2026.05.24.13.51.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 May 2026 13:51:15 -0700 (PDT) From: Wadim Mueller To: jic23@kernel.org Cc: lars@metafoo.de, dlechner@baylibre.com, nuno.sa@analog.com, andy@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, linux@roeck-us.net, jdelvare@suse.com, ak@it-klinger.de, linux-iio@vger.kernel.org, linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH v1 1/4] iio: types: add IIO_VOLUMEFLOW channel type Date: Sun, 24 May 2026 22:49:36 +0200 Message-ID: <20260524205112.26638-2-wafgo01@gmail.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260524205112.26638-1-wafgo01@gmail.com> References: <20260524205112.26638-1-wafgo01@gmail.com> 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 Content-Type: text/plain; charset="utf-8" From: Wadim Mueller Add a new IIO channel type for liquid volumetric flow sensors. The unit exposed via the standard _scale attribute is litres per second (l/s), so drivers reporting smaller native units (e.g. ml/min) only need to set a fractional scale. Update iio-core's name table, the iio_event_monitor whitelist and the sysfs-bus-iio ABI document to match. Signed-off-by: Wadim Mueller --- Documentation/ABI/testing/sysfs-bus-iio | 17 +++++++++++++++++ drivers/iio/industrialio-core.c | 1 + include/uapi/linux/iio/types.h | 1 + tools/iio/iio_event_monitor.c | 2 ++ 4 files changed, 21 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/te= sting/sysfs-bus-iio index 5f87dcee7..68eb703c1 100644 --- a/Documentation/ABI/testing/sysfs-bus-iio +++ b/Documentation/ABI/testing/sysfs-bus-iio @@ -2458,3 +2458,20 @@ Description: seconds, expressed as: =20 - a range specified as "[min step max]" + +What:/sys/bus/iio/devices/iio:deviceX/in_volumeflow_raw +What:/sys/bus/iio/devices/iio:deviceX/in_volumeflowY_raw +KernelVersion:6.19 +Contact:linux-iio@vger.kernel.org +Description: +Raw (unscaled) volumetric flow rate reading from the channel. +To convert to standard units (litres / second) apply the +channel's _scale (and _offset, when present). + +What:/sys/bus/iio/devices/iio:deviceX/in_volumeflow_scale +What:/sys/bus/iio/devices/iio:deviceX/in_volumeflowY_scale +KernelVersion:6.19 +Contact:linux-iio@vger.kernel.org +Description: +Scale factor applied to raw volumetric flow readings to obtain +the value in litres per second (l/s). diff --git a/drivers/iio/industrialio-core.c b/drivers/iio/industrialio-cor= e.c index 22eefd048..aa34fcd8e 100644 --- a/drivers/iio/industrialio-core.c +++ b/drivers/iio/industrialio-core.c @@ -98,6 +98,7 @@ static const char * const iio_chan_type_name_spec[] =3D { [IIO_CHROMATICITY] =3D "chromaticity", [IIO_ATTENTION] =3D "attention", [IIO_ALTCURRENT] =3D "altcurrent", + [IIO_VOLUMEFLOW] =3D "volumeflow", }; =20 static const char * const iio_modifier_names[] =3D { diff --git a/include/uapi/linux/iio/types.h b/include/uapi/linux/iio/types.h index 6d269b844..49480f321 100644 --- a/include/uapi/linux/iio/types.h +++ b/include/uapi/linux/iio/types.h @@ -53,6 +53,7 @@ enum iio_chan_type { IIO_CHROMATICITY, IIO_ATTENTION, IIO_ALTCURRENT, + IIO_VOLUMEFLOW, }; =20 enum iio_modifier { diff --git a/tools/iio/iio_event_monitor.c b/tools/iio/iio_event_monitor.c index 03ca33869..078004750 100644 --- a/tools/iio/iio_event_monitor.c +++ b/tools/iio/iio_event_monitor.c @@ -65,6 +65,7 @@ static const char * const iio_chan_type_name_spec[] =3D { [IIO_CHROMATICITY] =3D "chromaticity", [IIO_ATTENTION] =3D "attention", [IIO_ALTCURRENT] =3D "altcurrent", + [IIO_VOLUMEFLOW] =3D "volumeflow", }; =20 static const char * const iio_ev_type_text[] =3D { @@ -193,6 +194,7 @@ static bool event_is_known(struct iio_event_data *event) case IIO_CHROMATICITY: case IIO_ATTENTION: case IIO_ALTCURRENT: + case IIO_VOLUMEFLOW: break; default: return false; --=20 2.52.0 From nobody Tue Jun 9 00:59:52 2026 Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8CFBF3195FB for ; Sun, 24 May 2026 20:51:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779655880; cv=none; b=si0AStRCm2EtuvZ/ci001YFPEsHxKJJ4fUvw0mSAj/4+O9v6mDmHsT4bR2D0NtnuU7t9y+7lp7Nh2PKdsLrqVO4WAFlA1ZmuNQ2TpdY5vse7yVRFnAnlrNUERk7st6ObWHSDjjbktRUIf5a62EAxkwDYl4SK9lsAai85VFf9x+o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779655880; c=relaxed/simple; bh=p4FNiRW7IH11He7Tc+nMe5zvSfjEJPLmgVrsIw3u5mY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=MD+8eY0IDBTqJtEZT0RylmwSJVyEL+KsC7Sl/OVTq3BP7nTAbnevyAfPjwqv1MtTFildCQR09eGNRWh4g8rF6AJwU11cQ3HNxla0Q+ieX7Pp4x4vOeNfStCWMFHlHD2QJtietYAN8O7cMl4wV8mkHYnvNB7F2MyfoDZYFXg+kUc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=OBaaNKfo; arc=none smtp.client-ip=209.85.221.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="OBaaNKfo" Received: by mail-wr1-f53.google.com with SMTP id ffacd0b85a97d-44a14580111so6839436f8f.0 for ; Sun, 24 May 2026 13:51:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779655877; x=1780260677; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=E0qt0dN/pnIWpLYC8cK09N9h63M8YNaBsZ6T23s5myc=; b=OBaaNKfovBvFN+rAdXdb4i66XzPeeJWKRY8urwzaQWoMh7vANZBI8dlLhKHdrL5UdZ 9Fns9PjIffro/7OtsVyzd22JPEfb+a/nq1J+wynwG3F61sFNZLC5swD/Yhl3+AQNe8zk LWAoi1/ssVUfI2S5jaI0gh0w3+9YAG+NB8C/FO0DY0ASigy77cchDGT1l5hLWHFMRzY0 LUn3GanFM/LjiBndZF3vl/7QGCs4vDWsY26KDiwmHAoTonAW1oiUN20wW01mSp0W9vdc qKYMR0dlcUYsUIPu77wpyy1oktK2QhV8XECR7o06Y0tdzvhAlu6KSJBC08d9mqhIjkWZ sxbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779655877; x=1780260677; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=E0qt0dN/pnIWpLYC8cK09N9h63M8YNaBsZ6T23s5myc=; b=RUmOxWoMTPHs33MnMuG2wr8Xj905qwNOIlYyKZF4Ygu9hBmrGxHNe9Ra2oOB5OI2LZ p7xpk6/Okt+FKkziz8AZJGy0tUVVLG6VDyxuhrNwX1KNpGyOiWCYG4gukxpSt++vZg3T FcTtwNFEKqWSWRdocywt68zwo1K7js/o3x5ypXvFdETly1dI7LQg9t4bfkP4bAHHlYbB Je2SMkyFz0f+eMvW7BTHiBg8a8p40ur2v6l/MeCwDTm9Ov5hfLX0nB6Y7JuEuI+xTn9p W9MvKYHDSWkQQkjuiEj70460aM4jhFQpbTFIiMfJjwmLylZrnI/oWoM3OWocr4rIhoeL epbg== X-Forwarded-Encrypted: i=1; AFNElJ/AFbZmDWv62L+Yv83yi+r4qUzLmOSiNfFjr+hi9jnM7/dOqh2zEl/3riant6hUh+/GGI0/ssfIMLpgt1w=@vger.kernel.org X-Gm-Message-State: AOJu0YzqG3wW4XhiXKEMppwrfFZeLCb4MnGtCvSFIIvvfAQH+BI3vWHq 0Resyq+tag9srs0ASKt7qMCzfhpFk4QENmV+IMg/8CKABerngoAwUHAz X-Gm-Gg: Acq92OHVUe9sx5NxeLi9a3Tb9pra2KC+AJPpZ2cj3bi+GNCXyyA5bdDfGvbl0d4HXAW gpifnLaH8JZT3Xvk7HXccTGu1IeySO1ZTHdYaWjaZLUobeR3H0alU/udK9piM+tn/eQTwock5I3 OfsMgxdirncjZ2BY4DVOwkg7lgYgjfmNeYodOlsCX9wfpbruaGbZjPNH26eUWYVsTJt8QdvYOof HBgM1oGETqtBXs7cuYUFBdv4ncag7h6tKMV2fQVQR1DHNRxWO+O33ZtIZh3JIdoCBD4lku648PN kiG3vDOS8GWcjbyiFHCCpC5o62kG5NVXEhgXMsRM+VMWfoggYZsmJ7DDxS/gsMYOuzpuPbabS5f we/u9uE2IGnbK6Pdhsc3OcUfJxOkYZVoJzuOg4Mi7XKu8mLKCLnV1aikDNkilzDhm5qv2T4jP0K 6+T76dEcJFZw2hLEI= X-Received: by 2002:a05:6000:4609:b0:45e:a0ab:8bc8 with SMTP id ffacd0b85a97d-45eb368915emr16870318f8f.3.1779655876913; Sun, 24 May 2026 13:51:16 -0700 (PDT) Received: from sefo-laptop ([2a02:8071:50c5:5c0::361b]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-45eb6d6ebf0sm22738588f8f.34.2026.05.24.13.51.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 May 2026 13:51:16 -0700 (PDT) From: Wadim Mueller To: jic23@kernel.org Cc: lars@metafoo.de, dlechner@baylibre.com, nuno.sa@analog.com, andy@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, linux@roeck-us.net, jdelvare@suse.com, ak@it-klinger.de, linux-iio@vger.kernel.org, linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH v1 2/4] dt-bindings: iio: flow: add Sensirion SLF3x liquid flow sensor Date: Sun, 24 May 2026 22:49:37 +0200 Message-ID: <20260524205112.26638-3-wafgo01@gmail.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260524205112.26638-1-wafgo01@gmail.com> References: <20260524205112.26638-1-wafgo01@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Wadim Mueller Add a DT binding for the Sensirion SLF3x family of I2C liquid-flow sensors. A single 'sensirion,slf3s' compatible is exposed because the sub-types share the same register map and are detected at runtime via the product-information register. Signed-off-by: Wadim Mueller --- .../bindings/iio/flow/sensirion,slf3s.yaml | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/flow/sensirion,sl= f3s.yaml diff --git a/Documentation/devicetree/bindings/iio/flow/sensirion,slf3s.yam= l b/Documentation/devicetree/bindings/iio/flow/sensirion,slf3s.yaml new file mode 100644 index 000000000..5ef62435f --- /dev/null +++ b/Documentation/devicetree/bindings/iio/flow/sensirion,slf3s.yaml @@ -0,0 +1,49 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/flow/sensirion,slf3s.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sensirion SLF3x liquid flow sensor + +maintainers: + - Wadim Mueller + +description: | + Family of digital liquid-flow sensors from Sensirion with I2C interface. + The same register map is shared by all family members; sub-types differ + only in the flow scale factor exposed by the device and are detected at + probe time via the product-information register. + + Supported sub-types: + - SLF3S-0600F (calibrated range =C2=B12 ml/min) + - SLF3S-4000B (calibrated range =C2=B180 ml/min) + +properties: + compatible: + enum: + - sensirion,slf3s + + reg: + maxItems: 1 + + vdd-supply: true + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells =3D <1>; + #size-cells =3D <0>; + + flow-sensor@8 { + compatible =3D "sensirion,slf3s"; + reg =3D <0x08>; + vdd-supply =3D <®_3v3>; + }; + }; --=20 2.52.0 From nobody Tue Jun 9 00:59:52 2026 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 96567324B2C for ; Sun, 24 May 2026 20:51:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779655882; cv=none; b=Pq7ssFqvnG+BSFcF+go5RoRlrBCR7h8Bi+NO8nl45IxCJJJUir9Pb8p3pT7rFjLVYMdpmMSKlAo82eolYmky/CknFUCHqgHYQxVB3pZZYCE1tqWnbTYy99ci996+/UsnViI6MNorJ/xTaFUpTuheH+GT91HyjR8wCXAYgnge3sE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779655882; c=relaxed/simple; bh=a0y3u1aPpUKxSCqwvC3og7k4GM3ybGRRWue8C++NMxA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Nfnd0qfqKPim73C+PYzIt8ZzpDV135AKvYZExgNutzgTa7sTD8yugdBVI7QD0S7nV/xa210WC0zZ+OA8avzPZb+0YbkkJlNBuhwroilniku+zjK1t4OUABrR2qmpUwUKYlQnVupHqVwgZaq+4Ya9oTFkJJEbIrmXIbxzP1Kcdfs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=j5oMP41f; arc=none smtp.client-ip=209.85.128.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="j5oMP41f" Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-490426d72f7so22561055e9.3 for ; Sun, 24 May 2026 13:51:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779655878; x=1780260678; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=tZYukWs50JDrczpkdtbgeT5C+Oa4LhoAPBL76df221I=; b=j5oMP41f5YU2SxhW8m3qleFI67GZTAkk82qAM7qxd+k+KDiy95UQm5PSQoy83fLFhh Bu5TyhnPKq1ahOrhBNQGv6+dl34I375+grMSXHdWl74s16bgCliMkfZwmWhpibYcs47v igiufGYJ5ZeYWYdRevVLnLLwRzhGST11jzN+raIqSWKG2zmkPhWYURpFPXXvhg0SZ9rG 3+LVRog2vGTkYRQAQ0YmILe6zMJZu4uRJXOz+HLk18nNxPGEYbvYfA2BPGRzFupcZsL9 +bZmFR6kWMceMk9HyVlGVJUeblRXlZizHyf1hJ/MBCI/LmulhefNmQgB6WwAGcEpcPLO BMqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779655878; x=1780260678; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=tZYukWs50JDrczpkdtbgeT5C+Oa4LhoAPBL76df221I=; b=rGb/+8LbvipagDyKQVEoOj1WV3TZilJJBjthnlcSi6HGb8EIOfDy+OwBO2phifELSf 6xr+bRto7CFbYQC0JYvVAjXkGKC21NuOu6TuNAfU38LYjmb1mJAqtlhFVgpck9xF1SCH iHlRd0Nej5Hx4d598nmxMUIDARNB23rCyXWJpMzcSH/EqwJTZsjtdLvU9KX6yZ058j61 9K63ftZ7Nlf6mOZvZTcz0+VxS5XzzGVTMqjz0+GO4wSZZ1q/ZLlrCAgLgpsvFSOQZPrf rSSDrmbnnBC6nA2AIZZypMPifyer3I96867r3EGEV1apNBPprhqrx+93MsoUoypltduu NQQQ== X-Forwarded-Encrypted: i=1; AFNElJ+SeLjFFLpKAeoUtp0OuIn+Kj8mpAMbm9gTuPaPur01SJuMvWmg9AJDn/50Fxk6Sl7ecPuIuw9m7GCWJas=@vger.kernel.org X-Gm-Message-State: AOJu0YxgyemC5rMQaEIQFjSHp7gJD2MmwmzykMEwPhM/lwiUymQxPMVx Yt2it2FnbeGhNUXs0NHsVAzGO/eCI3CycOIjhZrUZGLIBLdwXZVW0YLS X-Gm-Gg: Acq92OF0B3Mrew1sVtQPrDxth6QKoZ6fMo3R3/PEaA04zvDFlVlPOW3+ZQyZVziPwBj ucqfMm4T1xYPUdwEqfoLuEi+5uPimyQPMsdGlfxeHZztexyes9IG5ly492RpmdAzplzegHDWCgS opCrpva/YRKz97rfA8w3K1oo3ayAg5FhG67cy9SIGGY+Bj517iSKRZqP+ZyQtg9gaiNwxnSpfli /Fmr/Nhj+Osm4shOKZ0p1Wzr+8sIoN/oJeO84gZ/Fl2o8/Ix/ZtvNKgYPdgLMSVwJMAjeN1ImNK P7yuNXRiU2ifzWzIKSLgzV25kefd/vqUZWyWYsXmmmKrzkpwurFfX4iCtvsTumb+f+QlHJZwisO xqd7wyYx2YtmsNt0JSViaVYXQLscbPL3vSN5IttbfmNCJ88O5mkUMH0+XeYPVW7iJgCixxOlvpM G7pWLMw6MSGWpUndU= X-Received: by 2002:a05:600c:3542:b0:490:4334:d5ed with SMTP id 5b1f17b1804b1-4904334d66bmr183193305e9.14.1779655877933; Sun, 24 May 2026 13:51:17 -0700 (PDT) Received: from sefo-laptop ([2a02:8071:50c5:5c0::361b]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-45eb6d6ebf0sm22738588f8f.34.2026.05.24.13.51.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 May 2026 13:51:17 -0700 (PDT) From: Wadim Mueller To: jic23@kernel.org Cc: lars@metafoo.de, dlechner@baylibre.com, nuno.sa@analog.com, andy@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, linux@roeck-us.net, jdelvare@suse.com, ak@it-klinger.de, linux-iio@vger.kernel.org, linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH v1 3/4] iio: flow: add Sensirion SLF3x liquid flow sensor driver Date: Sun, 24 May 2026 22:49:38 +0200 Message-ID: <20260524205112.26638-4-wafgo01@gmail.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260524205112.26638-1-wafgo01@gmail.com> References: <20260524205112.26638-1-wafgo01@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Wadim Mueller Add an IIO driver for the Sensirion SLF3S family of digital liquid-flow sensors. The supported sub-types (SLF3S-0600F, SLF3S-4000B) share the same register map and command set and are distinguished only by the flow scale; the variant is detected at probe time from the product-information register. The driver exposes two IIO channels: - in_volumeflow_raw / in_volumeflow_scale (litres per second) - in_temp_raw / in_temp_scale (milli-degC) Continuous measurement mode is started in probe and stopped via devm-action; read_raw() fetches the most recent sample on demand. Signed-off-by: Wadim Mueller --- drivers/iio/Kconfig | 1 + drivers/iio/Makefile | 1 + drivers/iio/flow/Kconfig | 22 ++++ drivers/iio/flow/Makefile | 7 + drivers/iio/flow/slf3x.c | 264 ++++++++++++++++++++++++++++++++++++++ 5 files changed, 295 insertions(+) create mode 100644 drivers/iio/flow/Kconfig create mode 100644 drivers/iio/flow/Makefile create mode 100644 drivers/iio/flow/slf3x.c diff --git a/drivers/iio/Kconfig b/drivers/iio/Kconfig index 661127aed..652557a5b 100644 --- a/drivers/iio/Kconfig +++ b/drivers/iio/Kconfig @@ -92,6 +92,7 @@ source "drivers/iio/common/Kconfig" source "drivers/iio/dac/Kconfig" source "drivers/iio/dummy/Kconfig" source "drivers/iio/filter/Kconfig" +source "drivers/iio/flow/Kconfig" source "drivers/iio/frequency/Kconfig" source "drivers/iio/gyro/Kconfig" source "drivers/iio/health/Kconfig" diff --git a/drivers/iio/Makefile b/drivers/iio/Makefile index cb80ef837..f03a4100c 100644 --- a/drivers/iio/Makefile +++ b/drivers/iio/Makefile @@ -29,6 +29,7 @@ obj-y +=3D dac/ obj-y +=3D dummy/ obj-y +=3D gyro/ obj-y +=3D filter/ +obj-y +=3D flow/ obj-y +=3D frequency/ obj-y +=3D health/ obj-y +=3D humidity/ diff --git a/drivers/iio/flow/Kconfig b/drivers/iio/flow/Kconfig new file mode 100644 index 000000000..355857a6b --- /dev/null +++ b/drivers/iio/flow/Kconfig @@ -0,0 +1,22 @@ +# SPDX-License-Identifier: GPL-2.0-only +# +# Liquid / gas flow sensor drivers +# +# When adding new entries keep the list in alphabetical order + +menu "Flow sensors" + +config SENSIRION_SLF3X + tristate "Sensirion SLF3x liquid flow sensor" + depends on I2C + select CRC8 + help + Say yes here to build support for the Sensirion SLF3S family of + digital liquid-flow sensors (SLF3S-0600F, SLF3S-4000B, ...). + The driver reports the volumetric flow rate and the embedded + temperature reading via the standard IIO interface. + + To compile this driver as a module, choose M here: the module + will be called slf3x. + +endmenu diff --git a/drivers/iio/flow/Makefile b/drivers/iio/flow/Makefile new file mode 100644 index 000000000..9eb9bdde0 --- /dev/null +++ b/drivers/iio/flow/Makefile @@ -0,0 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for industrial I/O flow sensor drivers +# + +# When adding new entries keep the list in alphabetical order +obj-$(CONFIG_SENSIRION_SLF3X) +=3D slf3x.o diff --git a/drivers/iio/flow/slf3x.c b/drivers/iio/flow/slf3x.c new file mode 100644 index 000000000..e4ee1a04a --- /dev/null +++ b/drivers/iio/flow/slf3x.c @@ -0,0 +1,264 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Sensirion SLF3x liquid flow sensor driver. + * + * Copyright (C) 2026 CMBlu Energy + * Author: Wadim Mueller + */ + +#include +#include +#include +#include +#include +#include +#include + +#include + +#define SLF3X_CRC8_POLY 0x31 +#define SLF3X_CRC8_INIT 0xff + +#define SLF3X_PRODUCT_ID_LEN 18 +#define SLF3X_FAMILY_BYTE 1 +#define SLF3X_SUBTYPE_BYTE 3 + +#define SLF3X_FAMILY_ID 0x03 + +#define SLF3X_MEAS_LEN 9 +#define SLF3X_MEAS_DELAY_US 12000 + +/* Temperature LSB is 1/200 =C2=B0C; IIO_TEMP scale is in mC/LSB =3D> 5. */ +#define SLF3X_TEMP_SCALE 5 + +static const u8 slf3x_cmd_prep_pid[] =3D { 0x36, 0x7c }; +static const u8 slf3x_cmd_read_pid[] =3D { 0xe1, 0x02 }; +static const u8 slf3x_cmd_start_water[] =3D { 0x36, 0x08 }; +static const u8 slf3x_cmd_stop[] =3D { 0x3f, 0xf9 }; + +DECLARE_CRC8_TABLE(slf3x_crc_table); + +struct slf3x_variant { + u8 sub_type; + const char *name; + /* + * Flow scale exposed via IIO_CHAN_INFO_SCALE in litres per second + * per LSB, encoded as IIO_VAL_FRACTIONAL (num / den). The encoding + * comes from the Sensirion datasheet's "scale factor" (ticks per + * ml/min) combined with the 1 ml/min =3D 1/60000 l/s conversion. + */ + int scale_num; + int scale_den; +}; + +static const struct slf3x_variant slf3x_variants[] =3D { + { .sub_type =3D 0x03, .name =3D "slf3s-0600f", + .scale_num =3D 1, .scale_den =3D 6000000 }, + { .sub_type =3D 0x05, .name =3D "slf3s-4000b", + .scale_num =3D 1, .scale_den =3D 1666680000 }, +}; + +struct slf3x_data { + struct i2c_client *client; + const struct slf3x_variant *variant; +}; + +static int slf3x_verify_crc(const u8 *block) +{ + return crc8(slf3x_crc_table, block, 2, SLF3X_CRC8_INIT) =3D=3D block[2] ? + 0 : + -EIO; +} + +static int slf3x_write_cmd(struct i2c_client *client, const u8 *cmd) +{ + int ret =3D i2c_master_send(client, cmd, 2); + + if (ret =3D=3D 2) + return 0; + return ret < 0 ? ret : -EIO; +} + +static int slf3x_read_product_info(struct slf3x_data *sf) +{ + struct i2c_client *client =3D sf->client; + u8 buf[SLF3X_PRODUCT_ID_LEN]; + int ret, i; + + ret =3D slf3x_write_cmd(client, slf3x_cmd_prep_pid); + if (ret) + return ret; + + ret =3D slf3x_write_cmd(client, slf3x_cmd_read_pid); + if (ret) + return ret; + + ret =3D i2c_master_recv(client, buf, sizeof(buf)); + if (ret !=3D sizeof(buf)) + return ret < 0 ? ret : -EIO; + + for (i =3D 0; i < SLF3X_PRODUCT_ID_LEN; i +=3D 3) { + if (slf3x_verify_crc(&buf[i])) { + dev_err(&client->dev, + "product-info CRC mismatch at byte %d\n", i); + return -EIO; + } + } + + if (buf[SLF3X_FAMILY_BYTE] !=3D SLF3X_FAMILY_ID) { + dev_err(&client->dev, + "unexpected device family 0x%02x\n", + buf[SLF3X_FAMILY_BYTE]); + return -ENODEV; + } + + for (i =3D 0; i < ARRAY_SIZE(slf3x_variants); i++) { + if (buf[SLF3X_SUBTYPE_BYTE] =3D=3D slf3x_variants[i].sub_type) { + sf->variant =3D &slf3x_variants[i]; + return 0; + } + } + + dev_err(&client->dev, "unsupported SLF3x sub-type 0x%02x\n", + buf[SLF3X_SUBTYPE_BYTE]); + return -ENODEV; +} + +static int slf3x_read_sample(struct slf3x_data *sf, s16 *flow, s16 *temp) +{ + u8 buf[SLF3X_MEAS_LEN]; + int ret, i; + + ret =3D i2c_master_recv(sf->client, buf, sizeof(buf)); + if (ret !=3D sizeof(buf)) + return ret < 0 ? ret : -EIO; + + for (i =3D 0; i < SLF3X_MEAS_LEN; i +=3D 3) { + if (slf3x_verify_crc(&buf[i])) + return -EIO; + } + + *flow =3D (s16)get_unaligned_be16(&buf[0]); + *temp =3D (s16)get_unaligned_be16(&buf[3]); + return 0; +} + +static const struct iio_chan_spec slf3x_channels[] =3D { + { + .type =3D IIO_VOLUMEFLOW, + .info_mask_separate =3D BIT(IIO_CHAN_INFO_RAW) | + BIT(IIO_CHAN_INFO_SCALE), + }, + { + .type =3D IIO_TEMP, + .info_mask_separate =3D BIT(IIO_CHAN_INFO_RAW) | + BIT(IIO_CHAN_INFO_SCALE), + }, +}; + +static int slf3x_read_raw(struct iio_dev *indio_dev, + struct iio_chan_spec const *chan, int *val, + int *val2, long mask) +{ + struct slf3x_data *sf =3D iio_priv(indio_dev); + s16 flow, temp; + int ret; + + switch (mask) { + case IIO_CHAN_INFO_RAW: + ret =3D slf3x_read_sample(sf, &flow, &temp); + if (ret) + return ret; + *val =3D (chan->type =3D=3D IIO_VOLUMEFLOW) ? flow : temp; + return IIO_VAL_INT; + case IIO_CHAN_INFO_SCALE: + if (chan->type =3D=3D IIO_VOLUMEFLOW) { + *val =3D sf->variant->scale_num; + *val2 =3D sf->variant->scale_den; + return IIO_VAL_FRACTIONAL; + } + *val =3D SLF3X_TEMP_SCALE; + return IIO_VAL_INT; + default: + return -EINVAL; + } +} + +static const struct iio_info slf3x_info =3D { + .read_raw =3D slf3x_read_raw, +}; + +static void slf3x_stop_meas(void *data) +{ + struct slf3x_data *sf =3D data; + + slf3x_write_cmd(sf->client, slf3x_cmd_stop); +} + +static int slf3x_probe(struct i2c_client *client) +{ + struct device *dev =3D &client->dev; + struct iio_dev *indio_dev; + struct slf3x_data *sf; + int ret; + + ret =3D devm_regulator_get_enable_optional(dev, "vdd"); + if (ret < 0 && ret !=3D -ENODEV) + return dev_err_probe(dev, ret, "failed to enable vdd\n"); + + indio_dev =3D devm_iio_device_alloc(dev, sizeof(*sf)); + if (!indio_dev) + return -ENOMEM; + + sf =3D iio_priv(indio_dev); + sf->client =3D client; + crc8_populate_msb(slf3x_crc_table, SLF3X_CRC8_POLY); + + ret =3D slf3x_read_product_info(sf); + if (ret) + return dev_err_probe(dev, ret, "product info read failed\n"); + + ret =3D slf3x_write_cmd(client, slf3x_cmd_start_water); + if (ret) + return dev_err_probe(dev, ret, "start measurement failed\n"); + + usleep_range(SLF3X_MEAS_DELAY_US, SLF3X_MEAS_DELAY_US + 1000); + + ret =3D devm_add_action_or_reset(dev, slf3x_stop_meas, sf); + if (ret) + return ret; + + indio_dev->name =3D sf->variant->name; + indio_dev->channels =3D slf3x_channels; + indio_dev->num_channels =3D ARRAY_SIZE(slf3x_channels); + indio_dev->info =3D &slf3x_info; + indio_dev->modes =3D INDIO_DIRECT_MODE; + + return devm_iio_device_register(dev, indio_dev); +} + +static const struct i2c_device_id slf3x_id[] =3D { + { "slf3s" }, + { } +}; +MODULE_DEVICE_TABLE(i2c, slf3x_id); + +static const struct of_device_id slf3x_of_match[] =3D { + { .compatible =3D "sensirion,slf3s" }, + { } +}; +MODULE_DEVICE_TABLE(of, slf3x_of_match); + +static struct i2c_driver slf3x_driver =3D { + .driver =3D { + .name =3D "slf3x", + .of_match_table =3D slf3x_of_match, + }, + .probe =3D slf3x_probe, + .id_table =3D slf3x_id, +}; +module_i2c_driver(slf3x_driver); + +MODULE_AUTHOR("Wadim Mueller "); +MODULE_DESCRIPTION("Sensirion SLF3x liquid flow sensor driver"); +MODULE_LICENSE("GPL"); --=20 2.52.0 From nobody Tue Jun 9 00:59:52 2026 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B454433C507 for ; Sun, 24 May 2026 20:51:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779655882; cv=none; b=Ii7MBa05ESogJmoqAn/Zw0s9E4Z9mkcQNFpN9Vcw6LQ0FG29OyBZiNR3PjAx/FG5PxgNJm6bSDU3drCnyXnkYWjHpo9uw7m9sTwVK9viCttlwfJoJTGwUWwVSyHftFPHBwd/mxlNixI+kIupjN5K3722osGnvJK15MennwcTd14= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779655882; c=relaxed/simple; bh=/E6noZEAxsmqEWcfMOy++WDBnV+JRuYmIOlWaCLHqFM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=O2S/mDPCiUzA9ffpFZsmS+BKhzEWFxMGBrwKsOCbZ7PRmoEd4jzdcQEWNUxjVFKC6hDrpD3MqYQW31ZugPp7S3AlySBm+jinzpeJOX5uv+w9DoLGQVaw2FjNaA+E+CC2eOkGsldd/FW0B0fRWZR3oWw8hLyGWQ5mUD1cvLpgfTU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=oTqru2vc; arc=none smtp.client-ip=209.85.128.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="oTqru2vc" Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-48984d29fe3so93863375e9.0 for ; Sun, 24 May 2026 13:51:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1779655879; x=1780260679; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=iFd4yJ/TC4wEbZC59wd9fQSCOjR2w318PilPDVoxbPw=; b=oTqru2vcdTnZiWMZkpNMv9u7o2L0pLHcfkA7TkK9woFGYlYbPozZtQqICzS27/ybPQ nV/KWK/0vLAl0EshAzJL451DxkaIRToVSt1sROHanFWDS5KihzClqoK1VkZmCh342cIe +U8xMkoVVBWw7unuREfntsXHbt6nSV3q6PK8frZ7kG9CCC9L3EaVeU9YM6RV0S7wDbIu NE0UnO4LHuUJe21vbXexD/7db2l2cK5DRqvCAp4+PJVrwnutv3AQCHCfEZCYiVzL3qXV 0NnlLhU5Ix7kwfWdh6t1rDy06yVIgRA6JCdJyCJnscSNt8wR0PoAc0SmSEoaj0R6P745 Wapg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779655879; x=1780260679; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=iFd4yJ/TC4wEbZC59wd9fQSCOjR2w318PilPDVoxbPw=; b=TGXJdvJ+6w5jCuKJH7vR3R07ZSNQCNFN8/wLj3rgSs8Qh08rWrKlAEKyI66J/vyXdF KCObkVIOcKBd1yDoHl3xu1jdghO5TbZuosxi+VWVOl7DsK7ppkocOaq2XzPnIZKlECqh jHilhC/CNCQt46uKTDmh7h6f4kJ31v3UlSPyLzQyewiWFO91I6ctUKHar5Fpx0Gg/917 m5fRYrmdiIsPvDlU8UDPwtwq27sV8EYK2Rm8KLv3Qe5wYcxqUJtU9QhbUy9KYChEcXRG I8TxLtsLjinWtzuoWit0K4vGJrziNsu5trPhrhlg5iNZG9FY7iCr0fgFzNj2385I8xD4 SI7A== X-Forwarded-Encrypted: i=1; AFNElJ/tj+n+oXuMYghQEBrS0kr0PA3ikENYXoPh0kDBFW6AqioxR0rMsf4fEAX0z5EtveY4BmTqoFOxryaOXKw=@vger.kernel.org X-Gm-Message-State: AOJu0YzE6lMGJ5ojDOy0VIQxsMVgHBBWAhb2ZLaSSPDMb+/FygFXEA38 l6dZ1li1nVW5akNYxoz+TlnaCpCCTvtq2Ug7ehCKIKfIFA0G4jPrhzUh X-Gm-Gg: Acq92OEkQiJgsZhKoCstV155xC0oOvuLyRJNspIqrignidQHycSrgXeeuxVgt+XnR83 qOGFqzhDCtzvSgCvAYHPPt2O+GDD2SUTM7yUJ19oN3eMBl8mEnumxsGYdT82lXI+sFkyAv5uurA hXrYlNFSswW/hB+SurK7H/CZhAsmlyhT0bHTEajh7mupxuNCbq6+TcDjqeLdAo0jLi4wvAZWWLC I8LjSM0zu8Z7X6fF+C8jem9O9FSf7fa5DG8N9ELJccCJI4jMk+8C6OG2DIc74uXplsCHqa2vxd5 wVJAGjXgjxlYHDXj+5b/425YFybZOKuG2NwFbsHlmh/Gd9XQJ1lgK647umkVN+3JbLqL1fbqZEo JmBcPwR6pY+sztNMk4DSAqcPsZ1MAnQtHqLHHOVzYlCIunl3An6KRbCkqRuob6iqft9uamNYPuO mF2TK6 X-Received: by 2002:a05:600c:818e:b0:490:58f4:ba23 with SMTP id 5b1f17b1804b1-4905c60ef29mr62901095e9.30.1779655878894; Sun, 24 May 2026 13:51:18 -0700 (PDT) Received: from sefo-laptop ([2a02:8071:50c5:5c0::361b]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-45eb6d6ebf0sm22738588f8f.34.2026.05.24.13.51.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 May 2026 13:51:18 -0700 (PDT) From: Wadim Mueller To: jic23@kernel.org Cc: lars@metafoo.de, dlechner@baylibre.com, nuno.sa@analog.com, andy@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, linux@roeck-us.net, jdelvare@suse.com, ak@it-klinger.de, linux-iio@vger.kernel.org, linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH v1 4/4] MAINTAINERS: add entry for Sensirion SLF3x flow sensor driver Date: Sun, 24 May 2026 22:49:39 +0200 Message-ID: <20260524205112.26638-5-wafgo01@gmail.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260524205112.26638-1-wafgo01@gmail.com> References: <20260524205112.26638-1-wafgo01@gmail.com> 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 Content-Type: text/plain; charset="utf-8" From: Wadim Mueller Signed-off-by: Wadim Mueller --- MAINTAINERS | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 06a8c7457..5cafa8c8f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -24187,6 +24187,13 @@ S: Maintained F: Documentation/ABI/testing/sysfs-bus-iio-chemical-sgp40 F: drivers/iio/chemical/sgp40.c =20 +SENSIRION SLF3X LIQUID FLOW SENSOR DRIVER +M: Wadim Mueller +L: linux-iio@vger.kernel.org +S: Maintained +F: Documentation/devicetree/bindings/iio/flow/sensirion,slf3s.yaml +F: drivers/iio/flow/slf3x.c + SENSIRION SPS30 AIR POLLUTION SENSOR DRIVER M: Tomasz Duszynski S: Maintained --=20 2.52.0