From patchwork Fri Oct 5 10:08:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David HERNANDEZ SANCHEZ X-Patchwork-Id: 10627781 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4656E1515 for ; Fri, 5 Oct 2018 10:09:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4610328E35 for ; Fri, 5 Oct 2018 10:09:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 39EF828E37; Fri, 5 Oct 2018 10:09:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C9B3428E35 for ; Fri, 5 Oct 2018 10:09:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727965AbeJERHV (ORCPT ); Fri, 5 Oct 2018 13:07:21 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:58114 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727540AbeJERHU (ORCPT ); Fri, 5 Oct 2018 13:07:20 -0400 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w95A4HjD013788; Fri, 5 Oct 2018 12:08:46 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2mv4mjjp09-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 05 Oct 2018 12:08:46 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 88EF238; Fri, 5 Oct 2018 10:08:45 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag3node2.st.com [10.75.127.8]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 30A1E2758; Fri, 5 Oct 2018 10:08:45 +0000 (GMT) Received: from SFHDAG3NODE2.st.com (10.75.127.8) by SFHDAG3NODE2.st.com (10.75.127.8) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Fri, 5 Oct 2018 12:08:44 +0200 Received: from SFHDAG3NODE2.st.com ([fe80::b82f:1ce:8854:5b96]) by SFHDAG3NODE2.st.com ([fe80::b82f:1ce:8854:5b96%20]) with mapi id 15.00.1347.000; Fri, 5 Oct 2018 12:08:44 +0200 From: David HERNANDEZ SANCHEZ To: Zhang Rui , Eduardo Valentin , Daniel Lezcano , Rob Herring , Mark Rutland , Maxime Coquelin , Alexandre TORGUE CC: "linux-pm@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-stm32@st-md-mailman.stormreply.com" Subject: [PATCH 0/3] Introduce STM32 thermal driver Thread-Topic: [PATCH 0/3] Introduce STM32 thermal driver Thread-Index: AQHUXJNmC/U7gP1+c02jn8j+ynqa9Q== Date: Fri, 5 Oct 2018 10:08:44 +0000 Message-ID: <1538734081-26585-1-git-send-email-david.hernandezsanchez@st.com> Accept-Language: fr-FR, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.75.127.47] Content-ID: <2F86A427D7D4744EB8EA4FD180BDA474@st.com> MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-10-05_05:,, signatures=0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This series adds support for STMicroelectronics Digital Temperature Sensor (DTS), used on some STM32 SoCs. Driver is based on thermal sysfs and it has been tested OK on a 4.19-rc5 linux release. Please feel free to contact me back for further information and to discuss about this implementation. Br, David HERNANDEZ SANCHEZ David Hernandez Sanchez (3): dt-bindings: stm32-thermal: add binding documentation thermal: add stm32 thermal driver ARM: dts: stm32: add thermal sensor support on STM32MP157c .../devicetree/bindings/thermal/stm32-thermal.txt | 61 ++ arch/arm/boot/dts/stm32mp157c.dtsi | 35 + drivers/thermal/Kconfig | 2 +- drivers/thermal/Makefile | 2 +- drivers/thermal/st/Kconfig | 14 + drivers/thermal/st/Makefile | 1 + drivers/thermal/st/stm_thermal.c | 760 +++++++++++++++++++++ 7 files changed, 873 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/thermal/stm32-thermal.txt create mode 100644 drivers/thermal/st/stm_thermal.c --- 2.7.4