Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp5731153imd; Wed, 31 Oct 2018 00:48:25 -0700 (PDT) X-Google-Smtp-Source: AJdET5eLfGh7stW9kqNiIIBaFmGjw2LSGMOFANjC2Mo3jGvlAxmyCDVF3FnHkw88XI/OzIgEwRJJ X-Received: by 2002:a63:3c44:: with SMTP id i4mr2079703pgn.286.1540972105853; Wed, 31 Oct 2018 00:48:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540972105; cv=none; d=google.com; s=arc-20160816; b=sVA73+w2zjhjF3PKbp+espToDziZKXXQ6K+DfD5uWCjxroffTKLPJ20sQzOw6cMZYh qnWsQcUlOcbMCjQ3zzNZff3sUnDgWEfu/FpdrzRtk2fHPTQc8DJTzsQNtAwRLJNX2ozl u4ixCDTSl/2YlrNvC8DB+ZnYutwlKHZ2Fuyi5l0xEiNtaSoodVf9h5hksDhPoynTNbVc 13gnj7DBI0CarmUydrwqJyOwHIEhxLRYR7ZXQS/i/AEDVL+mBjgzmo5puLhveasrOyy+ xjiy8etH0M/AWwQkSqkgKQFeZ9qpl3pNjx78xjQk7Ti90yQvzkx3KCrX3O1Zm0NIAcJM 54cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=egsUpkKnxRu0uH3YgbBEk9QNOOWet6Bzw/zBngb40s4=; b=R0S19LtgboR5JBxpr5x7IGSkziU5YbqLwA4Z/k7GZE9+H368nrosqUKdWpC1mnlEWZ pJMqsBF4wA6EPL/b1q5OhwTE8DfYNsTg23cqtcKxBpfl30Zte2ukG5PR0jzGCGokbeNB CYLRrsylgzaQedXQ5JsGUWnNtLs34b5qvjutLYvrFEVqra6JpaNGF8F/xNtTm1vV040q k9GpyDTjqEqvbnZgBh17+R1azJEQXzF3DtFVGo6hFiYBJWHoOZ3MzMs9F6HGBcSZ8nE3 h4n6pJtbo1nWfpGUfz4glhZNee7DGLRpQRLWt2JlhtMCv5R01gzirbMXOa+flr/EkJAI Wf/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=hWUlYmPn; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 88-v6si5592020plb.57.2018.10.31.00.48.11; Wed, 31 Oct 2018 00:48:25 -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=@kernel.org header.s=default header.b=hWUlYmPn; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727429AbeJaQot (ORCPT + 99 others); Wed, 31 Oct 2018 12:44:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:41732 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726493AbeJaQos (ORCPT ); Wed, 31 Oct 2018 12:44:48 -0400 Received: from localhost (unknown [171.61.91.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 05EB820821; Wed, 31 Oct 2018 07:47:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1540972068; bh=6Ej4xdjoDNmZTOMaRUKbn6lRwhxVTLMFpxddv5eZXe8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hWUlYmPn7XGj3cPgL8n6Q6P6fc1kaJro+8wYVjJWpEJqdUMvkadfTjb+ipjnd8zQ9 FfkRlAYDr2sJRpzKF+4k7YUAYQD2OZ0NHDlfTWNDJ6krORh+O6Arq2XAe80c+Sbbye PTLfoMOCeud7H+wO5EhTQBrvd0s3FrDTOaDMDIkA= Date: Wed, 31 Oct 2018 13:17:40 +0530 From: Vinod Koul 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 , David Brown , Rob Herring , Mark Rutland Subject: Re: [PATCH v1 3/4] arm64: dts: qcom: qcs404: Add tsens controller Message-ID: <20181031074740.GJ12092@vkoul-mobl> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 > --- > 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