Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp1981126lqo; Sun, 19 May 2024 07:38:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVuqaZckSl/06PsvJhz5XvpP6gajDQimxYBnHZLOYcFHQ/3D3eKx1exl5mqL5FMY4j1nDxYbNgeMvVDOyXiHRRcJ1+wMFRnW6XC8YfIWA== X-Google-Smtp-Source: AGHT+IFh+uE2K1QVrG735oMBJ3TqhbbbiKDyrc58ykdLBiOj0P+9zEv1qW2hzZNItwpkziegNvoE X-Received: by 2002:a05:6214:4342:b0:6a3:b060:c079 with SMTP id 6a1803df08f44-6a3b060c116mr86785586d6.12.1716129508127; Sun, 19 May 2024 07:38:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716129508; cv=pass; d=google.com; s=arc-20160816; b=vgSO2PY3/49KwwAzO1aO6KyCn1cuiqwFlBTZToXrN2iKsRtcfRQSu9UaVbRq0ibEaH ZRPhBPmg5RdOMYuhWxbriVsYDB/O+FkxBjkvzpfuN1XoSbc9bkhOYeZc9YMBLJQASuR9 ea1/aUwmwsVcnTZKRjPK5Ou7eAx4wqpBMNA8JAk4kU9c+WIsld+axeoSfG15sJVbC429 zpYob4LTOFW4VrGRFYK7TaZZwmfjBkGE+2cwCSoOvbodaFKv2w03UuH4ekdFeEmzVHfg elvkmdv9WfoVtcUsCfq551bI0jDkPGynpOhcImOL1zlYS+Aj/RKxla/6gNWzGsimIrAb SR7w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=H3ZK1KKA59AcJeNWgf0zH8X+34fgzix2nPQbov47FZE=; fh=ULxNTxaaQIEX8Y9ih2rqqI9Lxn2bbvdaV8tkS1+QGD8=; b=P32iM/kNXr0cdgy8QYjiezsSfpmY8kNndLz8Q1GP7gA/sHIPMfRp+tNuONw+BxuDmW uWL5OZMtyfAWk7UY39wdzFld70dodO1Nx0IPhdkNTSnVFnYE8ergCg5i5cRciL5tpX3V V06Mi9L4ZNvEVDG2oGrqJAPkF8MQR3qWTOXDXn1RSOH+I50V63lbaF9LGLEz0e3su4uY b59q5lrhDKQCi+OBfI8SNYLdOkuRlzIQkLMHDz791wdpRtIFI9G9DodK9EC4lwAdvKEE kC/dDD9fX1Uyz9X2rBlORCRPtTRitc670pxWVgaIq0JzEKOcn4gkdRObbhmfwIXtBc4y D98Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="CZjYfE/P"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-183134-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183134-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6a15f3060ddsi237093786d6.575.2024.05.19.07.38.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 May 2024 07:38:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-183134-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="CZjYfE/P"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-183134-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183134-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id D66BA1C20FB5 for ; Sun, 19 May 2024 14:38:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 632064D108; Sun, 19 May 2024 14:38:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="CZjYfE/P" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 880404AEDA; Sun, 19 May 2024 14:38:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716129501; cv=none; b=VqxZdEAfvb7fFOOmjtvEgQNXQ0On9Rudfx/iyMGbx7PXHvXwn8Yu5grDBNpeYS3xWrhJZ2dtmwifgFibaADjfOrw29XS6tY5DXIr6hj0EpQSaAB2YT7Giavrkn5gpj7ydjIjSeZOOrqSMWQ6aCAblBw32+t1z7Gc7SR2ldDiG1s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716129501; c=relaxed/simple; bh=zuqG7gxGu6jOQkK4xZFwmL6j+4H2TOhQ0a5eY23tRoY=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=erObffkAHgwlwDY0KLrJTCE0xCMo1Tl442nEgdLjVCN4MJ900dkWp5yqrVWvIjiEaRQTQR7MI2bLAoM/stJ4Y0/qWDQMZf2uwFHErOWg6AM4o/vHZWzcI3urUq2CVFJY9IiX8TsjnuH1CbXC4GpxfsCPQxJ4b6wg+0bRjvTIbnk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=CZjYfE/P; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2BF2AC32781; Sun, 19 May 2024 14:38:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716129501; bh=zuqG7gxGu6jOQkK4xZFwmL6j+4H2TOhQ0a5eY23tRoY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=CZjYfE/Pt/eaUxil9rXbB1URr68eY44hOTnQekdIh1K1yLXqlJzTuh+TirmaasBbb ddn6vOo//cEwC4kzHdHpHK/Vvckle8RnJJ6aGjdMsk00tgJS4P0BkRQC5jsUhGp7UX Fxwcue8gzDf+cNzK3TRYIaeaj+UukejuHFeFCXk3I/Km/HL4C5F4knMgBcDS9UiuOF sY2lUWeljiqWGAKpCFY21W9A8G7r6ViOhFA7tyvkj9Ij6AXQ2bYPqp+FMeV/fAJyc0 LfyIj0rIrtRsCpl2UtQ4y6Ld78pOzundYDwN5fcqRxQ35LJNmWHkHqnb3H5mOH8P7u VxplgKaI8ZeSw== Date: Sun, 19 May 2024 15:30:32 +0100 From: Jonathan Cameron To: Vasileios Amoiridis Cc: lars@metafoo.de, andriy.shevchenko@linux.intel.com, ang.iglesiasg@gmail.com, mazziesaccount@gmail.com, ak@it-klinger.de, petre.rodan@subdimension.ro, phil@raspberrypi.com, 579lpy@gmail.com, linus.walleij@linaro.org, semen.protsenko@linaro.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v7 4/5] iio: pressure: bmp280: Add SCALE, RAW values in channels and refactorize them Message-ID: <20240519153032.428aca57@jic23-huawei> In-Reply-To: <20240512230524.53990-5-vassilisamir@gmail.com> References: <20240512230524.53990-1-vassilisamir@gmail.com> <20240512230524.53990-5-vassilisamir@gmail.com> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.42; x86_64-pc-linux-gnu) 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=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 13 May 2024 01:05:23 +0200 Vasileios Amoiridis wrote: > Add extra IIO_CHAN_INFO_SCALE and IIO_CHAN_INFO_RAW channels in order > to be able to calculate the processed value with standard userspace > IIO tools. Can be used for triggered buffers as well. > > Even though it is not a good design choice to have SCALE, RAW and > PROCESSED together, the PROCESSED channel is kept for ABI compatibility. > > While at it, separate BMPxxx and BMExxx device channels since BME > supports also humidity measurements. > > Signed-off-by: Vasileios Amoiridis Applied Jonathan