From patchwork Wed May 19 07:05:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 12266457 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F2B8C433B4 for ; Wed, 19 May 2021 07:09:04 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 E0673610CD for ; Wed, 19 May 2021 07:09:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E0673610CD 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+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References:List-Owner; bh=AlqcpdQdu5DspvmCyqjhWjFUy2v6yu/Y8h6BzHE2QMk=; b=XZh4KURdwoSOB1lRlRbcXjwYJE wvRaznytHscW0yFSJsZKkV5WOGVOplCcUj/B0wJRS2b+qLyDtHEpFbaBzG7tQLJRasiuYd4d1a13O I/Sm3sShr+RbmEsU74cdnJ6Si7ouGMmzjeYeoawKsuGL1yXwNb37yKTlR19kqtkqDyO+B8VboR3Bd g5qK16URxeQ2DnAS2skHzDP78xnhbplek8gzWArmBzL3i37xRkfMwf/198O3O9hA3NJNUzH4L06si UJqCTblR5N/4n48wiSorTlLyBJX0Qgq7zQ/P2eA7bzjN/K2hCFPNMxkcAI53AVjYTGj5CtJMFKeqY v2elMbHg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1ljGIB-0036FR-0f; Wed, 19 May 2021 07:06:55 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1ljGI6-0036EH-6p for linux-arm-kernel@desiato.infradead.org; Wed, 19 May 2021 07:06:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=MIME-Version:Content-Type: Content-Transfer-Encoding:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-ID:Content-Description:In-Reply-To:References; bh=VkR+7TAxuu8ffN6pAnysMAJnPU1k5M2DTEtGiUVILEc=; b=kS+kmdANXnwKw2Fouj19ebAONJ ctkDmcHUqXkVficleXbksePN9u1aM6XEbvY8+JTUUMtiyZf/ETUJPXIfs1DmC9igJoFzJ7BJcnarT PCYDrrkC9WDo6tDDAJaDBk5qe33c5+TsD8oQ5HA9yIV4hrvfUVwns2CF1g/8RyRbRj80M4RWsWtQb M47XymV6alymI5qXSTWALyjAOeLk31nLSA0WdMDo32PgTpIYZJRphWPuylODuipLlTbKRCNujsAoq HCslRzqMIzIzeeCxdPbmPGTl+oe+MFoHlMTAB4l1ANNG+Cvy2tIzYdW6oYZA3SCnXx56fFWlwYJjy DrMrTAIw==; Received: from mail-db8eur05on2087.outbound.protection.outlook.com ([40.107.20.87] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1ljGI3-00FCkt-FP for linux-arm-kernel@lists.infradead.org; Wed, 19 May 2021 07:06:48 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iDCkusT0Tm78Gw/rEYoiG6ABqAR9vYHAX5ww7vrcSXK7ZVw2elzryPQZp0kSsI98ED2dNvKBUNOrsZJbq4Z7h8WCU6GEchGPSCht7Bd0pqWqStzRjajIM/LzbgakbpG64AS4cqyqTMt0m1xJrO70CsidMpQ4+uunyyCpIYvWzRPRUt6S5L5rE26iwgZjwbJMSY9Mj7EDIysYD/oVVJNETvD9CxLuD4Q1/gbdhooqHY/1H4Ep+aHL8Ef5cjRv4/iYtaeMl2ylYBEymcx8fcMuMcmdvZD7Xn/l69TTyjVEsVrTzN5zJH8gi5sVZurR34RTemISOqDi8WXs7pusUluZCA== 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=VkR+7TAxuu8ffN6pAnysMAJnPU1k5M2DTEtGiUVILEc=; b=EM9jupM5zdTfXMhX4SGX/9801iXyUPgucyBMkipjOOqYA23H555xIsEy1U/ALvbenrr/8PFQVcEiyZuAz/74uoM1mCQCZhDr8Lvmp483iw+eE0bwQjk5iQ7dK/3NC6Xa7J6+lpTf/BkywK5nYJmUoAxRXEBuKc310BgwrOjmfagDvX9JuUVtt48EuU0OHlq2VeHox3sEXWhxZkybkT0aRkbEX6NG95WG0PWZVh9saMwN0zOte/DsiyLEYwx9FcyDwY8yBHuj6+eBLaExpgdH75/XxRvw5L+XH34hDQpMkw8bZ9k/To/BCmE5xKkzYCEK3y2RBFP8JxXecOWx2OiIFQ== 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=VkR+7TAxuu8ffN6pAnysMAJnPU1k5M2DTEtGiUVILEc=; b=OK+cjAfRm3lwEkUSOL/+dS9VtLxkDLco3cx98uxzD0zmMXTTnk1wiDZF3BBH6m9uXPEkKFC8xLXpp2OREeMPkmzy7tgh2QThXX1WnI9pGsktqVfZTBpC4u7pe0Tsac+6HHBOLXHKnbKEATGY4iRhHi/xRKstc2U3MmsI9zkYRNU= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=nxp.com; Received: from AM6PR04MB4966.eurprd04.prod.outlook.com (2603:10a6:20b:2::14) by AS8PR04MB7733.eurprd04.prod.outlook.com (2603:10a6:20b:288::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4129.26; Wed, 19 May 2021 07:06:42 +0000 Received: from AM6PR04MB4966.eurprd04.prod.outlook.com ([fe80::b10a:ad0:a6f5:db9b]) by AM6PR04MB4966.eurprd04.prod.outlook.com ([fe80::b10a:ad0:a6f5:db9b%2]) with mapi id 15.20.4129.033; Wed, 19 May 2021 07:06:42 +0000 From: Dong Aisheng To: linux-pm@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, dongas86@gmail.com, linux-imx@nxp.com, cw00.choi@samsung.com, myungjoo.ham@samsung.com, kyungmin.park@samsung.com, shawnguo@kernel.org, kernel@pengutronix.de, abel.vesa@nxp.com, Dong Aisheng Subject: [PATCH 1/2] PM / devfreq: imx-bus: Remove imx_bus_get_dev_status Date: Wed, 19 May 2021 15:05:44 +0800 Message-Id: <20210519070545.1728197-1-aisheng.dong@nxp.com> X-Mailer: git-send-email 2.25.1 X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: SG2PR02CA0056.apcprd02.prod.outlook.com (2603:1096:4:54::20) To AM6PR04MB4966.eurprd04.prod.outlook.com (2603:10a6:20b:2::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.66) by SG2PR02CA0056.apcprd02.prod.outlook.com (2603:1096:4:54::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4129.25 via Frontend Transport; Wed, 19 May 2021 07:06:38 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 14566ea2-4c74-406e-dc35-08d91a94a7a8 X-MS-TrafficTypeDiagnostic: AS8PR04MB7733: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6108; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Zyb7AaVd0icYT2J5viBmjMhS+15iaWYir6HYCFgusUiVSY683CYC2kwTT+hNlDhtMTa2tJpohx/k8RXGqGU886iGdWuOvG4G5OatbbyjLpcerZZlrKG0BhTqFHh/ZpPeZcNMdVnEuxB7zH68JhwDvMRQIlCFglyW7C14Rrt/C2pjuXtsYE2TAFppw1EKs1gkgQjDfXsJnp0Brm1C/g5wBP8mYyS4lMa65yNDEfPaaVuhGtgq5GQzTT4tPDpyKVME3YHC5wxU7gI5LTC4z0vQC66rX5DIO7IQpA/LO1Qb7k6RaWv3QXCulmKm6zfLQwde8rASUXW8xP5PSOsC2hsA2aqJsss7kqkSXcr7KNqolC1lAG1nd+5+wR/7qKygXlHaIhYYuNmVAnX3EzHOcGBSefsMrM8Z3kgIq+WXWsRYqE/P2gwRHQX1ocetka2RPOey4rlM7WVRHu1hccPL2IXWk5F1AI8yXlLxhNRYVXclBx9830TqXo+TEEvnaTcdqE/oiV2nn2Ztx+e0xcEs8CT6yraxZuUiSYR+Y7tpl+sSha09n2aLpR4xZJyk5aJuoHJbLTM97sTmdPDcDZqi36axpglV96ZQjh0zujqwxzOXYk1LoYSDHFPAv58TD657BrH9qracLQ7TKOMJU7tffew7NaqBvF+NI3iHpTa9PtDY3VGR+KszymX61t4RyvOIeJF3 X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR04MB4966.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(39860400002)(136003)(346002)(376002)(366004)(478600001)(26005)(2906002)(6512007)(36756003)(1076003)(83380400001)(316002)(66476007)(6506007)(52116002)(16526019)(8676002)(66556008)(66946007)(186003)(8936002)(6916009)(6666004)(6486002)(38350700002)(4326008)(5660300002)(2616005)(956004)(86362001)(38100700002)(69590400013); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: KB6bM9OYNzMNqRFa4efA1/eSkxAxBdepwmtTko7hBUT1cLqPsqFWHBYdUoqJ1e3b7S548VONghLKPnbz3s5DIxFqb7KoW97LB3Y5PF8CaEXp00R93OK7fbnzagZtbdWA/SGFcTEkVAGVSvpMnDo2QPxDwT68AFYeM1aB6G3H7l1lJfgXldncV19qF+1PnqZPRpPFtIR12Gi5VeakkiOfrNm5Njhh4yZt+Orp3VYGiBhjpdY7aj0ef0JPWip4jPPcbwEcvKjW9MoNZxyrX0Ll+IoR2fzC2crOFpv6PLiqtesFs0J0zNHt+3cJETzhwu23f73C9SL/nID0ISVRbJV4I95QKG+WX+1sps8vZvOEdQtVDudkKUsDFo9/by4Hpn/TCcuSLMDkuvOxSH4EMAWz5DCLKhB/D444ISXqUS/piHmXNEGUcESPsVrnKZUlTCVnWvuP3RWKyhRaUwuCErbKw7JZ9yU3yk9p6d8927V5wQUFfAvsv/xAcDdmnbGXhEuOKn8BTb+/vgE2yYMldC1sKmMLXQN9IQcFWc4ysN0pUbeH87CB7OXdeLDpK0xsgtIUdMaIpqOP9T1UV+pdknsdNQ8McRLFcMML/8GcGOb8SaXq0xNq3H/FuwkXH3hPZGHmtNho13xcf7PGtm0KXNMrXlzAcsDtfr+FUhUL0aEaCsd2nKIvnDsJtwNf+f6Jm756yxLbdYEZ7UXcBDCR/ZA8gEqge3LvI9OrDYJ3xcKz66KfPQ3bZLH5bxKb5KtOzCzYWUazZ/qrmbI6hjg9PIDjd9tppsth6bVACjIIS/52V99kG7+zAG/E6y14uGSwnzXJfKSTaacaAFNSJDoLwd2xLHz/aZ+1y5Tioen7ReGTkhQdATjIqdo8mJQjM+7G+QV8DWQwFRvsSl6tx+jucSy/wbeHt/utZF9A3HNXqJwQyk0qWaFtjdqao4H9hmxHYKzX/zoVqAdke65qG/bPsGIXAT75H8qynOAMlDxVHNFGHS03QTKWMeAxIyPvVZREZrQl3kDC5w40WNXudR5pcP0GMqIfkj6Ns/EnDOHBZsbu/g1329K7LJF30Dx6SLDaxmA5Kk6IkVjeaG159VRtuVFCBT34rZTEDVOpr1jxp0wUrfU78aG+f53qseDPyVSS6oBj4Oe09SBEhSEYq1yfbdMwDi6Gbfx2hsrEwfZKSpvkEI5izKQ+/TWXXdRXEakChliAMBp92GYttriwyA3C3bdCOMQ0r+QWAaLRQiUkQVYnJIGgGVA6OjnTNaraHBxFmc2WTkhouYJziA/Wb7BQSwt2qQyBnf+XZGaM+rWERY6yz92hrFdfgf4VUWhOu7p5YQ+r X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 14566ea2-4c74-406e-dc35-08d91a94a7a8 X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4966.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 May 2021 07:06:42.2647 (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: 4E/vgIqUQfAO+yYJczxLB8h67YELmHlZPCP/f5akE1qzvGXWveuVzLusOQLnsp35jwlX8DoYJeDEOW5KNMhzgw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7733 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210519_000647_535845_5B06F55C X-CRM114-Status: GOOD ( 11.67 ) 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 Current driver actually does not support simple ondemand governor as it's unable to provide device load information. So removing the unnecessary callback to avoid confusing. Right now the driver is using userspace governor by default. polling_ms was also dropped as it's not needed for non-ondemand governor. Cc: Chanwoo Choi Signed-off-by: Dong Aisheng --- drivers/devfreq/imx-bus.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/drivers/devfreq/imx-bus.c b/drivers/devfreq/imx-bus.c index 3fc3fd77492d..f3f6e25053ed 100644 --- a/drivers/devfreq/imx-bus.c +++ b/drivers/devfreq/imx-bus.c @@ -45,18 +45,6 @@ static int imx_bus_get_cur_freq(struct device *dev, unsigned long *freq) return 0; } -static int imx_bus_get_dev_status(struct device *dev, - struct devfreq_dev_status *stat) -{ - struct imx_bus *priv = dev_get_drvdata(dev); - - stat->busy_time = 0; - stat->total_time = 0; - stat->current_frequency = clk_get_rate(priv->clk); - - return 0; -} - static void imx_bus_exit(struct device *dev) { struct imx_bus *priv = dev_get_drvdata(dev); @@ -129,9 +117,7 @@ static int imx_bus_probe(struct platform_device *pdev) return ret; } - priv->profile.polling_ms = 1000; priv->profile.target = imx_bus_target; - priv->profile.get_dev_status = imx_bus_get_dev_status; priv->profile.exit = imx_bus_exit; priv->profile.get_cur_freq = imx_bus_get_cur_freq; priv->profile.initial_freq = clk_get_rate(priv->clk); From patchwork Wed May 19 07:05:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 12266459 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4348FC433B4 for ; Wed, 19 May 2021 07:09:20 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 B5CF561244 for ; Wed, 19 May 2021 07:09:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B5CF561244 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+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; 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=/D/6SWDHp7QwgIrCaeU+PDQ9FFNbI055rjC5+HkVNiw=; b=mi9ZAlt+rT7cbpNgV9RdBmj74 MOT1s+uGZoPDO3Kb75Xs2ZBwq4w78Q+SQeh9pyn3+UlDjWlFmOdd9/Mu9R8IBzPwhbhzvwj+TpVBi gHNKWvwZPp1ind7ze5YtwRpUqc05Q4ZTFU8REUcTTc1HD1aDNBYxA0v7OtvB+X7OKq9EewwguzO08 exu8y46Ty0fjz3R+IaJrxUre6StY87cEze03pq364nJl4FZvN5J64VoTAgndKXsOiQnGCtKyWNwpm U1D5DlDRAh2F2bnJEyO8Ij3Ze/agM4WhiCJiT24L1iuHassDcbzx3rx8HTmlSR7sGBMD0p/6G7/QP /elr8q6+w==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1ljGIT-0036Lg-E3; Wed, 19 May 2021 07:07:13 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1ljGI7-0036En-Mo for linux-arm-kernel@desiato.infradead.org; Wed, 19 May 2021 07:06:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=MIME-Version:Content-Type: Content-Transfer-Encoding:References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Sender:Reply-To:Content-ID:Content-Description; bh=Wyq/JjLietWNQd4O0gbx/QIX0zIALr17NZMz6mhVzUY=; b=RVYnPQ715ypNCAxWpXQj1TxEEn OCkdsPSTcxsABUg7clBXQzSH02CXw6W4hOsv5HzTEetWHOova254Xfa/Thk+rXWYYqoWWsdeZGwub A/IXp1nnketM661G26Bb8wZRsXqsyuz/QeI0jo6n0NtMg1n82vsVJHJt6FzcXxmD285Y1MV0TbF1i oten3CvEdhNAdOZGht9EY2PophjXnVvEl8Y+JsBMdXHyx57ecHNv4a9GJx6he9btOdt4bBC4USVEp /h5uhNeL3vm0ZVlABjsCVrKH+/PrwIB55aN6Vp5fBHsdy+OoZiHO7tEFWgy+jYUE/Q+oQCKbYfADc fNmsb6GQ==; Received: from mail-db8eur05on2087.outbound.protection.outlook.com ([40.107.20.87] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1ljGI5-00FCkt-7y for linux-arm-kernel@lists.infradead.org; Wed, 19 May 2021 07:06:50 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BchdGFwJZS+KQ1AzVFcRuYo3w0bdVJJ34IfAjb7ldnwUj18hpB1czMAfNAiu9wooSgmiiqq7BPOZW9JyuGIMdYZ6AztKJQpIR7TFHA7PYDoGrwOBoKr515V2s/sU1mbHx8t4nyhQWJfJFioti9Cb1xbe0NPwcM1qUgNoe9s//ocu680IsT0nZuqyYeXgY+3VTxKSg8QYoHH0ykm8/WWO4E0g6DlM9e/BqUWljt7aQ5yV9vBOxKVA2VVoATiKnf3+1J9mNQwasjt9uDCnuTXivZi4xNz4AocVxVoMNYVN3x9TisrSiqgzmMuhqHdXncHar98GNTMzlDDjaAc9CvgFeQ== 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=Wyq/JjLietWNQd4O0gbx/QIX0zIALr17NZMz6mhVzUY=; b=SorwbkuHSvDl1A9UyUfQwvqUn+Ev/dDI4C/t1eHvqrErKt8m/MEwWk+ulAlioJg6/zIllNpfeetUNLpOnN10EncT+gy/+OKyDj3MRNI/7Xiw/hq/Uic7XApk9dLYxk2Pf4GdqgZpZ3KMX2aoioL0Jgn6SGV1QvFkTgM5GoMHsgSlGhlUZR/HXbzgwc/J2gKAKQR0I5gBq2sw78i1HFjU1eEJ1kswJa7pgqs9xeasEQZJYCVpCEV6pJp9ci7H/eQ4CK93pZ8THSO2x06EYCnvWXWgJcX+CkQAU7iMUfRLTzYLDJLFW7+1FSKvCK71N2G2hbVN2zRzqfVz4RJRAjUW9w== 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=Wyq/JjLietWNQd4O0gbx/QIX0zIALr17NZMz6mhVzUY=; b=mivSY1QOgq6LrYmoNnWFV0jKac4zZE/M9e8yg4jDnX4u6YLmGjznxUumMVH4fBkyYZPtsjilGMsRtDonyqoqGw4OVSiz5ppEY5bqGaINwUOkDuUxP4XXJ54e2/hU/ulUY4hypxsxbpNHQ6hGQ+TQZoXl98ASP49DK3nvMZPweb0= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=nxp.com; Received: from AM6PR04MB4966.eurprd04.prod.outlook.com (2603:10a6:20b:2::14) by AS8PR04MB7733.eurprd04.prod.outlook.com (2603:10a6:20b:288::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4129.26; Wed, 19 May 2021 07:06:46 +0000 Received: from AM6PR04MB4966.eurprd04.prod.outlook.com ([fe80::b10a:ad0:a6f5:db9b]) by AM6PR04MB4966.eurprd04.prod.outlook.com ([fe80::b10a:ad0:a6f5:db9b%2]) with mapi id 15.20.4129.033; Wed, 19 May 2021 07:06:46 +0000 From: Dong Aisheng To: linux-pm@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, dongas86@gmail.com, linux-imx@nxp.com, cw00.choi@samsung.com, myungjoo.ham@samsung.com, kyungmin.park@samsung.com, shawnguo@kernel.org, kernel@pengutronix.de, abel.vesa@nxp.com, Dong Aisheng Subject: [PATCH 2/2] devfreq: imx8m-ddrc: de-select DEVFREQ_GOV_SIMPLE_ONDEMAND Date: Wed, 19 May 2021 15:05:45 +0800 Message-Id: <20210519070545.1728197-2-aisheng.dong@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210519070545.1728197-1-aisheng.dong@nxp.com> References: <20210519070545.1728197-1-aisheng.dong@nxp.com> X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: SG2PR02CA0056.apcprd02.prod.outlook.com (2603:1096:4:54::20) To AM6PR04MB4966.eurprd04.prod.outlook.com (2603:10a6:20b:2::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.66) by SG2PR02CA0056.apcprd02.prod.outlook.com (2603:1096:4:54::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4129.25 via Frontend Transport; Wed, 19 May 2021 07:06:42 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 92d9a1b7-4349-4049-d4f2-08d91a94a9f3 X-MS-TrafficTypeDiagnostic: AS8PR04MB7733: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3826; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: TxKWY4XnE+ozr8LDeMDKXAPEFIzTM3e5sk3Pf7j7fNpGNelOzv8eb2+VFkLzHSDRKl5c82gHW/qD2YmuzjftyMLdYbMpf8myzGv+jr3SrcdzUMXHgkn/XfyT10bt0EGleBDAERaV8Rr08cEdcpS3soBGIByH2AS8Uj9V3hgWEsCS/78fJAns/7CpTXISlFkU3N3qHV01KF65PFygVv/o3WP/QqGmWUssG6zhK9x2DeJbsHDP29TmzyEjiNlojJY4D6Raa/xsWCl03vjVhtR/tNLLdWZJpOidc48htVIFUWjsMGSF0/7uoGnMntAm81i4jrTm5YSEK2Rko6WWeQCKXLxiHxTvuNJEK7ZSxbGZDXtiojAbANviGBukCN7XjCXklbnwB1S5FQScvVXOlQhe+nlu+MSEU/7rmX6pHZnNhHxkiCuVlYuFB+S/0fU5Me3YuBOhqfqaZQOi7JbuodeV7qFP9bg93DcAE7Vk3wM8AP/V6hXkLJJ8XacVHgO3AMi0KC8C0rXSIB6j2P/sIoD3wobwFTWZqCyfjxHeuam8Tt3gPki7KOV/6tsGFt5Cv1b8CtFi5f9aMfMWgzyJ+hLXbgKkaUB0hEWPj8APBETwLarb6MQkE01crJ8+zxi3GqtjkxiYNCVTcoQIyt3jbTqVxNRatHRojb0oV6R1fjCAAz7oS3qOvbJiiqcxTIrCYUnVjy8scVqR/67t8O65cFy4Ig== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR04MB4966.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(39860400002)(136003)(346002)(376002)(366004)(478600001)(26005)(2906002)(6512007)(4744005)(36756003)(1076003)(83380400001)(316002)(66476007)(6506007)(52116002)(16526019)(8676002)(66556008)(66946007)(186003)(8936002)(6916009)(6486002)(38350700002)(4326008)(5660300002)(2616005)(956004)(86362001)(38100700002)(69590400013)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: 4RCrK5MVGiDoptJmoJIonbTcRnjyvqAfEruqzrteM7Jsv01mXf+B+JEA2krmB/h3WvFwiDqxJ7eNIwK6UWm5m0c6r2YsGC1h/E7g60gNuDTyJk5sKJmfhS6ccZGf/DTNsGOrFisXFod7mB5Z2/WNyt0IY2BMDp6BvVdBwVU3kKpWdk9SaY+6EY+Vo1Pp6LWsigQbeBmCNGNZcJqCyViSAna0Tn+EmPGCiz45rQGDYaJ+LUiHt71mp1osQXHMWUI1i660Kf6/GY3U0z1FIPLA10ELEMbPn4oJaE8GjCuztDCECb+a6U4lytYpuJreTIpI/qketjbSQgCN8RRCgjkHkyqjPz5fuWGeVJLJ8gbDrQIFgVNAVqyNA/b7+WypTree2hbH69gmWkH47HuPhLrDwo+7/85knsCI1IX6HGR6VHqQ2+wdtJaNnNumYxNTBsV5qWdEYz4tWSAonoQKudcAD8uQwieND1adssqhOKAb7g2iesrw9NbATwO8IYlttVXN7AVLD1TUMgXiP/T5ol32i0VaDJDvBY+L1DqIwzx78JRKzqRO6+dBIdzSn8UUiKVlWYa6I2Hhp+M6v4SYt8jSbsxdCzfKOy6GOyYPwZWhL8sbeMh1A8gRjPb03RqBM7Wrv32+rcrjkJV6A1XPxq4ysiDqRd7zCWlSY/G6/tpuielIckZkeu0RxRf/Nc8Opqv5z6ogP/wVD3V4U1Ocz50GaCNTCMLgqYz7q5eMgTfdC8TjTcDQIG/Y5dYUDVCNwIiCwHrBi/vboAUcJ+Bt42k5SF9tK7pkgXBhVVwc8zCjFLij1UKe1+hNjSRtIh/bZCtBcK7gnmSWVGPbRmC6umez8irriH+byJ9XAVU1a7B6lYnqnjS9C9Dwvhnz85gNB9Ps4nRwbT8TtpN0njuJWsCzHhV2ysB4I5zzbomslEewbOhaeiGeamLa4k2R71Oga9ZmatD9hiu2+XpiTog5heRwgjQrnpeL8JStOEHYflEPTE4VWH4M6ALbpx1tbXG13fSbrdJtsDGPn56uJtaadfhyIy/HWrTUHkHRa8oWF5hdoyko/vWN322D8sypB8dvzv+kM3Cg05L8PzOLSwrKd/jEZs23MEhAfeYK5MouMaKQBw9fHgrTbuvgSiqPpRbDjgPEPOkgUI4kitt1Ds/nHWWyGALsGkArXs23DEIhs/3AHQtoO6/SpQnx97PZoa9vi2/qI/vkjxqBQ5tcmfRKDeUWy9SE1O3UHoIRO3JD6S4tMtSsvCK6VgM5k4CL4yntMfC1No39VddnaeoY5FmCx5l3eNxSiZ3CwKRFSapYCLT3PkQOuGva/fo2zFI9SEHoNKEq X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 92d9a1b7-4349-4049-d4f2-08d91a94a9f3 X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4966.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 May 2021 07:06:46.2194 (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: LUWDCWZzXa7SsKjyPwoqwBhS7r7MStGxcQMqDELLKS7O2Z/Go+3Rr/y7teUt2Ud01vGmyZ3mRbQ9DNCugVtUUA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7733 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210519_000649_306139_198D2EB1 X-CRM114-Status: GOOD ( 10.84 ) 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 The driver can't support simple ondemand governor due to missing .get_dev_status() capability. Cc: Chanwoo Choi Signed-off-by: Dong Aisheng --- drivers/devfreq/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/devfreq/Kconfig b/drivers/devfreq/Kconfig index 20373a893b44..e87d01c0b76a 100644 --- a/drivers/devfreq/Kconfig +++ b/drivers/devfreq/Kconfig @@ -103,7 +103,6 @@ config ARM_IMX8M_DDRC_DEVFREQ tristate "i.MX8M DDRC DEVFREQ Driver" depends on (ARCH_MXC && HAVE_ARM_SMCCC) || \ (COMPILE_TEST && HAVE_ARM_SMCCC) - select DEVFREQ_GOV_SIMPLE_ONDEMAND select DEVFREQ_GOV_USERSPACE help This adds the DEVFREQ driver for the i.MX8M DDR Controller. It allows