Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp2051895pxy; Sat, 24 Apr 2021 03:49:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxnXO7mlplVxthPCMBF+cPPPcvavLxx8nZaqDRHuK93JAoXXJGxoaD5OMGrP75iJSnL90kv X-Received: by 2002:a17:902:409:b029:ed:6f:bb8e with SMTP id 9-20020a1709020409b02900ed006fbb8emr732758ple.5.1619261361212; Sat, 24 Apr 2021 03:49:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619261361; cv=none; d=google.com; s=arc-20160816; b=PkoHniaqQMS9r5+FPL56vGS5Op/fjzcS1+6xkpAEPRr5JECs9Ty85UPPOgOx75jggH hmF87ApHlILoBNZ1Sm/B5owIBYUFaqmE3mLsO+a2V03HqcPQnjLbm+HeukpEMONJbDDG kzuyEM+8iccKT11rB4jJPTVnTCLPBlqbHELYc+4Z5xc0VhrW6SMfGdG4yRqWJwKEDCiw 02FhezC1NWh5aj3gPm3tjv1myz3wzeePzk6Ym6//M8/DlxsiVCM6qnVBOADKSr2QCuVT WQvyynDK7eVP3MBNGhV2mAn51Fgipw72oLjbrP6Z07fowntQFbvfq61gPsrO2ctvyKWG MilQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=jjddjI/y1t01l9QDb/uUyBxqy8kSInBNNrFe+mt3sRE=; b=YXQ9YYtqsiTJyvBOi9TbiURVrYuVafQ8Yaf2YIvMfxZfz4MWUKWdYWjf/l/t/7YYTw +1DsZjC9qmFHIihdKEoskRYAmPEe9Ctfbx7d6wmQjYOE/E9By3uL1rahdF1WhtsOEtvG iVHA3bTIeKetAdOq3D7mYkeaxGV3yjvCYIFXAWRUPOS75loToIAU7sa9eAJGS0NucaRh jWwh5h+Mq3Uu2x6+keywe8fuKCctzhPry1yW32DT/ECBZwmigEtwsyDuTnb8jQHtf7Sp Z1Mc8dOgbNZukj8ObD+6gP3RyXDzmVadjP0Y6/N9uZmd4hdi+QE6SpyE5PzgF5X45NRn t7Lw== ARC-Authentication-Results: i=1; mx.google.com; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h123si12152906pfb.149.2021.04.24.03.49.06; Sat, 24 Apr 2021 03:49:21 -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; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232108AbhDXKqu convert rfc822-to-8bit (ORCPT + 99 others); Sat, 24 Apr 2021 06:46:50 -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