Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp616989imu; Thu, 20 Dec 2018 02:31:19 -0800 (PST) X-Google-Smtp-Source: AFSGD/VI+d71pSOs5JEpiVApxmbhWuGk4VMys9np/AUQHEGt5iOZPDLbxNiL0iY1emoSXa1Vin+t X-Received: by 2002:a62:c613:: with SMTP id m19mr24091889pfg.207.1545301879057; Thu, 20 Dec 2018 02:31:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545301879; cv=none; d=google.com; s=arc-20160816; b=eUMo7bLZqTqvGaiTfHf7UM2j90w/KjXivw1/a1HK8QeqoXMYOZW1t5NjN3++FndwDQ Q1HWpatj3Z6hM0Owv+0tORGKHmGh8yqrK0tUEQuZgzaYAVsaE4vZ81Mjnx4H2ia0axxs MSkLObxwcoKYUYGzRiwZnZ0cBbdgMfr+Oy/eXTmNjTa0oMVlYqZsIBgqCFPRi7+W5jBm Q6tNguiRr3dlp66fS9LEE3KGL3KckNueCqOXuqjQ5XV+TKilt59zI0i+n3+40azw5Dc+ kC+/qt7MmxgQ2zyALJ74/bvMmeNf81Ve0AgXC3XRRGc4tOzms9+qT3rj0PbUJmozhQrd 9mXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=gGuHUoUnaH1q6eTv/YPgEEZgyfaGT3QF3UcKsuHgOM0=; b=auzU7W7tk/zpMp+Q3eTN43/NSJF7S6dVMbPXr91ufNRvAre2XDOsbtB6eLmDCT2pwV pROnKWNjLw+baCwpw+elgRSH+JjgyKuJWEWe4qC8Jcl6JsR1LgV9uPXBMg0OipYFEbXo RTcDk3zk/Ja+RdZ8tOptiGEu47clHWzkTHeE41D8Va1Lj4swIazNXcLhAgleZA5UEIBV uzyOBI0nmW6BiamB4LgBQmdFcIGI0YIFujvjwHxxiOl4ZFq/sdPvWDdm6RZ20F6z9RFc pXNFfvDUK2kCrSB5gfyeaf2YXSF32dK8+EAd+ai15uOqTnHvdHnq1z4lozOTUpx98s0D BNfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=GDpgcCzB; 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=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e2si17630024pgs.94.2018.12.20.02.30.39; Thu, 20 Dec 2018 02:31:19 -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=@nxp.com header.s=selector1 header.b=GDpgcCzB; 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=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729787AbeLTJI3 (ORCPT + 99 others); Thu, 20 Dec 2018 04:08:29 -0500 Received: from mail-eopbgr00080.outbound.protection.outlook.com ([40.107.0.80]:17184 "EHLO EUR02-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725775AbeLTJI2 (ORCPT ); Thu, 20 Dec 2018 04:08:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gGuHUoUnaH1q6eTv/YPgEEZgyfaGT3QF3UcKsuHgOM0=; b=GDpgcCzBP7dHPBD15ZkCToSWkSz/06hN7FUUS+zinGkP9oacgRpjSi1hyfI+8g5Fd+wKcHHxZCHWpr95DF3IMX+M6hr5xsBWBZvjMRzEVArDM361LztHut04kWkskHn8u3wA3arlN08Xi45/rUaMJ5xxU+d+yqFnZBu+teNg1nA= Received: from AM6PR0402MB3911.eurprd04.prod.outlook.com (52.133.30.10) by AM6PR0402MB3797.eurprd04.prod.outlook.com (52.133.29.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1446.17; Thu, 20 Dec 2018 09:08:23 +0000 Received: from AM6PR0402MB3911.eurprd04.prod.outlook.com ([fe80::987c:cb59:96c9:6b71]) by AM6PR0402MB3911.eurprd04.prod.outlook.com ([fe80::987c:cb59:96c9:6b71%2]) with mapi id 15.20.1425.025; Thu, 20 Dec 2018 09:08:23 +0000 From: Anson Huang To: "robh+dt@kernel.org" , "mark.rutland@arm.com" , "catalin.marinas@arm.com" , "will.deacon@arm.com" , "rui.zhang@intel.com" , "edubezval@gmail.com" , "daniel.lezcano@linaro.org" , Aisheng Dong , "s.hauer@pengutronix.de" , "shawnguo@kernel.org" , Andy Gross , "arnd@arndb.de" , "horms+renesas@verge.net.au" , "heiko@sntech.de" , "bjorn.andersson@linaro.org" , "enric.balletbo@collabora.com" , "amit.kucheria@linaro.org" , "ezequiel@collabora.com" , "olof@lixom.net" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-pm@vger.kernel.org" CC: dl-linux-imx Subject: [PATCH V5 1/4] dt-bindings: fsl: scu: add thermal binding Thread-Topic: [PATCH V5 1/4] dt-bindings: fsl: scu: add thermal binding Thread-Index: AQHUmEOPzVgmR6I/g0KdtfEFFiArMg== Date: Thu, 20 Dec 2018 09:08:23 +0000 Message-ID: <1545296609-20477-2-git-send-email-Anson.Huang@nxp.com> References: <1545296609-20477-1-git-send-email-Anson.Huang@nxp.com> In-Reply-To: <1545296609-20477-1-git-send-email-Anson.Huang@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: HK0PR03CA0091.apcprd03.prod.outlook.com (2603:1096:203:72::31) To AM6PR0402MB3911.eurprd04.prod.outlook.com (2603:10a6:209:1c::10) authentication-results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;AM6PR0402MB3797;6:+XksBlP+FRgeqruHPUQVemPq2hULuIapFk2FPnCnQ8Ic/FhzbGyRMgX3hZ64R2SHg27MNaqNTWv8pB0StuUw4S8tebpFn/DawuRr3ck4xgBWQblG4p3pLK6Os7R+iinlsi2/s9RJhmdDGKShC9CV0qfv2IfkhzJe/br8waW9jQ8CQLTKbcQYfj80MeOHrWdJN1HwRtucohvs0GHmV5SExfchfYsoDHi/zNC2YKVYReeK7YRWeO4KzH8mu0O1vm96q1/4VSQMJmZJRR0SWDvx3BP9fO30Nj/TxTAWe0vK0/Vj+oAiSd1Q4sdPUNURXJfFkl7AAcgaXOeKU77dKyHRr752LtsmJVT2Qw8wh1DelkT51aW9ZIHNr36ZGdhuls4LEiu2vmOFNGITF2R68oVaCS+AH/kwgUw2BaPjCL4QxW5ZhQWsdwsXhM9+G6SSO3rkTrmF1dcydJZND3VcVPer1w==;5:VLgA9MIFy7VB8CjS+CCCA64f6R58Q9q+qAqkDumlfEdOAo79ZWzn5A1NiwohKJ7A2/7BV9hBL0OZKUL3t20S4j3jctJRwjtWAJTDVLcKA955oRzTfXGXEvgi3xkXlm8mD4zTiJGWB3VM64PtZbj5CUYe9KrqSzhsvPtWui+lRL8=;7:johmWB4b07ndPrpWCy1wm1IHEonL1WzB8dI7aciBPbxC2wGjAVuC4qJ21JBIhGq4xcdjsY0IWKrltp2nDY/HUHkf3Tj8YEffkBTN8QyrgLCbWFhpimRMf8f1B/NkFIn0QIKrQT8SW/eGBmlXgPFMVg== x-ms-office365-filtering-correlation-id: 0fbe9c6c-2553-47b3-0b90-08d6665ab1b9 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:AM6PR0402MB3797; x-ms-traffictypediagnostic: AM6PR0402MB3797: x-ld-processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(3230021)(999002)(5005026)(6040522)(2401047)(8121501046)(3002001)(10201501046)(93006095)(93001095)(3231475)(944501520)(52105112)(6055026)(149066)(150057)(6041310)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(201708071742011)(7699051)(76991095);SRVR:AM6PR0402MB3797;BCL:0;PCL:0;RULEID:;SRVR:AM6PR0402MB3797; x-forefront-prvs: 0892FA9A88 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(376002)(39860400002)(346002)(136003)(396003)(189003)(199004)(6116002)(39060400002)(3846002)(476003)(2616005)(7416002)(5660300001)(66066001)(99286004)(386003)(4326008)(6506007)(446003)(478600001)(50226002)(53936002)(2501003)(2906002)(11346002)(97736004)(256004)(6512007)(305945005)(25786009)(7736002)(8936002)(14454004)(71200400001)(71190400001)(8676002)(81156014)(81166006)(6486002)(486006)(6436002)(106356001)(86362001)(105586002)(110136005)(186003)(102836004)(36756003)(2201001)(52116002)(68736007)(316002)(76176011)(26005)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:AM6PR0402MB3797;H:AM6PR0402MB3911.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 150ZmRTVVv5sUsJrVem5bYblurQnDM8F5eFIyVGtWmmrU74/3S3Zs1topCTP17afqO4ANihRIVaFwFXMk/ITbBaWMvfGxEgwLWLUbM0G3cXm2jkCw1hmMjzmcAYx4l5cD3KlVR70xzx5y7PoM/5ZCgdII5zbSdq3e2bMeK5pC6Vaj0sonrsf0EEG41rSYO5inmCsV0H7I3jy9+BOTmD67XDgc1/vxvBvgJvoufQc2CG3ToNTOfdjpDfVuWntb9sL+bjLqomlhkKcSQxkemU5FV3zwLrkoHS0/XkpGWIpHQQ3B+mV3x5NAZ4xl/9rlpvs spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0fbe9c6c-2553-47b3-0b90-08d6665ab1b9 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Dec 2018 09:08:23.6509 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR0402MB3797 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- No change since V4. --- .../devicetree/bindings/arm/freescale/fsl,scu.txt | 16 ++++++++++++= ++++ 1 file changed, 16 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt b/= Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt index 3f3d697..b77ec29 100644 --- a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt +++ b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt @@ -112,6 +112,16 @@ RTC bindings based on SCU Message Protocol Required properties: - compatible: should be "fsl,imx8qxp-sc-rtc"; =20 +Thermal bindings based on SCU Message Protocol +------------------------------------------------------------ + +Required properties: +- compatible : Must be "fsl,imx8qxp-sc-thermal"; +- tsens-num : Total number of thermal sensors supported; +- #thermal-sensor-cells : Should be 1. See + Documentation/devicetree/bindings/thermal/thermal.txt + for a description. + Example (imx8qxp): ------------- lsio_mu1: mailbox@5d1c0000 { @@ -158,6 +168,12 @@ firmware { rtc: rtc { compatible =3D "fsl,imx8qxp-sc-rtc"; }; + + tsens: thermal-sensor { + compatible =3D "fsl,imx8qxp-sc-thermal"; + tsens-num =3D <1>; + #thermal-sensor-cells =3D <1>; + }; }; }; =20 --=20 2.7.4