From patchwork Mon Sep 28 02:21:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anson Huang X-Patchwork-Id: 11802721 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2E6056CB for ; Mon, 28 Sep 2020 02:38:25 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F191C22207 for ; Mon, 28 Sep 2020 02:38:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="uJ1sUgcU"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="QxdDOG+G" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F191C22207 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References:List-Owner; bh=c1t9ERBPGOWm4ovHBUvxc2GeghKSDCq5//zxqY5Hlj8=; b=uJ1sUgcUGOnkh3ka8paD6iq+hv W6lzCRWPlzVrpXhQ1fXtxec5+O4zmqKz/XF39BRDaOof6habYgg3jZjHiXVqwJMrzh4fU88dBAVcj 4gUo/v7p0XtE7UgsqtgKDDDNfIshNdqc8NDMXNQs6StswJ/sTqOBdfdlAsR0nABxwBbg+X6j1Umpl lHPlGzFtq9dGp6tJkgPUE9/Z6Yk0a+lila+b1ETL5WhpWAciSXCupaMD5nuM+vUsMBLt2qDfSi6T+ BMUN098cALXzWDATgaEwYe0QlnUTnCYW3SU3+1HX+l+WxLdA6pzjMAKaLWQSuIxh0S/kyw4oFNqX7 m7efKr8Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kMj1U-0002Io-VN; Mon, 28 Sep 2020 02:36:17 +0000 Received: from mail-eopbgr40040.outbound.protection.outlook.com ([40.107.4.40] helo=EUR03-DB5-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kMj1Q-0002I8-7H for linux-arm-kernel@lists.infradead.org; Mon, 28 Sep 2020 02:36:15 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SFfl2tVBIhfNldJMeLKzi6nBWaAfvAD5+XQ3ySeG7toB6AYAS1BggdU8inDhf+ru7+iXNilioisxIKiATm/MvyYgChOPB+twyc+QEK+wuZrsfVgg4tHui36TjzJjCXZYiXGtlhhriEn7mmWvAzjldb9IrBNa1SNHnin50ij5F0Hwc4UNZX/7hGiSYzZKnx1wCl0vMRtOCRuTFyluFqa2pDx8xaW5unD4IbvgrZ6Zg8MFdAa8kDj2XaPxe/Pz/sW0zqla4bfpf+BomEXpQiu6Aao2uCj1le4Px0UdWFvmvrfbOP0VqQNtJkiZENrOdbA03JR+apiYMbtGNJHNaDLqcg== 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=5Bps/eBlf6S9kyQYOo1XoeeRYpyITWQ/q4HIboIwZNI=; b=DfxOd536vXaOKruyyB9q1S7lgYc2XseqL5BgGuA1S1s66U4358vMOayhsbz/Y4FMHrlThbLpS8WEkrSUmBH/XfKOFkKx6ztM7h1M0A04LSsXbpMIeE0oEYzYE4yJ/lbAHJS2FM3KYXTwJTCP/o5o1nlGXxYLJ6p5FUfCdjyZoE23Ety6kMF4Lge31yc/PbHtjMAXfc5fa1zdQSR/QbTSfYzLCasiE4ypwPvEDw7tcGFduhsDDfk1l7RErBnVzHmLM3vRLW6T1Bt0U6A4SkWhY1MXQsdO2I/z/CsVRVCfR/xQlZhRtlA5fsnbZDlSrFrjzFbrWfoNkkhImtebOdjXLw== 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=5Bps/eBlf6S9kyQYOo1XoeeRYpyITWQ/q4HIboIwZNI=; b=QxdDOG+Gw1m69uqsNBrd/eWY68cRraHn6kIDR7mRiY56CiZtk0lV2yidHgoZK4LQOeuYZw5krCMMq5swC5tCZP3AHYOLb817FcXxb80c37VtUZU9rS0C5vieTyDmaslSIaBiQP3eJS4W1BnsmceSxieSvd7XPvAHvt0vQvCSX4c= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=nxp.com; Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (2603:10a6:8:10::18) by DB8PR04MB7051.eurprd04.prod.outlook.com (2603:10a6:10:fd::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.20; Mon, 28 Sep 2020 02:36:07 +0000 Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::9c75:8bb2:aff6:450d]) by DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::9c75:8bb2:aff6:450d%3]) with mapi id 15.20.3412.029; Mon, 28 Sep 2020 02:36:07 +0000 From: Anson Huang To: robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, yibin.gong@nxp.com, krzk@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: imx8mn-evk: Add cpu-supply to enable cpufreq Date: Mon, 28 Sep 2020 10:21:43 +0800 Message-Id: <1601259703-28308-1-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 X-ClientProxiedBy: SG2PR0401CA0024.apcprd04.prod.outlook.com (2603:1096:3:1::34) To DB3PR0402MB3916.eurprd04.prod.outlook.com (2603:10a6:8:10::18) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from anson-OptiPlex-790.ap.freescale.net (119.31.174.66) by SG2PR0401CA0024.apcprd04.prod.outlook.com (2603:1096:3:1::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3412.20 via Frontend Transport; Mon, 28 Sep 2020 02:36:04 +0000 X-Mailer: git-send-email 2.7.4 X-Originating-IP: [119.31.174.66] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 7817a4c0-c35d-48c8-2507-08d8635740a7 X-MS-TrafficTypeDiagnostic: DB8PR04MB7051: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2399; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: il8q9ubGpZEFTPTDPd/5qhkHoYl0/BNjlKdCUMPpXIo3cJWcGnZ+0yGtEYZpZ4GcrVtkwLtgRJ/NFIotL9iPOOFe46usM/I25cj1fq+P0dBOsKznFsrZH0VkI/wC3nTBuW4nU2+1ACtOyLI9uR8/92Yfcj3x1INQyF+7VO7ezIEXcIWIgbg/rEwDCdeQcj4G4Ubpi3Tuz4x/0dwSoHlqlKNsuQQTTXTonpPAGCbkDLC1Z3DTUIB1tZrPRGeVm4NQHgB9Vz8hmRCXi3BiauNTs1fHlTPrVoZrNOLZIoBk3oWpE3JbmdlE+YizVrIiVGoW9kX8Se24wmOSOITPTcmZQSkp/y4ndp05mcuxYo8LYTCkggga+NWc0I1Pv2+o9uVVFMyVXXZ9R87QW6vNYbKtu+kOk+SMTmRGRCXu8vn20A/Nn/FLQNvjkQ07ueFiFFCx X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB3PR0402MB3916.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(39860400002)(396003)(366004)(376002)(346002)(6506007)(52116002)(2616005)(26005)(36756003)(86362001)(6666004)(16526019)(6486002)(186003)(8676002)(956004)(8936002)(4326008)(2906002)(316002)(478600001)(66556008)(66476007)(6512007)(83380400001)(66946007)(5660300002)(32563001)(921003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: bhLGviUsb3VBX/TaOVXncrY242XBWoDf+jJqWeZjfztyL6JL0wFhTGuwqxAUQOq20VfqUZm+VaZFOhFYUO6qK5+5zd6/SD1pRgqZW2Ux2be9V7qo0Hkm5VOEHToOI5V5UgtWPY9ZOyok4+9negNrVXMLqUkWFsTWPoQN3ajKnOGctLNzijpOVtuI//+ObO2+TMkxE1jwQhRwSS4jDr6RP2fbjKaxZfj6NGqp/qTOR3PEHRX5hwJdLklca+ZHFeoHAfd63/1l9tTlGpsVX9YMBsg6OrEN5/tuRm+ZOLdBnrX+G6EC5ZrxdM4zhQqqn8BvOxPj31cXwuDNVCIHeU4JkLrefa18WuSB0+Rd1i3cl5iO+iA9byAZw+K9B0phL83p9HnOs2U02XoMcl413+6z6IQaOSnTXGn8e1je5PMyiXlup46INtScPLGtipJhJBeVyGhq9T+E9p5gwUXuPsoki8/KM8+Zk53Et+tLnktGFT53V7G600jwLjTobHXTDQl4UmHKqEMCFj0vhhomwCZ3Ro1NLsGUX644zkDAkabSYOYLRhe16/s/JwR5rz6Sf8KKzeZXrEoueVc4RGG8mhz6dTZL6MzTZRbd3hWLvSuzuHq/eTvsjjxgYTWayqHPvO90apu18B9OqiaP2i1ZEblVzQ== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7817a4c0-c35d-48c8-2507-08d8635740a7 X-MS-Exchange-CrossTenant-AuthSource: DB3PR0402MB3916.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Sep 2020 02:36:07.4628 (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: dGg205MjkIw4dVhzaxH8DAYkDvy5eiEymAYoTvQri2yrH+3PNqBJp60vhNHIQ6idW3DhAesVjOXaS3bxVA92Mg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB7051 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200927_223612_270246_E05BC359 X-CRM114-Status: GOOD ( 10.76 ) X-Spam-Score: -1.4 (-) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-1.4 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.5 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [40.107.4.40 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [40.107.4.40 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Linux-imx@nxp.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org PMIC driver is ready on i.MX8MN EVK board, assign cpu-supply for each A53 and restore the operating points table to enable cpufreq. Signed-off-by: Anson Huang Reviewed-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/freescale/imx8mn-evk.dts | 32 ++++++++++++++-------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dts b/arch/arm64/boot/dts/freescale/imx8mn-evk.dts index 707d848..9e5c0af 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dts @@ -14,6 +14,22 @@ compatible = "fsl,imx8mn-evk", "fsl,imx8mn"; }; +&A53_0 { + cpu-supply = <&buck2>; +}; + +&A53_1 { + cpu-supply = <&buck2>; +}; + +&A53_2 { + cpu-supply = <&buck2>; +}; + +&A53_3 { + cpu-supply = <&buck2>; +}; + &i2c1 { pmic: pmic@25 { compatible = "nxp,pca9450b"; @@ -109,19 +125,3 @@ }; }; }; - -&A53_0 { - /delete-property/operating-points-v2; -}; - -&A53_1 { - /delete-property/operating-points-v2; -}; - -&A53_2 { - /delete-property/operating-points-v2; -}; - -&A53_3 { - /delete-property/operating-points-v2; -};