Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp1109557ybx; Wed, 30 Oct 2019 10:01:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqx/sKabteXLIgpJh3Y7d6RwzTlvGKGnL9DvpI/HMyoG6poVyT3T7F0HnDNLKk9T2kDw7ze9 X-Received: by 2002:a50:b6cb:: with SMTP id f11mr715301ede.299.1572454873264; Wed, 30 Oct 2019 10:01:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572454873; cv=none; d=google.com; s=arc-20160816; b=qIuTJfFsMNwFwVowoc5bONWx6f5G5Y9z2c0JrAJ1gjf2iuUwDYdUkBByhHWhZYqhbN eO3XHBsdJdXi+AZ/82KjX+qBiaO8uJ0KfyjlkUKa7xElaKZ5icCS0UVvgihH7JYUOpBN uIgKCRjAsrQ44EFwf37sTQN+1H5xZAlGiLoGhdGptupFor2ZlIZoR7Kn6BQ09M8ipxDy KTzBNM74HJ/tuAISnEv5Mft90YXjA3EBn7OtLrVB2IbGe8084J/kcnITr2rM0U8TnArW 4EDP/wq75JFTrW696M8brVScCmVQeEwTnA+TZaWOyu/k9gkzcJ8JYkE81Z04+0Et+PbT EP3w== 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=QdY6TmK+2y/s14qGjHPxqB0jIXd8MwHLs26zXdSKXyo=; b=rMlK2lavqlKGnOrrluL/eTcB9hrhG08905AqGqfWPn0M0zZq9YSC3QYDRJjvKAqmJd sblLYbBFwcrIqd/mbTiUVhOxMY/dwQxAXsvNf4Tjgc19eCi2NsamJCRXi9f210nm6i6r HtAtBXq3yPPjFK4N/sNx8f5jpVPcKGZMM3lYL4+1NHR9Cqj+VrOafLQX0qu+wNSGKSlu uGQZ6Uai1cdijd+iQAcpdHkJHeY33Awbj9N5eUdAuOeJKh0nyuqyNz0RsDQiYxIauGO5 kKyy0ycaDS061cfw1ibAQ/LUdEbhnea8LAB/YK+eJ+igqdWGZrVP3+jqUu/k/bvPgvMl 7jzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=bmD7Hkqd; 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 t3si1563306ejr.121.2019.10.30.10.00.48; Wed, 30 Oct 2019 10:01:13 -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=bmD7Hkqd; 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 S1727227AbfJ3Q5f (ORCPT + 99 others); Wed, 30 Oct 2019 12:57:35 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:37552 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726619AbfJ3Q5f (ORCPT ); Wed, 30 Oct 2019 12:57:35 -0400 Received: by mail-wm1-f68.google.com with SMTP id q130so2969276wme.2 for ; Wed, 30 Oct 2019 09:57:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=subject:to:cc:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=QdY6TmK+2y/s14qGjHPxqB0jIXd8MwHLs26zXdSKXyo=; b=bmD7Hkqdf7uXcVoMVRdbMoeBgNoMMbYtDDMQY6sprJ7vUeXGYrqcg+O+i43cwqp8tg UqoRL4ynL+GX3RFQkptjwyDRAM3BtttyVBlJk1hCBAZxTaEnu+8a9mjmuj8xQeM83ykX eriHVoiIJvYciq9fBX7X7LTNNydhtLiJhZgVQ= 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=QdY6TmK+2y/s14qGjHPxqB0jIXd8MwHLs26zXdSKXyo=; b=bfha/isV8gnsXFczuBgT223QBLWhXiG3SAUmCWlPFWAZwZOnVLOBp7O7QSQlsKQyAo cWnomp17lddjIXf4xZOIwVr3lmK73Hh4kF3eNcg6cX2yaqFGRuXK8sJXeATshZRRMDU8 pmP+jwpM3TDVuOGANvXB/b1i22vXRt/3c5jmZ8cMHCPwBgeSpRK9xMgRogWUsWd/jkRq YpdLELdtmQ0E8DGdqFG09879bg3xO/uwJbI+q5jpoe4wYiuecYfLw2z+cnQ/f6GvLCP8 09zcwIZ7aZHA9tjERKl/rv9nOypd77TYsihAy8rbnxcYqfpWzLSfNFheiV7YjodrJdP8 mL6A== X-Gm-Message-State: APjAAAV8ixdDGKi8KBp8ehPxLWF8gZhg84+02vjZh7zdnQ5agWozoEis Rvg9hsUKsXA43RvCANL6DO4rYm4fTVUTm3TDYQySya/vorsnjh6r9m3aWHWWsOKTpjxJKy0tZ4K ec2SQGq/bPzXYzVlGqpUR1ESwS88lfRlaBy2NzODH7H2wx8WRyA/hsNz3Q1J/gi+YXI9TbXCnOl WV+A+PTgMkVQ== X-Received: by 2002:a7b:c30c:: with SMTP id k12mr408919wmj.89.1572454652740; Wed, 30 Oct 2019 09:57:32 -0700 (PDT) Received: from [10.67.50.53] ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id x205sm741097wmb.5.2019.10.30.09.57.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Oct 2019 09:57:31 -0700 (PDT) Subject: Re: [PATCH] thermal: brcmstb: enable hwmon To: Chen-Yu Tsai , Markus Mayer , Florian Fainelli , Zhang Rui , Eduardo Valentin , Daniel Lezcano , Amit Kucheria Cc: Chen-Yu Tsai , bcm-kernel-feedback-list@broadcom.com, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20191030163807.17817-1-wens@kernel.org> From: Florian Fainelli Openpgp: preference=signencrypt Autocrypt: addr=florian.fainelli@broadcom.com; prefer-encrypt=mutual; keydata= mQENBFPAG8ABCAC3EO02urEwipgbUNJ1r6oI2Vr/+uE389lSEShN2PmL3MVnzhViSAtrYxeT M0Txqn1tOWoIc4QUl6Ggqf5KP6FoRkCrgMMTnUAINsINYXK+3OLe7HjP10h2jDRX4Ajs4Ghs JrZOBru6rH0YrgAhr6O5gG7NE1jhly+EsOa2MpwOiXO4DE/YKZGuVe6Bh87WqmILs9KvnNrQ PcycQnYKTVpqE95d4M824M5cuRB6D1GrYovCsjA9uxo22kPdOoQRAu5gBBn3AdtALFyQj9DQ KQuc39/i/Kt6XLZ/RsBc6qLs+p+JnEuPJngTSfWvzGjpx0nkwCMi4yBb+xk7Hki4kEslABEB AAG0MEZsb3JpYW4gRmFpbmVsbGkgPGZsb3JpYW4uZmFpbmVsbGlAYnJvYWRjb20uY29tPokB xAQQAQgArgUCXJvPrRcKAAG/SMv+fS3xUQWa0NryPuoRGjsA3SAUAAAAAAAWAAFrZXktdXNh Z2UtbWFza0BwZ3AuY29tjDAUgAAAAAAgAAdwcmVmZXJyZWQtZW1haWwtZW5jb2RpbmdAcGdw LmNvbXBncG1pbWUICwkIBwMCAQoFF4AAAAAZGGxkYXA6Ly9rZXlzLmJyb2FkY29tLmNvbQUb Aw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DyWZmw/U9HPUaYX8qY MP0n039vwh6GFZCqsFCMyOfYrZeS83vkecAwcoVh8dlHdke0rnZk/VytXtMe1u2uc9dUOr68 7hA+Z0L5IQAKCRCBMbXEKbxmoLoHCACXeRGHuijOmOkbyOk7x6fkIG1OXcb46kokr2ptDLN0 Ky4nQrWp7XBk9ls/9j5W2apKCcTEHONK2312uMUEryWI9BlqWnawyVL1LtyxLLpwwsXVq5m5 sBkSqma2ldqBu2BHXZg6jntF5vzcXkqG3DCJZ2hOldFPH+czRwe2OOsiY42E/w7NUyaN6b8H rw1j77+q3QXldOw/bON361EusWHdbhcRwu3WWFiY2ZslH+Xr69VtYAoMC1xtDxIvZ96ps9ZX pUPJUqHJr8QSrTG1/zioQH7j/4iMJ07MMPeQNkmj4kGQOdTcsFfDhYLDdCE5dj5WeE6fYRxE Q3up0ArDSP1L Message-ID: <6c681697-c9ad-02a1-8289-fa265cea36c8@broadcom.com> Date: Wed, 30 Oct 2019 09:57:27 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20191030163807.17817-1-wens@kernel.org> 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 Hi Chen-Yu, On 10/30/19 9:38 AM, Chen-Yu Tsai wrote: > From: Chen-Yu Tsai > > By defaul of-based thermal driver do not have hwmon entries registered. > > Do this explicitly so users can use standard hwmon interfaces and tools > to read the temperature. > > This is based on similar changes for bcm2835_thermal in commit > d56c19d07e0b ("thermal: bcm2835: enable hwmon explicitly"). > > Signed-off-by: Chen-Yu Tsai Tested-by: Florian Fainelli There a number of patches that I need to get upstream from our downstream tree, because right now the temperatures reported are note quite in the expected units.. -- Florian