Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1942775imu; Wed, 28 Nov 2018 18:38:35 -0800 (PST) X-Google-Smtp-Source: AFSGD/W1GoO6yN62K7B6Op7/UUSTyEsFkrm+RkrLE0IRYxenRQ/4LGVP4iCs5x02AR8EQQMHqadx X-Received: by 2002:a63:8043:: with SMTP id j64mr36050456pgd.405.1543459115824; Wed, 28 Nov 2018 18:38:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543459115; cv=none; d=google.com; s=arc-20160816; b=lgw9tvuqhV1ULjXwTn5nydWGHYGK/H+9zYxAcZek18H9h9RzTJczc3tP1saAwvMwvV iKdZzxQ1PF4iin2MiOumDuvulGmY6YRKur9x5Hb3lpZVXpxyRFoFmRqJqBaTTEVCcssT kj5m2DV25rCFpg/Jw5EpmyN3dqVwIS6MD28eL/R1I+l9akp8LRAgeYNoh2yS9bkHShrJ mlgUdmvpYqFKZ7w7ALLhgioQLTKypirb7qjXlo9A9/fUExcaNgpPRoGEq5JhkT8CJI7f 3s9s4hyx20dEhWTap6tXHXDu0SvqYcU7kH2m9uUZNDvRMhAdGena00qg1KX7B+r+Lucj eCpA== 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=yTOUvexBgW2lFICcLtAz9oEpbcaBMQvYkUuYUkP/EhI=; b=LDK2uuEHzvbKNRghh/BmbSmfzy1Rf637Kanq8jN8ZJwzaAjxJT/7Qoy6KRUiYTCCM1 63vNCXiJVgKjhZrTCm6sf9wqSxPNlV7dC31jks2EFlqg/2zc7lpj1t9cthZQaZjEy/PM qKFzeUdQmxjwQyD5COwS+oeuobdmGY3AfohuCygssgRRkx63hYSflF3sNvni7bEozSSw 82+CGbxu/C9tcYYlDzm4l1jfc9cXSi/elfgzrIB3P585MbNCLyTgGuSDbHkmYeKHhrcB kBOCGRXG7gJASxYLwvTqSqGKrNHTTbRXXO0ZhfuZYQCJZqw99HaltuT8YFW9gvTN3hD0 VyUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=nIRdG+73; 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 s12si475723pgg.188.2018.11.28.18.38.21; Wed, 28 Nov 2018 18:38:35 -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=nIRdG+73; 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 S1727712AbeK2NlT (ORCPT + 99 others); Thu, 29 Nov 2018 08:41:19 -0500 Received: from mail-eopbgr20058.outbound.protection.outlook.com ([40.107.2.58]:53984 "EHLO EUR02-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727026AbeK2NlT (ORCPT ); Thu, 29 Nov 2018 08:41:19 -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=yTOUvexBgW2lFICcLtAz9oEpbcaBMQvYkUuYUkP/EhI=; b=nIRdG+73px9skwJgqDqHv0FTN21sYYFhYOwFgIZlIgyGoVT3h525Rb5uVUkwV9dGoV7wnSSyO8nRZw+pC8+BzvFU8uZrUjNqeJ5hZvowfWTci4MINkUyNOtIJxLDxDiUGOVaMTEzt4BS9jbJQ0zwnefBqKWvPXtinRE1qkGkTVc= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3946.eurprd04.prod.outlook.com (52.134.72.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1361.19; Thu, 29 Nov 2018 02:37:24 +0000 Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::adf8:f49d:deb4:58fd]) by DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::adf8:f49d:deb4:58fd%2]) with mapi id 15.20.1361.019; Thu, 29 Nov 2018 02:37:24 +0000 From: Anson Huang To: "rui.zhang@intel.com" , "edubezval@gmail.com" , "daniel.lezcano@linaro.org" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "catalin.marinas@arm.com" , "will.deacon@arm.com" , Aisheng DONG , Andy Gross , "heiko@sntech.de" , "horms+renesas@verge.net.au" , "arnd@arndb.de" , "amit.kucheria@linaro.org" , "enric.balletbo@collabora.com" , "ezequiel@collabora.com" , "olof@lixom.net" , "bjorn.andersson@linaro.org" , "shawnguo@kernel.org" , "LW@KARO-electronics.de" , "linux-pm@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" CC: dl-linux-imx Subject: [PATCH V4 1/4] dt-bindings: fsl: scu: add thermal binding Thread-Topic: [PATCH V4 1/4] dt-bindings: fsl: scu: add thermal binding Thread-Index: AQHUh4x1H6AtxquUkUqUAgXdysttag== Date: Thu, 29 Nov 2018 02:37:24 +0000 Message-ID: <1543458696-4741-2-git-send-email-Anson.Huang@nxp.com> References: <1543458696-4741-1-git-send-email-Anson.Huang@nxp.com> In-Reply-To: <1543458696-4741-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: HK0PR04CA0011.apcprd04.prod.outlook.com (2603:1096:203:36::23) To DB3PR0402MB3916.eurprd04.prod.outlook.com (2603:10a6:8:10::18) 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;DB3PR0402MB3946;6:3m54F/OapJi8Nxuv1mfD6iiKWtjtuFCAwFSyJQkQOAPMfJUJDnLOWsgfoKhusKrInVGaz3x9K+soMerbY0+1jTkTDrauypnir62Up3RFkikWkVsix7Za3+zy3Qk7aAvUi2lyb5RDHwr3kljmf0+SfTNjhfQ3KNVuzS98xSZoLCOJAvVVsHOvpxXza28t9bm1Chp+N1tVWm33nGNBBV5NPw/oJhHBdCrCJW5gSe9tg5ARbgJQzzgY5IVQONROYP/MXvQbKzCC9xMeScEr2DgCz4prp60y2engWycd6Dom574X5Lna+25I0DsSzFDjydEtV5azqLBDqPzNPMS/vy0Iaz3CcQc06If51YCdSHcU1rxbwnWu69HnfvnpZl4EFYD3Yim5LxH2a1fJzeMpWa69NZPdQ89qe68FVAXU5+eQKpR8cfkMNh7mbU1hXzPaIydgMHbcgWvkahqdOaDxk216xA==;5:02UTLuuTSgyWIjhbxxYMrF5k3ESuLQ5/ZRXVEQj9v7MMcyhUDY5kcPzkSHb9iJFbOZTcz5hBBJGVGfpL40xeqDr1Dy3D4sv03LWJ9oyOU+mdsAmCFEvbKpALEFcd86EZa3MuVX2As08gflHzW47qjQxhn9Zr8zCkaFDd90ctiHo=;7:y9FWlFacJEOXcb9SfNe6QfKB8Yr4HTkDndbtkeuLPAfPdNAvaJxjA3VxQLOSQkL32PHgk913oyEgok3zLgBbhxbRrn4t+iOeUpxmIhnIjvHp2z2D5yCd2sBrgm9iry/dS6T3BUI/04QHNXZiPnYy3Q== x-ms-office365-filtering-correlation-id: 13fdb96e-076f-4ccb-91bb-08d655a39847 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390098)(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:DB3PR0402MB3946; x-ms-traffictypediagnostic: DB3PR0402MB3946: 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)(6040522)(2401047)(5005006)(8121501046)(3231453)(999002)(944501410)(52105112)(93006095)(93001095)(3002001)(10201501046)(6055026)(148016)(149066)(150057)(6041310)(20161123560045)(20161123562045)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095);SRVR:DB3PR0402MB3946;BCL:0;PCL:0;RULEID:;SRVR:DB3PR0402MB3946; x-forefront-prvs: 0871917CDA x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(346002)(39860400002)(376002)(396003)(136003)(366004)(54534003)(199004)(189003)(25786009)(50226002)(99286004)(3846002)(6116002)(478600001)(8936002)(76176011)(14454004)(2201001)(52116002)(316002)(102836004)(106356001)(86362001)(110136005)(186003)(2906002)(26005)(81166006)(81156014)(8676002)(386003)(6506007)(68736007)(6512007)(7736002)(6486002)(6436002)(4326008)(66066001)(71190400001)(53936002)(39060400002)(36756003)(2501003)(71200400001)(305945005)(256004)(97736004)(105586002)(486006)(11346002)(446003)(2616005)(476003)(7416002)(5660300001)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3946;H:DB3PR0402MB3916.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-microsoft-antispam-message-info: 1TO6HWpsb9qE7qUbWasNnrCLw4kKrd6wTqYcmM19JIV0l9B8wsqgXn1ahaqP7cZr5qr1FIc+h3svU7QzHIm71XCyfkJt+TgYvAOZrB2/Lo0Ufp7OiSEjGpmp1ZF492nV3ZaNoPKUYKEWz/PLMtodzH7DTkOa9UfGzAgcZo3xT89UAKsuwEtR/RlNPB8qmQ7dI5p6g41GyYGkDfYjJcieuHzdm3qQJlaUW2yGfy873FakEVm9PGsCFxW8SSBWcizMo0UMnU+6lDSdTR6ib0Mi8p5n7IKpJCXU0JFMn+hj1W6LcU60qysFB/dBd1DSK950fFtfgDdUGGVt18CStXRnLWL40m399ghEeWgvibuhNg0= 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: 13fdb96e-076f-4ccb-91bb-08d655a39847 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Nov 2018 02:37:24.5017 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3946 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 --- ChangeLog: V3->V4: *move binding doc to SCU since it is belonging to SCU; *change compatile string to start with "fsl" instead of "nxp" to align wi= th other nodes in dtb. --- .../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