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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C3F92C32771 for ; Sat, 24 Sep 2022 16:42:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229669AbiIXQm0 (ORCPT ); Sat, 24 Sep 2022 12:42:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229837AbiIXQmZ (ORCPT ); Sat, 24 Sep 2022 12:42:25 -0400 Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F07FD80531 for ; Sat, 24 Sep 2022 09:42:23 -0700 (PDT) Received: by mail-lj1-x231.google.com with SMTP id q17so3171955lji.11 for ; Sat, 24 Sep 2022 09:42:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=vZUaPTqoVWgsInpTzgT9h+FI6z7QTidVmPkHypoNty0=; b=A8RgYz8uv29b0xVlOtUQ2IblCd/KDGmEfsqSDeAfa6nFOee0ltmKl2bFy0h6dv3TAw xjldYJpBmiTgz1navbtzt+zytXJI83B++6rPu45SB8yC86ymxlslG/ShALMAlEXTp79w 6UE9/mj9XeLFI8nOCKFiH6fOtNM6HLUHT+nbrTxSe03KFPNsiU1p8q6VtfCLFtI6qh9S xBp/Kt+lnZN4skUWT9eQOCfrsCdzYPtKMvEeXFJQvmM/uoWTYYwUrzUI+JOPY29bWV/d HiR5UBdZ2+Oqfa+jBqq4sJtNR89BXynAGH/OvS7J9EdROF7K39StNlJ1WU/LMdpXdPYk XJEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=vZUaPTqoVWgsInpTzgT9h+FI6z7QTidVmPkHypoNty0=; b=occ7MvFQtlCeZSiRFwMnyR7nRH1/FawTiUoCBVYb9oyKkasrsuoDpDZ+n8Dp38AGPd KzKYgIg6/h1KHMBA6tjn7opFbe7493g5cnxn6yHkljN9pP6zL48Ty5duQTheRpPhawHA t/QyjEY+0GOh+skmhg8Nn+gH67HXqhKAa++aY1V2m59v3uDrpO90aSJc7sepT67lH9Bv ZhqYd74wH+KfzGrYSyYo1kDf+5BwJ5qLuFqpglhALs9/yw5GEY2Yz6uv0RhHlZbMKkXs XDcT3rqikQGu3RAQQsjRngrhFlXl6AIAeZM8IydirRyaumqyHNyayYS2s2lHNuIcxlbd rLDw== X-Gm-Message-State: ACrzQf1/Z4lWCIsrGb7RxOTpsFGEq7Eciu/nwVNlQdd3e60rUDLnKF68 YxXWZb5GcuU+hO7+rzdUomLyTg== X-Google-Smtp-Source: AMsMyM6kFvAiQOwvriHJrKJbIjO6DZoXbwEVMfShkCFuutnOeek6i5XjwLY302OS3c4iXGCufTxpuQ== X-Received: by 2002:a2e:9142:0:b0:26c:3e1a:c866 with SMTP id q2-20020a2e9142000000b0026c3e1ac866mr5105977ljg.433.1664037742356; Sat, 24 Sep 2022 09:42:22 -0700 (PDT) Received: from [192.168.1.211] ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id m8-20020a194348000000b0048a8586293asm1945555lfj.48.2022.09.24.09.42.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 24 Sep 2022 09:42:21 -0700 (PDT) Message-ID: <839cd883-f587-a642-30a0-9b705fe95144@linaro.org> Date: Sat, 24 Sep 2022 19:42:21 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [RFC PATCH 06/10] thermal/drivers/tsens: use generic calibration routine for msm8976 Content-Language: en-GB To: AngeloGioacchino Del Regno , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Amit Kucheria , Thara Gopinath , "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui Cc: linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, Marijn Suijten References: <20220910124701.4060321-1-dmitry.baryshkov@linaro.org> <20220910124701.4060321-7-dmitry.baryshkov@linaro.org> From: Dmitry Baryshkov In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 12/09/2022 11:57, AngeloGioacchino Del Regno wrote: > Il 10/09/22 14:46, Dmitry Baryshkov ha scritto: >> According to msm-3.10, msm8976 uses the same routine for processing >> calibration data as other platforms. Drop the msm8976-specific >> compute_intercept_slope_8976() and use compute_intercept_slope(). >> >> Cc: Konrad Dybcio >> Cc: AngeloGioacchino Del Regno >> Signed-off-by: Dmitry Baryshkov > > As far as I remember, at least some MSM8976 versions don't have the slope > fuses populated and/or the values are bad. This is the reason why slopes > are hardcoded. > > This commit would break support for MSM8976. > Cc'ing Marijn, as he should be able to re-test this. Angelo, Marijn, any update on testing this? -- With best wishes Dmitry