From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.5 required=3.0 tests=BAYES_00,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_2 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 55858C433B4 for ; Sat, 24 Apr 2021 10:46:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2A2E161490 for ; Sat, 24 Apr 2021 10:46:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234596AbhDXKqz convert rfc822-to-8bit (ORCPT ); Sat, 24 Apr 2021 06:46:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:51996 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229848AbhDXKqu (ORCPT ); Sat, 24 Apr 2021 06:46:50 -0400 Received: from jic23-huawei (cpc108967-cmbg20-2-0-cust86.5-4.cable.virginm.net [81.101.6.87]) (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 A7E4261554; Sat, 24 Apr 2021 10:46:09 +0000 (UTC) Date: Sat, 24 Apr 2021 11:46:50 +0100 From: Jonathan Cameron To: Dmitry Osipenko Cc: Jean-Baptiste Maneyrol , Linus Walleij , Lars-Peter Clausen , Andy Shevchenko , Maxim Schwalm , Svyatoslav Ryhel , "linux-iio@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v3] iio: gyro: mpu3050: Fix reported temperature value Message-ID: <20210424114650.6abb21a0@jic23-huawei> In-Reply-To: References: <20210423020959.5023-1-digetx@gmail.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 24 Apr 2021 07:58:08 +0300 Dmitry Osipenko wrote: > 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. Thanks. Applied to the fixes-togreg branch of iio.git. Note these won't go upstream until after rc1 but hopefully will soon after that. Thanks for the detective work etc on this! Jonathan