Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp2412878imc; Tue, 12 Mar 2019 13:20:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqxwAlBuqWrd7kPx9rrunqUZeT5bs4ikx1F40zvvPjCLf08OM8JDHRKTF7l6UOjCk4ONUKqw X-Received: by 2002:a17:902:bd82:: with SMTP id q2mr41968390pls.65.1552422009691; Tue, 12 Mar 2019 13:20:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552422009; cv=none; d=google.com; s=arc-20160816; b=yEb/MQQFcOdzTSBAIjJFE3X8LKAOb0oCn7cyzmQ+gU2Sn8VNnUA/8HByIyqMYDDd0e 8C307ARLgwhCP6tHf+fzlqfuw7yur1zhgRlwHGBmoHh37IrTbPJA4nJdFFuvispqMwNB zC7zdHOI7GrWlL0+9LIJGmkUuwX5ujFeUbwZ6JdixWi/AdwJL9Eemf5W201Zr9me5W6Q vXKuBxP1o+gxx1rN6GE3bCCyNwCtNzKUiWqUYrVODEKTEOslfczbalFdGAkUJupS+GdC 0P1parTKcKz7Y8o4I7TBO24nrty3gBH4jlD+YJxo6ju2zI5M/M5mJxk3pTIv99u+tEyi J7+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:cc:from:date:content-transfer-encoding:mime-version :subject:to:dkim-signature; bh=CLsJUgY6072ng4H8Psr/at9acv3E5litlixfC+6CBfI=; b=vmLPwsytaGffOM9TlK3YETznRNBcss4SyY0rel3yyQJiajxBK2ecw3f0ImLkshqxFT +wCYV//IhDjb0sejT5GwLZj+0vKVX0/fnx4AnCWUqc9GXJQD7KUYan+PDwXIldMIfNui 7YOCAv6DOTYeotRYUfyXybA+yYnHn3F6KtWQ6/WGMBSSquU2b9GtZ+DqfmOniyPA59y9 pI7ebFImopiTX8zeon6/sALZDoccQp1cGCvd/6J76e2doO0Tdy8VYrjj9Gr48JdnZkT2 yV4GpPTLAs6gZhWBaF0Wnq+ibFNKQUxzTse6311+D6adLTQ3bW0q64gFkx19pF5LanGM 4YFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@akkea.ca header.s=mail header.b=AZ8i4eI9; 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 d36si5812137pla.425.2019.03.12.13.19.53; Tue, 12 Mar 2019 13:20:09 -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=@akkea.ca header.s=mail header.b=AZ8i4eI9; 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 S1727301AbfCLUTC (ORCPT + 99 others); Tue, 12 Mar 2019 16:19:02 -0400 Received: from node.akkea.ca ([192.155.83.177]:51746 "EHLO node.akkea.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726939AbfCLUTA (ORCPT ); Tue, 12 Mar 2019 16:19:00 -0400 Received: by node.akkea.ca (Postfix, from userid 33) id C4BC44E204B; Tue, 12 Mar 2019 20:18:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1552421939; bh=CLsJUgY6072ng4H8Psr/at9acv3E5litlixfC+6CBfI=; h=To:Subject:Date:From:Cc:In-Reply-To:References; b=AZ8i4eI9xSR04MN6viCDJ/n7gdOpv03jJg/2+zXsm0rJWBzSi+wxSEsJfSF1nF3MW gpIXE/njG7Ly5uTnBT9Ut3HjxnTXlo+g/nT1PC/9G1EHeha54lkEtmgoO4pOegge6Y UZNY49i1mLMedGuVK0QlSjrxfx3hTaymEQOhc+ns= To: Andrey Smirnov Subject: Re: [PATCH] arm64: dts: fsl: imx8mq: enable the thermal management unit (TMU) X-PHP-Originating-Script: 1000:rcube.php MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 12 Mar 2019 13:18:59 -0700 From: Angus Ainslie Cc: Mark Rutland , Rob Herring , Shawn Guo , Fabio Estevam , Sascha Hauer , Lucas Stach , Abel Vesa , daniel.baluta@nxp.com, agx@sigxcpu.org, dl-linux-imx , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-kernel In-Reply-To: References: <20190311213124.29325-1-angus@akkea.ca> Message-ID: <9f25fb1a0acb35539dcd802502c49058@www.akkea.ca> X-Sender: angus@akkea.ca User-Agent: Roundcube Webmail/1.1.3 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andrey, On 2019-03-11 19:35, Andrey Smirnov wrote: > On Mon, Mar 11, 2019 at 2:35 PM Angus Ainslie (Purism) > wrote: >> >> These are the TMU nodes from the NXP vendor kernel >> > > Hey Angus, > > TMU block supports multiple thermal zones and vendor kernel doesn't > really account for that (see below). Latest version of the driver in > thermal tree now actually supports that feature (mulit-sensor), so I > think the code in DT should reflect that as well. I recently submitted > a series adding HWMON integration for TMU > (https://lore.kernel.org/lkml/20190222200508.26325-1-andrew.smirnov@gmail.com/T/#u) I tried applying those to linux-next. They don't apply very cleanly there so I gave up. > and this is my take on this patch: > > https://github.com/ndreys/linux/commit/09931e3d60af0a74377307b433db97da1be31570 > > All of the code there is up for grabs, if you feel like using it. > I followed that and I have a version that works with linux-next that does not include the GPU and VPU parts. I also tested a version with the GPU and VPU parts and it "works" but creates 2 useless paths in /sys/class/thermal . Should I wait for your changes to get into linux-next or resubmit a version that works with the current one ? Thanks Angus