From patchwork Thu May 16 17:26:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yangtao Li X-Patchwork-Id: 10946963 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 E4C8F924 for ; Thu, 16 May 2019 17:26:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C6440289AB for ; Thu, 16 May 2019 17:26:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B9D2C28AF4; Thu, 16 May 2019 17:26: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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 57097289AF for ; Thu, 16 May 2019 17:26:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=hxKaMf6vVa/GnLg8JRGvjegaCtL3tZqWZWNVZuDn1CE=; b=lM9 z0hV01jBz6pWpAM58d/VC3QJIvFBu1P84ydQVHA5Ox2Tpp6VWneVWcGcAkXj7+vUC2bbsX3U6khoN jzXr27608bywFBH4LSpVs6KdJPhOv1HonmtuRDKFzuuLh7JDAjAOUN9V9zWFmbS0FAy6+F/HGhhD1 mN8ZciQ3SkriXpU278yaG4tQsej9sJdxW3RnSFKZaTYPy0LZvJmn87cJILb1jV9ufeyKACN34KBDj TniGSy7hJDvAn6waM1wNeWRuNW2Xbf0vJK+xLxPRNJT3u+BtL4wMR8kh2sgRetHuP6J1pTk15hN52 9g4tjMyayE6MbqDVGZEoUIRsx/ncQ7g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hRK9T-0003Qf-KI; Thu, 16 May 2019 17:26:43 +0000 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hRK9Q-0003Pc-Bg for linux-arm-kernel@lists.infradead.org; Thu, 16 May 2019 17:26:41 +0000 Received: by mail-pl1-x635.google.com with SMTP id w7so1968720plz.1 for ; Thu, 16 May 2019 10:26:39 -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=YUfsEJ8lhieJ+G+ZEu//a+N3R5RIXxHhMK0cXmz6bgs=; b=ZaA34fQYW8y+vLCZGpBDoaYOqUEAr2LIlZmaQbAM1wgyRPnUL9LnJ6EyfewjiUsJPr J5sapg0djxcI6RM5ntfCQvsbuRrXFZ+Wrs1l7hC/snGqdMTSP0wG1hru5vxMDlh37qFp Eg2AtuwoZkSqXt1AcXlMkatujdHzvn79OF62DLOksmkB7THX6eO2fSj3tRJLWkDDwlyE vYYOm5DLTVhpfK2jEB2j2JQSQuQ8PHVWpBmkl4g3S3vJh3H2/62ZLdkPxii89f0+m63L PmqECPCryHfV+5mBF4rF9wABUYlz+xzw7+07ypj2KYhVi6X4VGRu6u5pbBz+UKdBIoJc n9Ig== 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=YUfsEJ8lhieJ+G+ZEu//a+N3R5RIXxHhMK0cXmz6bgs=; b=fI19bbMjQ+c1vvQ1dH2thDHB41kmREvHRlgGShqQ6v3cEjR1KC8gyiPO14k1feGtwD opINohJxqRG1wvidWwdcxXVqefXNsD5K9hHNZNQ88jjT102oopGiG77wbMkJcMBLG21A hkDKtf83dEmeaI+s6DtLH+XQOdZLsPBk8qjcJUHOPULlQWXkzSb93GdqEgILIg3Neky6 0OJlTHSJZZSfUIGl9oAo1uxNu2Qhyo7hYCOtQUYeRDDjEb1lh99Kglz6eVhKwXP6h8kV pXg4QkJalyfGZqfSZv/kewD6vDDvASbViUmAr4S4I09lZd6FZtrBrcFXLGRun0ZjyozY 94bg== X-Gm-Message-State: APjAAAUvDbnO6AcHcQ82HTzlqKNnhVh1PXwXdb6lCJF5TV5XY/T58WLp Qt1S9hMI6ncL4V2Upraws5A= X-Google-Smtp-Source: APXvYqwdkXSaxriT5ImPSSSj0Bxh+baskm7Ggglk+Ycbodr6SCw+bWqm6L/qc+2VAxhG3zek3J3hyQ== X-Received: by 2002:a17:902:b094:: with SMTP id p20mr29478865plr.164.1558027599264; Thu, 16 May 2019 10:26:39 -0700 (PDT) Received: from localhost (68.168.130.77.16clouds.com. [68.168.130.77]) by smtp.gmail.com with ESMTPSA id q193sm9970130pfc.52.2019.05.16.10.26.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 16 May 2019 10:26:38 -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, mchehab+samsung@kernel.org, gregkh@linuxfoundation.org, linus.walleij@linaro.org, Jonathan.Cameron@huawei.com, nicolas.ferre@microchip.com, paulmck@linux.ibm.com Subject: [PATCH v2 0/2] add thermal driver for h6 Date: Thu, 16 May 2019 13:26:31 -0400 Message-Id: <20190516172633.12607-1-tiny.windzz@gmail.com> X-Mailer: git-send-email 2.17.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190516_102640_395354_B55D544E X-CRM114-Status: UNSURE ( 9.26 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Yangtao Li , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patchset supprt H6 thermal controller. Yangtao Li (2): thermal: sun8i: add thermal driver for h6 dt-bindings: thermal: add binding document for h6 thermal controller .../bindings/thermal/sun8i-thermal.txt | 34 ++ MAINTAINERS | 7 + drivers/thermal/Kconfig | 14 + drivers/thermal/Makefile | 1 + drivers/thermal/sun8i_thermal.c | 422 ++++++++++++++++++ 5 files changed, 478 insertions(+) create mode 100644 Documentation/devicetree/bindings/thermal/sun8i-thermal.txt create mode 100644 drivers/thermal/sun8i_thermal.c --- v2: -Additions and deletions of some comments -Change some function prefix to "ths_" -Support interrupt --- 2.17.0