From patchwork Fri Mar 15 08:00:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacky Bai X-Patchwork-Id: 10854209 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7E52314DE for ; Fri, 15 Mar 2019 08:00:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 698EC28CEC for ; Fri, 15 Mar 2019 08:00:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5CBAB2A894; Fri, 15 Mar 2019 08:00:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DC77828CEC for ; Fri, 15 Mar 2019 08:00:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728314AbfCOIAx (ORCPT ); Fri, 15 Mar 2019 04:00:53 -0400 Received: from mail-eopbgr130089.outbound.protection.outlook.com ([40.107.13.89]:64846 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727557AbfCOIAx (ORCPT ); Fri, 15 Mar 2019 04:00:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GIMZhJs/P/1fwqOuL5wJ49xIKMT0L01Xt6Pj/Inl3Mw=; b=nAAji9hxjt5DTFjm+eC3PZqiOqHIp6Fc2JsXzozHc3J4bYK9XYEIMvDq40ve8bJAU96DOMyfxBty6i5kgwGKVOjpBNgqRp/AV+7Csg+35xdFNG159SjCmRw9ANNsAXfW5/rHjIzD74CaH21BrjJoBqP3FvsGgTqmrGodmRKZtHM= Received: from VI1PR0402MB3519.eurprd04.prod.outlook.com (52.134.4.24) by VI1PR0402MB3632.eurprd04.prod.outlook.com (52.134.7.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1686.20; Fri, 15 Mar 2019 08:00:49 +0000 Received: from VI1PR0402MB3519.eurprd04.prod.outlook.com ([fe80::78bc:c1e8:3caf:656b]) by VI1PR0402MB3519.eurprd04.prod.outlook.com ([fe80::78bc:c1e8:3caf:656b%6]) with mapi id 15.20.1709.011; Fri, 15 Mar 2019 08:00:49 +0000 From: Jacky Bai To: "dmitry.torokhov@gmail.com" , Aisheng Dong , "festevam@gmail.com" CC: dl-linux-imx , "linux-input@vger.kernel.org" Subject: [PATCH] driver: input: Update the snvs powerkey config dependency Thread-Topic: [PATCH] driver: input: Update the snvs powerkey config dependency Thread-Index: AQHU2wUzfB3l+Y9r9UOVObKzIjRohA== Date: Fri, 15 Mar 2019 08:00:49 +0000 Message-ID: <1552637131-5258-1-git-send-email-ping.bai@nxp.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 1.9.1 x-clientproxiedby: HK0P153CA0022.APCP153.PROD.OUTLOOK.COM (2603:1096:203:18::34) To VI1PR0402MB3519.eurprd04.prod.outlook.com (2603:10a6:803:8::24) authentication-results: spf=none (sender IP is ) smtp.mailfrom=ping.bai@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.71] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b94c4c73-33d8-4865-ca7a-08d6a91c5613 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020);SRVR:VI1PR0402MB3632; x-ms-traffictypediagnostic: VI1PR0402MB3632: x-microsoft-exchange-diagnostics: =?iso-8859-1?q?1=3BVI1PR0402MB3632=3B23=3A?= =?iso-8859-1?q?i1mczIwnNrTtBQ0IGVF74HRrMWtpHJ3CgCAR3cMRu0ilHu/gGyxSDVJ77UKU?= =?iso-8859-1?q?Wkca56HhkA1yajaf6RWcd49zGLwNWe4UcWe5scjEgGKqbPi+l1ZBH1g+iHZ6?= =?iso-8859-1?q?CO6tLNGeztlv7XpzImtWmsHm3sxvbGpg4sTSMw5TdmrCXP6grZMgiXuDOVJc?= =?iso-8859-1?q?M0AYPRuPQ9OaY+C9vl+C923NuxjoK35Qzv9a0PdfJlO/pQQD4K0o7OPOF9Qz?= =?iso-8859-1?q?7jCPIl+67+jUDxug3QeH/uU/4sQU3u0KVguIIcD5cC8Az1Za81IkPcM1mUQf?= =?iso-8859-1?q?oWA4MY8axJ7pU9HZ0+eD3cD8zllld0Cjm0EvDihTRXAsdkexh5BJDwdRRKl2?= =?iso-8859-1?q?uizAbe+xiR5RaFFHQshVYAhRDnun62yTPedM0/yKK0sKLX+af6XDKUlz8vEQ?= =?iso-8859-1?q?bJpTlYTvWtGbGoNPxdDlyuzF4/7vuwiVRzCXoVMpEZIc0GsmISWTQ3VcE/jW?= =?iso-8859-1?q?L8DF/otVXxbWBPWY9eSEiqyzep8EDqKqFvd5v3OdzYEsiTaLVUvLD/dYFe1P?= =?iso-8859-1?q?aF75FVSXvdPMbjGg+9EqFTCIFPbvyCEMHW9ZrVDTsWJmDEHIaoRLsXs/yeow?= =?iso-8859-1?q?qB9z/X+MCTUrHMS/uTb3fgTD5x1+TGEGlKKNCPXp0G02/G/jS4CKVCAMVRTk?= =?iso-8859-1?q?YUpxILAtySCaTelWjFqgnwe+qi2PTzWRmXEFudR/aC0FNITIZ1p2QMbrgWgk?= =?iso-8859-1?q?NDRpDuHQ+SOeruBBzjtmr7zEgh+/TH8XBC9LFpOPkasg9sG1k17BdEL7RSno?= =?iso-8859-1?q?/t29xCCQ02giafRh/CD3keAlOOeMHpTzI4+l8+gW3gnYJb3D3p7CBLzxP2k8?= =?iso-8859-1?q?4wGrhSlSSjpjCZg9dJo1ITZTJZDHsjSjsDFDgzXzTUn/NVvP+YZHReXgQ08f?= =?iso-8859-1?q?wue3kajlhGwZPeDR+hGdc8IEJr5xe//TiZvfToEP92ClEeQDqgLeHhqJyn0p?= =?iso-8859-1?q?MpWwPlrukpfvOukf4zqDfekEQgaSBkNlJsLqa2f1LrpbfERV+5CrSnvrSH2B?= =?iso-8859-1?q?KoLjv/eWeDP9PmcNAunbiVsqTQm+Xhu7q5itTNEF9pFPAa8dlgLb3zGu5nhu?= =?iso-8859-1?q?fIB1Tln2WEqVdajSWmzhUVipfZzOqUGdS6rZg7y5Qi/DXC7MsnBXLXGprVrp?= =?iso-8859-1?q?gmNaeenvRegQ2LufLAaANuOMXVAQ9cBrloUZfNAmEoAiuzeI4JvEWRldpz4m?= =?iso-8859-1?q?+gV/1fNcl0rm7iex?= x-microsoft-antispam-prvs: x-forefront-prvs: 09778E995A x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(136003)(346002)(376002)(366004)(396003)(39860400002)(189003)(199004)(6116002)(71190400001)(97736004)(5660300002)(71200400001)(8936002)(6486002)(3846002)(81166006)(4744005)(81156014)(2906002)(14454004)(8676002)(15650500001)(7736002)(106356001)(105586002)(256004)(6512007)(53936002)(14444005)(50226002)(2501003)(476003)(25786009)(186003)(316002)(4326008)(2616005)(36756003)(305945005)(478600001)(68736007)(26005)(54906003)(86362001)(110136005)(52116002)(6506007)(386003)(66066001)(102836004)(486006)(99286004)(6436002);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR0402MB3632;H:VI1PR0402MB3519.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: uew2mrk28fOy5/c4WStv1bboBcpOKnctjQ9yNDTihBbRfiNqB29ilglg9/8nKkBMH+wecuz9ECpq0Su4eUt+vDS/SD2E8jLJwwIupi68qAAxmvlG0IWBlsN6XkbJB29KBO5G2IETrJZ1qKuHoC/dwz471GNJhULGAkxr4FQ00BsdO/fS1t/YVYZvcG1nuLQCDJ8mvyVLF6L3/bguI7xRfuQ17TLmiaDq/LxuVPTJEnwnAlLyoyFz9qa7x4OUiVuXyvmI2eP9zqCwrSwKWpd/oG7VL9jK8JgS1jOiBjZQAMwgLD9XZNvrjXzAZJcFF53BQ6TE9206GZafl7tLh76fPwe+pIBhOazt1ECgw3TI9m+38ZvyqLlhigl1j1dvw7Xpog9hQvVnBgLmPCnrMY+/QxJ7tv5kr9Fqm2q6vY3dC3w= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b94c4c73-33d8-4865-ca7a-08d6a91c5613 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Mar 2019 08:00:49.6676 (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-Transport-CrossTenantHeadersStamped: VI1PR0402MB3632 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP the SNVS power key is not only used on i.MX6SX and i.MX7D, it is also used by i.MX6UL and NXP's latest ARMv8 based i.MX8M series SOC. So update the config dependency to use ARCH_MXC, and add the COMPILE_TEST too. Signed-off-by: Jacky Bai Reviewed-by: Dong Aisheng --- drivers/input/keyboard/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig index a878351..52d7f55 100644 --- a/drivers/input/keyboard/Kconfig +++ b/drivers/input/keyboard/Kconfig @@ -420,7 +420,7 @@ config KEYBOARD_MPR121 config KEYBOARD_SNVS_PWRKEY tristate "IMX SNVS Power Key Driver" - depends on SOC_IMX6SX || SOC_IMX7D + depends on ARCH_MXC || COMPILE_TEST depends on OF help This is the snvs powerkey driver for the Freescale i.MX application