Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2006672imm; Thu, 9 Aug 2018 05:56:25 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxo0qKR5t4HYOkq6cX5ikKxfZ3Cbrrzq1mZ1pFN3bI/CKqXRlhjZO2H+UuECgtLu/lON6H6 X-Received: by 2002:a63:f043:: with SMTP id s3-v6mr2010843pgj.94.1533819385563; Thu, 09 Aug 2018 05:56:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533819385; cv=none; d=google.com; s=arc-20160816; b=P03sYSR4pImYCMESmkhfcipdIHmBUU4MqTrEfGoccnDmdkotBQ3G7bS8Q9F9hGnFRs QRXxSBcpsC6/4VKelKCmHPuMcgAdivgmOsGAcCw9YG51btc38vq9RyyKIgbevXTKpevQ 1BGM1738zaFcSBIHFvp7jelQnIGR5G8ja9Is9peOhWvioa9LfMnZ4gF3A1jB/J5tyE82 SxBZFvo8ASUdzqt/ljher/EDD21TJ5zuCXsqww4Kuz55jjTJ6WEK3i+yTyVQxxPNRAVZ rJtTrthwon55ByhScN598Abck2sD/uBPrk3gMRDn6BRrYJF4OcedIR2pXXk32aDX51wx C8bg== 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=tkVrjUmMoiGeKVTEPUTHKCb21cGNq6uRRAMlOCuo20I=; b=bMSChXaON8XbfevgSF1XKyt1WkY4ViBHSXfqOCjRt1ncZ+p82AsZ7hCnDt9GHaAtTR f/A0BvDJb1lsq3Q2Kdny6YkS/fEdq5s9jYKAKlJiEyXIN6wviJVsS92XY3FXB6dVZWb3 s1Q6cWGM1xwh5OEzSM7CZHuvlAbRT8Iu3zCIG+cEAhtUqIk/XV+D11jd4qF3a17vHtkq fh0Z2+w6PuY4HzOSh97VPqkUAc3A1OyHHwOXvdoUP5vQtgOEEmOOw+edzi8UPGFYISqq V4AKS2PFn42cEDPyU7IBeH5hn036SAh3uwLNxNfhXqZDmZ64w+Da0RsC/YSU2ld3fn28 kBXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=VyASsVwR; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k3-v6si5626896plt.328.2018.08.09.05.56.10; Thu, 09 Aug 2018 05:56:25 -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=@broadcom.com header.s=google header.b=VyASsVwR; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731904AbeHIPUB (ORCPT + 99 others); Thu, 9 Aug 2018 11:20:01 -0400 Received: from mail-qk0-f194.google.com ([209.85.220.194]:35954 "EHLO mail-qk0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730634AbeHIPUB (ORCPT ); Thu, 9 Aug 2018 11:20:01 -0400 Received: by mail-qk0-f194.google.com with SMTP id x192-v6so3918727qkb.3 for ; Thu, 09 Aug 2018 05:55:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=tkVrjUmMoiGeKVTEPUTHKCb21cGNq6uRRAMlOCuo20I=; b=VyASsVwRR1/e4QpKinUrGOKRtwCmGMGgBXn2Ea/dRgi0QuHn5H1eitqxZTYSyso6he XP3pAOtlhOTg/WFcSa46KV+71C/KpTcHrhf/S5jYXUOrcEqRKcyHd5H8rypMNK/w2fPV dqEbBjNLlt0/g0cbXL/MxKvmfPJUt9bXlWNAI= 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=tkVrjUmMoiGeKVTEPUTHKCb21cGNq6uRRAMlOCuo20I=; b=FbgZZfykv8rWF3aXXv/BDFEcst8mynby9bQX/JqFNtqqETvH3okR9SBjuQZqSlhVb3 JK3ixLB/L2ERpqpVQa4LYTYBTNZIuHmV06o3El3zNoekKLiCbVUa8WFy2KkyS3C1FCxy RDHfvDlljqCqdP6qwXh8oFCiU4Sjbf2E4X5kfgOZmRA4oVO2L8guq9fSLd7gem82xVwq QwuDxfwgudn08SJj0WcbcBKROpHmvMo6zxuyX0yfe0NZJjT0lsgtjlbriWv69adNsdNh ZPoJ/Wl/m/gomoMWmrO9VUg23QSST8uKM5m1lBigKa56WBblEzX971Tg+VNusnKnJpuy 9mxA== X-Gm-Message-State: AOUpUlHeVZUfuoPc05+y58RNjxg2jkAp17St3UTvYYOwbrfkeseWtYQF xRZvQuDN3P9PTI6DBwV2WQLKGQ== X-Received: by 2002:a37:8044:: with SMTP id b65-v6mr1626098qkd.347.1533819313591; Thu, 09 Aug 2018 05:55:13 -0700 (PDT) Received: from mannams-OptiPlex-7010.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id q51-v6sm4933654qta.92.2018.08.09.05.55.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 09 Aug 2018 05:55:12 -0700 (PDT) From: Srinath Mannam To: Zhang Rui , Eduardo Valentin , Rob Herring , Mark Rutland Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Srinath Mannam Subject: [PATCH v3 0/3] Stingray thermal driver support Date: Thu, 9 Aug 2018 18:24:56 +0530 Message-Id: <1533819299-3401-1-git-send-email-srinath.mannam@broadcom.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These patches adds the stingray thermal driver and its corresponding DT nodes with documentation. Changes from v2: - All stingray TMON DT nodes are combine together into single. Temperature registers are combined into one mem resource. brcm,tmon-mask parameter has available TMONs mask value. - All available TMONs are initialized together in single instance of driver probe call. Changes from v1: - Fixed auto build sparce warning. Pramod Kumar (3): dt-bindings: thermal: Add binding document for SR thermal arm64: dts: stingray: Add Stingray Thermal DT support. thermal: broadcom: Add Stingray thermal driver .../bindings/thermal/brcm,sr-thermal.txt | 23 +++ .../arm64/boot/dts/broadcom/stingray/stingray.dtsi | 13 ++ drivers/thermal/Kconfig | 3 +- drivers/thermal/broadcom/Kconfig | 9 + drivers/thermal/broadcom/Makefile | 1 + drivers/thermal/broadcom/sr-thermal.c | 216 +++++++++++++++++++++ 6 files changed, 264 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/thermal/brcm,sr-thermal.txt create mode 100644 drivers/thermal/broadcom/sr-thermal.c -- 2.7.4