Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp25416img; Wed, 27 Feb 2019 15:55:42 -0800 (PST) X-Google-Smtp-Source: AHgI3IYn/9zoszhHPszF5gHyAWeOxndXhqNF4tSlvP2rC1kYUtCjmK/eOI19mxIOGULzW7ozWTXu X-Received: by 2002:a17:902:8692:: with SMTP id g18mr4782117plo.149.1551311742757; Wed, 27 Feb 2019 15:55:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551311742; cv=none; d=google.com; s=arc-20160816; b=D+Bj5cWpNIjAVWVuZAthPq0pGDWH5fdjgu9zhFzXmYoo/JU7NAf99HacCSKtiGhhdP S9ah99IRgOTBymb+OWT7EtOj4PlD9Q6pdGXMvGPDJjpBnkHJn0Jj76I1tEIdW1Xps3jz 2aep5hTDGgWfJR9Cgc7SAN9B8hWyh2U1mGgjJmTJNFoHhS61YjADU1czZIxuymc2viep 0+kpoKu8hBJhrJuxWo/PKdZqoACfJb1ty8OIUIRzRBktOeQfPlRWP79+s9ewDMc87S52 rfFfOOy5Fg0HhD+Hjao931/iljVkfHsqe9OVPM9Eliyp+U4LL6zFpfE7GgHNR3YSezkZ YULw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=dRnsnvc++2BSVesveEuIM74VIJT7QPyOQhMUfCmmHZY=; b=PYk2Kl+ERbSdZD4iVULG10hiVCK2A3QjwkEu4hHhXANX7FMqlLLfxLHF3Gf84CJJ5u b1AuogxUq+UrYt7AgIFFmouop3oTw949MmiL2iRLapxUSlVQrmWkM76V8ZyzlD9SrvDL NzhZlFWFZWPw2gcWIPJvCSaBcWC8siiFEv/bu4YCgIWgiMObKWzbm4uGzzWmyLEZDLsv x9Hk5ZtfeQhUIEyfft+q1nfdgZHo3a5QbcIjqYm+2CrvS1ejN4qRSSKDu97ZMYw5yBN3 CATpaDG0gk7eRl40knhsdTwFDArjX9pNVLT0DYKkS6DTtcll1ct0a4lEW2taD5bGMdF+ 3ABQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a4si4096626pfj.68.2019.02.27.15.55.25; Wed, 27 Feb 2019 15:55:42 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730587AbfB0XzA (ORCPT + 99 others); Wed, 27 Feb 2019 18:55:00 -0500 Received: from mail-oi1-f193.google.com ([209.85.167.193]:40160 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728397AbfB0Xy6 (ORCPT ); Wed, 27 Feb 2019 18:54:58 -0500 Received: by mail-oi1-f193.google.com with SMTP id x187so15026493oia.7; Wed, 27 Feb 2019 15:54:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=dRnsnvc++2BSVesveEuIM74VIJT7QPyOQhMUfCmmHZY=; b=T8stCLHwdkgEYKVqddDS9BUFCfBuL8679hfyvAeMcLJI1UYH4tgHycz4ubtVWkFpuw W9oUBlgu+ALt2H1z8O4If78WUbT32+VwnkcPjhfXyo1i9oGJ2O2n76Zd5+iT8Q044/xJ RP2JHs+ohxJ4C0gAS0/B78g5uOvJ46CqgUHmnfxfoRbteA6MwnUe+l+I88Gi4jn7o1lQ OHXjKuaomYi/e84rm1GFEgxll9wEwbqtcUDC4yG5iht27vDCj7RE/TzCsiMQFhn5KuZj FGaaz+WDZrflCEDtAt6CPcLVXlcGGzX3e9lYhZk5OUQiOR7ZlKpXtQYvk4pgM1gvoO1r 1cpg== X-Gm-Message-State: AHQUAubwARNEB3hs5w8oZZcihQfK/1+/EfViRxVIgVuOqfPtJDRrSKKX ismei8ie1EJzfFd2VxqraQ== X-Received: by 2002:aca:4d53:: with SMTP id a80mr1279553oib.154.1551311696690; Wed, 27 Feb 2019 15:54:56 -0800 (PST) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id m65sm2043571oia.15.2019.02.27.15.54.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 27 Feb 2019 15:54:55 -0800 (PST) Date: Wed, 27 Feb 2019 17:54:55 -0600 From: Rob Herring To: Anson Huang Cc: "mark.rutland@arm.com" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , "catalin.marinas@arm.com" , "will.deacon@arm.com" , "rui.zhang@intel.com" , "edubezval@gmail.com" , "daniel.lezcano@linaro.org" , Aisheng Dong , "ulf.hansson@linaro.org" , "sboyd@kernel.org" , Daniel Baluta , Andy Gross , "horms+renesas@verge.net.au" , "heiko@sntech.de" , "arnd@arndb.de" , "maxime.ripard@bootlin.com" , "bjorn.andersson@linaro.org" , "jagan@amarulasolutions.com" , "enric.balletbo@collabora.com" , "marc.w.gonzalez@free.fr" , "olof@lixom.net" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-pm@vger.kernel.org" , dl-linux-imx Subject: Re: [PATCH V10 1/4] dt-bindings: fsl: scu: add thermal binding Message-ID: <20190227235455.GA15211@bogus> References: <1551256894-21954-1-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1551256894-21954-1-git-send-email-Anson.Huang@nxp.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 27, 2019 at 08:46:21AM +0000, Anson Huang wrote: > NXP i.MX8QXP is an ARMv8 SoC with a Cortex-M4 core inside as > system controller, the system controller is in charge of system > power, clock and thermal sensors etc. management, Linux kernel > has to communicate with system controller via MU (message unit) > IPC to get temperature from thermal sensors, this patch adds > binding doc for i.MX system controller thermal driver. > > Signed-off-by: Anson Huang > --- > Changes since V9: > - change #thermal-sensor-cells value in example to 1, since there are other > thermal sensors inside system controller, it is just because there are still > some issue, so system controller does NOT expose them for now, they could > be exposed later, so it should be 1 from HW perspective. > --- > .../devicetree/bindings/arm/freescale/fsl,scu.txt | 21 +++++++++++++++++++++ > 1 file changed, 21 insertions(+) > > diff --git a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt > index 72d481c..855270b 100644 > --- a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt > +++ b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt > @@ -122,6 +122,21 @@ RTC bindings based on SCU Message Protocol > Required properties: > - compatible: should be "fsl,imx8qxp-sc-rtc"; > > +Thermal bindings based on SCU Message Protocol > +------------------------------------------------------------ > + > +Required properties: > +- compatible: Should be : > + "fsl,imx8qxp-sc-thermal" > + followed by "fsl,imx-sc-thermal"; > + > +- #thermal-sensor-cells: See Documentation/devicetree/bindings/thermal/thermal.txt > + for a description. > + > +- imx,sensor-resource-id: A single integer for single thermal zone's resource ID or > + an array of integers to specify each thermal zone's sensor > + resource ID. Can't you put the resource ids in the thermal-sensor cells? Why do you need to list them here? Rob