Message ID | 20200503141957.14635-14-peng.fan@nxp.com |
---|---|
State | Accepted |
Commit | dc597d1d408422e3c5d1adc43297f927bb7ca4c9 |
Delegated to: | Stefano Babic |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.a=rsa-sha256 header.s=selector2 header.b=gyq7HC3W; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49FSKm5cnhz9sRY for <incoming@patchwork.ozlabs.org>; Sun, 3 May 2020 23:59:56 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CF05981EB6; Sun, 3 May 2020 15:58:08 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.b="gyq7HC3W"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 371C681F10; Sun, 3 May 2020 15:57:39 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FORGED_SPF_HELO,MSGID_FROM_MTA_HEADER, SPF_HELO_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on0607.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0c::607]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D373281EFB for <u-boot@lists.denx.de>; Sun, 3 May 2020 15:57:35 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=peng.fan@nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jmN2KI5hEL4jyuOe4ggwP4X0azqFDCn+gGBZyBmKMhDbvG+XEjl/a/T2ml9gCT+NltK8bCtBVNyUysdhtxrZFRmdoMzwvGw3tuVXMjvkhTzd6ccuLek6EB6k/1LmuaN4P+ZPNbBEoKq1K48lqFGAbaSyZ8Mz08bGmQjFarhdyEu92JiGXXSS8UrTfF86juBzvHhg7AJ8otayhEzL1OyaP/9mWLIKHuCT81WMLRe4V0rhuiNOxAToBythusv0x+mVT4hFK0rcBf/J4L56KedfcPg4QIEqyl5t55onmzuzj3SdREJX3RP4/Ww6L2Bm2DZThbz/wr1GMRTh38V+eTVpzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rvdqBbbBmHQ3Sb125O1dVOzZkEYUO/srryOX3+Nx8BU=; b=TPv6KUU9joO910AwcuX+d++VyNseP6rv00vAjZH1c4tfw4lqmllZbPpLT2s8ekbPnwthMgZ5Pp4wiotMdySRSe2AGv4SjB3FuiffXuvrfM66JNXAwFfVhNqfEN37HbFmIblsxn/bHcJaZCya0FnUQ+FrhOEppNnottZeb1/L6XNYnKUdau++nG4P2Unj6vy3K0ROtG3mVKyAYH85Jdv11ke9NMR+ZahbnVIatwmUgaif4GvrJFcdtffG3oS+BZ+hqjKZyPUhxqhHJ+VIS4VIcLJbNIb8tJnOzkCkvaWojhFekCnZ46TaevDExx9KICVo1EG8HjeZn0BOWAJaSZkJ9g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rvdqBbbBmHQ3Sb125O1dVOzZkEYUO/srryOX3+Nx8BU=; b=gyq7HC3W3lxcegMPiQVqYwfctWjSnFoOPE1PWUuH8EQAiy80tz0ibUIfXDacnkC4MX8XI36TKjkuNjN057C/FKlLHJ1Vy37JIOXhIsgS48S8iehg2MchsWYlmJNYSLY+XsKdAD+SyrcrKu2LHKME7YgCrDOR6AH4nb2CopqpypQ= Authentication-Results: denx.de; dkim=none (message not signed) header.d=none;denx.de; dmarc=none action=none header.from=nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB6PR0402MB2808.eurprd04.prod.outlook.com (2603:10a6:4:95::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.20; Sun, 3 May 2020 13:57:33 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::d17b:d767:19c3:b871]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::d17b:d767:19c3:b871%6]) with mapi id 15.20.2958.029; Sun, 3 May 2020 13:57:33 +0000 From: Peng Fan <peng.fan@nxp.com> To: sbabic@denx.de, festevam@gmail.com Cc: uboot-imx@nxp.com, u-boot@lists.denx.de, Peng Fan <peng.fan@nxp.com> Subject: [PATCH 13/13] imx: cpu: support tmu Date: Sun, 3 May 2020 22:19:57 +0800 Message-Id: <20200503141957.14635-14-peng.fan@nxp.com> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20200503141957.14635-1-peng.fan@nxp.com> References: <20200503141957.14635-1-peng.fan@nxp.com> Content-Type: text/plain X-ClientProxiedBy: SG2PR01CA0107.apcprd01.prod.exchangelabs.com (2603:1096:3:15::33) To DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from linux-1xn6.ap.freescale.net (119.31.174.71) by SG2PR01CA0107.apcprd01.prod.exchangelabs.com (2603:1096:3:15::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.19 via Frontend Transport; Sun, 3 May 2020 13:57:31 +0000 X-Mailer: git-send-email 2.16.4 X-Originating-IP: [119.31.174.71] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 0d3e018c-a39d-4823-5a78-08d7ef69ed63 X-MS-TrafficTypeDiagnostic: DB6PR0402MB2808:|DB6PR0402MB2808: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <DB6PR0402MB28085BFA201DA86BDBE1381E88A90@DB6PR0402MB2808.eurprd04.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:346; X-Forefront-PRVS: 0392679D18 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: F4xl9mjeraT0Uy+JxFYwumoW8uZpVub+F5ZFZUzraaM8q6LZUVZHIms2yMibiimWp+fdr7/0bQVNbYYH4UvwUo6Ke30My8qoqsAQydaCn/hQMyhngdf0rBU3mpKcf9wXTT4eiv4d9r4Y8sJWkli36o46SBn/cG3cxqoAZXUq5imcIOAiqaxwA36L5UTzCp/ly3WmlvnOEsXdMUtH17WDVzepnNW9/Hxa/B4cUOzmU3anWN8F6CrlTcAonyNU2Dmgw0utiHQx6vLUc6vFf6YtPItuUaWOQ4iAb88PaYoy5KpXoRB2cp5YrClhFl4h7lK0Wmr80zI02nFKXYF/4wHBXne8b9607FQus+tBhumvPD0RBy2IrwvraTFqAOFrRIybLuHW3wWaIYuFr4t+TjKJYC+N4zwQlG9f5NvtiW+cdW1YxkK4TPdMcFIzXQx3I9yB X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB6PR0402MB2760.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(346002)(366004)(376002)(136003)(396003)(39860400002)(956004)(2616005)(6666004)(8936002)(44832011)(8676002)(26005)(6512007)(6486002)(478600001)(66946007)(52116002)(6506007)(36756003)(2906002)(16526019)(186003)(66556008)(66476007)(316002)(5660300002)(4744005)(86362001)(4326008)(1076003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: ZZn3KQumGT0QgHhfcouJIHa05wlljB+rCkudHQmEQAq4ezgHSPQ7jumCRlwOR+wSCJsC+h5AFPHZswMEIwrW/wVaECIMeIZLPozTo3xGRvqTuG2P0nGBYq5Ne8jEECnTvKYKzjiQ0k5wual/uP6CNs73GxE53kTF2oD99ASzPs4LDBjUT3FwSbfFkjPs1FcQQo7baX6DKpTUPnXtVUZPodGiVdBoVFOJWNxzEJrGipD5ksS4zlASn9rntr1RiEmLgvNfD5qvl60kakdpZ9cW7yIO6Y12EW9URSR6c+SBg/KuuyH2D0MbjCo5xcS41GHYYl0x01BC3xrqnqcFPANefKwgMPomI5YorWFRTBUsvBJBKH76pksWkkdAKa8QOy1hxpiAksN301YCao+5ptVYg+FkDHWQNu7m1K1U+hgJOVti9i4mLyyfK9KwxBmaFYv+lmH2fhAiUIayjMvCl/2A0TZpaeTtjK3OVqvIlzANlC+k0QYX4L2X3ZgPyFKfPXgCRgxWF8/FEf94kCcCExmQvQ0uIBlOhhNeq9lHXFvfBfh3ZkyoY8j6AVctmHmDXISPvEo64wPOr+BH7sOAY1Q2ZfXplco2aMJl8GQW8lZuA5RuhvhK3On6QbHpMB+k7W/ChsJamUP3Dk34S7U8yLGvANyfS9+xJP/PGvmBLOF1k8IKx2FbGrQT0gUBDsLkD0sxmGf4dzpquDMF015TwUbZEVQ525CsX5fY1pl4iGhLxlTvLm8vhA6Hkg5z4oFOtdPANBTkeq509F8aRqoUppzJnnC4kFgbYFyl1CQISJzkcns= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0d3e018c-a39d-4823-5a78-08d7ef69ed63 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 May 2020 13:57:33.3198 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Peqlk7eKQdbKBEhQsvIzyQ3Q1XdAI+x8TDI2Yh1AvWKO4AaPjAn2VVPQU8C3n85xHzZsbe7Yza3shc/boRgkiA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0402MB2808 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.102.2 at phobos.denx.de X-Virus-Status: Clean |
Series |
imx: tmu support and scu thermal update
|
expand
|
> Support tmu when print cpu info > Signed-off-by: peng Fan <peng.fan@nxp.com> Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic
diff --git a/arch/arm/mach-imx/cpu.c b/arch/arm/mach-imx/cpu.c index bfa85c64c6..2d70b6861d 100644 --- a/arch/arm/mach-imx/cpu.c +++ b/arch/arm/mach-imx/cpu.c @@ -154,7 +154,7 @@ int print_cpuinfo(void) cpurev = get_cpu_rev(); -#if defined(CONFIG_IMX_THERMAL) +#if defined(CONFIG_IMX_THERMAL) || defined(CONFIG_IMX_TMU) struct udevice *thermal_dev; int cpu_tmp, minc, maxc, ret; @@ -177,7 +177,7 @@ int print_cpuinfo(void) mxc_get_clock(MXC_ARM_CLK) / 1000000); #endif -#if defined(CONFIG_IMX_THERMAL) +#if defined(CONFIG_IMX_THERMAL) || defined(CONFIG_IMX_TMU) puts("CPU: "); switch (get_cpu_temp_grade(&minc, &maxc)) { case TEMP_AUTOMOTIVE:
Support tmu when print cpu info Signed-off-by: peng Fan <peng.fan@nxp.com> --- arch/arm/mach-imx/cpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)