Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1901864pxy; Fri, 23 Apr 2021 22:08:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyUadfvwkveTIHkK4KY/1Miqzwf5ke4xr64q7eloRKQpfKa2TghEGzvBcb8QbfFGrfNXQNY X-Received: by 2002:a05:6402:214:: with SMTP id t20mr8482405edv.229.1619240888748; Fri, 23 Apr 2021 22:08:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619240888; cv=none; d=google.com; s=arc-20160816; b=Q2FQQpEW8vdFs0S33+iduUyPRUYCx09C5GW4AqO5mZX6pdhuV04GuGAACRrFqw/hDL RPCVV5IvGhseflIJSUN5zR7f5j4QjIBtdaItbaeoZPJZxb22cKaOElPeHA+gUaLZr19k z14phTkHLDTf9Op7l1GhoC28o7zOj9Kn+aU55LcuX/qin5vy/ThROAiFkslZRNzBCbPo UJ+qqO1vpwB4Riuf9qjv2PCSjCQ4gOv9tvMoo4EKlNPxHoWPCrWQ0pAxYlYRAq+Z91bx 0JvU8AkQcI9dVcKY5166rrA+qFMHKbkM8/eykSzA5+yJtyHE+lZq4w4NtOxugtHVjN2q 9JpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=a/RO6+FvE3kXQ+8npkkEY+xEAPWUQZ6kpW2OWxzDF7w=; b=iy9Ibs/tZZs7DyUjXQnHbuDGN8xUu9P23pPCSEQCb2jlXl7zRy4g56HsNRRNJnK6yY 4fTX0LET6t/m0V1n+H1VerJzaWFwPUX7qz1gyLHY6XeKGQSz/6JxTPmQXVjfgpqnraCH Y8z1d14DeV+uLKHmcFNd2U6dErHW7jxgA9BG2+9tmt2t0tJN1Rz3eDH84JPZl6e+azyQ uiDOF5aSgxam7xBh5yVjdbfUa13lxq7bD3WiXZAWwOZjRFVVn9iLbUFTkpMBSs1mCq5m nTDS9cYgD0ggRVRygPeohNAqo7oYsspzAIBsMrAeS4vVceGOq6borh4wrXVf5yW0UUqf gu+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=T8Br2P6B; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z14si7555165edc.429.2021.04.23.22.07.19; Fri, 23 Apr 2021 22:08:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=T8Br2P6B; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231544AbhDXE6z (ORCPT + 99 others); Sat, 24 Apr 2021 00:58:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229850AbhDXE6w (ORCPT ); Sat, 24 Apr 2021 00:58:52 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BB2FC061574; Fri, 23 Apr 2021 21:58:13 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id y4so40318760lfl.10; Fri, 23 Apr 2021 21:58:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=a/RO6+FvE3kXQ+8npkkEY+xEAPWUQZ6kpW2OWxzDF7w=; b=T8Br2P6B9akN5tV8qbEolTp6pdmIa/h7nfHSMpxrK5pc3lUU8tsi1bzmtT+6EDFSO7 oQyq1ZxWV0ohcbSUP8Zn6c6Hy9dbJj3Nr/+Ph01TcTyvFBsMZ2KYfRcEepijRFkUmZ6r //Owc1euvC0OfC/0cjl4zCbJSmqQjEI9RI+b/5b6gJ67MM/knKqZDL+rlSLqCYZljsUz 3m4SET1CHF9OUqs0/7kKjSnAiebuojsLpHX1w8R2Af+ErjLdWfHQx8MzpBzbXQqc5hF3 FGzfuhPrxalZHwVveIjfroOnRdFtcLx9M8fWS9yr/EEbEo30ONptDpcsy/FaXqGnn+h9 92xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=a/RO6+FvE3kXQ+8npkkEY+xEAPWUQZ6kpW2OWxzDF7w=; b=Av/v9ZIUuXhCyhTz+e8s5TjGaQ0CEIOOtw+FMWr4qhNUf8Vr+dvNSXMUHD8wjMKtfd vICo16XWW/yD6SIX2VFo42tQJgUskw7XppNJinMEgoKkZdaYs+/TR4LErY/oLG+/ll2I WE7swfkvuLAGr9S7rQo0D2FYLTNvUfCcVtWqMNJdKgnt/lP2XV450+MJBcRPUIXOD7k3 K793+TKlKw0Tk/T+ZENeBmAocG4kezdmLcEDQ87/yM+yA8YQ/x1l/oz7IOzLe+CgeGgd ZSkNsjSxDO7rnw/bw29nFre1BFzI3FfrtsZdvJkC2AkiFRNMcwwbGZiSieg7TNgKmWX3 BAog== X-Gm-Message-State: AOAM530vc3SGknqZ9ZHxIFMl2XJMJqVvBD/pN+cs+kBNiup+TDR/dE5S 7AZ5kOXLNXUgMuIU3kcmd58sezdoihM= X-Received: by 2002:a05:6512:110f:: with SMTP id l15mr4981027lfg.258.1619240289347; Fri, 23 Apr 2021 21:58:09 -0700 (PDT) Received: from [192.168.2.145] (109-252-193-103.dynamic.spd-mgts.ru. [109.252.193.103]) by smtp.googlemail.com with ESMTPSA id x3sm740012ljm.90.2021.04.23.21.58.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 23 Apr 2021 21:58:08 -0700 (PDT) Subject: Re: [PATCH v3] iio: gyro: mpu3050: Fix reported temperature value To: Jean-Baptiste Maneyrol , Linus Walleij , Jonathan Cameron , Lars-Peter Clausen , Andy Shevchenko , Maxim Schwalm , Svyatoslav Ryhel Cc: "linux-iio@vger.kernel.org" , "linux-kernel@vger.kernel.org" References: <20210423020959.5023-1-digetx@gmail.com> From: Dmitry Osipenko Message-ID: Date: Sat, 24 Apr 2021 07:58:08 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 23.04.2021 13:14, Jean-Baptiste Maneyrol пишет: > Hello, > > thanks for this work. > > Temperature value should obviously be 16 bits signed, thanks for the fix. By looking at our internal datasheets, I can confirm the values for MPU-30x0 family (div by 280 and 23000 offset LSB). > > I'm sorry I don't have access to these more than 1 decade old chips, so I cannot test on my side. But there is no reason it wouldn't be OK. > > Acked-by: Jean-Baptiste Maneyrol Thank you very much for confirming that the equation is correct, very appreciate that.