From patchwork Thu Sep 3 13:21:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 11753743 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 25F9214E3 for ; Thu, 3 Sep 2020 14:28:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 04FBF206EB for ; Thu, 3 Sep 2020 14:28:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="OX99CF6K" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729335AbgICO1r (ORCPT ); Thu, 3 Sep 2020 10:27:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729341AbgICO0z (ORCPT ); Thu, 3 Sep 2020 10:26:55 -0400 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4173DC061260 for ; Thu, 3 Sep 2020 06:21:20 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id c2so3605299ljj.12 for ; Thu, 03 Sep 2020 06:21:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=oYAJCWwmY8cmxpPn4BwEU5jj0ebyOjiSup5bfL+YfQo=; b=OX99CF6KkJNmfc3cah9J0jDtURY5SCXnwcy/sD3QgshXNBW9j1zVf/rkRRGYeSbr7t JeMRA7cw7JvE/MXBwWS+jgVDTy081C0Gt+hp0ZZhOKOioMXr5D10EwLgyTZpbqGod0pn ZkgiDeO+5GKLc0FW3rJjEHeMIul0K6wwhUKfJSHWjBs5hmXzpaHrr20LzrIuLZZzWQrp wv/m0e+TMpXoX3za5IYdS6SchZujltYgvCKWzK7bUUqPIc814EyGkfizhaeSABlG/yAV TvAKgNhs08iJNjhZRDsKtGEVTURIeeTYBarbcRzhZOkJ76SLyGpX9uoNoGI9p/1PM2XH W0Pg== 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=oYAJCWwmY8cmxpPn4BwEU5jj0ebyOjiSup5bfL+YfQo=; b=sOCnExKwnNGhUM2DNOD89fB1xsuTu1wy4iVAHRNmB/nJ6n/iwoSN35/fwL+cgc7EzD Zt2Hg9c0/TvXlefyAS+NqzEjbTaeH5fWbcAawPIVLGyRMLt+33JIO3iUNfxd7Fg7YuTv Fm8YIT6UPkNS8ZqoFiscz0YNE96A4qO7b8P+FwxUTRnu1JA8p2nVXpF+artxig1NM2Iv gwgwpTlF+k9SxP4VZgaVV80xODZDfaaZsGj1TN9ZAi8P4YGYj1NtjUgY5c5s3py/+pNo 40Bi3Nxscm2tLp9Xa5BtrE9qEiAK/2w5ObdvKKZrqDcjtIvuxRDm9JE72Yc/MnyBd4LF GEhg== X-Gm-Message-State: AOAM530l740x2Az5Eh2PfMxjVpM0gOsJ9aVU/xcqRzREPKDeRLje4Ghn mCLwaZOaF57VkTJfAVcAF43s6Q== X-Google-Smtp-Source: ABdhPJyP5OhNVD/jJ9z1pfq9aQtBj7avCZg/irip+mSpxwrEoQM9Kpl/YIx14MDRVDCA2CSAugQ41w== X-Received: by 2002:a2e:7e0b:: with SMTP id z11mr1290883ljc.133.1599139276410; Thu, 03 Sep 2020 06:21:16 -0700 (PDT) Received: from eriador.lan ([188.162.64.138]) by smtp.gmail.com with ESMTPSA id e23sm584220lfj.80.2020.09.03.06.21.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Sep 2020 06:21:15 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Rob Herring , Zhang Rui , Daniel Lezcano , Amit Kucheria , Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler Cc: linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-iio@vger.kernel.org Subject: [PATCH v2 0/0] qcom: pm8150: add support for thermal monitoring Date: Thu, 3 Sep 2020 16:21:00 +0300 Message-Id: <20200903132109.1914011-1-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org This patch serie adds support for thermal monitoring block on Qualcomm's PMIC5 chips. PM8150{,b,l} and sm8250-mtp board device trees are extended to support thermal zones provided by this thermal monitoring block. Unlike the rest of PMIC thermal senses, these thermal zones describe particular thermistors, which differ between from board to board. Changes since v1: - Introduce fixp_linear_interpolate() by Craig Tatlor - Lots of syntax/whitespace changes - Cleaned up register definitions per Jonathan's suggestion - Implemented most of the suggestions from Bjorn's and Jonathan's review