Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp184227imp; Wed, 20 Feb 2019 22:39:29 -0800 (PST) X-Google-Smtp-Source: AHgI3IYTgUodyvD55pn6LPg4Ssear6z71zD/zAIzLnSAP0IopQ+Ty6/A2GlczjLcPBdg1cjH4X51 X-Received: by 2002:a63:aa46:: with SMTP id x6mr33275861pgo.452.1550731169371; Wed, 20 Feb 2019 22:39:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550731169; cv=none; d=google.com; s=arc-20160816; b=MKKZzARJv89F1fNv8MtROz0zNfDRq6ZzC2JbE/Rooz7fhIdOcl/y+6giyZPFFVR8H/ 2BWYV6JveBy2X98jhJBgYblE6pkWED8gz4MH6ksYEVDk/akRaTs1+UMFtOkZeyKLBYkx TbcsiYgQdOebJVmc1T51zLjDoCtCwDlLxGjkD77Wz2pC1gwWI/Eb1wz2529yPS39rSxk LTKaoV+YajT1bc0KZTJFZw8EM2iy5d3FppsM+Wqav8J9paqXLSoIMMak1hpIyP5TWsAj j/AdIWjyQTathU7AjkU1Tu34nNq1+THMzoW+1h7BYVxHoQ0tNSsauuiWI3Cth8xBuKO/ rPCw== 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 :content-language:accept-language:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=5uIf5/BCzdYmNrHTzX4wEXj81QQkIXzS9ewzSz75O6k=; b=UwQKXkx+Eti2r6zWI12PjjRDtq330busOFhLDMSGkF5WuGafwZpMjKxDNLLQgOBtEB Oq6HoMlQwwjuqGHdFaxA0NX1VdNKqBbVJQPLet/E74Vy9822ZDnvAnQuBGIVdCDOUJzL T9zR+9gmH1tq66qX2qUMOxsMSo5chQa9t2nHzxgbbu0djytJNvNqH/AwM7h5DACUV3z/ BraKfHvYIj86Hik43RjwL04owSUHpiRLMRWVxwoMeSl0PDFmN/aSUx+Oj6YMzIBA6LHe LRYNsp4QAyJDlwE65euw5RKjw1k8N5CSAeK/IknqlQRtyzPPCci3EP/3Q613id/Jka1w sudw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=lXy2vKnl; 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 c2si20388300pgj.487.2019.02.20.22.39.13; Wed, 20 Feb 2019 22:39:29 -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=lXy2vKnl; 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 S1726730AbfBUGit (ORCPT + 99 others); Thu, 21 Feb 2019 01:38:49 -0500 Received: from mail-eopbgr50052.outbound.protection.outlook.com ([40.107.5.52]:48404 "EHLO EUR03-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725932AbfBUGis (ORCPT ); Thu, 21 Feb 2019 01:38:48 -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=5uIf5/BCzdYmNrHTzX4wEXj81QQkIXzS9ewzSz75O6k=; b=lXy2vKnl1VdGBgtxULcHtz0XLVv1wCrVgvZCfWBW9OWvocHX5Gr/ofUlBdqTT2J08RNwGmKjyKiw3Pw0pquKHybVbmEl1//tEJpQb0inC6OwnEuzsd7101tXaWfMmIA6DQ1W26fofL0hfEucji8d9gR/cLgC+wIwr5EJgy+xSM0= Received: from AM6PR0402MB3911.eurprd04.prod.outlook.com (52.133.30.10) by AM6PR0402MB3863.eurprd04.prod.outlook.com (52.133.29.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1622.18; Thu, 21 Feb 2019 06:38:30 +0000 Received: from AM6PR0402MB3911.eurprd04.prod.outlook.com ([fe80::6c94:4ad8:e9f3:cf1]) by AM6PR0402MB3911.eurprd04.prod.outlook.com ([fe80::6c94:4ad8:e9f3:cf1%4]) with mapi id 15.20.1622.018; Thu, 21 Feb 2019 06:38:30 +0000 From: Anson Huang To: "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" , "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" CC: dl-linux-imx Subject: [PATCH V8 1/4] dt-bindings: fsl: scu: add thermal binding Thread-Topic: [PATCH V8 1/4] dt-bindings: fsl: scu: add thermal binding Thread-Index: AQHUybAPUmnoI6Ce/UqIMDTlZO/oOg== Date: Thu, 21 Feb 2019 06:38:30 +0000 Message-ID: <1550730831-14995-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: HK0PR03CA0069.apcprd03.prod.outlook.com (2603:1096:203:52::33) 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-ms-office365-filtering-correlation-id: a0567e44-a19b-49de-e90d-08d697c73148 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020);SRVR:AM6PR0402MB3863; x-ms-traffictypediagnostic: AM6PR0402MB3863: x-ld-processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr x-microsoft-exchange-diagnostics: =?iso-8859-1?Q?1;AM6PR0402MB3863;23:mMtUhZy1XLYnwGPhlj836SUdvyQtOiiYt3nxC?= =?iso-8859-1?Q?ZTvIU9bhg/IT1gLElBEbWbD569LcjkQNrN37rBmq1IZ2AJPRJB1FHje3j1?= =?iso-8859-1?Q?w7/qx6tD0g0QlimyUm9NX4MRCP0GqKUUOuxucGtRhS8RnLzCOm/x6fLCAt?= =?iso-8859-1?Q?r47NFbCR/tGBAkjnuqqcp6iSvkETzm55gtVfqNBy3riHnnhMu1JEmlZI8s?= =?iso-8859-1?Q?yQk3MwSq3xzzJunoXFkEsJp63AOWvOKoyHSk8hiJO2+jruaj4l+AL7x6zD?= =?iso-8859-1?Q?bQUo42JsN/Qq1i2QPgOm1ZjCzXdjlEZrhJUfDMlfETJ70eYS/fGvqIc58C?= =?iso-8859-1?Q?/scdgi2L9MaiZptqU86ybslnB+KMqIbK8CSIHKDgkPSNKeX/EoUdNm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F8AGUV9eDS4d2csPdpezfCJXigh2w=3D=3D?= x-microsoft-antispam-prvs: x-forefront-prvs: 09555FB1AD x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(366004)(136003)(376002)(346002)(396003)(199004)(189003)(478600001)(71200400001)(5660300002)(6486002)(97736004)(6512007)(2906002)(86362001)(36756003)(66066001)(2201001)(71190400001)(53936002)(4326008)(486006)(25786009)(68736007)(305945005)(14454004)(6436002)(316002)(386003)(8676002)(6116002)(3846002)(110136005)(186003)(7736002)(2616005)(26005)(256004)(81166006)(102836004)(50226002)(7416002)(14444005)(476003)(2501003)(81156014)(8936002)(6506007)(52116002)(106356001)(99286004)(105586002)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:AM6PR0402MB3863;H:AM6PR0402MB3911.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: wEEgAq0a6i5lalWkd4zfvsrl0Nvjkan9wEsBkxI7YFJHqOzRB1BKDXoE/NmvQptva6mzFcvey+OsPMV3HWFzZmtiTgDn0nFnrtfWPYWaIxS96Zu6HlFPANStojCC9HrS1u+GLI7jq2O2Iu6sNuD88QaWrUv1wz7S+dYksII5DtUfbtYyy7d4EZYbFpL84G53zb8LwDxafd8jxokpweKQme41jMxjYk6ABD5FJ39tTfPPrSTQi+Tj03HdqY6c9oY2i2dt68QamQKWZXuB2l12l1f5Qic5q6xEiYvJ7dVBDWUxUE1x9La5AuQJmjz9c7Vd/BMSNjubjqo8zIlV6u9oKVsASO872msEZ0VwnCYvwNtY7GcmI1AR7iqKiT/t/KfUIl2BSzxeEeEGGbBXR3hcGLfUedzOA0MFNdeWZB/VJgw= 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: a0567e44-a19b-49de-e90d-08d697c73148 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Feb 2019 06:38:21.8202 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR0402MB3863 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 --- 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"; =20 +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/the= rmal.txt + for a description. + +- imx,sensor-resource-id: Property array to specify each thermal zone's s= ensor resource ID. + Example (imx8qxp): ------------- lsio_mu1: mailbox@5d1c0000 { @@ -168,6 +181,12 @@ firmware { rtc: rtc { compatible =3D "fsl,imx8qxp-sc-rtc"; }; + + tsens: thermal-sensor { + compatible =3D "fsl,imx8qxp-sc-thermal", "fsl,imx-sc-thermal"; + #thermal-sensor-cells =3D <0>; + imx,sensor-resource-id =3D ; + }; }; }; =20 --=20 2.7.4