Message ID | 1543384349-2851-5-git-send-email-Anson.Huang@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 60787181D for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 28 Nov 2018 05:59:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4EA4E2CB4C for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 28 Nov 2018 05:59:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 42C952CBFA; Wed, 28 Nov 2018 05:59:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E3A532CB4C for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 28 Nov 2018 05:59:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=lUu/KWTarBW+uARs10Uu+rA4B0Tngr+cROOrWOpdt9w=; b=PZce93L+/1GRJ/ wIKNEkBR8BO2J8a0mXC07+R27hAe92np140GPtNQNj2FmHP+2GwJ29u3ZlQdQCTLdSsp4LqqfCOUE j0zWsASiTxDZixrdv9D1QXt9F/3FNIB4DYHabqYDuZPysTtTwDQ/qfChRQ5RvR6DIlRqMtIX6eZDy /IHZETJeBs8Nt8EGsptQ9x/d0iZ22HTKPoRqOVDXlgR+J3GKGMWGcnB4Y8zyx1bx1HyADcCabmgZs ZCUV8o2D2IPt8jbljfsAioN9/D5R8d1k35u+VSGyZR+VTR3eRZT2fZHvJ9ikOYZXufshfO+xKMkFD /hJY5qGIGwLkhxl8CXqQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gRssU-0007Vf-Ar; Wed, 28 Nov 2018 05:59:14 +0000 Received: from mail-he1eur02on0605.outbound.protection.outlook.com ([2a01:111:f400:fe05::605] helo=EUR02-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gRsrz-0006kF-1j for linux-arm-kernel@lists.infradead.org; Wed, 28 Nov 2018 05:58:44 +0000 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=1oqxe7s4vGNNPngRHR5XMEZndCvHR7d+uhQLiDY9qPk=; b=bCXXCnj0v+hApaXQ8sqgphhrvURhLUsxPAlJtfn1Ia8jwKU8+DZv93a9sUiqAeH/dUXUN1scX/th3mHrDG3gViDMup1AK0C1VoC7kuiI7/12/yFpct65xgosUJWjcKQmtowlb9lC5RVFno5uwIBek5I5whE29XGYaezRZ82wsmY= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3691.eurprd04.prod.outlook.com (52.134.66.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1361.19; Wed, 28 Nov 2018 05:58:37 +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; Wed, 28 Nov 2018 05:58:37 +0000 From: Anson Huang <anson.huang@nxp.com> To: "rui.zhang@intel.com" <rui.zhang@intel.com>, "edubezval@gmail.com" <edubezval@gmail.com>, "daniel.lezcano@linaro.org" <daniel.lezcano@linaro.org>, "robh+dt@kernel.org" <robh+dt@kernel.org>, "mark.rutland@arm.com" <mark.rutland@arm.com>, "catalin.marinas@arm.com" <catalin.marinas@arm.com>, "will.deacon@arm.com" <will.deacon@arm.com>, Aisheng DONG <aisheng.dong@nxp.com>, Andy Gross <andy.gross@linaro.org>, "heiko@sntech.de" <heiko@sntech.de>, "horms+renesas@verge.net.au" <horms+renesas@verge.net.au>, "arnd@arndb.de" <arnd@arndb.de>, "amit.kucheria@linaro.org" <amit.kucheria@linaro.org>, "enric.balletbo@collabora.com" <enric.balletbo@collabora.com>, "ezequiel@collabora.com" <ezequiel@collabora.com>, "olof@lixom.net" <olof@lixom.net>, "bjorn.andersson@linaro.org" <bjorn.andersson@linaro.org>, "linux-pm@vger.kernel.org" <linux-pm@vger.kernel.org>, "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org>, "shawnguo@kernel.org" <shawnguo@kernel.org> Subject: [PATCH V2 4/4] ARM64: dts: imx: add i.MX8QXP thermal support Thread-Topic: [PATCH V2 4/4] ARM64: dts: imx: add i.MX8QXP thermal support Thread-Index: AQHUht9nQ3rqL9kbMEarCmiJf6cpTQ== Date: Wed, 28 Nov 2018 05:58:37 +0000 Message-ID: <1543384349-2851-5-git-send-email-Anson.Huang@nxp.com> References: <1543384349-2851-1-git-send-email-Anson.Huang@nxp.com> In-Reply-To: <1543384349-2851-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: HK0PR03CA0010.apcprd03.prod.outlook.com (2603:1096:203:2e::22) 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; DB3PR0402MB3691; 6:iLR4BfFMHitUxfHh2L0UNoZ8EbNVBGE2oiQ+tJdfn2bLvLQcdeidNQKhDQiBsK6vPy9HJkCW7kHaRgPlw0y8rnkgXI1wD8YOW3Lp00q+GYyjTU+C2MBXxUgUOybQmEheAFUD+pzA783Ploethxslbvo+u17JYt1SCcNAj0+0bP6VjegVT9R4LvV5/EoSqp3Nzog7vXG65GkPY99SeKXhZbkt7mAthV/Hc/ncvztSNkOk7a+uuKoQgNF9e8l5fSRy8da83s9ZW+xpYNZ5P46VliRcmYHKDKDCFmH3zm3Tqd7WRbS2UAicZgvWqOLJTS7kCkRBFrBiJO7pggTQeSkwHwMtEnEMmh7orsGcvJzVUHRV6jcpdjfIz3wcpffcdJfAZDrKeem+sfEhxjw+tiMq8Hhr0n76EuUbVZnGfk7bN1TOkrrlxNzNC99hLzEs5rLyfviS7S5M9L5cfzO87rqE6Q==; 5:imtCQBOBhNg98BAcwqUvKKoxvS0q0s+Eur0/RNCFWhRxoJul8oPNHcu91EGJeBkM0XALt/ta7udkzxoivnAbauOVcyiRKY4Si16KDULdRpT2MD3nJCgx2f8sivwS//sFOBWcmrTlHthEgrGstH9ITIFRTSCnImfPPmp2W7KdIBc=; 7:nOCqjzZrkD0ulJHEl+OLpqL5fpjBYKWEsnq63f01X3OiK+r+w04Ex5J8nBOar5248BCiLNWHga7tRovkbZ8ZY/GJmZOnQJGYYX+x6viIpoUs3Eu55t0tx34T1yb5a2tcW0KoORO/NlbmA3Kz6csMwg== x-ms-office365-filtering-correlation-id: 7ae5092e-cdc1-4df9-14ad-08d654f689b9 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390098)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:DB3PR0402MB3691; x-ms-traffictypediagnostic: DB3PR0402MB3691: x-ld-processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr x-microsoft-antispam-prvs: <DB3PR0402MB369123F55274060D6031E868F5D10@DB3PR0402MB3691.eurprd04.prod.outlook.com> x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231443)(944501410)(52105112)(3002001)(10201501046)(93006095)(93001095)(6055026)(148016)(149066)(150057)(6041310)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(201708071742011)(7699051)(76991095); SRVR:DB3PR0402MB3691; BCL:0; PCL:0; RULEID:; SRVR:DB3PR0402MB3691; x-forefront-prvs: 0870212862 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(39860400002)(346002)(396003)(366004)(376002)(199004)(189003)(256004)(99286004)(36756003)(81156014)(2201001)(2501003)(110136005)(86362001)(76176011)(97736004)(6436002)(14454004)(316002)(386003)(68736007)(50226002)(486006)(39060400002)(52116002)(8936002)(81166006)(6506007)(71200400001)(2906002)(11346002)(71190400001)(2616005)(476003)(6486002)(7736002)(305945005)(7416002)(102836004)(53936002)(186003)(478600001)(3846002)(6512007)(105586002)(5660300001)(106356001)(26005)(6116002)(446003)(25786009)(66066001)(8676002)(4326008)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR0402MB3691; 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: OuTR40zCAsi9oUlX76Yd1vbJcD3CiW4LhFW1vbgEJL+/FGhkN9vdsP9RBGbp1hjU+SbDacy/YZdI5ni+3oajIPzQ8DQL/FqFH6zWABkz1YzdBlY+jkNFyQrMukcvK7W4neoYvdqxmw1DuAc3tA6x/tMCa785m2eweV6996uLLpkEJ6wwEcXXmj1u0VqNRRn4mdBixkmRryKuDEl7eoesf0TJs2zfSuZUDb7YHSFobI5xCRdZRXHtmcs9XR9J4oolJ5xIABT+Vv4J7THrWRpQwED/LqAy/Q1xFPgZufz8NuU7amR1NwtOyoqVI6Lpigm6UdTohomanpfeRV2W0dgL7Yr+ONeBJ4bVWHiMe8W/oao= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7ae5092e-cdc1-4df9-14ad-08d654f689b9 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Nov 2018 05:58:37.3487 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3691 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181127_215843_109893_C82FB248 X-CRM114-Status: GOOD ( 12.71 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: dl-linux-imx <linux-imx@nxp.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
Add i.MX System Controller thermal driver support
|
expand
|
diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi index 5e8b554..ef57db6 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi @@ -9,6 +9,7 @@ #include <dt-bindings/firmware/imx/rsrc.h> #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/pinctrl/pads-imx8qxp.h> +#include <dt-bindings/thermal/thermal.h> #include "imx8-ca35.dtsi" @@ -85,6 +86,32 @@ }; }; + tsens: thermal-sensor { + compatible = "nxp,imx8qxp-sc-thermal"; + tsens-num = <1>; + #thermal-sensor-cells = <1>; + }; + + thermal_zones: thermal-zones { + cpu-thermal0 { + polling-delay-passive = <250>; + polling-delay = <2000>; + thermal-sensors = <&tsens 355>; + trips { + cpu_alert0: trip0 { + temperature = <107000>; + hysteresis = <2000>; + type = "passive"; + }; + cpu_crit0: trip1 { + temperature = <127000>; + hysteresis = <2000>; + type = "critical"; + }; + }; + }; + }; + adma_subsys: bus@59000000 { compatible = "simple-bus"; #address-cells = <1>;
Add i.MX8QXP CPU thermal zone support. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> --- arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+)