Received: by 2002:ac0:b08d:0:0:0:0:0 with SMTP id l13csp2884310imc; Sat, 23 Feb 2019 13:38:40 -0800 (PST) X-Google-Smtp-Source: AHgI3IYy7RXJ2JgFkvezY7X6Yfm4RXwm3Ve/gJpccUCMW3i46zvB4WfB4H4Wg43zNVp0stJtHxeW X-Received: by 2002:a63:aa46:: with SMTP id x6mr10496919pgo.452.1550957920068; Sat, 23 Feb 2019 13:38:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550957920; cv=none; d=google.com; s=arc-20160816; b=FaKId2/YN/Y7Ex8BdOF2VeqOm5qKhyRSMymybjuq0k+/SPd/tAyM3o+KVoEZDhW7cH tGeiM+OanN3FTguENAJdpCqaoq69YlOf8KX36LXyv+TLngBEdt1xoBCTLCyNIJKhbDEm Ak/bzB9O4LWr+MjHxC9vXg599loQ9EXiK6Cms8Fq06gHsKQmauLw6JQpb0cH5A5TheGf +1oFXknAHK2UtBTofehdrYF2kqd8byTuKjIC+HXiIYCE3iq5daFiZfUgHpO3mCF/4yn+ KtraMGCcFu14hzYddurcGp0kxlZtDPiBCtq/2MgXNCHh2zSVQgZPY1lUJ25hOxJ8jAQj pbtA== 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:dkim-signature; bh=TqZhjk20IEN4ppFRi6jBT+P2e0h/M6OSrxVK8faWc9o=; b=kaBiO1IJOMETHX0ZnXQ/D0GuaDwjNaip2Mc1qOTg995dcqzsLpw7qb3b9GIyGDyJO0 fvS5lRkCQoVUvNt5+ofCWJzSDvA1/YHh8nbUW2dGpAFimArPYP4I8ej7N6BfrEVMJtrk /CnzGXRwjdST3XFh3aJfM3y4rlDZCFdJlPc4xCXIDTdl2u1R6D0q5Wgel1cnzNLgZA3b 3MocvUFbVhLEGJYTEOv6CPu3W8Nzu1IeQNvZGNGYX7tAkpHmoUaGvLUpdWsIT3uN80F5 e9hQxUD62z2NRPULwyCGrccnHGfxbgYZV0HpGyWEpVUjxA159OYFRPaszrUyEEl+7GpC QS6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=g29Zw37W; 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 w18si3776945pgf.439.2019.02.23.13.38.24; Sat, 23 Feb 2019 13:38:40 -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=g29Zw37W; 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 S1727968AbfBWVh7 (ORCPT + 99 others); Sat, 23 Feb 2019 16:37:59 -0500 Received: from mail-pg1-f195.google.com ([209.85.215.195]:46972 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726089AbfBWVh7 (ORCPT ); Sat, 23 Feb 2019 16:37:59 -0500 Received: by mail-pg1-f195.google.com with SMTP id 196so2689813pgf.13; Sat, 23 Feb 2019 13:37:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=TqZhjk20IEN4ppFRi6jBT+P2e0h/M6OSrxVK8faWc9o=; b=g29Zw37WZvpd5KeRZJYMbE60SYsHV6tE/xpNfxY1KV7zw+aDul/Q6k3P7lfkUuGB0T 5Cw+/cI8jaDRAAgn3MGhmzfGC4Zh5E02tG0LnDLHR/Jin+3bYn4QVkNuzEjCweXQS1YF zdAvodQwJ3o5BzZp5a3jgAuLzBYcWawO0/TbJeRV1d+B+zFuL5+ktWwUKC2guJAXHMy4 8VYI+ixIbF26sQYFBIon8c9WkyzHKEj/oWl8BujGHxzDRcyyZeUrlGa1M1x4wz8DtPZV xizfBAUBhxHbR/4KRrvufGosL5klu65WjO0+FmhPLf28GI19HpzDuyqq0vddi9nSBmK6 gM+w== 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=TqZhjk20IEN4ppFRi6jBT+P2e0h/M6OSrxVK8faWc9o=; b=Psn6pdmmwAx5acfq+9OIK/YxGPhmBpBFOpY3PijNgjRByQx3TbgIj15BT6kYKjki6P 4bOBFb7hh/Q0+eKD+ThBRwElW5e+kX0AeDr5DOAkdn0I74BFfFPKoii0olIy02o6xJMF 1iUzv5KBdlv+4CR1m55vMg4HC98gh4yjf0jka1Zq2/0YsOZzEIYBZ48d3t9kR/vncDSU 6aAyFcrndlfw6UX9j1xzR3qo5OvF6wlnC2UIg1a4hvtOUhHn9OyBAe5e7ppjF9WPJBxy orYHoD++BZLEtnQfRhtAM2H8UBLeLlyPkiy2PmO1LNMG2x+OHt3DuEfnDeg804gmZ2Nd shbg== X-Gm-Message-State: AHQUAuY23963YZnOtZNnMc5jUZ28LC3Oo2MnayvBl1GYGMHJo4/26rVc bZqcuXrZvUYZRuUaBBfCjG48utAa0iA= X-Received: by 2002:a65:6553:: with SMTP id a19mr10506228pgw.267.1550957878446; Sat, 23 Feb 2019 13:37:58 -0800 (PST) Received: from localhost.localdomain ([2601:644:8201:32e0:7256:81ff:febd:926d]) by smtp.gmail.com with ESMTPSA id p78sm7902889pfa.84.2019.02.23.13.37.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 23 Feb 2019 13:37:56 -0800 (PST) Date: Sat, 23 Feb 2019 13:38:00 -0800 From: Eduardo Valentin To: Anson Huang Cc: "robh+dt@kernel.org" , "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" , "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 V8 1/4] dt-bindings: fsl: scu: add thermal binding Message-ID: <20190223213759.GA1472@localhost.localdomain> References: <1550730831-14995-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: <1550730831-14995-1-git-send-email-Anson.Huang@nxp.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 21, 2019 at 06:38:30AM +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 > Reviewed-by: Rob Herring > --- > Changes since V7: > - remove unused property "tsens-num"; > - improve the compatible description; > - update examples according to latest dts file. > --- > .../devicetree/bindings/arm/freescale/fsl,scu.txt | 19 +++++++++++++++++++ > 1 file changed, 19 insertions(+) > > diff --git a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt > index 72d481c..d89147e 100644 > --- a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt > +++ b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt > @@ -122,6 +122,19 @@ 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: Property array to specify each thermal zone's sensor resource ID. If this is an array... > + > Example (imx8qxp): > ------------- > lsio_mu1: mailbox@5d1c0000 { > @@ -168,6 +181,12 @@ firmware { > rtc: rtc { > compatible = "fsl,imx8qxp-sc-rtc"; > }; > + > + tsens: thermal-sensor { > + compatible = "fsl,imx8qxp-sc-thermal", "fsl,imx-sc-thermal"; > + #thermal-sensor-cells = <0>; > + imx,sensor-resource-id = ; then this example should have an array, to be better express how this is supposed to work. Can you please resend this with an array instead? > + }; > }; > }; > > -- > 2.7.4 >