Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5F5BEC2BB55 for ; Thu, 9 Apr 2020 14:08:04 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2D08E20730 for ; Thu, 9 Apr 2020 14:08:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="avr4Rkm9"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ti.com header.i=@ti.com header.b="ZUcjlDHm" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2D08E20730 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=g0RFC0gH6dwm6rm8qOJpjJV/BfQ+GhYCUO+FuC4a+1k=; b=avr4Rkm9DKNx4flOXqEESd6CG W4kED3mEQ3YsYMM6GZ2PfxxMvVIhTcwS3rfvNv4AfkgLq7BTFBt/uq7sniVian+ahQVEp+WuQz54T elJTv72eAKkJi4MrzliktiYBSHHKssoEgpgo9VfoQzkxk26wfpJ3CeaagXjldQRp9g5IETRcgaK8F ST3hw/dxp9O6y9B/D0gMg1kefjqXtSx/uIfFWm006OUrC6SER8mXSrmHTIVYRsvigxMZ9ZzjFCixY FW7oEH9yKuhre2AuRZ0in3iO3gp8Vn8Q2pX5gD2b7pbxlzbaXRZfjBZbKQGe4y7VrsXxaEQXZsVhB 9XFZv+9Dg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jMXqd-000700-Iu; Thu, 09 Apr 2020 14:08:03 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jMXqa-0006zH-Sl for linux-arm-kernel@lists.infradead.org; Thu, 09 Apr 2020 14:08:02 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 039E7h6o029946; Thu, 9 Apr 2020 09:07:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1586441263; bh=3gqI19XisR3qGspsaOL9E0JWEAZr7zQg0fFq2CZV2Hw=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=ZUcjlDHmHGAQ3KizNSZbsviTkSZsndRLH+jqcIGMJXtwnMLTDVRn4WYCQUu9sSV5F f2SHCNtP1PQCbHHf3drpLKr/EMOEPDf6Uf85/jfE6iMdI5W7TXJQA7Lns0Sx33szc4 9MdeVOaYmM2ytt+ox7WeZrg/P/senUa/89m/rU3g= Received: from DLEE101.ent.ti.com (dlee101.ent.ti.com [157.170.170.31]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 039E7hiX028657 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 9 Apr 2020 09:07:43 -0500 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Thu, 9 Apr 2020 09:07:43 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Thu, 9 Apr 2020 09:07:43 -0500 Received: from [10.250.133.160] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 039E7dJM126106; Thu, 9 Apr 2020 09:07:40 -0500 Subject: Re: [PATCH v6 0/4] thermal: k3: Add support for bandgap sensors To: Daniel Lezcano , , , References: <20200407055116.16082-1-j-keerthy@ti.com> <3c69e3c6-5549-e891-fde6-95a2ecc49f77@linaro.org> From: "J, KEERTHY" Message-ID: <0817f9ee-c72f-3e9f-00cf-e8ddaf608020@ti.com> Date: Thu, 9 Apr 2020 19:37:38 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <3c69e3c6-5549-e891-fde6-95a2ecc49f77@linaro.org> Content-Language: en-US X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200409_070801_003270_3E9B2C44 X-CRM114-Status: GOOD ( 14.59 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, amit.kucheria@verdurent.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 4/9/2020 7:19 PM, Daniel Lezcano wrote: > > Hi Keerthy, > > On 07/04/2020 07:51, Keerthy wrote: >> Add VTM thermal support. In the Voltage Thermal >> Management Module(VTM), K3 AM654 supplies a voltage >> reference and a temperature sensor feature that are gathered in the band >> gap voltage and temperature sensor (VBGAPTS) module. The band >> gap provides current and voltage reference for its internal >> circuits and other analog IP blocks. The analog-to-digital >> converter (ADC) produces an output value that is proportional >> to the silicon temperature. >> >> Add support for bandgap sensors. Currently reading temperatures >> is supported. > > How do you want to proceed? Shall I take patches 1 & 2 ? +Tero Hi Tero, Can you pull 3 & 4? Or Daniel can take all 4? - Keerthy > > >> Changes in v6: >> >> * Removed bunch of unused #defines and couple of redundant variables. >> * Reordered patches a bit. >> * Minor reordering in dt binding patch. >> >> Changes in v5: >> >> * Removed thermal work function which was unused. >> * Removed unused preve_tenmp and a couple more struct variables. >> * Removed couple of redundant header function include. >> >> Changes in v4: >> >> * Fixed comments from Daniel to remove trend function. >> * Mostly cleaned up all the unused variables. >> * Driver from bool to tristate. >> >> Changes in v3: >> >> * Fixed errors seen with: >> dt_binding_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/thermal/ti,am654-thermal.yaml >> >> Changes in v2: >> >> * Fixed yaml errors >> * renamed am654-industrial-thermal.dtsi to k3-am654-industrial-thermal.dtsi >> to follow the convention for k3 family. >> >> Keerthy (4): >> dt-bindings: thermal: k3: Add VTM bindings documentation >> thermal: k3: Add support for bandgap sensors >> arm64: dts: ti: am65-wakeup: Add VTM node >> arm64: dts: ti: am654: Add thermal zones >> >> .../bindings/thermal/ti,am654-thermal.yaml | 56 ++++ >> arch/arm64/boot/dts/ti/k3-am65-wakeup.dtsi | 11 + >> .../dts/ti/k3-am654-industrial-thermal.dtsi | 45 +++ >> drivers/thermal/Kconfig | 10 + >> drivers/thermal/Makefile | 1 + >> drivers/thermal/k3_bandgap.c | 264 ++++++++++++++++++ >> 6 files changed, 387 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/thermal/ti,am654-thermal.yaml >> create mode 100644 arch/arm64/boot/dts/ti/k3-am654-industrial-thermal.dtsi >> create mode 100644 drivers/thermal/k3_bandgap.c >> > > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel