From patchwork Fri May 21 03:16:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aisheng Dong X-Patchwork-Id: 12271807 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 28102C433B4 for ; Fri, 21 May 2021 03:19:49 +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 9D5726135B for ; Fri, 21 May 2021 03:19:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9D5726135B 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=D1mkdPrWLxM0NspViWZVylkjpjGhuoSbpxI7kQ0H/eE=; b=JPpdBC0CYXYabKbo7I5HTXHa69 re8WW4DfUFHE9w/cDpw6xKt49MYq+RfWUE76zcPscKESM7KlMXjGqS3pWSxiRFdo/IbuocIeTuaYu r4X2H9LhqBY4UvxDCwBkt5w3+LgsAItpLSd2WBxrWJxmefRGQewBWfVYWCghEO1AYv+/mhagv6qQ6 1AFDWu1CvjQXYu/sxMcqBFYqr4/J02uGdl8965n6MyW93+k7gGQr/NQh8P7xWNbna2et7cZxItPJx bJVZ61PTIYFOrjc/d4x5O0NFy6+RQbLske/toAKlWImnO/zqTS6Cp4M84BnvuANs0U4UGizSqK4aJ pGvcGktw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljvfZ-003dm5-MQ; Fri, 21 May 2021 03:17:49 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljvfW-003dln-DF for linux-arm-kernel@desiato.infradead.org; Fri, 21 May 2021 03:17:47 +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=m6PkU3KrosVopXVSVsRTeRean6LYvuhj6rn976TSf8Y=; b=r5kCtG9yGpuFqlr3PX2zoNtKv/ Q4RO0fN66e2PgjMfysZCWzkEqAsa1KrQA9fx+7oOakyw9tD1JFmEo5GljqjRiMn0PojAPK3lokWst B51z6b/W+OHN97dN2NLXdDdJAkl/ucWcGJaffiDydwEJBu94GMq/zDwU6esrfQWwrRJ//HWEnmfey zq2PulkEaRnTfYwG14FWB+sLvTgtBw2564iFg7nPI4nfOLSfCuBYwPH+Gy9HeyZFJEak+12pp9ptK qubesq8f+X7zdLO/mMNF56/Ffz18EcPiyIEt9dhOtjAMprNLBwLYCITHSdCoqbOqtn4d/9JnQaoyG WFrSHVrQ==; Received: from mail-eopbgr10075.outbound.protection.outlook.com ([40.107.1.75] helo=EUR02-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1ljvfT-00GnES-QQ for linux-arm-kernel@lists.infradead.org; Fri, 21 May 2021 03:17:45 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TbpzXf5LJ72YJCN38okICoSCcytMguVAKpdSbguEmmkAEGUSTCWh0iUBEEqaRKsMjjyV/iHlnrdqODuxKi6wwWvl0X2kwauA88SfQJyiupJ9jWl4w5utHTkl64gyYmm2JoDz8hx/PsmwZ07JmvBr3GBgvCCWkAaOI7Vqm6H7Z2lmDdeL8KvIQePrglXGynNtNQeyfEiHBMsp3TiODO4dSipR+vGZhNRWdGJiKJM+yNWXNPyfWlqt2tOXl6OWOkxFSRu8Ah/NaF/hv8/l/qUNIYzLJXJ83TXqIMMj2PZC5faN/mAQVH06IeAAk74RcpcPkuh7Qp4TfkL7YYdbpoXHcQ== 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=m6PkU3KrosVopXVSVsRTeRean6LYvuhj6rn976TSf8Y=; b=h4p4f28AWOhW2suZgQ0BFPpn8pYZTUfDtdJl0B9l+Su5HyW9z6TQKr5xZJCVI02mkNA4Rk76DDIaKRPF0DlgwdVS9nqQVz1a1yum69Ywj+nbv8RHDD1TN/avn8K8f+kdsUmJtPcYKHrTs10qPzfwwdrMc/44MWnHlOZyBNdffHlDNIqzNwjE41AXMaavrj3o1k1vMfepdbMu8o7kmoEQu8jIfIp7nrqHvBEP8/fuFnj+pbopnXL1WerP2TdeBBTOqaqFLgCPl2CUfWXwtmhrUf8kiOnZ36T4YsJiYCHuUBBAvk6qFYjaaa9/ah93sYXvLljs9YlbiiEHMrzpXKA36w== 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=m6PkU3KrosVopXVSVsRTeRean6LYvuhj6rn976TSf8Y=; b=CHqUd0PYhFrmMbSdtWfoqgQ6vJ5+6lmnXTYvG8LRXIGZujgdVOBXpsNfXTa9vTtV2wAbfjlRN2ND9KPdRvW3sSXlXSJRWPVsgFmno25kLRw9rBy+Q3dgnlsNY59Rh4jTWz3aWptBbWGISzfnPpoKtth6w6PwYvdjWR529seOiI8= 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 AM6PR04MB4326.eurprd04.prod.outlook.com (2603:10a6:209:4d::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4129.25; Fri, 21 May 2021 03:17:40 +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.034; Fri, 21 May 2021 03:17:40 +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 V2 1/1] PM / devfreq: imx8m-ddrc: Remove DEVFREQ_GOV_SIMPLE_ONDEMAND dependency Date: Fri, 21 May 2021 11:16:39 +0800 Message-Id: <20210521031639.2767156-1-aisheng.dong@nxp.com> X-Mailer: git-send-email 2.25.1 X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: SG2PR0302CA0022.apcprd03.prod.outlook.com (2603:1096:3:2::32) 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 SG2PR0302CA0022.apcprd03.prod.outlook.com (2603:1096:3:2::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4173.12 via Frontend Transport; Fri, 21 May 2021 03:17:36 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c201c7b3-6a87-483b-f89d-08d91c06fd65 X-MS-TrafficTypeDiagnostic: AM6PR04MB4326: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:331; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6v+p+QNO/pSzYSh6fBL8BYqURNnXEvm78SFjaQ24/2DFj2AwBqePIiOSw1OotjlHTi6zWJpxR1+WYkXIokMm/f32cRNPXrfOQbxKrRVNaIjFUN0YGDVpXVZ+hRiTbPK2bQK449Hy4MHboq+jinJRZ25GS7r0X3nt/B4EVo+H10l1mRE0RsLNmWv8WEshMh2FKqT8mCGVSqYjZihsuIPMWgPH9gT5XKLkS6SUqdEE5BV5ASstSpR5GE/I2GJU8Az6a9oZiHy1D51Bxbu9W7uNNUqWA/iuj0CWbyHbTtIw1I9g4QF4cICFpjKq1DHWTbT228FVl/TwkSPmACz/NSKZvbpayYIPWLrfnx6xNhtxnA/lbeyRxpLWmoTdM2E29RZBI+RUWoERXITw2uvOmH8CxoJ7gZiztVovUOjdUAKcTdY5/Wo+onpkiMT8xVRJQZgdWleGzF2QlWtAAe1umFD312LRfO8VRSV5/AwxP/soychlHrQoAOA/Mpss3XZ5H9ceg8Jmp2S8e1aIFGvUiCGNcLOZx19+7nFQVZxK0CyDl5v699ypVnEWNxrJTcUbALHwpc0SgW5Rxiq7d/10g74qHsKg2XOso256AXooerbyBR4e2R3do4cv0uRdKSxYEuC8xNYphRGi/SGtoNb/gCxt3SADjQzTkT/vrUmjZ7sJi8yiLfBzSXGhYIwkb2KvW7ogLl6ugwQsBFSt6zECKWj49w== 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)(136003)(366004)(396003)(39860400002)(376002)(346002)(66556008)(8936002)(66946007)(478600001)(86362001)(52116002)(6916009)(83380400001)(36756003)(4326008)(66476007)(8676002)(38350700002)(26005)(2616005)(4744005)(2906002)(956004)(6486002)(16526019)(1076003)(186003)(5660300002)(6506007)(316002)(6512007)(38100700002)(69590400013)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: Qk8g/xfVbgZR18E3UfoCdNrES6oDk8j7UplZdPBeWgXFXWNae3y/iguoupHpVE3anJVGvTa8Lf11Yq4s1yifqiw0OZQug5ItEFReRR/puKMbqDfkHQ23fFf0Hm5LqewvF1Ocf1Vool3oaFJSKzVaIZFagSM1ZAi0fLTinK/n/kHyVtjWCqUtp5koA5ZB+rRZp6OyfLa2iTZpeBXhwowc0rTTuVPBGI4YRbkfdB6YAkYWZXLELHiUQfvp6BeR9Q0ZpyYCewuHjNieJTP9jGV9yX5yUoIbli3dTEAp/3076tZOssU8GLRw2eF6ORURPtDyUrQWEFmcReWP5sGclm7Ow0U3Ps7O0eN1HdgNgIPKKuO2hPrO7l3lsBJaJxgE4f3xqgmljwxqdWiZyI5MmyHkFGSbSQzwDl4869ucItYgD3zRiFOC6D8jLdEEcIi0zTEzJTwM14O0GaeYGEghKetH74T3MMiZ6RzxSfUz+pZHHdgLApO5uSXkVnLD/IOF2WiJ/1CKjBYJRfNQ5v3nQYF2pXY+TIgrZpKlQRvm0AfzMoA0MGEEISaQluteU2Nhu7WpmACvUwJv9qDfaoL80QPmjY4Ymwi8g5wBLA45+zaPaxWcr3axaee0oXgqo0Y8HFE/qr+n9p4WcqBTgxMJbjqzN65TrGXvAQHY/GIuseTZEhEReJiD9AtaEY6CCOR57PqHmoGJ/z7p//oaoFEFIgAFOHc0udd35dCGoki6o6B1PAfdcE7qvJuQSm+aJ7mw5VEG/V0TgCnuNqkCQJkJqPZVDC91DbQO6ycv4HIUM20FJFcTMrwNqyS861n+ZmUNMWCwO2upopTgFlIOY8/YsvYOSOwdBfTRaCv1pT381i+twbkauBVt49dH71ZrjrAyfyLmEVfcsiDD3RgGrCeq3wOPvSZDuP5sIDbL/FZgrpJFEq3nrEMJobprPDpBG4SGihxNcplpGQuXAiZQPE/z5kygSAZE21kNoffs2fPC0FdmTybgBeIELkNRiQrKNGk7EXkt7T/2nqbdceJ+k2TzfRpYVTojPmN7DXDF08T6zKgPcoMBJwF3U2EUDTEym2I2+M+oFdEMizIzmh1q189gs4Z2+LH3q5MwgAlby8sbh+6/JU2l36ayez+bB7OORD5t+jPAVsor6dR23do7LlIjRP3/2JX+djOcvXOQktDH9xiUyO3wxglITJsVCGc+1sNHJT8Xq3jckn/iMd3xpyKRe/aQt7a+5tE1uTJo2/JnH0LcIQgffRRvrfp37uzwiTd6q58v3en6IOTcpS+oLCgawGUvynTBlSQrsM4oeL2VaFwG9ZBWEcMj7NShbcMB8tfOOF4K X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c201c7b3-6a87-483b-f89d-08d91c06fd65 X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4966.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 May 2021 03:17:39.9324 (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: KnkiEhX+5w/jG96uN6v8Uge+DjCvVH0UfrEUe5dVFOVBuMBpfgMGS/HulmgV/mRwwDkx0KA8ybdiIIALBF8YXA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB4326 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210520_201743_878029_1F0FB060 X-CRM114-Status: GOOD ( 10.72 ) 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 --- ChangeLog: v1->v2: * update commit title --- 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