Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp1532697ybd; Sun, 23 Jun 2019 09:45:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqyT9MHdmrz/RmpXCKIkteFHgMgx6DHQ1O7vOSLZyh/75jCA0X2B1A17oTkD5O7ZcQN5ttmP X-Received: by 2002:a17:902:6506:: with SMTP id b6mr1413607plk.253.1561308304369; Sun, 23 Jun 2019 09:45:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561308304; cv=none; d=google.com; s=arc-20160816; b=c7PX5ezxtDvdxW3arl1tmrLqE4R/ypfEuYjbGoZAiKY2YK2IbpdVQInO3kmCgABuvh Z971EqKBRtB/GwDl5B9qEmt30wODwQgFuWcVUpYo4u2rnU+dRBX1INCdnbyrmJ2pDAcN IAaduFra2Y6VIey3rDtskHhUqXDUftUgPELn7tHBg04lrvKEQU0JApe8fW2t4mz+NsnS fG+kEu/hPeq5X+iZ280A3wy+jtd/RXfv+m2n/pFUO+SzmQLlLpbRD8Y+qLQXOJP4bUBm D7majmn3iW6Yjtx/ei09oFEsI9RFidHpPZx7pXdCiIKEWnA2ey87wm6FHyT29ivcD9Az sRMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=guN3ScMcBAl3EdBUUBqxZnez+QFG6VTe2Us/ZifbIac=; b=xLVyaWf7bSHgAX3xfyi70wpZch+g0bFa2UhtEOrkzzBdsci8kVMIvPYTz1dY2vtFBA YIA2Pjp2ms4dXy5wNPx514aKxuMHYbyfkl8/lUukYGDbdc8TCSUWHSpM7untpHW8uGCW lScqEITBjeQZaQHN/Y+kYzjRCIK0BURSjPm8tKcrMPX0UpLEpQT0zEVRo6kfSe0kwpss Z4v4MxjMu1MhUqOxAIBSdiLdyWM+B8+XUfaXZX2WqvG+Y4B9q9lG+Qn/nqyPqCFZVuJL /nZptLynq+yYcG/QOUWpLuiQeWhf4vyozVNnMJE4MBOLWHz4LjxB6Y3gDpJyO8GoSYvO qzUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Mz2oXdfc; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g10si8237631pjp.74.2019.06.23.09.44.49; Sun, 23 Jun 2019 09:45:04 -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=@gmail.com header.s=20161025 header.b=Mz2oXdfc; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726881AbfFWQmP (ORCPT + 99 others); Sun, 23 Jun 2019 12:42:15 -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-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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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