From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755922AbeDZLwI (ORCPT ); Thu, 26 Apr 2018 07:52:08 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:48543 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755063AbeDZLwC (ORCPT ); Thu, 26 Apr 2018 07:52:02 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20180426115200epoutp0232f9f1dbe5de53ad99ffeb2531f51ad2~o_ic2y_jK1528215282epoutp02l X-AuditID: b6c32a46-145ff70000001024-96-5ae1bd5faa3f From: Bartlomiej Zolnierkiewicz To: Eduardo Valentin Cc: Zhang Rui , linux-samsung-soc@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, b.zolnierkie@samsung.com Subject: [PATCH 00/18] thermal: exynos: further fixes and cleanups Date: Thu, 26 Apr 2018 13:51:15 +0200 Message-id: <1524743493-28113-1-git-send-email-b.zolnierkie@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprNIsWRmVeSWpSXmKPExsWy7bCmqW7C3odRBg0eFhtnrGe1mH/lGqvF 5V1z2Cw+9x5htJhxfh+TxZOHfWwObB47Z91l91i85yWTR9+WVYwenzfJBbBEcdmkpOZklqUW 6dslcGVcbbrGVPBdoOLBimNsDYw9fF2MnBwSAiYSmz9PYOti5OIQEtjBKHFpyWtmCOc7o8S2 1f+ZYaqaFx5ngkhsYJSYe/0CC4Tzi1Hi9P/zrCBVbAJWEhPbVzGC2CICWhInLm0H62AWmMMo MathNwtIQljASeLtzytsIDaLgKrEgte3wZp5BTwkJn/byASxTk7i5LHJrBD2Q1aJSfN5IWwX iZuPvjFC2MISr45vYYewpSWerdrICLJMQqCZUeLbjj1Qd09glNizXgjCtpY4fPwi2FBmAT6J jsN/gZo5gOK8Eh1tQhCmh8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RRnJBpqMRcVJwIAkKXTeP0BAAA= X-CMS-MailID: 20180426115159epcas2p3b8d995ba552b403b5052f74970fdef0f X-Msg-Generator: CA CMS-TYPE: 102P X-CMS-RootMailID: 20180426115159epcas2p3b8d995ba552b403b5052f74970fdef0f X-RootMTR: 20180426115159epcas2p3b8d995ba552b403b5052f74970fdef0f References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This patchset contains Exynos thermal driver fixes and cleanups. Highlights: * Move code valid for all SoCs from ->tmu_initialize method to exynos_tmu_initialize(). * Add ->set_trip_[temp,hyst] methods and convert ->tmu_initialize method implementations to use them. * Remove bogus trip reporting to user-space. The patchset is based on top of: - "[PATCH 00/14] thermal: exynos: pending fixes and cleanups" (https://lkml.org/lkml/2018/4/16/256)) - "[PATCH] thermal: samsung: Remove support for Exynos5440" (https://lkml.org/lkml/2018/4/26/405) Tested on Exynos4210 based Trats board and Exynos5422 based Odroid-XU3 Lite board. Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institute Poland Samsung Electronics Bartlomiej Zolnierkiewicz (18): thermal: exynos: fix setting rising_threshold for Exynos5433 thermal: exynos: always check for trips points existence thermal: exynos: always check for critical trip points existence thermal: exynos: check STATUS register in exynos_tmu_initialize() thermal: exynos: use sanitize_temp_error() in exynos7_tmu_initialize() thermal: exynos: fix trips limit checking in get_th_reg() thermal: exynos: remove threshold_code checking from exynos4210_tmu_initialize() thermal: exynos: make ->tmu_initialize method void thermal: exynos: clear IRQs later in exynos4412_tmu_initialize() thermal: exynos: move IRQs clearing to exynos_tmu_initialize() thermal: exynos: add exynos*_tmu_set_[trip,hyst]() helpers thermal: exynos: do not use trips structure directly in ->tmu_initialize thermal: exynos: set trips in ascending order in exynos7_tmu_initialize() thermal: exynos: move trips setting to exynos_tmu_initialize() thermal: exynos: check return values of ->get_trip_[temp,hyst] methods thermal: exynos: cleanup code for enabling threshold interrupts thermal: exynos: remove unused defines for Exynos5433 thermal: exynos: remove trip reporting to user-space drivers/thermal/samsung/exynos_tmu.c | 548 ++++++++++++++--------------------- 1 file changed, 215 insertions(+), 333 deletions(-) -- 1.9.1