From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lina Iyer Subject: Re: [RFC 0/7] qcom: Add support for tsens driver Date: Thu, 23 Apr 2015 10:52:46 -0600 Message-ID: <20150423165246.GC555@linaro.org> References: <1429796773-7151-1-git-send-email-rnayak@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Return-path: Received: from mail-pa0-f51.google.com ([209.85.220.51]:34040 "EHLO mail-pa0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030363AbbDWQwt (ORCPT ); Thu, 23 Apr 2015 12:52:49 -0400 Received: by pacyx8 with SMTP id yx8so22839930pac.1 for ; Thu, 23 Apr 2015 09:52:48 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1429796773-7151-1-git-send-email-rnayak@codeaurora.org> Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Rajendra Nayak Cc: linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, sboyd@codeaurora.org, srinivas.kandagatla@linaro.org, nrajan@codeaurora.org On Thu, Apr 23 2015 at 07:51 -0600, Rajendra Nayak wrote: >This is an attempt to have a single tsens driver for >the different versions of the tsens IP that exist, on >different qcom msm/apq SoCs. Thanks, I think the design looks good. Will take a look at the patches. -- Lina >Support is added for msm8916, msm8960 and msm8974 families. >Based on top of the latest eeprom framework patches [1] > >A lot of the work is based of original code from Stephen Boyd >and Siddartha Mohanadoss. I have also picked some of what >Narendran Rajan did in his attempt to upstream the support >for 8960 family. I could not keep the original authorship on >any of the patches because I ended up moving the code around >quite a bit in an effort to have a single driver for the >various devices. I would be glad to change the authorship >for any of the patches if needed. > >[1] https://lwn.net/Articles/638565/ > >Rajendra Nayak (6): > thermal: qcom: tsens: Add a skeletal tsens drivers > thermal: qcom: tsens-8916: Add support for 8916 family of SoCs > thermal: qcom: tsens-8974: Add support for 8974 family of SoCs > thermal: qcom: tsens-8960: Add support for 8960 family of SoCs > arm: dts: msm8974: Add thermal zones, tsens and eeprom nodes > arm: dts: apq8064: Add thermal zones, tsens and eeprom nodes > >Srinivas Kandagatla (1): > clk: qcom: gcc-msm8960: add child devices support. > > .../devicetree/bindings/thermal/qcom-tsens.txt | 36 +++ > arch/arm/boot/dts/qcom-apq8064.dtsi | 108 +++++++ > arch/arm/boot/dts/qcom-msm8974.dtsi | 105 +++++++ > drivers/clk/qcom/gcc-msm8960.c | 4 +- > drivers/thermal/Kconfig | 5 + > drivers/thermal/Makefile | 1 + > drivers/thermal/qcom/Kconfig | 10 + > drivers/thermal/qcom/Makefile | 2 + > drivers/thermal/qcom/tsens-8916.c | 107 +++++++ > drivers/thermal/qcom/tsens-8960.c | 336 +++++++++++++++++++++ > drivers/thermal/qcom/tsens-8974.c | 239 +++++++++++++++ > drivers/thermal/qcom/tsens-common.c | 128 ++++++++ > drivers/thermal/qcom/tsens.c | 209 +++++++++++++ > drivers/thermal/qcom/tsens.h | 69 +++++ > 14 files changed, 1358 insertions(+), 1 deletion(-) > create mode 100644 Documentation/devicetree/bindings/thermal/qcom-tsens.txt > create mode 100644 drivers/thermal/qcom/Kconfig > create mode 100644 drivers/thermal/qcom/Makefile > create mode 100644 drivers/thermal/qcom/tsens-8916.c > create mode 100644 drivers/thermal/qcom/tsens-8960.c > create mode 100644 drivers/thermal/qcom/tsens-8974.c > create mode 100644 drivers/thermal/qcom/tsens-common.c > create mode 100644 drivers/thermal/qcom/tsens.c > create mode 100644 drivers/thermal/qcom/tsens.h > >-- >QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member >of Code Aurora Forum, hosted by The Linux Foundation >