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 16643C4708D for ; Thu, 29 Dec 2022 12:22:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230083AbiL2MWU (ORCPT ); Thu, 29 Dec 2022 07:22:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230052AbiL2MWT (ORCPT ); Thu, 29 Dec 2022 07:22:19 -0500 Received: from mail-pg1-x52c.google.com (mail-pg1-x52c.google.com [IPv6:2607:f8b0:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A446B12745 for ; Thu, 29 Dec 2022 04:22:18 -0800 (PST) Received: by mail-pg1-x52c.google.com with SMTP id s67so2974441pgs.3 for ; Thu, 29 Dec 2022 04:22:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=51XIq288nnqW30MbwCHbWdcwtSToFdLwUaH7nRrsBQg=; b=tQAOFqEKVTsJpkBqCV5/v0DhxXsOtyYEwJaJVCzAIi195OFvvG7IRPORAZ7n/T0gCz 8B/bHbE30OWIZluum+72FEVTaR6aCJBOlaUKdGdKe+EMUFoDLlc+USpxfSHXLPsizW+h oBaHbO2hH8xp2w+H2SEU/ceIva6MZ4QI0rUAyN/iBJ6m/ILAg3phOisWxa4m0I+NA1WW dRx6LKH8TPkPLnLwuGTQxKR44xBPZkrdbdUD4uGsteSGwfISfBJSR7T3jLiFoBqAH2c0 X7S9SgUMkrrcjRhqFYETvv3E2MNNJWyLDEZYKRNF6SktnP7Cmo8X1l3cmyaTaHws1b0L RLwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=51XIq288nnqW30MbwCHbWdcwtSToFdLwUaH7nRrsBQg=; b=M33fpQyJexdY3Q+jItPhtvZnywZ8sX1F1lpzGBycS5T9mBNDis0/QRS/6ixlZtYY7H 3ZV1kHm7qS+CBVy4vWkCButkOXF3VNbobdqnU2V4hBlCAfQDRm8Bfx6cHbigUIogQGHz dfZHjxPUfz/QZi+mpreFlemSnsvKmoYFJUMQZw5nQKdJVG9nAs6t2gpfQ98XLa6Lws8A DuHnnbyzH3Fs5pJZq5ORiwx4vtPdOi/YeAPA5CZOZwJr4Q1TmkAb3Bw7vdrqZ0hAeWGb w+61aTn+L7Evw9upmp2NF8vz3vjEs2XhG+Xw0xCKBo7JX0sASEGVB0U8P7fDbZcRUXTf DW5Q== X-Gm-Message-State: AFqh2kpuzTfThqBRwv1ob+wFdmoKd3ycmGJYOQ7L0xzU67tEUBQ5zfcR 7KttUb9KuKobjWnsR9LQc16VEg== X-Google-Smtp-Source: AMrXdXtX8G+5jOoXvbDdQtplTg/+msreZyAoXUDhFj9qQiE8hCA28EUEUZCh+WhFcfW6UkyokeLJMQ== X-Received: by 2002:a62:6483:0:b0:577:7cfb:a896 with SMTP id y125-20020a626483000000b005777cfba896mr26284908pfb.31.1672316538155; Thu, 29 Dec 2022 04:22:18 -0800 (PST) Received: from T480 (80.251.214.228.16clouds.com. [80.251.214.228]) by smtp.gmail.com with ESMTPSA id y14-20020aa79aee000000b0056da63c8515sm7617929pfp.91.2022.12.29.04.22.14 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 29 Dec 2022 04:22:17 -0800 (PST) Date: Thu, 29 Dec 2022 20:22:10 +0800 From: Shawn Guo To: Dmitry Baryshkov Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Amit Kucheria , Thara Gopinath , "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , Bryan O'Donoghue , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v5 08/20] thermal/drivers/tsens: limit num_sensors to 9 for msm8939 Message-ID: <20221229122209.GB18875@T480> References: <20221229030106.3303205-1-dmitry.baryshkov@linaro.org> <20221229030106.3303205-9-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221229030106.3303205-9-dmitry.baryshkov@linaro.org> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org On Thu, Dec 29, 2022 at 05:00:54AM +0200, Dmitry Baryshkov wrote: > On msm8939 last (hwid=10) sensor was added in the hw revision 3.0. > Calibration data for it was placed outside of the main calibration data > blob, so it is not accessible by the current blob-parsing code. > > Moreover data for the sensor's p2 is not contiguous in the fuses. This > makes it hard to use nvmem_cell API to parse calibration data in a > generic way. > > Since the sensor doesn't seem to be actually used by the existing > hardware, disable the sensor for now. > > Fixes: 332bc8ebab2c ("thermal: qcom: tsens-v0_1: Add support for MSM8939") > Cc: Bryan O'Donoghue > Cc: Shawn Guo Acked-by: Shawn Guo > Signed-off-by: Dmitry Baryshkov