public inbox for linux-arm-msm@vger.kernel.org
 help / color / mirror / Atom feed
From: Vinod Koul <vkoul@kernel.org>
To: andy.gross@linaro.org
Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org,
	bjorn.andersson@linaro.org, edubezval@gmail.com,
	Amit Kucheria <amit.kucheria@linaro.org>,
	David Brown <david.brown@linaro.org>,
	Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>
Subject: Re: [PATCH v1 3/4] arm64: dts: qcom: qcs404: Add tsens controller
Date: Wed, 31 Oct 2018 13:17:40 +0530	[thread overview]
Message-ID: <20181031074740.GJ12092@vkoul-mobl> (raw)
In-Reply-To: <f1dccd5d6fa08572237ccb3716f2f0ddab54ba40.1539627762.git.amit.kucheria@linaro.org>

On 16-10-18, 00:10, Amit Kucheria wrote:
> qcs404 has a single TSENS IP block with 10 sensors. The calibration data
> is stored in an eeprom (qfprom) that is accessed through the nvmem
> framework. We add the qfprom node to allow the tsens sensors to be
> calibrated correctly.

Andy,

These have dependency on the patch series adding The DT file I sent
yesterday[1]. Please apply these on top of that series

[1]: https://patchwork.kernel.org/project/linux-arm-msm/list/?series=36319

Thanks

> 
> Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
> ---
>  arch/arm64/boot/dts/qcom/qcs404.dtsi | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi
> index e1e2ba9cbfcd..dfd65c53cf5f 100644
> --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi
> +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi
> @@ -273,6 +273,26 @@
>  			status = "okay";
>  		};
>  
> +		qfprom: qfprom@a4000 {
> +			compatible = "qcom,qfprom";
> +			reg = <0xa4000 0x1000>;
> +			#address-cells = <1>;
> +			#size-cells = <1>;
> +			tsens_caldata: caldata@d0 {
> +				reg = <0x1f8 0x14>;
> +			};
> +		};
> +
> +		tsens: thermal-sensor@4a9000 {
> +			compatible = "qcom,qcs404-tsens", "qcom,tsens-v1";
> +			reg = <0x4a9000 0x1000>, /* TM */
> +			      <0x4a8000 0x1000>; /* SROT */
> +			nvmem-cells = <&tsens_caldata>;
> +			nvmem-cell-names = "calib";
> +			#qcom,sensors = <10>;
> +			#thermal-sensor-cells = <1>;
> +		};
> +
>  		apcs_glb: mailbox@b011000 {
>  			compatible = "qcom,qcs404-apcs-apps-global", "syscon";
>  			reg = <0xb011000 0x1000>;
> -- 
> 2.17.1

-- 
~Vinod

  reply	other threads:[~2018-10-31  7:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-15 18:40 [PATCH v1 0/4] thermal: tsens: Add support for QCS404 platform Amit Kucheria
2018-10-15 18:40 ` [PATCH v1 1/4] dt: thermal: tsens: Add bindings for qcs404 Amit Kucheria
2018-10-15 18:40 ` [PATCH v1 2/4] drivers: thermal: tsens: Add generic support for TSENS v1 IP Amit Kucheria
2018-10-15 18:40 ` [PATCH v1 3/4] arm64: dts: qcom: qcs404: Add tsens controller Amit Kucheria
2018-10-31  7:47   ` Vinod Koul [this message]
2018-10-15 18:40 ` [PATCH v1 4/4] arm64: dts: qcom: qcs404: Add thermal zones for each sensor Amit Kucheria
2018-10-31  7:45 ` [PATCH v1 0/4] thermal: tsens: Add support for QCS404 platform Vinod

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181031074740.GJ12092@vkoul-mobl \
    --to=vkoul@kernel.org \
    --cc=amit.kucheria@linaro.org \
    --cc=andy.gross@linaro.org \
    --cc=bjorn.andersson@linaro.org \
    --cc=david.brown@linaro.org \
    --cc=edubezval@gmail.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox