From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 06FFCC433F5 for ; Sun, 8 May 2022 16:56:07 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DD0AE83C41; Sun, 8 May 2022 18:56:04 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=quarantine dis=none) header.from=toradex.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id B0C3C83AF6; Sun, 8 May 2022 18:56:01 +0200 (CEST) Received: from de-smtp-delivery-213.mimecast.com (de-smtp-delivery-213.mimecast.com [194.104.109.213]) (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 9963B83C41 for ; Sun, 8 May 2022 18:55:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=toradex.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=francesco.dolcini@toradex.com Received: from CHE01-GV0-obe.outbound.protection.outlook.com (mail-gv0che01lp2044.outbound.protection.outlook.com [104.47.22.44]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id de-mta-5-hWZ97F-2PwCHDOA8BatE9Q-1; Sun, 08 May 2022 18:55:55 +0200 X-MC-Unique: hWZ97F-2PwCHDOA8BatE9Q-1 Received: from ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:2e::8) by ZR0P278MB0635.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:3a::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5227.21; Sun, 8 May 2022 16:55:53 +0000 Received: from ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM ([fe80::f465:3051:c795:3c2]) by ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM ([fe80::f465:3051:c795:3c2%9]) with mapi id 15.20.5227.023; Sun, 8 May 2022 16:55:53 +0000 Date: Sun, 8 May 2022 18:55:52 +0200 From: Francesco Dolcini To: Marek Vasut , Adam Ford Cc: U-Boot Mailing List , Tim Harvey , andrejs.cainikovs@toradex.com, Francesco Dolcini , Stefano Babic , Fabio Estevam , "NXP i.MX U-Boot Team" , Peng Fan , Ye Li , Frieder Schrempf , Ricardo Salveti , Michael Trimarchi Subject: Re: [PATCH V2] ARM: imx: imx8m: Adjust thermal trip points for Industrial parts Message-ID: <20220508165552.GA5046@francesco-nb.int.toradex.com> References: <20220507120440.24240-1-aford173@gmail.com> In-Reply-To: X-ClientProxiedBy: MR2P264CA0042.FRAP264.PROD.OUTLOOK.COM (2603:10a6:500::30) To ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:2e::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c4c0ab94-ca6f-444e-ae1f-08da31139d0d X-MS-TrafficTypeDiagnostic: ZR0P278MB0635:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: KVs9otupmP/7ywCZOCtyqMzDjTdXV3wEcPzNF13mi0Z29qicyj2HisTI+xfy64gED4slMXbcS7JbOuKsW7frTjqZ1BMkExXNGAGJQc9jzHhTlLi+Vrpq+0jvHJ3cQgb+nOlkV8CoiyW9oGk+BHd5jXbLKaASUzt8IqhFarQ6Uyfxm39hQCA1T+VuEQeiN29PFayJwGveraHPHhVf+BOWtBqdmHpKs5pL5yZoXLDVa8bw0UqJ6r9FubeQaBatBLWAyZlC6eiM9axn9TwqBnzHKHWoPM0SYCL1pjIMOqPHoQu2tf+IBDROmHP5RohJHEyA2kJftRfDV8PVyXYMWTsLEww4I3FQjs5iIZyrPiFD6VO65smDs/WA47VyJRrYNxcnc6xC0gObW1pqPrCAOOtDTUvPhC8QMKfpZjAJUmvv6jZZoLGkakGgG53zr5KNdM46ISOm6xhAHwKFoHONt+LioXQrT+StNuS/+6YHMnteWDnESw1mkhluahRfAh99/0J/GznwHzUfnsRiYK2G2Th3RJZ8zqexP2ylZg5E+yEJVLPKwAKLGfyrR4W3VycaCXcAmjoRE5lgmff3RRi3x26J+k35V2/J26l0dkzXxyc5izMEYMOesXJrks+cZKtizkEWGWh/xbPj0KnTC48WwsJqPJZIl7Y0m5wS8P9qcwMwPOKmFVH1pLu/ArICtwIZ1mn5wm6ypRpeZh+/bx0SKM7YAPG+c9uMHsfxaG9QEFwRcb8= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230001)(4636009)(376002)(346002)(39830400003)(136003)(396003)(366004)(66946007)(316002)(6512007)(66476007)(508600001)(44832011)(66556008)(6486002)(26005)(52116002)(2906002)(186003)(86362001)(4326008)(54906003)(8676002)(38350700002)(38100700002)(33656002)(83380400001)(8936002)(6506007)(7416002)(1076003)(53546011)(5660300002)(110136005)(32563001); DIR:OUT; SFP:1102 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?x4QxkEjEMZKmP6vFUbvEFfPj5na3u8DmxoboKMehEbuwfONCMM2o6uxsuzAs?= =?us-ascii?Q?9HwKQZ5/FlE3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W2p3V6n?= =?us-ascii?Q?kjTyYQedgUIoBYmNCMkfGG5uQGK+h+nszp2vcqsGI5UqqIHuMs35cPGr5SdS?= =?us-ascii?Q?14/G3mR96j95JcpJfbZra0eOe2hF0t+9EE2Gqqf466QeYfW7jm60eUTCtC05?= =?us-ascii?Q?W8UzDIYkdAGROGVOBHf04YFf/WtGvdwu9FJKwLwgxnjHRivnMCvu03X4bH2m?= =?us-ascii?Q?ewNmwuYdIgfJXl2FCJ8FcY6R3Rg0flnWgHutU0w9swR1Ie++1zCVNi1h4e5c?= =?us-ascii?Q?FSkg4h14t4LbIYwuty8IsxNPoElGoL91dyhesrCjQRVq3xI1S/FYMZtqg93g?= =?us-ascii?Q?MW+f2TGFtqFZI1XKo4jf+8IHYk3jdgImfKnQnmCC436vj7IS4nn/9o5XNUon?= =?us-ascii?Q?hKE9amUp1/cUT3rLj3y9EKOBnnLOFcJA8pER/gNj5gwHvirTPFvzVbj5jFgB?= =?us-ascii?Q?u+VR7CGrkflkZw8RhNz99wYzliV9wUjbu3ReOujlP3r/3DraAHZ5xKvTo/Ru?= =?us-ascii?Q?C1Jf+Tx3gJ6oZgwyXn9Du9MTJaxp3FC5CUw3cZh54RS/ALelLssgmHpSw8Wt?= =?us-ascii?Q?EB5Cv+Vxntu35VozbNKFl9FQLqPWoCYZzUAot2+XHrE0sowT3BSQY425NYZs?= =?us-ascii?Q?/BKB7T3AEuGYE5tDHL8191OCgBIaKWwDApX/TutgrfOwtbi+7g6fbQOEhBVv?= =?us-ascii?Q?oX+EWs++O+vFlSfJJcC5zmmNfcx9Y4ldNcYNjBNAuQl5EzPbW9XeCVCg8mko?= =?us-ascii?Q?ZqVsXEAGbc2lkKz9PJhRcwH2lBNw9jwMSTRhbxXl/yyrQ5OwtOydwh0d6QE8?= =?us-ascii?Q?c3Sfq7sdKnBxXMt80+oL9zXneXM34ho=3D?= X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: c4c0ab94-ca6f-444e-ae1f-08da31139d0d X-MS-Exchange-CrossTenant-AuthSource: ZRAP278MB0495.CHEP278.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 May 2022 16:55:53.6186 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: d9995866-0d9b-4251-8315-093f062abab4 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: AvI7bUdCB7ucokHcktOX510CN+DWX7DTfl5pjlfM8f8MIexld2/s4WZozCLDJ/J8W6ukS/dv7imv5zInkLyZ63nY5qB0H7SFF+UiE5Zj/30= X-MS-Exchange-Transport-CrossTenantHeadersStamped: ZR0P278MB0635 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CDE13A77 smtp.mailfrom=francesco.dolcini@toradex.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: toradex.com Content-Type: text/plain; charset=WINDOWS-1252 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean On Sun, May 08, 2022 at 03:42:31PM +0200, Marek Vasut wrote: > On 5/8/22 04:59, Adam Ford wrote: > > On Sat, May 7, 2022 at 5:00 PM Marek Vasut wrote: > > >=20 > > > On 5/7/22 14:04, Adam Ford wrote: > > > > If the thermal sensor is enabled in U-Boot, adjust the cpu-thermal > > > > trip points for industrial rated parts. This should apply to 8MQ, > > > > 8MM, 8MN, and 8MP. > > > >=20 > > > > Signed-off-by: Adam Ford > > > > Reviewed-by: Tim Harvey > > > > --- > > > > V2: Switch the check from looking for industrial or checkoing for > > > > anything but commerical. This expands the trip point update= s > > > > other grades as well. > > >=20 > > > Are the industrial and automotive trip points identical ? > >=20 > > I do not know nor do I have any to test, but Francisco asked for the > > change. I would expect the corresponding values would be fetched with > > get_cpu_temp_grade() >=20 > Ah, I see. But then I have to wonder, why are we updating only > non-commercial trip points ? Why not update them always ? I didn't think through it enough, I agree on updating the trip points always. Francesco