Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1569127ybv; Thu, 6 Feb 2020 06:16:10 -0800 (PST) X-Google-Smtp-Source: APXvYqzToq6JV9/SuzA4MQt0BIkLC+yV1mwVS6XgPscfqgZiRdWLf4FN81jEKv9qkhoyltxSLmai X-Received: by 2002:aca:4309:: with SMTP id q9mr7088974oia.158.1580998570341; Thu, 06 Feb 2020 06:16:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580998570; cv=none; d=google.com; s=arc-20160816; b=Eww6KVyjbxf+/Sd0baBZ3t3muTm1jK2U3BIVSdiSzWxJ812iVhXrUT2CuFGEfxfAMu AMnSqayq3XGOeQT7f44HdO3tGokTkbdgBcYb+6XEoz657weiQN/DfZD5zeLUKvaZCqhY CGoNkxYAzG4+hZIYdyZS089JkMMHoio6BOt7PGcIZfxC/wi8wgkf83Gw/bsDRCmYuL0R hLpIpdZmFq5TdYXgNeJr+iUGs6B3TTI70J21ViMWxLNdQJxNWzOY/ftaQwlMr0YRsITH NIZi3cymq0Kmx1n21fZzx9CcBwxNly8dIYAo8bFaKBdOdYGNzcuOV5Sz1twNXiqae0yl yP3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=zq26qbESibgRQo9Jt8lbKYJuguzXROj1d9xvP1lsLj0=; b=e6zqYyKqKZ54z0LTDv5SNKF/5aiHdGOoQcJahMC1/zfi3nrXJS1uZhhTyptS37qbTU EAvNNpz7iXU7wRs62odw4ZsKcyQ4MobnGxJV1TnqynfswVvd9XZ+0ePBBRZS/iz/81A/ tiJSghr2iZKdI/lAk0z1qy9FD9VNVI80PetJJeXdY5op3U2js6TXccD3fj06Q+pZt/XZ jaMk44bl9yiYXXCR3KDubNc8w95a7lkNE/cYY4T2VuqDOZnKCeDs+DIDyWvyUzZR6b8k Pcfbi8dR0Fyqbwd8Zb2kasvqRwTgF29yMZEyLQsY3cQeXmn4GZjPCtSfQ2ZFrk7/z7vt m15A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@verdurent-com.20150623.gappssmtp.com header.s=20150623 header.b=OTMh3ak8; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q9si2115282oif.92.2020.02.06.06.15.47; Thu, 06 Feb 2020 06:16:10 -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=@verdurent-com.20150623.gappssmtp.com header.s=20150623 header.b=OTMh3ak8; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728176AbgBFOON (ORCPT + 99 others); Thu, 6 Feb 2020 09:14:13 -0500 Received: from mail-vs1-f65.google.com ([209.85.217.65]:41798 "EHLO mail-vs1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728148AbgBFOOM (ORCPT ); Thu, 6 Feb 2020 09:14:12 -0500 Received: by mail-vs1-f65.google.com with SMTP id k188so3828096vsc.8 for ; Thu, 06 Feb 2020 06:14:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=verdurent-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zq26qbESibgRQo9Jt8lbKYJuguzXROj1d9xvP1lsLj0=; b=OTMh3ak8WHbmFIhfKhaZWiZins4prgaMm65Qnrse7HErepdEtI+xZHcTAvKk7tfg7D REYznSAyc53K8kO2ydadMMaEqwqh9dpEN2Nvv2aGDuGKHQSrS+PCkvgDkjxCPxJ4/I78 ZMtLb8n3yFdJB52xNRI0NG3sYhtqcy1ygP0UsVTA0jpjuipHUNg5ZYDTa+SernIq6/2v A9R1M8XXJzFuE4q6pbo/GSnjb49a/oh6z7m6pqaoqsUbAuNJ3/nNsWGlT+XaBk/jllzs vD68vLYPo+HZRLZwME/z63FNLHCf1FlIJ1cJvzPHh2Xr+kEWw9wTHTpU44GBJb4ekNPs HBew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zq26qbESibgRQo9Jt8lbKYJuguzXROj1d9xvP1lsLj0=; b=a0ppho7sGlWGMQiLUkXOvfnFz/F/prWGPBXFWgw3sj7MQ2KDkGN/Xen+nHRjVeXszj vLzstZrfneQuv8CMd+coa+mVQXylmXJFNseqDT36aeRyyLy/IaQdzYyjPyf29TkPxIPo 687frLxGpZO3ai0aSFWECGYLvLt1DnS2o9TNzgZ1M03+zqn++Ep7bglkY0OmmRq2dfxU Tw5Q12rXL965bDns/Qrz2oNS6Mc15o8dTQvYId+oa3dRsl8mxDg6XRr9/jEl3JWYenkN HdCnLljNBjRyNdn3TyPP2rN+6OMTD7JYc+l7OZUzuowU4VCUKTIN0vnx0ZOGqYyHU/Mp ytTw== X-Gm-Message-State: APjAAAX0W6Z10RrdMXfRqhz0sr/K8EF3JBW5PNeAGvrKVP5pRXRSkQUg BporkKTnjwh/cyv7QnIyPa05KWEdH/UxT8zskme3yg== X-Received: by 2002:a67:d011:: with SMTP id r17mr1672458vsi.159.1580998451210; Thu, 06 Feb 2020 06:14:11 -0800 (PST) MIME-Version: 1.0 References: <20191219172823.1652600-1-anarsoul@gmail.com> In-Reply-To: <20191219172823.1652600-1-anarsoul@gmail.com> From: Amit Kucheria Date: Thu, 6 Feb 2020 19:43:59 +0530 Message-ID: Subject: Re: [PATCH v8 0/7] add thermal sensor driver for A64, A83T, H3, H5, H6, R40 To: Vasily Khoruzhick Cc: Yangtao Li , Zhang Rui , Daniel Lezcano , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai , Mauro Carvalho Chehab , "David S. Miller" , Greg Kroah-Hartman , Linux PM list , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , lakml , =?UTF-8?Q?Ond=C5=99ej_Jirman?= , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Vasily, For this entire series, the DTS files don't contain any trip points. Did I miss some other series? At a minimum, you should add some "hot" or "critical" trip points since then don't require a cooling-map with throttling actions. If you have "passive" trip points, then you need to provide cooling-maps. Since this series has been merged, could you please follow up with a fixup series to add the trip points? Regards, Amit p.s. We should catch all this automatically, I'll send out yaml bindings for the thermal framework soon that should catch this stuff. On Thu, Dec 19, 2019 at 10:58 PM Vasily Khoruzhick wrote: > > This patchset adds driver for thermal sensor in A64, A83T, H3, H5, > H6 and R40 SoCs. > > v8: > - [vasily] Address more Maxime's comments for dt-schema > - [vasily] Add myself to MAINTAINERS for the driver and schema > - [vasily] Round calibration data size to word boundary for H6 and A64 > - [vasily] Change offset for A64 since it reports too low temp otherwise. > Likely conversion formula in user manual is not correct. > > v7: > - [vasily] Address Maxime's comments for dt-schema > - [vasily] Move common part of H3 and H5 dts into sunxi-h3-h5.dtsi > - [vasily] Add Maxime's a-b to the driver patch > > v6: > - [ondrej, vasily] Squash all driver related changes into a > single patch > - [ondrej] Rename calib -> calibration > - [ondrej] Fix thermal zone registration check > - [ondrej] Lower rate of sensor data interrupts to 4/sec/sensor > - [ondrej] Rework scale/offset values, H6 calibration > - [ondrej] Explicitly set mod clock to 24 MHz > - [ondrej] Set undocumented bits in CTRL0 for H6 > - [ondrej] Add support for A83T > - [ondrej] Add dts changes for A83T, H3, H5, H6 > - [vasily] Add dts changes for A64 > - [vasily] Address Maxime's comments for YAML scheme > - [vasily] Make .calc_temp callback mandatory > - [vasily] Set .max_register in regmap config, so regs can be > inspected using debugfs > > Ondrej Jirman (4): > ARM: dts: sun8i-a83t: Add thermal sensor and thermal zones > ARM: dts: sun8i-h3: Add thermal sensor and thermal zones > arm64: dts: allwinner: h5: Add thermal sensor and thermal zones > arm64: dts: allwinner: h6: Add thermal sensor and thermal zones > > Vasily Khoruzhick (1): > arm64: dts: allwinner: a64: Add thermal sensors and thermal zones > > Yangtao Li (2): > thermal: sun8i: add thermal driver for H6/H5/H3/A64/A83T/R40 > dt-bindings: thermal: add YAML schema for sun8i-thermal driver > bindings > > .../thermal/allwinner,sun8i-a83t-ths.yaml | 160 +++++ > MAINTAINERS | 8 + > arch/arm/boot/dts/sun8i-a83t.dtsi | 36 + > arch/arm/boot/dts/sun8i-h3.dtsi | 20 + > arch/arm/boot/dts/sunxi-h3-h5.dtsi | 6 + > arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 42 ++ > arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi | 26 + > arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 33 + > drivers/thermal/Kconfig | 14 + > drivers/thermal/Makefile | 1 + > drivers/thermal/sun8i_thermal.c | 639 ++++++++++++++++++ > 11 files changed, 985 insertions(+) > create mode 100644 Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml > create mode 100644 drivers/thermal/sun8i_thermal.c > > -- > 2.24.1 >