Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1954083lql; Wed, 13 Mar 2024 12:56:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXqce1iAH1e3PpmxQJva59l0QOHx5LKnrWuThZjZGPqmgYX8pNj/Yh8DHmkl0dVg6hTQvX5CGjP13jMHcThV9KLqt6VbxXJQ7d16P8Y+Q== X-Google-Smtp-Source: AGHT+IFOnTCmGbTQKK4OoAUAlIIwb5Kjml4YrfuGcooBeyneSlIBxDWVSD0j0Boaxa4jliYC6DTp X-Received: by 2002:a17:907:a805:b0:a46:4a2f:5df4 with SMTP id vo5-20020a170907a80500b00a464a2f5df4mr3716338ejc.66.1710359773581; Wed, 13 Mar 2024 12:56:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710359773; cv=pass; d=google.com; s=arc-20160816; b=Ry90USvFteDuQyHx4y+uKdUecZAasr9cyegIl3dTCl8+czD3SbrVacilQzX8s+qX9B yIscf4zD4GdplR24d/fZv0OkB7iGo9kibGCemqxQIwB9gBc88bc1ERAUydyb4OWRSVcV 5WjLYQcDYofZcOSi3diBPP/7VoHzQA2vqbn5vbCiShgdloB6ISw3HW6+SjMpcAUbSROd 8NBykvpdV8Y4qz44tN8XRv+3EcMRo2VvHsGq+56XHNJDpmTnreAB8IiGHbMKUDMph1IZ cn3u2fwve3AGa8qyiWlhOmZBnUGWiYVPYfGiJCKNRQqztDMFv6HseSr9amX6sF8ww4M0 uF/A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:date:from:dkim-signature; bh=4UlZ0qXaHrxjPwMvupsh66nrXfN2ATU7nRdRC9at3BQ=; fh=7B9B4tkb0eyGvPAnfLOWz1gGMu4qQ19GSRWKmM6U7Mk=; b=VkP3ojGtKZOwGAZso9ZRRV944oh5gipt2DKu4axPxT5YE70G1WZdFG0iDOSrR5ziIk jLiYwUfBel2/f0BDaWT1ideHvtqGyLzvkHpZK4v4eOlt8UyRoQ5sdazaRZwrYsbOzFX0 lehet/OJY2Hnnx6hlFPyYRdf4lb7thnMqHYe1SKrg6RvfXCHc1cGOsfNFFsr7b4uK446 0zKx/OUHvhnz036jU4dNwRF9p12zbBUFbIZzL9eRJ0F8sSLZjPRJDhPktN46oDH4OrMp ChzQFP3ydGpxFJNkHFnzZVmVvfbLAzLwHH0jNW2pGJeyQk6pExfj1/K/ciZ6qyYakGnG RGUQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UiWcLg9w; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-102456-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-102456-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id s10-20020a170906354a00b00a46639c7f35si542044eja.37.2024.03.13.12.56.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 12:56:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-102456-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UiWcLg9w; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-102456-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-102456-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 501861F24E3D for ; Wed, 13 Mar 2024 19:56:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 69F1F4CB47; Wed, 13 Mar 2024 19:56:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="UiWcLg9w" Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.52]) (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 03849482D4; Wed, 13 Mar 2024 19:56:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710359765; cv=none; b=XoQo+LMWVFPxcDXv1NyjmXGYxoahaEgFFkoDCze/X6NxlJb6TTC3/490UuzdRpR8BpLJjfPNCEr+ly46uDQ/Bi6Wxb4apVncT0n+yPe1xfciXpmr3CTjC7KWODyIlIKBPCphTsP7hY5I0k6DDYQAJHMOWUsqyr+VRK8EwYIx7wQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710359765; c=relaxed/simple; bh=GopJVs09YC8B31IStPnxUVp3Zcqx8IaRJ1z0E3WCq0k=; h=From:Date:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=BPOhY6LpwYz6NbcvuNGsqeWgQDHFCC01nnW+yJ7xAfGSPL+jAw9iToH45Ztp/pSdA8pZld8fJQvzFxc/P50paxaSm0fWd7ajNPRwqnrQ36qMWYQEl5en7lYdYrD1Xlisre9Lj30SUWvekJyHFUn9HSDTSz62afhBiI0WgQ7xDGk= 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=UiWcLg9w; arc=none smtp.client-ip=209.85.208.52 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 Received: by mail-ed1-f52.google.com with SMTP id 4fb4d7f45d1cf-5682ecd1f81so332142a12.0; Wed, 13 Mar 2024 12:56:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710359762; x=1710964562; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:date:from:from:to:cc:subject:date:message-id:reply-to; bh=4UlZ0qXaHrxjPwMvupsh66nrXfN2ATU7nRdRC9at3BQ=; b=UiWcLg9w0yPFsN9FFfMndmgcVmT08WTiN5Ux6HNTSED+9wMtxPyhp7v9pYR+IStVOy u04w10L6kEh9Mj2s8D9JwKVT5D736fLOKKHFf/xMXdQooIZKcL6XL+AvoSGOFbEYHqTC PrGduPtSMg+9kIUMpLWyQsKmrZPCtW9e3ltacKaZR+LdIXru3gtfdqfWQGfikEn/v3KZ e0rxeCOo8Ldj/rbQFA5qYd+3t9M2gQgkwUxo6HE4cTaEUrUIiY2gZCoqApSuufz8KJ/1 txZ9UqBnugyowESgcDuIxmm+CcgZrbjdKMGD/spT6wpT/hhJnMY+8OzYV7aHdatRgVA/ 2ixg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710359762; x=1710964562; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:date:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=4UlZ0qXaHrxjPwMvupsh66nrXfN2ATU7nRdRC9at3BQ=; b=mF446DIGkIW/XS+4RcdAtQAkK9YcU4OrDfml8dOagUoAepctjjRRCXhi6A9SAjWCDV 8tYVr7nt4myn0LT/CisawcjY9dtkkL0w0US8rfkz3Lk5WMA7eEZMd4gqlxmuXiIgT1iB 4Ju3mIv0WFkGyFZ4zqJEpfjpL6rIFR7nvWPMZKyEpWDFeLDtBmxvU+9UErg3fOZm/hAb QzqpHt0lFYHHzBlW8lMG90f5EBrSJZWYPi/WAFaQcI91o2plPnQuncsOePdF/oTvRPzp ltKAquMm76VRNDLnMGWuDsRwn7Bhd6DzOup3FLcAcnOIEEpP9vXTjAuvbgZ8ZAHcSHBu meZA== X-Forwarded-Encrypted: i=1; AJvYcCURIwHcZCUQLaQvR9A97ejHhD4subIJROETZ4aydeu3d3lNE4+MJF9UNTNggsIqXiuXXWjI0VUMM3DrxSqCZuKuddmJEGWJi5R4CW+DnWcLm3qpq5mzM7dMlbD1go+HiEjfdITPfD0w X-Gm-Message-State: AOJu0YyffH7ZIVwz2OVCDONX3XtViIT1zhTUFC36xqRgXMGlMNN8JsX9 kiCqc8fug0YmtIP/H5YmDMetX9CLqVCPmOwi/FfOJm1GifUjQ3Y2 X-Received: by 2002:a50:9b5d:0:b0:566:fbf5:a279 with SMTP id a29-20020a509b5d000000b00566fbf5a279mr2995432edj.20.1710359762056; Wed, 13 Mar 2024 12:56:02 -0700 (PDT) Received: from vamoiridPC ([2a04:ee41:82:7577:fa35:157e:1a40:3463]) by smtp.gmail.com with ESMTPSA id f8-20020a056402004800b00568550a0762sm3716486edu.6.2024.03.13.12.56.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 12:56:01 -0700 (PDT) From: Vasileios Amoiridis X-Google-Original-From: Vasileios Amoiridis Date: Wed, 13 Mar 2024 20:55:59 +0100 To: Andy Shevchenko Cc: Vasileios Amoiridis , jic23@kernel.org, lars@metafoo.de, ang.iglesiasg@gmail.com, mazziesaccount@gmail.com, ak@it-klinger.de, petre.rodan@subdimension.ro, linus.walleij@linaro.org, phil@raspberrypi.com, 579lpy@gmail.com, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 5/6] iio: pressure: Add timestamp and scan_masks for BMP280 driver Message-ID: <20240313195559.GC1938985@vamoiridPC> References: <20240313174007.1934983-1-vassilisamir@gmail.com> <20240313174007.1934983-6-vassilisamir@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=us-ascii Content-Disposition: inline In-Reply-To: On Wed, Mar 13, 2024 at 08:54:47PM +0200, Andy Shevchenko wrote: > On Wed, Mar 13, 2024 at 06:40:06PM +0100, Vasileios Amoiridis wrote: > > The scan mask for the BME280 supports humidity measurement needs > > to be distinguished from the rest in order for the timestamp to > > be able to work. Scan masks are added for different combinations > > of measurements. The temperature measurement is always needed for > > pressure and humidity measurements. > > (Just to make sure if you used --histogram diff algo when preparing the series) > > ... > > > { > > - .type = IIO_HUMIDITYRELATIVE, > > + .type = IIO_PRESSURE, > > .info_mask_separate = BIT(IIO_CHAN_INFO_PROCESSED) | > > BIT(IIO_CHAN_INFO_RAW) | > > BIT(IIO_CHAN_INFO_SCALE) | > > BIT(IIO_CHAN_INFO_OVERSAMPLING_RATIO), > > - .info_mask_shared_by_all = BIT(IIO_CHAN_INFO_SAMP_FREQ) | > > + .info_mask_shared_by_all = BIT(IIO_CHAN_INFO_SAMP_FREQ) | > > Stray change > I didn't notice that, and the checkpatch.pl didn't actually say something, thanks for pointing out. > > BIT(IIO_CHAN_INFO_LOW_PASS_FILTER_3DB_FREQUENCY), > > + .scan_index = 1, > > + .scan_type = { > > + .sign = 'u', > > + .realbits = 32, > > + .storagebits = 32, > > + .endianness = IIO_CPU, > > + }, > > }, > > -- > With Best Regards, > Andy Shevchenko > > Best regards, Vasilis Amoiridis