Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1986420imm; Thu, 9 Aug 2018 05:34:27 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzcYKyaaRhZjuYA0ut6a3dLnj+Uy1tarFMawCkIR9ATGE4PtPvDyVOG7+IiRKzN7DVfMCYK X-Received: by 2002:a63:b256:: with SMTP id t22-v6mr2058598pgo.101.1533818067398; Thu, 09 Aug 2018 05:34:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533818067; cv=none; d=google.com; s=arc-20160816; b=DC/RUMxoCGtHlEo4xH0Yl0D3kSivDOFDrBCRFMIukcMrR24wddEoDvTYBy5C3GA71S N6c0AmhALbBhUecUNZT/loPEP7NEkirAp+rgCreHQ96+FbmbdT3fwNP5yvmADuiQCR2K 2ih/fHSWRwjl5qa2G2Z2/Qswu7cgnf1hPWCsmVra61nwTrep8o/NZ23nf0XzC2IzC+lS qAZwnfNa3Gl1JpNbRfdZUSo1oMzuaNQAyv+dDx9Ms2E15OT3cJ84FCWmyolhKESPYPMi ijsTWeNJAtFi0P80cseHkYAucukrI0Jdf7/PGTI7/GMAmVK0GKSUBMU6Ff47UoPt4bsj o7Qw== 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:arc-authentication-results; bh=MGYrx0uZNDgVFHPX1cqi8GQIfy0CW578H1zRnv2sLks=; b=CF33+1qKuGvo6xI6qOxjlTImkWNQwCCWWrCkZH6FulxB+Bp++oSiT95DqieksuvWDR RBjOcd+iJ1cJAW+JRyxgHGtbNav5n7CsEUynUTs99ld6x8DogTx7hCPDfdxP7Gkq/uGH Egk4sZOgAo/3GN/0U5VirE0BoLEmJGKwnKklaGWzXdJzegqhpgPu7vEaQ8Zflh+8KFzn 1un/vfnA2s/dAUIMPjjmofJvY29k3WKgkWyWt7YCHds9oqXycEkL85skMm7+QcTlapYD kp9wTCG+OTtdOTa96Yjb8nHNoTeTFvh6HVURGH4VIbftcHk6FE552JMnqfny0W4Gce6q +VvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=O2CoElr2; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o18-v6si7198096pgh.91.2018.08.09.05.34.12; Thu, 09 Aug 2018 05:34:27 -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=@linaro.org header.s=google header.b=O2CoElr2; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731832AbeHIO5i (ORCPT + 99 others); Thu, 9 Aug 2018 10:57:38 -0400 Received: from mail-pl0-f68.google.com ([209.85.160.68]:37006 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731399AbeHIO5h (ORCPT ); Thu, 9 Aug 2018 10:57:37 -0400 Received: by mail-pl0-f68.google.com with SMTP id d5-v6so2513245pll.4 for ; Thu, 09 Aug 2018 05:32:56 -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; bh=MGYrx0uZNDgVFHPX1cqi8GQIfy0CW578H1zRnv2sLks=; b=O2CoElr2tyWllOC9VwoU7wUpp+y8qZRFuhoZv/TCXA0fNCE773DM9VV4fJZY5ZG0Y4 TmwigVpo/QVrAgGgHszkG1skLqxWmjOXdOSyt4JLewtZQcKFHoXS7vlJG0UtfuFK23mj EGiHzD1Z47oYqeIFWnr4ygZN8aUhuV5tjO0uw= 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=MGYrx0uZNDgVFHPX1cqi8GQIfy0CW578H1zRnv2sLks=; b=V9bLJilfIaFEAw7MyI1OriALICF+iI8xuC3xnw3w1wAnphCu8PtyLCh9iD+ZkmxELS rhx1Ij0vY8mYvVOa1iycFQrARSdBci5p5Rf9U2Vwz5WBRmlU6VtR0pt0pH/jJN4kHJVM lKUqvZ4JszrpslkCJu14waa18aRXty9ab0aARsNrjHpmH7BGx0U71+PomsDUsa6HM6v2 w5qc5uEN6sNMitN98kR1ozyUZRAWlN1ppdck8IYZR0w/6haTdC2Oq30Zih3PTrH6sekU bXInXP3sfFZiNszAaiQ9MKw7v4SI+9UpLJ4bCo8U2vP72ZhS6WQrCsRo/thUaxboaCVg M5Bg== X-Gm-Message-State: AOUpUlEQM6GJu2aMDE/aZ7MgDsOtXDZCkgWe/QLmxzHT+QN5hYclnIDH ze1+Qwu2fjOjN5CsEQPvkDCH3IWU0Fk= X-Received: by 2002:a17:902:7793:: with SMTP id o19-v6mr1975430pll.306.1533817975531; Thu, 09 Aug 2018 05:32:55 -0700 (PDT) Received: from localhost ([45.113.251.134]) by smtp.gmail.com with ESMTPSA id u69-v6sm8979964pgd.43.2018.08.09.05.32.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 09 Aug 2018 05:32:54 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org Cc: rnayak@codeaurora.org, linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, edubezval@gmail.com, smohanad@codeaurora.org, andy.gross@linaro.org, dianders@chromium.org, mka@chromium.org, "David S. Miller" , Andrew Morton , Arnd Bergmann , Greg Kroah-Hartman , Mauro Carvalho Chehab , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, linux-soc@vger.kernel.org Subject: [PATCH v1 00/10] Another round of tsens cleanups Date: Thu, 9 Aug 2018 18:02:32 +0530 Message-Id: X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is another series of tsens cleanups before we add interrupt support. This applies on top of the earlier two series[1][2] that have already been accepted for 4.19. In this series, we have the following: - splitup 8916 and 8974 register address spaces for SROT and TM - cleanups: move to spdx, dead code removal, removal of id field - Add support to map the SROT address space for DTs that list it separately - Check if TSENS IP is enabled in firmware by querying the SROT space - Add reg-names property to get more readable outputs in /proc/iomem - Add myself as maintainer of tsens Regards, Amit [1] https://lore.kernel.org/lkml/cover.1531895128.git.amit.kucheria@linaro.org/ [2] https://lore.kernel.org/lkml/cover.1532600791.git.amit.kucheria@linaro.org/ Amit Kucheria (10): arm/arm64: dts: msm8974/msm8916: thermal: Split address space into two dt-bindings: thermal: Fix a typo in documentation thermal: tsens: Add SPDX license identifiers thermal: tsens: Get rid of dead code thermal: tsens: Rename map field in order to add a second address map thermal: tsens: Add the SROT address map thermal: tsens: Check if the IP is correctly enabled by firmware thermal: tsens: Get rid of 'id' field arm64: dts: qcom: Add reg-names for all tsens nodes MAINTAINERS: Add entry for Qualcomm TSENS thermal drivers .../devicetree/bindings/thermal/thermal.txt | 2 +- MAINTAINERS | 7 +++ arch/arm/boot/dts/qcom-msm8974.dtsi | 7 ++- arch/arm64/boot/dts/qcom/msm8916.dtsi | 7 ++- arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 + arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 + drivers/thermal/qcom/tsens-8916.c | 11 +--- drivers/thermal/qcom/tsens-8960.c | 41 +++++------- drivers/thermal/qcom/tsens-8974.c | 11 +--- drivers/thermal/qcom/tsens-common.c | 62 ++++++++++++------- drivers/thermal/qcom/tsens-v2.c | 6 +- drivers/thermal/qcom/tsens.c | 21 +------ drivers/thermal/qcom/tsens.h | 24 +++---- 13 files changed, 99 insertions(+), 104 deletions(-) -- 2.17.1