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 BAB8AC6FD1D for ; Fri, 17 Mar 2023 17:37:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230180AbjCQRhk (ORCPT ); Fri, 17 Mar 2023 13:37:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230197AbjCQRhj (ORCPT ); Fri, 17 Mar 2023 13:37:39 -0400 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60403C1BF5 for ; Fri, 17 Mar 2023 10:37:21 -0700 (PDT) Received: by mail-lj1-x22e.google.com with SMTP id by8so4693399ljb.12 for ; Fri, 17 Mar 2023 10:37:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679074639; 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:message-id:reply-to; bh=RTPkw06mclz1qDKURG8hZknAWGe9n19Feii2ENMQnOQ=; b=LLh7zF+Yta/6S1YIBhazjDn1OxMJYWjTnMEdMZGz96mwtdtpHXh0ws+zfXwdqJOJNM ZP797GvnlnAZdxJXWf2zpkWTeSxjm6cXXO+JTExArHFDUQjVQ7ALgJJfhBx98v8anUqr PpYuaWApgB8sawqS1Zv4evr+69rvQ/dDwemiyYVAGAVeJQqjaxsGhZ8VV++jiu7XxzT/ tD4rjLH6FyrJJvcPDf8/fMqbrhiMNB2VeIb/7trg8/gX1QQzzmvRT1jhTXLQ8mMNIz+8 O4dyza+hEC/HoWUmazA3djbZeGe8GEjT0fBUr+ZiGy10OzCx5SQwoPcZzcafwK4358RU 7GOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679074639; 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:message-id:reply-to; bh=RTPkw06mclz1qDKURG8hZknAWGe9n19Feii2ENMQnOQ=; b=brap1f42ZUVYi3CkZosTra2Cos1bz7YkuGOYXwCQUXAI6b/y+LWvHIAd1k0K/nPzkO g3KBC6bgUN5zZN8NXWnngrujFhVclFCTKeWLt6Tf1aFIosDeDiyJ+o1kJfSlN2U3P3Zu Rf+lGAylNTFoIvJC97jSx25lndcSMLXmI735jL+pWz97MGwENshdtCd5lq2OdHX7O7RM aVgWe2dWV9/bgNnUIA56lOaSzAeA0cg/gH9UK9z5JdGbjgYCHRopuq6q33lj4px/IRTP 9oLCXhJwtIBtHgWhnvzmctOJPtDt2nio8hz1boly+ERctVwb+BvY8Ta+ronlJE7M2YEy Yjug== X-Gm-Message-State: AO0yUKV1nE3caLhzF+DybKcyILxJxdd0mn40ZWOnwwzzYvAH/qDVfegs sHqsZamL7TRIu9j8yJLV3gkQrQ== X-Google-Smtp-Source: AK7set9Yk/gSyIC5R3b34gUS8lBFWmGcYzdoH7jpUXJuvzCEU+jk56wZCu3B/z7xqx9xyRaNMlWwUQ== X-Received: by 2002:a05:651c:54e:b0:293:5cce:56eb with SMTP id q14-20020a05651c054e00b002935cce56ebmr4575084ljp.43.1679074639630; Fri, 17 Mar 2023 10:37:19 -0700 (PDT) Received: from [192.168.1.101] (abym238.neoplus.adsl.tpnet.pl. [83.9.32.238]) by smtp.gmail.com with ESMTPSA id y1-20020a2eb001000000b002986854f27dsm510277ljk.23.2023.03.17.10.37.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 17 Mar 2023 10:37:19 -0700 (PDT) Message-ID: <2fd76707-9cf5-dbac-3514-89395a4225c2@linaro.org> Date: Fri, 17 Mar 2023 18:37:16 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH v3 2/6] thermal: qcom: tsens-v0_1: Fix mdm9607 slope values Content-Language: en-US To: Stephan Gerhold Cc: Stephan Gerhold , Daniel Lezcano , "Rafael J. Wysocki" , Amit Kucheria , Thara Gopinath , Zhang Rui , Rob Herring , Krzysztof Kozlowski , Bjorn Andersson , Andy Gross , Dmitry Baryshkov , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org References: <20230315103950.2679317-1-stephan.gerhold@kernkonzept.com> <20230315103950.2679317-3-stephan.gerhold@kernkonzept.com> From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 17.03.2023 16:07, Stephan Gerhold wrote: > On Fri, Mar 17, 2023 at 01:39:25AM +0100, Konrad Dybcio wrote: >> On 15.03.2023 11:39, Stephan Gerhold wrote: >>> According to the msm-3.18 vendor kernel from Qualcomm [1], mdm9607 uses >>> a non-standard slope value of 3000 (instead of 3200) for all sensors. >>> Fill it properly similar to the 8939 code added recently. >>> >>> [1]: https://git.codelinaro.org/clo/la/kernel/msm-3.18/-/blob/LE.UM.4.3.2.r1-04200-9x07/arch/arm/boot/dts/qcom/mdm9607.dtsi#L875 >>> >> FWIW there's a 4.9 release for 9607 >> >> https://git.codelinaro.org/clo/la/kernel/msm-3.18/-/blob/LE.UM.2.3.6.c5-03900-9x07/arch/arm/boot/dts/qcom/mdm9607.dtsi > > You seem to have linked 3.18 too? > > I don't see tsens support for mdm9607 in msm-4.9, although maybe I'm > looking at the wrong branch. :D Yeah wrong link and wrong kernel, it's actually 4.14 https://git.codelinaro.org/clo/la/kernel/msm-4.14/-/blob/637e99f66c270385149d1f0041758c24c4f84aaf/arch/arm64/boot/dts/qcom/mdm9607.dtsi Konrad > > Thanks, > Stephan