Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp4262207imm; Mon, 15 Oct 2018 11:41:38 -0700 (PDT) X-Google-Smtp-Source: ACcGV63s4DimQMH+88xGwyFUUXHzswxciCkQOdMO++w0/WRONsWpBCrFAD/9PA7fd878t8Lgttwj X-Received: by 2002:a17:902:8342:: with SMTP id z2-v6mr17998569pln.147.1539628898844; Mon, 15 Oct 2018 11:41:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539628898; cv=none; d=google.com; s=arc-20160816; b=kUjoFrRmm6dvQSRjNoA4cjUzisNlcPAHbekmKP0q58xKWr38WrKi+IC1fyWjjBsxGF 9f1EQWiE0lSeEiEIw3TBoJXUOohvWre64gbuH6Oa69omvrHELv1zz0ZkUmxHvVRFEZmD GveFzVaIvikk15+7JyzRDg6QP4Fho3QD00RVAS8uirF721wS8GIy7InnmbvA0US7Zb57 V/XQiBufJydg7iqMv+mZfh6kmq/yp7SnT6rmuf6yKVGDrKlWmlCFBA8wsfzvi+yrMmw8 q7AGRPZGcWPhE+1vAX5W9JNgi1ViPvsCa7F3pZUjyUDpdXTFODCB5kBNcAnFhNzgDHlK W0CQ== 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; bh=Qiu8Dvy3vDRSEHcPlzDNP8QsXRKz7bTKvoZBD63ZTNM=; b=YjS7WiKp2cXDcSYVoAWDYj3HWz4m/mnIe5D4j3TK9Up16RRVyzI5c1z6+4ZjTKsBq5 XbWJgwMW/A2YmFQCcO2mw03VUs5AyJ1KVr6rKqtW2EEC+volG/b+qF2a9rtD3Qhwwcnj EdeoCiCYew8uI3DrwEulpEwFSpGyfS+fPbX4fHrTSWMBofHSZKTRanMV6c17vSLHeShN O1OmGHM8uDuxTgjVsf34CD0WE1nSZ9T6TrMD/CcYdTzFAkxG+uv2xFr/YHvm73JCLMKQ al9Xx7SbhamAyRTpaTIkXFihHhiw/fKa7cCP2p2CicYG22U+Q8KdIEdkpD8zYUP2Q1ZQ bp4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OMdbV+uc; 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 72-v6si12073785pla.334.2018.10.15.11.41.23; Mon, 15 Oct 2018 11:41:38 -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=OMdbV+uc; 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 S1726962AbeJPC1W (ORCPT + 99 others); Mon, 15 Oct 2018 22:27:22 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:43959 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726703AbeJPC1V (ORCPT ); Mon, 15 Oct 2018 22:27:21 -0400 Received: by mail-pf1-f196.google.com with SMTP id p24-v6so10111532pff.10 for ; Mon, 15 Oct 2018 11:40:54 -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=Qiu8Dvy3vDRSEHcPlzDNP8QsXRKz7bTKvoZBD63ZTNM=; b=OMdbV+ucwIYZrixx6j5zsAk6BNjmMVOgtwlSY/rMQN2EkVL027+DtAnFvlSAF2Y+HZ fRe9VaokeU6RVznlh3swyd/QtNzjSzDojMLjVLT/AWLTXz+QrZ6MdNNmCztjlkn0fOmw 5hES6M0K53+14zWiCt4HaOX2TCR7/ePswmKfk= 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=Qiu8Dvy3vDRSEHcPlzDNP8QsXRKz7bTKvoZBD63ZTNM=; b=C90hd25nb7VnjJ4dAkaEtvvbHqEEamH8PTiqD2iiTTQY45o+9A6lrL51+X5vIP4Ayb d/DibHVA8TfQFN5AUFIhPEyr9DtrO7CS+9JjfgnGVxl0pzBJCO35IZka0gg3KuOa5aSi gL+VDdTcp8eOO38ZlgHHQ7fs1q2Ciirylube7jcr0WuQb0TBhDkisNd00jRNC0+NtS7n RJRx2EHkeQulr5JfTRKhfPdmWQbU90pyp99GTbT1lknIRtK9XuZYsyM0HHPS8jbT54lx S5bMLdsexUkzTBGQO2YQyXNQGXYNWB3lkwljtEYAdsNObzQ393E4P5osz4Ate9NR4MlI qXrw== X-Gm-Message-State: ABuFfohv19oqcx7afsRFlypeo7w+YUmFINvxUYTvWjcSbKHGjq1JVcuV 5c3t3oCm40FdzaQClvTXkGfvI6Sf2/M= X-Received: by 2002:a63:2807:: with SMTP id o7-v6mr16877509pgo.155.1539628849449; Mon, 15 Oct 2018 11:40:49 -0700 (PDT) Received: from localhost ([49.248.168.189]) by smtp.gmail.com with ESMTPSA id q24-v6sm19205427pfi.165.2018.10.15.11.40.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 15 Oct 2018 11:40:48 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org Cc: linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, edubezval@gmail.com, andy.gross@linaro.org, vkoul@kernel.org, Daniel Lezcano , devicetree@vger.kernel.org, linux-pm@vger.kernel.org, linux-soc@vger.kernel.org Subject: [PATCH v1 0/4] thermal: tsens: Add support for QCS404 platform Date: Tue, 16 Oct 2018 00:10:39 +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 Add support for the Qualcomm QCS404 platform that contains v1 of the TSENS IP. Introduce a fallback binding to handle "v1" functionality. These patches apply on top of previous tsens-related patches sent to the list pending merge along with various qcs404 patches under review (available in this branch[1] for convenience). [1] https://git.linaro.org/landing-teams/working/qualcomm/kernel.git/log/?h=integration-linux-qcomlt Amit Kucheria (4): dt: thermal: tsens: Add bindings for qcs404 drivers: thermal: tsens: Add generic support for TSENS v1 IP arm64: dts: qcom: qcs404: Add tsens controller arm64: dts: qcom: qcs404: Add thermal zones for each sensor .../bindings/thermal/qcom-tsens.txt | 3 + arch/arm64/boot/dts/qcom/qcs404.dtsi | 226 ++++++++++++++++++ drivers/thermal/qcom/Makefile | 2 +- drivers/thermal/qcom/tsens-v1.c | 196 +++++++++++++++ drivers/thermal/qcom/tsens.c | 3 + drivers/thermal/qcom/tsens.h | 2 +- 6 files changed, 430 insertions(+), 2 deletions(-) create mode 100644 drivers/thermal/qcom/tsens-v1.c -- 2.17.1