Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp6900178ybh; Thu, 8 Aug 2019 07:22:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqzkY3MCXiX5qTdrSTYOolH7mvGQe+6hMVk100+Vi5VKEM6qxVxliXzMw+WJjmFLy+yQOHL1 X-Received: by 2002:a17:90a:2008:: with SMTP id n8mr4314771pjc.4.1565274179326; Thu, 08 Aug 2019 07:22:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565274179; cv=none; d=google.com; s=arc-20160816; b=K4msH+mpQZDfIXco9eu2cl23BF32bI5AjOdV6syR3LS4HweUxk68fvmXz1P/dC/tSp +toa4tQVJPTaY3CDU8qZIz2qDpJ8wz06h1LIWxY+WgzMz3zcCwHKVqZT2EAzTWHmm4aV s9jYflMrawP7xoJaAsUplKl5tUuqdokz5tJAg+eSNbvYRHTD+9yy/RUlg+v+IchP5uv/ pHCalNWm1+OXakJn3cVX0FaWmZaBxaB87mFbpJvPH3dvHQzaWeJJi0apIkVSXlfvs0DE 6uR2zfJGnlkwPJqw2yZAzXEfd6M1i35awSHtPagzaJBxTxdBfq8bDOXnW1ZdgtlKfWsd EfrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=yVPeB+St4GsfV4+rvU+wUWYIPVqFTU7qMjefLsTGDCk=; b=UW1ock9sKNCN3Jk8k9x8LvKBSY5xIGXK4NAbZKwAPeEQ5wPoAUPHizPYAupQFxDkzC aMOHtUIr2W8ts2z0Wx34WBrmDfTKaKymU00h215JyYK7DOKXNPSz0TMCV4B3smlxLDe3 J54b3TI+oPaz5DpQvjHXhjO0bU6GOk2iWo3JQl1ta3GUhVnkJratxJwKiGmhm/MyyC4l Te6yH2lfTwDUU7ejkHS61TO03PCvXA7wVIz9uO2b/gj8jXjf8iZ0j7870jgyOBGI9VBT 1tzQ1b0q+/SHxt+V9qETDsmYU/8HqIF55MEn5SlS2PTuDpMS4+q36qMiMR6yvzpOkGHu wZGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=B0zU9BKt; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id l68si48940725plb.416.2019.08.08.07.22.43; Thu, 08 Aug 2019 07:22:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=B0zU9BKt; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1732898AbfHHNEt (ORCPT + 99 others); Thu, 8 Aug 2019 09:04:49 -0400 Received: from mail-vs1-f67.google.com ([209.85.217.67]:36945 "EHLO mail-vs1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732662AbfHHNEt (ORCPT ); Thu, 8 Aug 2019 09:04:49 -0400 Received: by mail-vs1-f67.google.com with SMTP id v6so63032769vsq.4 for ; Thu, 08 Aug 2019 06:04:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=yVPeB+St4GsfV4+rvU+wUWYIPVqFTU7qMjefLsTGDCk=; b=B0zU9BKtNhlSEKo6kKYAsY4u7PN+VPvRfvn+58jakXBjrysCX6tUOR7URHJIAMEm4q RH3G9v787hEUo9uudsxNZ/U5ymkg8YKbZ9X/sFY0l7Chji4cFFfnvMFaNqBl6IEoKvIu ADqhq3f1tsOe6K0RMz6rDuj0VIcE4rjQAalVJeVcjaADUo9YPkBV74qrFtI1gRRuc6RK uExR/PtW0Id9fobcvztepC7ZqnrMal9PRifw+s8uNyVZi4nF4O7ninIYFkmg1JKoOAUL zuc0HscZLEHCXMIkIxEZcOarnQu7QnnEri6lOX/k6qxN94tmfvREhBnWrnF/pA35X1Xk LtfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yVPeB+St4GsfV4+rvU+wUWYIPVqFTU7qMjefLsTGDCk=; b=YFvpAH/mZTkVaajscT3ARsjRAQAWbDAzHSN3GcZf1RUQlf0sAEHd4Z1d5tCKYdSHxt c29sR+lgJKV6MXZRq7AMGhcnmD18A16oLlhCfI2QNSbt2hRIwm+84xHusY9PG4aVIz34 fY0Vd19gogJK45rX9hkJnQRXAXnJn8Q9wBC8sDC8FTP6mI10nRH6NSYkQzuRH3EjFGuq Ec0Q5XT4Frcdti0yIhcIKKuu7jdBEmkfPkaYVGinz+aRU+N2fCzxB+J2zXkFUPNS/FMR 7GiUOT/tzmU/O98wnFLdPn6uIinjHo35LjzAOoDQmRkD0PnzXrVb1qEP2zb67XuRYj4p tKAQ== X-Gm-Message-State: APjAAAXxPoLOyY0s0p9LshTrXP2/TYbDkEN/FCZrKgle4easlq3+Beau n6qsZ9S1ieYnwFICSgCt9KsIpZzxlfd9e5O2U/p9/kyiBbs= X-Received: by 2002:a67:fb87:: with SMTP id n7mr9548609vsr.9.1565269488210; Thu, 08 Aug 2019 06:04:48 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Amit Kucheria Date: Thu, 8 Aug 2019 18:34:37 +0530 Message-ID: Subject: Re: [PATCH 00/15] thermal: qcom: tsens: Add interrupt support To: LKML , linux-arm-msm , Bjorn Andersson , Eduardo Valentin , Andy Gross , Daniel Lezcano , Mark Rutland , Rob Herring , Zhang Rui , sivaa@codeaurora.org Cc: Marc Gonzalez , Brian Masney , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux PM list Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 26, 2019 at 3:48 AM Amit Kucheria wrote: > > Add interrupt support to TSENS. The first 6 patches are general fixes and > cleanups to the driver before interrupt support is introduced. > > This series has been developed against qcs404 and sdm845 and then tested on > msm8916. Testing on msm8998 and msm8974 would be appreciated since I don't > have hardware handy. Further, I plan to test on msm8996 and also submit to > kernelci. Gentle nudge for reviews. This has now been successfully tested on 8974 (along with 8916, qcs404, sdm845). Testing on msm8998 would be much appreciated. > I'm sending this out for more review to get help with testing. > > Amit Kucheria (15): > drivers: thermal: tsens: Get rid of id field in tsens_sensor > drivers: thermal: tsens: Simplify code flow in tsens_probe > drivers: thermal: tsens: Add __func__ identifier to debug statements > drivers: thermal: tsens: Add debugfs support > arm: dts: msm8974: thermal: Add thermal zones for each sensor > arm64: dts: msm8916: thermal: Fixup HW ids for cpu sensors > dt: thermal: tsens: Document interrupt support in tsens driver > arm64: dts: sdm845: thermal: Add interrupt support > arm64: dts: msm8996: thermal: Add interrupt support > arm64: dts: msm8998: thermal: Add interrupt support > arm64: dts: qcs404: thermal: Add interrupt support > arm64: dts: msm8974: thermal: Add interrupt support > arm64: dts: msm8916: thermal: Add interrupt support > drivers: thermal: tsens: Create function to return sign-extended > temperature > drivers: thermal: tsens: Add interrupt support > > .../bindings/thermal/qcom-tsens.txt | 5 + > arch/arm/boot/dts/qcom-msm8974.dtsi | 108 +++- > arch/arm64/boot/dts/qcom/msm8916.dtsi | 26 +- > arch/arm64/boot/dts/qcom/msm8996.dtsi | 60 +- > arch/arm64/boot/dts/qcom/msm8998.dtsi | 82 +-- > arch/arm64/boot/dts/qcom/qcs404.dtsi | 42 +- > arch/arm64/boot/dts/qcom/sdm845.dtsi | 88 +-- > drivers/thermal/qcom/tsens-8960.c | 4 +- > drivers/thermal/qcom/tsens-common.c | 610 +++++++++++++++++- > drivers/thermal/qcom/tsens-v0_1.c | 11 + > drivers/thermal/qcom/tsens-v1.c | 29 + > drivers/thermal/qcom/tsens-v2.c | 18 + > drivers/thermal/qcom/tsens.c | 52 +- > drivers/thermal/qcom/tsens.h | 285 +++++++- > 14 files changed, 1214 insertions(+), 206 deletions(-) > > -- > 2.17.1 >