From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) (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 6673A3A960A for ; Wed, 3 Jun 2026 14:08:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780495729; cv=none; b=l+crMz5tJqK9tu8471iPpX8GJn2w6eM7WXXY64ntOoVnPMYQ+cydEvSQzKNnOZ54CWlsSAO2Z9I+pVKpkZeeNJrdjUc7uej7iYF9SBGvV7ZxiLMghKMXcb84Ub5+R1NYXGCT6mZF0Mt4v8gHIeUxfme9M702IXmjEmT9eyAnVfM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780495729; c=relaxed/simple; bh=TeUe8xBkT6d9cm4wG3uRwDCdbb+rN4QrP1F6fWpCbQM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=UiH+M41DbSI3z3Db+y+GDFmLUQ5D9BFWmef3tB/lzD49PuYi4wRg6pjlKiBdBbddz0mstj5vimM4QOfaaPv9FvgPAWNWVqUKVa8a1ws0iAZBUg86yKcQU+J3IPjoCZ7sg0FS63YJj/F1UMWkxrCWYDX/uUG2lNl19uU3LPZiHO4= 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=luSqSbA6; arc=none smtp.client-ip=209.85.218.44 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="luSqSbA6" Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-bec3ffb95dbso568060066b.0 for ; Wed, 03 Jun 2026 07:08:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1780495726; x=1781100526; 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=TeUe8xBkT6d9cm4wG3uRwDCdbb+rN4QrP1F6fWpCbQM=; b=luSqSbA6GWgvP+ZJeChBiZEW3lkNyjkLMkocx15wYGOfb8ScfBimd08IA2eILWLLsc pfYhYa4nYS48OXmAHqL+dV1ZLL4Bucyucssa8+5QG+vbjcNPPp5iOl2X8VFTgCwDy9ik vsKFtrPVeCsVz8dM49Zw4WFeQFhsNscdsfX/V7jZNhqcNV1BCh5XJ9705kGzGoS9zXAQ XxW8/4pkSXurTKu0R90ANdIeFd1ThsMBHM1yEp960T2f1TRNcY8InJXC9Ib1mUW95Nj8 aM8HdCnADuV83b4x0Mt6aKR13U8MtsMiw5a/tEy6sCG4Xwu4jrzuSji8/eX5lUCuToPH qoaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780495726; x=1781100526; 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=TeUe8xBkT6d9cm4wG3uRwDCdbb+rN4QrP1F6fWpCbQM=; b=alIl0NSJyFIjZaeP1W3SftxIbxU+j1A3c7869YPtLeNG+4osz0jQ4tsFFWAJoTzLVN wFg64N1l/QsAv4OsZzH4OyrlojywMLR4yz3Aom0WGplh4ypSA0yeRLlURVQNM8rcczZl 6NH7AkPwXiTZtlWz3wbN0VEdZjysRz3czgFQOZLeiX0OJKCK2FQ7E1FRzVNZ7QwzR7AZ LrdMv8w8ziYxaKyHM4G5i6EDTkx+79x84i+uGBGAvpDQqpspaZZ7Tdl0i8ThkcfnAL72 cvqpgxOqNvXQpYBYIVznnMKHsfH5NjuwUouRCMkCH3anR9T9i88ZBs7EesPaXNUudH7c JeaQ== X-Forwarded-Encrypted: i=1; AFNElJ8VrAb2TpUvuBYbGLbji6z7qX5hwN9a1CyVJPu6ImEFZKSnc119p19Vzh+L6uh3zD+VR7pBVtExgjN95mk=@vger.kernel.org X-Gm-Message-State: AOJu0YyBOG+4IaGG4w/zohmzQZCmsiPt4WXcW2DHWeRN5VgtlMxu+jes w/Mdxe6PBq8fl1Nz8UY2Fbb1G0n704JKLYNXkpYw2thRZzqfGF6NBV0+ X-Gm-Gg: Acq92OHbTenmLKrIGZ7O3kj59oKtfjAQGmOo0G/ZDmir0/eG3UeJjF8+VJHR4kt13LN zE/bpfwg8KNnoO6vtpWj/JUCBhTSOvPskx/bHRFy00L7ZrMYEDhY5dx9g80VZX61Uzquohb9xtx k9TNw+v5kiIy/oqlc4DoGQtzLsGl4x9r+WWIVGA/A6UfbWPMyncu7tmJ7Yba2C1Oyo1/MWASzw0 c6bmcirW5wZ1k33It5SK7k4hp3VNEqRMO9Zuveqst0FXXiN+spBo227p9nascBE8AlnTellpz2x hCTATNpKYCxUI7Slsgysis36zTJLKNTYYbNfaiRVYwBHUMTZ3DlZNx+WVzFB9CedTT2cC0dFbuZ IQOQMElhbd4qMaZkiDeeFfWZ0FYHsUVlXNEJ6LTQjIxwpFbUSKTulH3JgGhf2DyBR+fjsAbLhFb 1tter/ispRbexVcVmvFXFHWk7qWL+oud5qY+Nd6GNoeFmklCixerlDSB2WlD8DJ5AjRr6OiIyog GW3FoE= X-Received: by 2002:a17:907:9627:b0:bec:e6ae:2f6a with SMTP id a640c23a62f3a-bf0af0fe85amr195437366b.36.1780495726173; Wed, 03 Jun 2026 07:08:46 -0700 (PDT) Received: from fedora.embedded.cmblu.dev (p5df027fc.dip0.t-ipconnect.de. [93.240.39.252]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-bf0559f1ac0sm162062866b.62.2026.06.03.07.08.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jun 2026 07:08:45 -0700 (PDT) From: Wadim Mueller To: Jonathan Cameron , Krzysztof Kozlowski Cc: Wadim Mueller , Krzysztof Kozlowski , Rob Herring , Conor Dooley , David Lechner , =?UTF-8?q?Nuno=20S=C3=A1?= , Andy Shevchenko , Maxwell Doose , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 2/3] dt-bindings: iio: flow: add Sensirion SLF3S liquid flow sensor Date: Wed, 3 Jun 2026 16:08:32 +0200 Message-ID: <20260602-slf3s-v3-reply-01-wafgo01@gmail.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260601150959.49bbf125@jic23-huawei> References: <20260530205435.37326-1-wafgo01@gmail.com> <20260530205435.37326-3-wafgo01@gmail.com> <20260601-banana-narwhal-of-music-0b4d3a@quoll> <20260601150959.49bbf125@jic23-huawei> 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: 8bit On Mon, 1 Jun 2026 15:09:59 +0100 Jonathan Cameron wrote: > > And here something else. Confusing. Didn't you say device variants are > > auto-detectable? So you have only one compatible sensirion,slf3s. > > And then future fallback compatibles can never work. [...] this is why > generic compatibles are almost always the wrong way to go. If we get a > future part with an unknown ID and don't have these existing specific > compatibles, then we have no way to specify which one it is compatible > with. [...] Note for this type of device I absolutely expect there to be > future parts with different IDs and same ranges as here [...] The scale comes from the detected sub-type and there is no real feature discovery, only the opaque product-id. So for a future part a generic-only compatible would give the right driver but the wrong scale. For me the per-variant compatibles are the safer way. Krzysztof, is this ok for you, or you still want the single generic one? Wadim