From patchwork Thu Mar 19 09:54:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?SGVucnkgWWVuICjpoY/kv67muqsp?= X-Patchwork-Id: 11446957 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BE2F092A for ; Thu, 19 Mar 2020 09:55:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9DDA520722 for ; Thu, 19 Mar 2020 09:55:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="QMda1ivH" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726366AbgCSJzj (ORCPT ); Thu, 19 Mar 2020 05:55:39 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:60081 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725601AbgCSJzj (ORCPT ); Thu, 19 Mar 2020 05:55:39 -0400 X-UUID: 9c69e65bf7eb479ba168f56035bcefd6-20200319 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=eAP4t7CT+ZTox+ouHvAMB5H/l5cIuHdf3USlLwvMS5Y=; b=QMda1ivHKhmHnwkgcaNtNeO1yh1njvp+wW35NXTUjPpcjjN23eUHikVShDmWKAtWEWLyTEhIy6WkJNdrF7NZ0F6Uj9IejrC7X0bjp8PtqMfkgukftYR7hQTZ5Ml9nGiYLWpdaYOIz7Tly2a/rEreeAtgOiDjB5dcY1GAOmmG5Uc=; X-UUID: 9c69e65bf7eb479ba168f56035bcefd6-20200319 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 688613099; Thu, 19 Mar 2020 17:55:30 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs02n2.mediatek.inc (172.21.101.101) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 19 Mar 2020 17:52:26 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Thu, 19 Mar 2020 17:52:16 +0800 From: Henry Yen To: Zhang Rui , Daniel Lezcano , Amit Kucheria , Matthias Brugger CC: , , , , Steven Liu , Henry Yen , Michael Kao Subject: [PATCH 0/2] Add Mediatek thermal driver for MT7622 Date: Thu, 19 Mar 2020 17:54:51 +0800 Message-ID: <1584611693-3553-1-git-send-email-henry.yen@mediatek.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-TM-SNTS-SMTP: CE5A3A715436CF45EA217465AFB9DE324815F7979766A429500461C9CCCC66552000:8 X-MTK: N Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Mediatek owns two thermal systems, which are almost the same except for the way of reading calibration data and converting temperature. MT8173, MT2701, MT2712 and MT8183 belongs to version 1 thermal system, and MT7622 belongs to version 2. The current code has already supported version 1 system. Then this patchset adds the support for another platform (e.g., MT7622 SoC). Henry Yen (2): thermal: mediatek: prepare to add support for other platforms thermal: mediatek: add tsensor support for MT7622 SoC drivers/thermal/mtk_thermal.c | 244 ++++++++++++++++++++++++++-------- 1 file changed, 189 insertions(+), 55 deletions(-)