Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2756441imj; Mon, 18 Feb 2019 11:36:39 -0800 (PST) X-Google-Smtp-Source: AHgI3IZZDaUmaN/J/PfWtRxaxc4zrt9Wqxw6N6kSqmNIPGzwwUicP3LqENyHjdTA6Jycp52HdN1T X-Received: by 2002:a63:788a:: with SMTP id t132mr13739350pgc.0.1550518599799; Mon, 18 Feb 2019 11:36:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550518599; cv=none; d=google.com; s=arc-20160816; b=o4lPN3SxaNGRyNbWlj5cLmBzTInLUDBGons5RgrbxmVUR0+W5rUzV8DMgKFt36zugD uG5tmRVKn5qO5ULSgUPLOlCa3wM4cOzGsopKg+bSXaZtRjLvE9ep+jZSBMNDCrJf5PVN EoB/tJTRxRmCZKR+WpwaINZv9xSn4HRZ1yBGvpB2wKx9YUWEJhOI66x7h1CIPSv+i72W K9AHW903WyWk8MSK6TP7qAXAlZZhXRAx6h0EBVgctjDz2E/4Mkrkq1SIh0jjqx+Czwni 7CJO7w7sPqJOH5KR8/lJhlD41rqRyQHHVmdn+9pk01WO8ytogC7mHID8XZDa4NUknR5V 8Frw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=x6Nzx1UBHbUz3hyzl5qrUbTEPXuO+FY0q06jvpcgndA=; b=AHr3ZibTi7tls2fDbuURVBmOmgMKQbqoFqFaNZU9ZsdzZiIuypa95zf1QE2o6bGCEp rEB5PuuRqrI65DMPXR2YuOgAIESSrHB/plwqHlNAkT09KI3/6UshucwIRHosPu9KNbRv DvJt5ga3kajzN2ZO96PuK8jB0B9zW++VgBDgdilBWasbLEbCA+uN5YBJ9kLacQRLgEG5 lke0Rz9GyBHTgF9TVV1/oOe+uQAGUmPEAATHe4f7PGt6hARoV2WnHEDVnEhYguRoVeJb D/Bgca6Pz38b+Hej1na3I8mFdFRTNt27EvVBWo0hQJBHfG/c/LZdKFCBEwvotIz5mE09 oVIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UNmLNLgt; 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 w123si14037390pfb.172.2019.02.18.11.36.24; Mon, 18 Feb 2019 11:36:39 -0800 (PST) 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=UNmLNLgt; 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 S1728444AbfBRTMC (ORCPT + 99 others); Mon, 18 Feb 2019 14:12:02 -0500 Received: from mail-pl1-f193.google.com ([209.85.214.193]:41453 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728262AbfBRTMB (ORCPT ); Mon, 18 Feb 2019 14:12:01 -0500 Received: by mail-pl1-f193.google.com with SMTP id y5so3610430plk.8; Mon, 18 Feb 2019 11:12:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=x6Nzx1UBHbUz3hyzl5qrUbTEPXuO+FY0q06jvpcgndA=; b=UNmLNLgtSp5b9Sl12DMhlj+eN4/iQVFaEJp0K555aL7xdfI2VHi15ibQBlF4nkyV/q 4nxy+TPLZJWuhRjFVuOADgIslzdS/F3aE/wsWMMRkHEDhekWGn5sZx4q7N0eGE+myCnW LUyTWht45PZYmu9jEX8LQyIj4jciZQfqHD0TgHuO1ivEjVYVmvFqy4AmhdmaJV0wG4cT e0pOvNhNTXgXvzBriGRHJ6b6fNfKit1v81ppZ9oRbg27JGXbVhVte6FUXiN1rnsSvcNA abnWshAOe5Ge/3DJKp0/Xz6DSJ5IKbcgChvLiDpHscfbcFSc0sZYIJRjZ5BRSYGFmyCs FY8g== 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:mime-version :content-transfer-encoding; bh=x6Nzx1UBHbUz3hyzl5qrUbTEPXuO+FY0q06jvpcgndA=; b=Bx6/IlVBFcsc+zvATqxbcI3x2ud9S/PkBFbYy60xA3teoqhv170qZ8dTOmge4JUmm0 0vuyNuS2lVEUY5j0CiqaLDRyiGACtgWFkqckvjJ6CjJm4xtNZx9W+UQNk9SF/ftT+9Ia yRxT7NRqA0K4CYfH6NipByGV0g8WW6tRSI32VPqDYZuAhz7fglzrXEHMiXdpXPt7ZFV6 gC8f/15iTw/cfWBHBLxf1A/3m6nrCoEUgWBHxuuitM9EKmGU1doiVATGT4lxRNWOxNHp GkLN/gwEpUO+crVUw4Hx/A8qGiZaQDak7R5iM6IGrfLLbvpQyMuKQ6uXFzRaQ87CwnqI defg== X-Gm-Message-State: AHQUAuZNjXZUIfiI2Ll4v0WFQkmbaURZzI6yyyYppsvxarLtd9dS/CcV WukEgVqouX4MJrkc9pkAqrajYAfn X-Received: by 2002:a17:902:9b96:: with SMTP id y22mr27344771plp.179.1550517120410; Mon, 18 Feb 2019 11:12:00 -0800 (PST) Received: from squirtle.lan (c-24-22-235-96.hsd1.wa.comcast.net. [24.22.235.96]) by smtp.gmail.com with ESMTPSA id t12sm33189727pgq.68.2019.02.18.11.11.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Feb 2019 11:11:59 -0800 (PST) From: Andrey Smirnov To: linux-pm@vger.kernel.org Cc: Andrey Smirnov , Chris Healy , Lucas Stach , Zhang Rui , Eduardo Valentin , Daniel Lezcano , linux-imx@nxp.com, linux-kernel@vger.kernel.org Subject: [PATCH 00/12] QorIQ TMU multi-sensor and HWMON support Date: Mon, 18 Feb 2019 11:11:29 -0800 Message-Id: <20190218191141.3729-1-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Everyone: This series contains patches adding support for HWMON integration, multi-sensor support as well as a small fix and general improvements (hopefully) for TMU driver I made while working on it on i.MX8MQ. Feedback is welcome! Thanks, Andrey Smirnov Andrey Smirnov (12): thermal_hwmon: Add devres wrapper for thermal_add_hwmon_sysfs() thermal: qoriq: Remove unnecessary DT node is NULL check thermal: qoriq: Add local struct device pointer in qoriq_tmu_probe() thermal: qoriq: Don't pass platform_device to qoriq_tmu_calibration() thermal: qoriq: Convert driver to use devm_ioremap() thermal: qoriq: Add hwmon support thermal: qoriq: Convert driver to use regmap API thermal: qoriq: Enable monitoring before querying temperature thermal: qoriq: Do not report invalid temperature reading thermal: qoriq: Simplify error handling in qoriq_tmu_get_sensor_id() thermal: qoriq: Be more strict when parsing "thermal-sensors" thermal: qoriq: Add support for multiple thremal sites drivers/thermal/qoriq_thermal.c | 326 ++++++++++++++++++-------------- drivers/thermal/thermal_hwmon.c | 28 +++ drivers/thermal/thermal_hwmon.h | 7 + 3 files changed, 214 insertions(+), 147 deletions(-) -- 2.20.1