Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp607745pxf; Wed, 17 Mar 2021 11:27:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwWWSYKUPqQVkS+5DHSVZM75XXnFa9GFy/52jEUNcU/WWS+C2NjISVZ5OHK9Uz31QvNm+k9 X-Received: by 2002:a05:6402:46:: with SMTP id f6mr43766162edu.252.1616005679081; Wed, 17 Mar 2021 11:27:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616005679; cv=none; d=google.com; s=arc-20160816; b=lFVcOrXMsJv3DQNSsLqi06hzs3TqJtvU+pPGpqn1vGxfEtHXx6v0CzWXGiYWCH4paS 3fqMAg1e00anLxlNjYqmGVDtCHVwwzUDxOWZjoRHLjQ/JDf9e0OxIQ1wcXQMrYMzy1p9 UCLIMN6nNDhdATq8nRDqndHCY4U/BauTmx0tlT/mEra2ol+mHieG3oW5+ukj131cQfVC JzdGOGWOZUPadg5AFnUM9LJUtH7tciILb55c2/LTaxbzDt1ifXvY+0el9Ix2UtMg5QNE lbeC4gIlKchPMMbPHaryKIdppeqdMtfzl4wuZS2zh1BgjwhTlVBfDk9VBnaq0C80pQKD S6QQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=tmX1Ahb9V3sePtb5QZrdh2WMnjcseF+r4zrPIY/87P0=; b=qc02ppXN9JFKCCFdta6a++/PhUvYVuwOKssLZpy6eqHzDdIZyR0UvOvEEcfw0IMUh3 krly0Qsu+fXiG+ECUWgUTAhtCFsmsUyU3KZdLGpdVr/QxpnZ4Gd1q77QXZUtcEjdflej EylPsmKKYIgVhmuUBwDgAZSg1knhmHIWfH1HNXDg5VlzRxOaxCYWOWhlrwF48pBb+nO3 n9fqe42F47m68ass+O/mCaEFLOFGUEnY/U+G5N3Z6gKrf16k7lqHJOeb8Hr5PjDSznM7 USk7OJePX2dWI3WOhqplBAkW86P/GuP4RJCf6yB9s7FfeoT7B3R6RYiUMFUmTkv9SBcb 9OKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JudSIsB3; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m22si16348443ejr.463.2021.03.17.11.27.35; Wed, 17 Mar 2021 11:27:59 -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; dkim=pass header.i=@linaro.org header.s=google header.b=JudSIsB3; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229601AbhCQSYD (ORCPT + 99 others); Wed, 17 Mar 2021 14:24:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233028AbhCQSXb (ORCPT ); Wed, 17 Mar 2021 14:23:31 -0400 Received: from mail-qv1-xf29.google.com (mail-qv1-xf29.google.com [IPv6:2607:f8b0:4864:20::f29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0B43C061762 for ; Wed, 17 Mar 2021 11:23:30 -0700 (PDT) Received: by mail-qv1-xf29.google.com with SMTP id by2so1828733qvb.11 for ; Wed, 17 Mar 2021 11:23:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=tmX1Ahb9V3sePtb5QZrdh2WMnjcseF+r4zrPIY/87P0=; b=JudSIsB3tY1OwDRAn7q8hOBmIE6Hjy1qoNBEGRre/XSwoESij+AS6HcIN/hmkNSNu1 ivMM8k3skN+gbY7zrsbj0nnqggtb5NfaUMzuX5jgjpD4v8G8HoDkWmf84ubJdBIVfg/X 90NJTN2cL1LDxvUdV+GVil5aWi4rea7wmX28xHNauSOWh69pyoekrFkAyX52D4j+muyL q2bnxygDzS/3jhqUuLREHC786k+nIPCdY4W69MLHMbcJQfG/ihi5CbjAYs6GJOO3W0i9 NQhE4zxErzWw0mjt7D9ORf/XeHWrIX6dHqKw5qnrxOgZrcf5c05LKjTlHFIJYN9OzCbq 5HLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=tmX1Ahb9V3sePtb5QZrdh2WMnjcseF+r4zrPIY/87P0=; b=O/sMRJIc8X0DScBMII1qC9aAT6SMAu9yOsEWz/67MX1CGPXxfUvnXmtGGack1i2nGe U9tYM6myvQciVyfQCK/g+Ap8QoX4NlJp0sLcAQvIJY/kTYIhPoRZTNEKlRklkrHbjZ1b UmpfQuw40WRpVscNRuRLT2lrfOxC5Ruga8EqvmnWaPHGg8Sd0EcUDIaJE8S1ZdE7p2DN zBwrndxxRNZVZW13c0IYsyUxiPb3cVpNSVJfbA8F78eHeXuy+JnS1caYUjXhEt1IVcCw 75+2xsBLgjRNKBQwGJ1fWEXFfvIGjnVDfe/pv7yZ2yDITuee7skqhkn2ov5mZXQDj3uE 7qXg== X-Gm-Message-State: AOAM533uMh8CSHJJ4pO2MT1dd1I5OLcKzPoAEduMUAa9sxp4/StWs2zy ULaf7N6VGxBerFFgvrI5g4vg0L5azk4iZTX7 X-Received: by 2002:ad4:4421:: with SMTP id e1mr455578qvt.48.1616005409600; Wed, 17 Mar 2021 11:23:29 -0700 (PDT) Received: from [192.168.1.93] (pool-71-163-245-5.washdc.fios.verizon.net. [71.163.245.5]) by smtp.gmail.com with ESMTPSA id z4sm18535935qkb.94.2021.03.17.11.23.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 17 Mar 2021 11:23:29 -0700 (PDT) Subject: Re: [PATCH] thermal: qcom: tsens_v1: Enable sensor 3 on MSM8976 To: Konrad Dybcio , phone-devel@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, martin.botka@somainline.org, angelogioacchino.delregno@somainline.org, marijn.suijten@somainline.org, Andy Gross , Bjorn Andersson , Amit Kucheria , Zhang Rui , Daniel Lezcano , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org References: <20210225213119.116550-1-konrad.dybcio@somainline.org> From: Thara Gopinath Message-ID: Date: Wed, 17 Mar 2021 14:23:27 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210225213119.116550-1-konrad.dybcio@somainline.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/25/21 4:31 PM, Konrad Dybcio wrote: > The sensor *is* in fact used and does report temperature. I can't find any info that says otherwise. So, Acked-by: Thara Gopinath Warm Regards Thara > > Signed-off-by: Konrad Dybcio > --- > drivers/thermal/qcom/tsens-v1.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/thermal/qcom/tsens-v1.c b/drivers/thermal/qcom/tsens-v1.c > index 3c19a3800c6d..573e261ccca7 100644 > --- a/drivers/thermal/qcom/tsens-v1.c > +++ b/drivers/thermal/qcom/tsens-v1.c > @@ -380,11 +380,11 @@ static const struct tsens_ops ops_8976 = { > .get_temp = get_temp_tsens_valid, > }; > > -/* Valid for both MSM8956 and MSM8976. Sensor ID 3 is unused. */ > +/* Valid for both MSM8956 and MSM8976. */ > struct tsens_plat_data data_8976 = { > .num_sensors = 11, > .ops = &ops_8976, > - .hw_ids = (unsigned int[]){0, 1, 2, 4, 5, 6, 7, 8, 9, 10}, > + .hw_ids = (unsigned int[]){0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, > .feat = &tsens_v1_feat, > .fields = tsens_v1_regfields, > }; > -- Warm Regards Thara