Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp464098imp; Wed, 20 Feb 2019 03:23:51 -0800 (PST) X-Google-Smtp-Source: AHgI3IZVaC2VDInlbTZ8IOLVrsRl73HDxycV3//elF6+uBAWrMHJ5iLbVhr48BtfeJHT4LQDEJLX X-Received: by 2002:a17:902:32c3:: with SMTP id z61mr36226387plb.114.1550661830938; Wed, 20 Feb 2019 03:23:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550661830; cv=none; d=google.com; s=arc-20160816; b=xG0sf5TigIBwqDAHdb8MDB8C+BKXyq8X7uyKiIFtZDhKBEqGNqhu0tyNOxBExdDtmI xhO+nji8v/dIjspA9QYkOoTJqAVG1CZKtuKvo+zAvq651Ndy09w5qpN+LhgWVWJ9vQPH /KlezhvoPP1hT3t5XdcCw/jsNuXkENK1JmW1dpUzKy+TN2+K1aR6wvOWRrYRYeng0Ajh yjoeN8bmTYLWfICzaRfqvsynxims3Ny6y9G8JCISKxHJ24H0qy7n+oYNw3/O7+zEBfJa lTD4xk2J1xuhFYERFAagmWgMq4eTSjNrswAa3ykJ+C9NZwmEfBMojUqxOfb2r5U/xSwS lZZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=Z/PO9SZ6xK8Znbsj8tHs1UqT4d50ERCTVe2GUPsP8Z8=; b=xSr1eGPTpOTj8g6KaRdjjWbgtuQzbGarJOfrJg2aoidE7excIQ42ZU40mdlK2m5qaf xnpsSvkUQ1BBaDTNBA4PWwq3H5f8h2VvCwjlZyw8K3y2OTuYLxF1Hsl9+EJL+FIAp4pL j2uZS/33zLvONwJRi7yIs7rnC/ML++2m+ZOS48KTcn2kwbcLKhYG0GfAbktMB/jjzQdh lUo6fDpj+wYE3loZG/1DUJpUB3JBFfVmjNhb/nnKz2aPSlRiMAyXlYf1wQgsdOlE9ONf 2Y2yzrjXQP3rlt+d9WffAlIf6RPH9h0zxEWJnwXhl55FnmMB38aUDTSKCORDnJs0MXkn v1/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=n6C2SCts; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f20si17111407pgv.228.2019.02.20.03.23.35; Wed, 20 Feb 2019 03:23:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=n6C2SCts; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726947AbfBTLWl (ORCPT + 99 others); Wed, 20 Feb 2019 06:22:41 -0500 Received: from mail.kernel.org ([198.145.29.99]:33160 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726213AbfBTLWl (ORCPT ); Wed, 20 Feb 2019 06:22:41 -0500 Received: from archlinux (cpc91196-cmbg18-2-0-cust659.5-4.cable.virginm.net [81.96.234.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4D817206B7; Wed, 20 Feb 2019 11:22:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1550661760; bh=sX01j6WKooxQwpnipBg+opJl+gN4BRupD1VvAe0s9Fk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=n6C2SCtsPvWBorC9LnnxTLsLaP7txKmA1vhPUrNWldmRtkopyb1DZeQsyy+oJaSus vUQ+T65lnALi6uy3NU7GA0ANtS0+3jLR/p/ZbHqoM47PVD/ZVBlXYmtEQalH+rSC+a pfajZknlb1+Uk/7AcJEKS8HbuM2Bo8RDumxbRc/o= Date: Wed, 20 Feb 2019 11:22:34 +0000 From: Jonathan Cameron To: Himanshu Jha Cc: Mike Looijmans , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, dpfrey@gmail.com, colin.king@canonical.com Subject: Re: [PATCH] iio/chemical/bme680: Fix SPI read interface Message-ID: <20190220112234.1e42d810@archlinux> In-Reply-To: <20190216112722.GA28619@himanshu-Vostro-3559> References: <1550238475-25698-1-git-send-email-mike.looijmans@topic.nl> <20190216112722.GA28619@himanshu-Vostro-3559> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org .. > > Report temperature in millidegrees Celcius instead of degrees. > > Jonathan, I didn't know about this but is there any rationale to report > in millidegress ? Misguided attempt in the early days of IIO to match hwmon units. Sadly it is now the ABI and hence 'unfixable'. Same odd units for voltage and current + a few others that date back to those days. A big oops. There are some other non obvious bits and pieces so should always check the ABI docs which should be near complete. > > I was under the impression that degC is the standard and you would > always want you Fitbit/Smart watch to report in degC. Ofcourse, > userspace program can convert millideg -> degC