Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp133004imu; Wed, 7 Nov 2018 14:16:11 -0800 (PST) X-Google-Smtp-Source: AJdET5dCdxIW2RVhwoQpl3t0rdY0qr6RMYtgIcnfvAeFusSIsBa2s8QrnLKmDlqecFg5hCpiq4Ot X-Received: by 2002:a17:902:a5c6:: with SMTP id t6-v6mr2114225plq.31.1541628971058; Wed, 07 Nov 2018 14:16:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541628971; cv=none; d=google.com; s=arc-20160816; b=iaPTArOBSuh8WdaJ1SKvD3eMbl00Xt3wX/1Comysp5VfjrFGZ7V9RXDltX7B2NlVwa kFE3CquJcIrkNqC80BGGC39vtBb9rgTkQxSjd7QyeRAooJQ9WeSgyNg8zR8XOgnj/Sw/ ICA3Xy50Jp/qIPqxzpCpfr73PG3xc9nqTAMgYIAQN12gj0dmZo4qxVn2GZzHpa/HD1+T H5EGgFcF0j45RecCTOABIiIwMd4ofY15Ma8ZDiOrJOKGgV6pmZ6dGHDZNh9jepeqDyEG LG3jReRn8XuDp1jJx7CtE1CJ2sLYI/ZbNznYIPvL1MrnR/dduvSpqtOZd0851VfoZVKg M/0w== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:openpgp:from:references:cc:to:subject :dkim-signature; bh=mfDO39p8xSTyBe2RIBKrkDdDPe9VRX7ePPYvAvL1qz8=; b=dBLCMpfhdJr5UBa3aU+3g9S1rle9++amFXzGMTnwltG5evhIsffN68wShL5+nZMWW2 b7QjFDVEYtVWgnkelYYd1UdJLlWP1S+qo/Uf0HAvyellTImPnWbitn9Z7gSyDKv5pctt uaPBWHIfQ4cuJZ12tJEMrBaEUg4vD03betbX08GjR/Jy0cYESDrSMorHKO4r6Mpi9618 xXsWi41T1Vg2Uef6yY6rDJx8TT5AjQ2EKaP7r5LO+PUlA4TlTC9nbWjSJP7OaqzWQhnO uU7mS9ylH8qM5I+ZtvAIX9nVUzViN+YU+MQ70ogCmpw7GfJoI9B+vU2Wd5Fu2NA4zDzG yY8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VLB+LatE; 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 b12-v6si1923817plr.175.2018.11.07.14.15.55; Wed, 07 Nov 2018 14:16:11 -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=VLB+LatE; 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 S1728004AbeKHHrw (ORCPT + 99 others); Thu, 8 Nov 2018 02:47:52 -0500 Received: from mail-pf1-f193.google.com ([209.85.210.193]:33855 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727127AbeKHHrw (ORCPT ); Thu, 8 Nov 2018 02:47:52 -0500 Received: by mail-pf1-f193.google.com with SMTP id y18-v6so5917836pfn.1; Wed, 07 Nov 2018 14:15:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=mfDO39p8xSTyBe2RIBKrkDdDPe9VRX7ePPYvAvL1qz8=; b=VLB+LatE1wTbMFBAX2/Q7ypExPyGk7WkEeIfnqTzFTaoLHfiWdgtHLWcBlUmN9luGI oo53GH+0y8bhmSJrkhcGUq3xaDeoHC980Oly8DPfpMQDaeydxbnxYttu5f2EIV1drgqJ G7iTg0XAZhmI41QhP+4eKmf8SYiW+HPRMH/BZrlVNupL57ry3JI/AbRG+dl3UhGWadF0 eAO/FZJu2DYnihtMPmoxaYwa2+iTTTgNn960NVlaD+ecxIcijosR8yVsc+vQQUqVh/Wp r4KhPLdrfNfsjysYYEItN1oFH01haIc70BZp8iYbYCUnP7zA+/QehMLmTaqm2jhIXW2M J5Fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=mfDO39p8xSTyBe2RIBKrkDdDPe9VRX7ePPYvAvL1qz8=; b=kVaxAz7EzvfbY36yWavfzXk6rn4g18AU1HKzo2wsUOSduygU0Gt/H/iwJvPhgewlPq BF9onTTCoRv5WGxM8qOiR76kMcCtEGVUm8sENOsX03YBHPylZ9m0hK1JISUk2GvvGjfk RvASpSg83oikYrsEdJLOiUqOeRB7NYnIawix5qKuSJIvXKfo51IondDtOptpKu5JaPx6 Xizjw4MzH/4845fHcNH+Y9U63ydRJX/qTKbm+y3QgdpuYwuXbLr9zXk15NA0BESs1xl/ SnXUBeAqfCMoDIUhgn9KpHpQX1pqNKuPs9ETfZ+/osPGswkSUVGbQJX80vHt/EDcnHkM Dcwg== X-Gm-Message-State: AGRZ1gJvTzg5cVi3OCzkT9w/l7AV3jFLg//5+ZGJdYNm6Tv0zmKP78g5 GVQnslhJz3JJaRHINueVVKvz8VeU X-Received: by 2002:a63:6cc7:: with SMTP id h190-v6mr1731425pgc.216.1541628927374; Wed, 07 Nov 2018 14:15:27 -0800 (PST) Received: from [10.69.78.41] ([192.19.223.250]) by smtp.gmail.com with ESMTPSA id 11-v6sm1868925pfr.55.2018.11.07.14.15.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Nov 2018 14:15:26 -0800 (PST) Subject: Re: [PATCH v5 0/3] Stingray thermal driver support To: Srinath Mannam , daniel.lezcano@linaro.org, Zhang Rui , Eduardo Valentin , Rob Herring , Mark Rutland Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com References: <1539702680-3746-1-git-send-email-srinath.mannam@broadcom.com> From: Florian Fainelli Openpgp: preference=signencrypt Autocrypt: addr=f.fainelli@gmail.com; keydata= xsBNBFPAG8ABCAC3EO02urEwipgbUNJ1r6oI2Vr/+uE389lSEShN2PmL3MVnzhViSAtrYxeT M0Txqn1tOWoIc4QUl6Ggqf5KP6FoRkCrgMMTnUAINsINYXK+3OLe7HjP10h2jDRX4Ajs4Ghs JrZOBru6rH0YrgAhr6O5gG7NE1jhly+EsOa2MpwOiXO4DE/YKZGuVe6Bh87WqmILs9KvnNrQ PcycQnYKTVpqE95d4M824M5cuRB6D1GrYovCsjA9uxo22kPdOoQRAu5gBBn3AdtALFyQj9DQ KQuc39/i/Kt6XLZ/RsBc6qLs+p+JnEuPJngTSfWvzGjpx0nkwCMi4yBb+xk7Hki4kEslABEB AAHNKEZsb3JpYW4gRmFpbmVsbGkgPGZhaW5lbGxpQGJyb2FkY29tLmNvbT7CwQcEEAECALEF AlPAG9YXCgABv0jL/n0t8VEFmtDa8j7qERo7AN0gFAAAAAAAFgABa2V5LXVzYWdlLW1hc2tA cGdwLmNvbY4wFIAAAAAAIAAHcHJlZmVycmVkLWVtYWlsLWVuY29kaW5nQHBncC5jb21wZ3Bt aW1lCAsJCAcDAgEKAhkBBReAAAAAGRhsZGFwOi8va2V5cy5icm9hZGNvbS5jb20FGwMAAAAD FgIBBR4BAAAABBUICQoACgkQ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QqrBQjMjn2K2XkvN75HnAMHKFYfHZR3ZHtK52ZP1crV7THtbtrnPXVDq+vO4QPmdC +SEACgkQgTG1xCm8ZqC6BwgAl3kRh7oozpjpG8jpO8en5CBtTl3G+OpKJK9qbQyzdCsuJ0K1 qe1wZPZbP/Y+VtmqSgnExBzjStt9drjFBK8liPQZalp2sMlS9S7csSy6cMLF1auZubAZEqpm tpXagbtgR12YOo57Reb83F5KhtwwiWdoTpXRTx/nM0cHtjjrImONhP8OzVMmjem/B68NY++/ qt0F5XTsP2zjd+tRLrFh3W4XEcLt1lhYmNmbJR/l6+vVbWAKDAtcbQ8SL2feqbPWV6VDyVKh ya/EEq0xtf84qEB+4/+IjCdOzDD3kDZJo+JBkDnU3LBXw4WCw3QhOXY+VnhOn2EcREN7qdAK w0j9Sw== Message-ID: Date: Wed, 7 Nov 2018 14:15:23 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <1539702680-3746-1-git-send-email-srinath.mannam@broadcom.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/16/2018 8:11 AM, Srinath Mannam wrote: > These patches adds the stingray thermal driver and its > corresponding DT nodes with documentation. Can we get feedback from the thermal maintains whether this is acceptable or not? > > Changes from v4 > - Addressed Rob Herring comments on DT parameters and > thermal driver architecture. > - Removed brcm,max-crit-temp DT parameter > - Changed driver to thermal sensor registration model. > - Added trip DT properties. > > Changes from v3 > - Addressed Daniel lezcano comments. > - Elaborated commit description of thermal driver patch. > - Added brcm,max-crit-temp DT parameter. > > 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 > thermal: broadcom: Add Stingray thermal driver > arm64: dts: stingray: Add Stingray Thermal DT support. > > .../bindings/thermal/brcm,sr-thermal.txt | 105 ++++++++++++++++ > .../arm64/boot/dts/broadcom/stingray/stingray.dtsi | 89 +++++++++++++ > drivers/thermal/Kconfig | 3 +- > drivers/thermal/broadcom/Kconfig | 9 ++ > drivers/thermal/broadcom/Makefile | 1 + > drivers/thermal/broadcom/sr-thermal.c | 138 +++++++++++++++++++++ > 6 files changed, 344 insertions(+), 1 deletion(-) > create mode 100644 Documentation/devicetree/bindings/thermal/brcm,sr-thermal.txt > create mode 100644 drivers/thermal/broadcom/sr-thermal.c > -- Florian