From patchwork Mon Jan 24 08:28:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 12721670 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 37884C433EF for ; Mon, 24 Jan 2022 08:30:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FFs70/D8g2HWnsR9Voh0LGmdvOqEeHccwSFhlQ/+hgU=; b=WojbLN+1yZ7dy8 ZQ7+qqwFyhlSypB23tKUD9pjEkQw3OtKBykCV8fCQum+MwyyRstc9T86V5prBVRESrlX2ddvUPg9s yb1PA0sfLYOJ+8eakkPbVtTxc1pksVJ6QaTsOl9qz4sy3PEqJQcMDaSnFRTx0RZwEqeg2VSqwNCy4 qP0hOY2nYDcEv/9EEW8QFqdr4cYAS3S4YpA0jnjj9yH3Vn0/vRYDI8yDTvDhrsEeEw25GZqaa0R/+ Ze6YtQm4d9PGhYO4ddKqlVgOOOgGuENofInn0jq3wuyIyrof2UbEqUtD044ZpUopxqLNi7U3LmI3u mCkNfS7T5LBAO6Oq8xDA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBuim-002au2-D4; Mon, 24 Jan 2022 08:29:04 +0000 Received: from mail-gv0che01on20713.outbound.protection.outlook.com ([2a01:111:f403:4012::713] helo=CHE01-GV0-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBuiD-002ak2-9Y for linux-arm-kernel@lists.infradead.org; Mon, 24 Jan 2022 08:28:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G8pyt7FdFPbib5r5cgrcaZqznj9VvN8SpTcUTWjYT1Rray1jvTWB82WLs1vFG8hRQj9BbANsTq4mX63qkYpxaFv5LOewDQU7Dxf3Z1u1tPwymio4+U6xT6LrI2YCYDi0PQMpyh+ZTT28dgQxbFpScK7twSU9B4ICx0UzH/+v1Ovrd+vDxEosAQkwQPuen0miNfsc3L/kQNqepc1yTBAqqHtltezItlagGIuW/GMAe1bwesmsEgSwtw29hAm/qvMKU0Ab9JIEhmCUYTfIfsjIMe/i5jpo2b9NkzQC13DPBdyuBOpXb+TL8OWunxJltO3Jo3xdp+nQsJ6Z6kwR6ftxtw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=oWmaWbMbNAfXdTupUt6m92kFhXSXdjA3e27dLOocQpM=; b=DYEart3L9hx4IWpBqF08beusno9sdGymgSAxRjwHMMybTV2NVOqbFkCHnoWOmp2yRRbibrwfAiCAMat542e+8HCPHKwR5svo9LIt5J2adBVo1OLb5IMTfA1S8WX4tty0iNAHe4CradsTNIP92v860s60YkHixxa79fCHkzj1gK3RzlATOsDblxikln8tJUDsxMJHBvdzmhhnrcaujs7pblTUS7NaIBaPCfaXWH+JJRzg5KdNX1xyh5k3XbFyYpg58wAORW/OHXj9o+cHJ6lCJVYWZ6MKXwr1YcqEuA7EFs+yh5S6zDrBbtIri+zIdHjrNaQLvCE1FP3bLmJ//HReEA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toradex.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=oWmaWbMbNAfXdTupUt6m92kFhXSXdjA3e27dLOocQpM=; b=Jq2pSzuCvGAowhmUwNm5EM/dNDQ4d6tArsC4RGsCrD+2xrwKmZmu3WWgnlVuioPBTfDO+mBfEIKSdhmM49W2pb0OnydfvS/Nw7OvS/u/R8qk+DEcRjwOWvSiD2BkJxXsBFSq04GE8+CoTrdRL36Pnm1Y40Q8/4cCNYL0R6lhJrs= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=toradex.com; Received: from ZRAP278MB0642.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:3d::11) by GV0P278MB0227.CHEP278.PROD.OUTLOOK.COM (2603:10a6:710:31::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4909.7; Mon, 24 Jan 2022 08:28:16 +0000 Received: from ZRAP278MB0642.CHEP278.PROD.OUTLOOK.COM ([fe80::d837:7398:e400:25f0]) by ZRAP278MB0642.CHEP278.PROD.OUTLOOK.COM ([fe80::d837:7398:e400:25f0%2]) with mapi id 15.20.4909.017; Mon, 24 Jan 2022 08:28:16 +0000 From: Francesco Dolcini To: Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , "Rafael J. Wysocki" , Viresh Kumar , Matthias Brugger Cc: Denys Drozdov , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Marcel Ziswiler , Francesco Dolcini Subject: [PATCH v2 1/2] ARM: dts: imx7s: Define operating points table for cpufreq Date: Mon, 24 Jan 2022 09:28:02 +0100 Message-Id: <20220124082803.94286-2-francesco.dolcini@toradex.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220124082803.94286-1-francesco.dolcini@toradex.com> References: <20220124082803.94286-1-francesco.dolcini@toradex.com> X-ClientProxiedBy: GV0P278CA0052.CHEP278.PROD.OUTLOOK.COM (2603:10a6:710:29::21) To ZRAP278MB0642.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:3d::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 985b5869-faa1-412a-f6e5-08d9df1377f8 X-MS-TrafficTypeDiagnostic: GV0P278MB0227:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3631; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6HfirZSyT0lSY20COGAmWXmCjEXIrwl+Yc5Mb+gUehBItrKD9k/Kh6XmcpIU6Zwx422jgSYc2TupwsVX4U556leYIT9u2Ssn1KWmqAqrzQigfZOLvUvSCyrCpKun68ID3SZrAwRsy4IbDV1mpB6xpFXeNX+LIUoSfK4xLBdaB1DPdrtLEA6PpSvp6QgK/KIDmfZUdj4RhxcrQ1YRcbZB4faS1uSMEYYER4tBL9tntZlVZf8SrAhSJ1PsuSlzXb3S6ECWdjbEYtk0CQ6RGN1HLsElPMloOwC/97xnPSQddwf3Hw3SyCJE6S//xUi5kELXkKkUyGmbuPuHMiz769ezSDvQZZU1Wec/e1Zco7CSWNIaP8ybXvHenj8J8dj17mZ3mtmBDEIvGFHUorgVwl7vMdMmx8gwl3vwRBfUXcu6d0a7yXGYOcbzTKK8HneMgRdco+XXxVxt06avRRaY8V9BMLA47I2CRSiqwvzuPuoATxIpy3k2QukKRMKiF91y4zCw/SpcRZHdRNI80EbBvfeRS1/AG+A2dRxs4bFne+w9KkOqiI98+VCK0f5YQ8dSjnOZjIeeygWtRrgWnTrlMKWRwr6XDV3Ssjg62DQmNmKfgP7etSyJrsxo3sPHMzxKgTMd/cOfVBVZswZQn5CnjCkw300uCo/VJpTh0bgu/oCTWT9K8C0PCFyAEJY5pow6SfhjxCfRp7GwMtwTnu5Jq0srgQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:ZRAP278MB0642.CHEP278.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(4636009)(136003)(346002)(39840400004)(366004)(396003)(376002)(54906003)(52116002)(26005)(1076003)(44832011)(110136005)(83380400001)(5660300002)(38100700002)(186003)(38350700002)(4326008)(8936002)(8676002)(66476007)(2906002)(66556008)(6666004)(316002)(86362001)(7416002)(36756003)(2616005)(6506007)(508600001)(6486002)(66946007)(6512007)(107886003); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: lGg6Xr1jvGCY1e7hwCC57gQPz6qyLgx11HDp0dOgeXG7+m2PJDmwi3xXsTw3CqYQ3hzjCI9Om6yXKiPoIYOK90SFMt8EOBSUabRCbkAq4tMF1bEzOkUpkzq9TT7hHFS0Dh+eSPz4QQXr8Y/soTol/XbiKGPOUd3XixxXXyqbDAmzxfYhUU/fpBjut9YTtiU1AX4fkFFnTLiESCwl/9tzcAmB4LxJeXd6WtITxRNIRp7JCvip3GT3urGSBJo2J3uYseNfD2y8nwRw9gQrCyKLK83xgpFKHfcy3g2Tvx75hZ9tf7VsQcVHQPFpeQ3C8Ts5FWBgV9oZLG6uudb2oeE02TaukN7Q2wH3ZO37H781gu9Vmj8f16YjXV9bCf5mzSgAlBRzQZu67F3T6nIQm9sngVPk+VTrTC84PEv02uOsxP8i82gaUnZ5DOBjw1gZyIuMFC+Mta0WQAJP/izL3u5DxMLbiDyogDIDDI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5vc2bgcqeQOIyswowC64Dp5c0wn/9IWDZvMEkYcLiIjFuaGztyW9l+dkAWmR6J8H/gara3qeR1oAjEsVc6Tdghi1l28+UaLlXh/KkD8iyOyw2V+w== X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 985b5869-faa1-412a-f6e5-08d9df1377f8 X-MS-Exchange-CrossTenant-AuthSource: ZRAP278MB0642.CHEP278.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jan 2022 08:28:16.1047 (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: PaYwZjiZ1I5yM2H9KaD9jQHjM2JXQYWq2yaSZe/6lSmXkIUM8wX3N73iCWB4hLMbTLML28M6zXaHVzLjpMLqfbFroDKXlQdcQqQ6wEl+CQg= X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV0P278MB0227 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220124_002829_401339_A5B217F1 X-CRM114-Status: UNSURE ( 9.18 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Denys Drozdov Processor operating points for imx7s.dtsi should be properly defined to perform correct imx-cpufreq-dt probe and registration and provide an access to the temperature sensors using the i.MX thermal driver. Signed-off-by: Denys Drozdov Signed-off-by: Francesco Dolcini Reviewed-by: Fabio Estevam --- v2: no changes --- arch/arm/boot/dts/imx7s.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi index 52a9aeecdbb2..5af6d58666f4 100644 --- a/arch/arm/boot/dts/imx7s.dtsi +++ b/arch/arm/boot/dts/imx7s.dtsi @@ -76,6 +76,22 @@ cpu0: cpu@0 { clock-latency = <61036>; /* two CLK32 periods */ clocks = <&clks IMX7D_CLK_ARM>; cpu-idle-states = <&cpu_sleep_wait>; + operating-points-v2 = <&cpu0_opp_table>; + #cooling-cells = <2>; + nvmem-cells = <&fuse_grade>; + nvmem-cell-names = "speed_grade"; + }; + }; + + cpu0_opp_table: opp-table { + compatible = "operating-points-v2"; + opp-shared; + + opp-792000000 { + opp-hz = /bits/ 64 <792000000>; + opp-microvolt = <1000000>; + clock-latency-ns = <150000>; + opp-supported-hw = <0xf>, <0xf>; }; }; From patchwork Mon Jan 24 08:28:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 12721669 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D4527C433F5 for ; Mon, 24 Jan 2022 08:30:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hS44qFKYeiAueecVAHRdlEzz9c3WHKnUWFK26sreuxc=; b=zk6j3ScCBmvhIQ 6T/63v4Si+pwuDSYlffFVvXGPYseLIzeWs4I5PgYb7nKoM99J0N3r8VTmcxwx1jUToMRVEoSZyu2G SJxqRWVnZZ2dNrq896SuwERUzZkCU5OXJXCPNGCE33DSR5TXOp+j1fsuDpiIyJPvZ5lx3j8kJ+qvn Zz+GUTJAfn9KKYfZvjVUaaIZA7milbsTC+XF3cK4h2V9gQm0vbiB93+EOoJpsRPQhU5DPXsAYC+ne 457jmci5gaD2PUXE9LPrC152x4QuIUoPOnBA7nwMVSaecZ6i2iJ5sJn7b1d5Z3sxT7d/PKPnEDTUc wQ2a3KNcV2MYF/lYd6YA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBuia-002arq-Is; Mon, 24 Jan 2022 08:28:52 +0000 Received: from mail-gv0che01on20713.outbound.protection.outlook.com ([2a01:111:f403:4012::713] helo=CHE01-GV0-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBuiB-002ak2-JI for linux-arm-kernel@lists.infradead.org; Mon, 24 Jan 2022 08:28:28 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZeK4UMSR+FbEHA1FioB7TpDP3a/XxgVjD+RayqJm0DZ91pNXH7Gg3I0fKIZkcKevKIKsTAX2NWzm36399vE90NjWqxZTNEbzDPowjdXAupmUCvbYVO0wHdmiuvVSuZtV/LPw9CDukNc3LINr5Tuavi3XWL0cJDpN5IBZl4+HnpJkAucae2zYspIPm+Pn6lxJ+Cl0kbgk+QLmsk3SSkAcADNMCvjr4RAHyczKb+Gm9Tjg9MqPLYmHl3TJbCPyuR3KPW3PJPTI2iwZAGA6giwwTM95pIB1io55niJjyWiM8yhsQjwv9jn+xe+Jaw1bpGsfp/FA2IIQQEwbDbYDrC/dGg== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=i8nimqkeTMpgA2YPpvATxQrTcVrQQDl5iLgecwDMWs0=; b=nFCvETpUp2nq19ynEM2x4rFqxPo9chNXhWsv8SqXszfvYQ6ZzOdwe10apv2RoJNDcuW5bE/jEYUBzZgtmE8BRaYrZcRcjuk3MSmefYTBF07QXDQ58yueK5u8+UXBWjvVaHjyXWsjoxeesY0ARavWdCDslDRIltFM6Jo0B+NFBerlBH8mMZjFEwUyPtWJ1YtwKE4fWIkqOg3ejbWSk46qtDreAoSZDsdME+V09eVZa8xWMDUcGAABsVkWFODB4bswqcJGmNk9jY7sG4CJ0nZq8ZotB9kxmzOCnm4IibUYyk2T/l4GccdQ+Mu2GoODowTl51MUprZY3cuRHZvzGGH+yg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toradex.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=i8nimqkeTMpgA2YPpvATxQrTcVrQQDl5iLgecwDMWs0=; b=S0rfFneSVayNjIEVW/O3ZojJd6xTNymdAzxH5XW8PUqkpV/zL8gKDtCLouGDnlkQRsOEz+2zQe8jp532hQ1fcfLT4VW5IdSHG6nh7JcRBe+lUMtXAkI53KE0C1N4XldCGOE6GNWkkD9LKudHYRw/qqUNmYDWTJ4L9lKyAcut8vY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=toradex.com; Received: from ZRAP278MB0642.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:3d::11) by GV0P278MB0227.CHEP278.PROD.OUTLOOK.COM (2603:10a6:710:31::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4909.7; Mon, 24 Jan 2022 08:28:16 +0000 Received: from ZRAP278MB0642.CHEP278.PROD.OUTLOOK.COM ([fe80::d837:7398:e400:25f0]) by ZRAP278MB0642.CHEP278.PROD.OUTLOOK.COM ([fe80::d837:7398:e400:25f0%2]) with mapi id 15.20.4909.017; Mon, 24 Jan 2022 08:28:16 +0000 From: Francesco Dolcini To: Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , "Rafael J. Wysocki" , Viresh Kumar , Matthias Brugger Cc: Stefan Agner , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Marcel Ziswiler , Denys Drozdov , Stefan Agner , Francesco Dolcini Subject: [PATCH v2 2/2] cpufreq: Add i.MX7S to cpufreq-dt-platdev blocklist Date: Mon, 24 Jan 2022 09:28:03 +0100 Message-Id: <20220124082803.94286-3-francesco.dolcini@toradex.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220124082803.94286-1-francesco.dolcini@toradex.com> References: <20220124082803.94286-1-francesco.dolcini@toradex.com> X-ClientProxiedBy: GV0P278CA0010.CHEP278.PROD.OUTLOOK.COM (2603:10a6:710:26::20) To ZRAP278MB0642.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:3d::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: bc5470b4-0464-4e28-f6e5-08d9df1377f8 X-MS-TrafficTypeDiagnostic: GV0P278MB0227:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4714; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xsZSd7M5p7EGVvTV7CNwZlldP6zNHKO+5c6wUXtqqWlSIuZTARDh9zPh9+y1I47K31/GRc2k+FnJKCItxYhpsyT/kvQ8VZsA40Mo7uRhpjwvOFiUqqpCbsTgH+oKqlCpjP1IAFhijLlP9Ijdz8jq1EJ1Mp8AEsEo942wS5IvFA/2GLanlxmISYqVEuMx+ZoE0Yx3NbBbTLzgMWIUPpuIxuatkHh97I4gFlZ8TdiXi2BfBQblLAZXEI1lEjNp4PS9kDK5xgsEFTLrvJi6uch9udLHXwnMnGgsSx72agzJBMBJQSqNq+z1YhE0xD0iLgjpVpNfMQyX58JLtGh1bwYdeAbtDfBEWj9pjkuI5VxqCdF5Qii2Ghw10LnCZYHTtHeUog7qNXp+R4NjH04vuAIMnpiJNG9w6AApU1nTtIHWFmYf15IBqK7O95vbM2bORW7VVYRgygaISfbvAES7Fmv9Azms2CDZpbd4Xzf1UiWYz4tdJTg4LH7GdLayTAwkD1GqiZPezaKhgsAD4av6eaAUuSGRtbDHPFy67bgdn7nwJLhSfJS2nFAf9XOHB/miKuWO4z5u/f+uBVUTuXJeZDpnRa169iKUG6B/+rllEuhJjVCXfdzMSGvu1XwxrN5yFTx5gfIRWZLDS0glGKjQheyD6j//mfJfjlaEfhnJ8oNkYS6iBJwQ3Rp8o6d0w+GQec5yO37hmqiE176tY6ek7joEew== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:ZRAP278MB0642.CHEP278.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(4636009)(136003)(346002)(39840400004)(366004)(396003)(376002)(54906003)(52116002)(26005)(1076003)(44832011)(110136005)(83380400001)(5660300002)(38100700002)(186003)(38350700002)(4326008)(8936002)(8676002)(66476007)(2906002)(66556008)(6666004)(316002)(86362001)(7416002)(36756003)(2616005)(6506007)(508600001)(6486002)(66946007)(6512007)(107886003); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-A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xxlBFFiZHqiCxFTODQGXJsXk94txq2KsasVpe2UCRp9wkn5ZUCs6B8P+LI8VcAMEFfcOlsjzUbGtiFgK7THrapfVwt0+vVUqP0PbA+imVCxAEAupZtorV8F2NDmEhNSx+mff6JrE5lFffzrh5Vj4HHlMctikdjlPmjtGgXGJsu3wB5KzvXDKbgAfbkiz6wX9liWENFBzT7T4TOTXDKp5A6IuBptaDkKMSjQSBPEf1+aQcqVtuuAYsj/rpoVh2jbhWPjK09NDDyb4a81pIR6yZnA/2kQw4pRMACfFK9Ny0cgWJQij6fFdmZFM/Ec4IyVI8i91OJL+GX1NNteyaJQJ6AaLaqACLPAc7yTYceOTyAAU2+5+lxb5Z4iM8VjmyOHI8PaWOE7dnUwhZZeQ6k8F1CUW7TLE9XJhQDwv9dCMfGhzIqw63pLWjhHyu8lOi8txWAZxkEby1Egmk8Bo25vQFpC5yCUmGT4svfH049JtRwZB0uHxoz/bPJXfp/NcPTN0K4WR+Y2Yt+IN/3i/l5aw0z9Cu84qkf8UM7ohBnlSJx0dZ+XYrZx3EKqze5WANpXgSMlOdpfOn9u5coUtWq7FZOiKBUB1ey10+ZpaMQ== X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: bc5470b4-0464-4e28-f6e5-08d9df1377f8 X-MS-Exchange-CrossTenant-AuthSource: ZRAP278MB0642.CHEP278.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jan 2022 08:28:16.0878 (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: MrlL7szsoIpMlANosw9TiJJNipujOYukmDHCHOvhmoQ6py3OuRT1E3xptFvMwKowHusY0bcdi6azMaSL6qE8iH36b6R9NkCbdsGqBIyiEog= X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV0P278MB0227 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220124_002827_688696_45733D3F X-CRM114-Status: UNSURE ( 9.92 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Stefan Agner The i.MX 7Solo currently does not have multiple operating points, however, in order for the i.MX Thermal driver to successfully probe a cpufreq device is required. Add it to the cpufreq-dt-platdev driver's blocklist to allow using imx-cpufreq-dt. Signed-off-by: Stefan Agner Cc: Stefan Agner Signed-off-by: Francesco Dolcini Reviewed-by: Fabio Estevam --- v2: removed empty line --- drivers/cpufreq/cpufreq-dt-platdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c index ca1d103ec449..6b808f805eab 100644 --- a/drivers/cpufreq/cpufreq-dt-platdev.c +++ b/drivers/cpufreq/cpufreq-dt-platdev.c @@ -110,6 +110,7 @@ static const struct of_device_id blocklist[] __initconst = { { .compatible = "fsl,imx7ulp", }, { .compatible = "fsl,imx7d", }, + { .compatible = "fsl,imx7s", }, { .compatible = "fsl,imx8mq", }, { .compatible = "fsl,imx8mm", }, { .compatible = "fsl,imx8mn", },