From patchwork Sun Jun 23 16:41:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yangtao Li X-Patchwork-Id: 11011811 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 31AE0186E for ; Sun, 23 Jun 2019 16:43:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1FD2D28A8C for ; Sun, 23 Jun 2019 16:43:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 13B2528AD1; Sun, 23 Jun 2019 16:43:08 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,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 AD90A28A8C for ; Sun, 23 Jun 2019 16:43:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726867AbfFWQmO (ORCPT ); Sun, 23 Jun 2019 12:42:14 -0400 Received: from mail-pf1-f171.google.com ([209.85.210.171]:37873 "EHLO mail-pf1-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726399AbfFWQmM (ORCPT ); Sun, 23 Jun 2019 12:42:12 -0400 Received: by mail-pf1-f171.google.com with SMTP id 19so6116946pfa.4; Sun, 23 Jun 2019 09:42:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=guN3ScMcBAl3EdBUUBqxZnez+QFG6VTe2Us/ZifbIac=; b=Mz2oXdfcHCl/AjLIwcbhOTvV4DP6dKb58+chvGV34eLndltGe35g/temtiD24fRjEN yO1BCIoo8bh5zc6/o2VRRFRtjsovwC8cLmA+1lVCHOhT0SFjZk5L3YCig71oXdx65Ay6 IJlxs0Y3LoduHUNd8+DrFVCawb+VjTlRPH+zQU6SuvJBEefpifliMWnFp2zbWLm0slwC tjDZURjLb8nicaltlMwIObu0WLqBfV7PR3AUoucywPMLq9ER8zdNaIil71f0+MqSRy0j wXrslvoMOx9iyv0PhWNIJXmZaRM0w/a81eNMSJFXw/zoQqBitfzFru9jbmphDrk+v/qm F7FA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=guN3ScMcBAl3EdBUUBqxZnez+QFG6VTe2Us/ZifbIac=; b=GF/SriaDlAKpY4xJdZ6htSDpTTEuzJCLiVaQit2yjx06aqZbxpWSJzIZxUoUDqNG// 0ffrpaIgBahg3BWNES4rTzAcFl3/KvAmk90sipbMuoSjI/q+4A0SmvjcsS5QweER0BIp BQlQ9wEbrbjE8BOJWefQB00Y5TyUfQIccogEb9+b4xABBBtAaAbnMEIKePvd2WCfu81N 0wlbJvAuNkqhLf70adnmcdRKfWojzP5Nskyhr5idQmcoN/Ua93OUUu60TBSt7ToMc97V xVvb3OmYE9zsr1EY7s3LVJyVrmEpEKW8zxv4Oo9rSU6Tf4sKVFp1qbZ/YWeTPLou4nzo Txsg== X-Gm-Message-State: APjAAAVC5m/U1qmVdou9OAUoUzZbxbuQIgx6ze+iMU1Gq1LUAwN8KGkt KoO4YZHIFv0003iwLl7U8xk= X-Google-Smtp-Source: APXvYqzuNeNzlJfb0O2anqXdpR3fq7SW1y1TKzsXPcMSAaI/+wflpHzkgSycjT+gG4vxsg6zpZE3fg== X-Received: by 2002:a17:90a:a404:: with SMTP id y4mr20304680pjp.58.1561308131121; Sun, 23 Jun 2019 09:42:11 -0700 (PDT) Received: from localhost (68.168.130.77.16clouds.com. [68.168.130.77]) by smtp.gmail.com with ESMTPSA id v138sm9644465pfc.15.2019.06.23.09.42.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 23 Jun 2019 09:42:10 -0700 (PDT) From: Yangtao Li To: rui.zhang@intel.com, edubezval@gmail.com, daniel.lezcano@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@bootlin.com, wens@csie.org, davem@davemloft.net, gregkh@linuxfoundation.org, mchehab+samsung@kernel.org, linus.walleij@linaro.org, nicolas.ferre@microchip.com, paulmck@linux.ibm.com Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Yangtao Li Subject: [PATCH v4 00/11] add thermal driver for h6 Date: Sun, 23 Jun 2019 12:41:55 -0400 Message-Id: <20190623164206.7467-1-tiny.windzz@gmail.com> X-Mailer: git-send-email 2.17.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 patchset add support for H3 and H6 thermal sensor. BTY, do a cleanup in thermal makfile. Yangtao Li (11): thermal: sun8i: add thermal driver for h6 dt-bindings: thermal: add binding document for h6 thermal controller thermal: fix indentation in makefile thermal: sun8i: get ths sensor number from device compatible thermal: sun8i: rework for sun8i_ths_get_temp() thermal: sun8i: get ths init func from device compatible thermal: sun8i: rework for ths irq handler func thermal: sun8i: support ahb clocks thermal: sun8i: rework for ths calibrate func dt-bindings: thermal: add binding document for h3 thermal controller thermal: sun8i: add thermal driver for h3 .../bindings/thermal/sun8i-thermal.yaml | 94 +++ MAINTAINERS | 7 + drivers/thermal/Kconfig | 14 + drivers/thermal/Makefile | 9 +- drivers/thermal/sun8i_thermal.c | 534 ++++++++++++++++++ 5 files changed, 654 insertions(+), 4 deletions(-) create mode 100644 Documentation/devicetree/bindings/thermal/sun8i-thermal.yaml create mode 100644 drivers/thermal/sun8i_thermal.c --- v4: -add h3 support -fix yaml file --- 2.17.1