Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3944435iog; Tue, 21 Jun 2022 08:54:43 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vVYQntxleqKMq3wBy0b9qvvcT+07Jo4QQFe6Sq3dXb+aXu7ssmWenAIpHxsYbKeixb+5od X-Received: by 2002:a17:907:6287:b0:6e1:6ac:c769 with SMTP id nd7-20020a170907628700b006e106acc769mr26524579ejc.388.1655826883700; Tue, 21 Jun 2022 08:54:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1655826883; cv=pass; d=google.com; s=arc-20160816; b=0RPyUyzzhzNiXID674r3+d2IQU6HPM8+QEvE8ptrhOsJXqOxa6HTVWoiL4hVZFd5Yx iDCmFEG1PaEhH7f9brp7Fm4HSJB1Y+ZimDk7gxLgLTgCq1HgjN79YQUcjXTIWcr1y7LB NlB8c4X0zutuO1IiOD02Jpn0K42q7PB0Aw4qkPEM6L61zUuoxdKjMjZO2Wf9WazHaiI6 jplQIr4A1L/uJITcjkXEDlK6yhUZWT5usMnN+bxRlUlOOE5uOOyOm/vcz5BRheSfTgXc fTizi6S0VIXJCLLfvtphcEe/80VI4fTn/yOAn4nYJRvsHKKZQwn5DxsbNaKzR72PjYBG nXhQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=gljavoVvE3n64SrouUkr1Y+2pC912lEs+myUeDiOXiA=; b=A+oYUXuNlhm9sx9sPP002sjx3ckZKaWDRAFuoLausC4w5cpQJOZStq+bS8ovTdkaZR mAJfmOEe8zk0tPp6RszN7aNJAxJAfvuU4RJRB7SgwYCsZltPBkaiE5x9+dnzUrBS6DQb ts0FyEXCCNadpmRHu+f70Icn7Uk/v91msPR+67f/bUxQbqtcCJjIwEGXftATeOv1mwlt MBvp/BcARjepotlT7cefyMJkA2b8cpqqibZxeJww+59QiNaBJoh3p/Md4GDYYWpwkT8N X4aCKzj0HbsUDAYNL5wusmHwxPsR6FZ770AzmNY4m+8V7ZqvkWeo41FL9AIo/NoOFH9M M11g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=p4wMGI85; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k14-20020aa7c04e000000b00435980296cesi1973721edo.570.2022.06.21.08.54.11; Tue, 21 Jun 2022 08:54:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=p4wMGI85; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352549AbiFUPrj (ORCPT + 99 others); Tue, 21 Jun 2022 11:47:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353141AbiFUPri (ORCPT ); Tue, 21 Jun 2022 11:47:38 -0400 Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30057.outbound.protection.outlook.com [40.107.3.57]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FB402CDE8 for ; Tue, 21 Jun 2022 08:47:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bdhvIIHiNHKBMLMv/4RTgwZPl0qtFT1WH8FTY2PzfiViiymF/EKg20FzJokVC7Um9sTVJKygjipxerARjh1lV+PEMhnuHSP2aScLEbCf9mcRbSKkWtlDkGQQPWkfbEka271Faw4oqtAOOfsna5zCGA4UC/FN4gyw2jjX+b5x3khRBdkIT3FCGaceIPUatJBfi2m6mDvfqwcchInN/G8G4iCZGQqD/VpYVb+kfhb0oUPRQC/ILpswy02FqTY6nM9pF8BALSO4i1vEigyAr4HNOlJScfBlg3xlLXGd3hdwU8yS34ir3no7P1sVQZaRve5VFveUhrM/toCgjU4/9tD5jQ== 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=gljavoVvE3n64SrouUkr1Y+2pC912lEs+myUeDiOXiA=; b=gvZhgkYkZe3+pAcjv8lW0CGAEiOmBvQnA6gDjjCXdMqWdcZc7Ew4PfjE2omcuKbOLRd9Deunff0H72kNCOl0KiGWrBdvlhK2uQWN+0SOuUCc5klW/k8PShbgKjBoIwWGSSOTK/DWTp39m6vvwuB3D6MAblJCRsmtQNkWJa3/2x1ScI6pkmar5FACmfVdP6XshZxqdpqaB2BvyX9ZAbgWxOJO+MTt4YFDWxl38l1Jx6bdRhBFlBkoGoe0jo/TJFVfcIMiHw9qwO4QAzUmRrnhZ35r0MTuoBNmR2XMaOT4xOiwm/i9wAhwcf+DKm/HQrcnEWiBzF/ZFAtMk6hTmIZKsA== 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=gljavoVvE3n64SrouUkr1Y+2pC912lEs+myUeDiOXiA=; b=p4wMGI85SAsrn0JYyUbpJApuT2D/5/u2QtYF2Y59B1+VL4kkd1o8QnlVk9WyOZpCdwPrEBDoGVvtBGkxTFou6r0i4UcCIzEoGC9oDaqZYqhy9cUeGXPa/dSyGhFZf0ZpHC1ol+SrG7nVALrD2tEQgf1dREYo18dpn4ETAMMn9SE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) by DB7PR04MB4906.eurprd04.prod.outlook.com (2603:10a6:10:21::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.22; Tue, 21 Jun 2022 15:47:27 +0000 Received: from AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::3c82:f63b:711a:502]) by AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::3c82:f63b:711a:502%6]) with mapi id 15.20.5353.022; Tue, 21 Jun 2022 15:47:27 +0000 Message-ID: <88f11e5c4704bd8510c2c6a171536484a2232f82.camel@nxp.com> Subject: Re: [PATCH] drm/bridge: imx: i.MX8 bridge drivers should depend on ARCH_MXC From: Liu Ying To: Geert Uytterhoeven , Andrzej Hajda , Neil Armstrong , Robert Foss , David Airlie , Daniel Vetter , Shawn Guo , Sascha Hauer , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Sakari Ailus , Marek Vasut Cc: dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Date: Tue, 21 Jun 2022 23:47:16 +0800 In-Reply-To: <43645c9b5cd657664c1340d40133f2116c8cef43.1655818025.git.geert+renesas@glider.be> References: <43645c9b5cd657664c1340d40133f2116c8cef43.1655818025.git.geert+renesas@glider.be> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SG2PR02CA0046.apcprd02.prod.outlook.com (2603:1096:3:18::34) To AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7fc050d4-e736-46bf-a914-08da539d57ce X-MS-TrafficTypeDiagnostic: DB7PR04MB4906:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: y8oo4hQ3X0IllcrguF3vqIR5AaODNM0CCUP12J0V+PqObXWhyqi5FCzcURapiaRca0hLVgRXnBIOZOsDhAjP5EgD7m7HASIt0h1vmMYNuROT+Fs3oJ/mEV35KXH9LYEiocvDfknQ248B40oFDmsAYr2HwY3mQ+Rhl/lV+J2FqmAT1/lj2p4hEI5lHgFVr4v1SepgSFZRnHvFco6QaogIg07wTwVh3lAYDywsEl6Gjc+zgdj78DVys7W1pn1ubWqRQtzySEcfe0JhqURgY7QXuFDGGxHfdjRBlHPZeVD209xebwPY7YMU54/7XIfRue8yzZXCWJjEQ4OMHNyz/5mpAmQscSxlgYLyo+DIs3UdrpXIt5DJdck1+tHESdg7uRD85SfY6bdL/IaRptKowhOAXbFtbyFxfGEC3yIc0i/3D+ufUZm76pFF/b7X0ScTSjhTi5oCbKnotOCYuAgQ14hREgsPX07mmoqlVHs5qvEolVQFH5jKOtd8ZibfsI+96KomkhgCDHvPVG+AeT1zr1FPKUbJz/Rmp9frgPGHyrbvExhrxNz8Ytee4KEXb67jkTw5+0P483huysWrmA5HpX8lRwFuYzKLr0dXqPXagxln4zeTrJ7b//kwNERwpGoZo2D9+h3A6vnPG1wpIGH8lmFRyi+iQQwk91EvulMCBrR5ognSVxDe8xcNVOtsHq23s2Qp76UZXeL1UheEGdjT7DY3OWimBvU0wSdWsxodLWB0WMwInnbizs772t6M7qWezVMq X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM7PR04MB7046.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(376002)(346002)(366004)(39860400002)(136003)(396003)(8676002)(66946007)(921005)(4326008)(66476007)(316002)(6486002)(478600001)(86362001)(66556008)(186003)(26005)(38100700002)(38350700002)(52116002)(6512007)(41300700001)(6506007)(5660300002)(8936002)(36756003)(7416002)(2616005)(2906002)(110136005)(6666004)(99106002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?d09tMzU2b0hWdEJITjV3RmZSNDRrdEVEdnBlb20zNmJSL0JOQ0FXWVl6Tklj?= =?utf-8?B?azVnWXo3WnRRWGV1WjRXWEtBaTRrUlpjQy9Ia29Obkc1NEdzK1Q0cnhsUDd2?= =?utf-8?B?Yk5kUjEzMU9KNGdWWUMxVVJWY2d0YXVidTJkYkwvc0pTVk5JWTZhM0I5Rytu?= =?utf-8?B?ZVBsaWVHcGpTRkV6NVZjK0ZRMWpjYjA1QlZaNDh2YXh3MThGT0dNbVJJNmNQ?= =?utf-8?B?TUR0NVBGUERVSEFTcjl1dDBoMDRUU3U2SCs4bGZRV2tucGtra2ZXbHpBcmpW?= =?utf-8?B?MkJUeFJHQjFTYjY5RjRrTStCaE1aVzlxU3RPWjVheDErdno0NGc4aU51a1Fy?= =?utf-8?B?enlBOFFtOG8wby9tSzNCWjg3V1lQS2RFbzhFVXNVa0pSeVFVSVRpeU1PRzdG?= =?utf-8?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vQTJIVzIrS0liaEVXT0F4?= =?utf-8?B?QzNwQUxzTmkyYXZ3OHhKeVYrNitKSmcvUmMvYTRzaDJRUG96VUhKL2MxeTR6?= =?utf-8?B?SkliT1JGTExESXJEcDR2Vm1ocnZqaU8wMDVTcElHZkNydHVUTHQ1UT09?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7fc050d4-e736-46bf-a914-08da539d57ce X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jun 2022 15:47:27.6978 (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: OQVIhC2LYwfZpyAnk/GKY+PDA8iywH1R0j9LArkv1VtWUh59A31D5c2E3p12UNHlwDdQ3VHBGg4Yuiy80Th41A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4906 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2022-06-21 at 15:30 +0200, Geert Uytterhoeven wrote: > The various Freescale i.MX8MP display bridges are only present on > Freescale i.MX8 SoCs. Hence add a dependency on ARCH_MXC, to prevent > asking the user about these drivers when configuring a kernel without > i.MX SoC support. s/i.MX8MP/i.MX8/ For now, only i.MX8qm and i.MX8qxp display bridge drivers are in bridge/imx directory, no i.MX8MP display bridge driver. With this fixed: Reviewed-by: Liu Ying > > Fixes: e60c4354840b2fe8 ("drm/bridge: imx: Add LDB support for > i.MX8qm") > Fixes: 3818715f62b42b5c ("drm/bridge: imx: Add LDB support for > i.MX8qxp") > Fixes: 96988a526c97cfbe ("drm/bridge: imx: Add i.MX8qxp pixel link to > DPI support") > Fixes: 1ec17c26bc06289d ("drm/bridge: imx: Add i.MX8qm/qxp display > pixel link support") > Fixes: 93e163a9e0392aca ("drm/bridge: imx: Add i.MX8qm/qxp pixel > combiner support") > Signed-off-by: Geert Uytterhoeven > --- > Probably the remaining i.MX bridge drivers in > drivers/gpu/drm/bridge/Kconfig (e.g. DRM_FSL_LDB) should be moved > here, > too? DRM_FSL_LDB is for i.MX8MP LVDS Display Bridge(LDB). Here is a kinda appropriate directory for that driver I think, though the filename fsl-ldb.c is perhaps a bit too generic(we have imx8qm-ldb- driver.c and imx8qxp-ldb-driver.c). No other bridge drivers can be moved here, AFAICS. Thanks, Liu Ying > --- > drivers/gpu/drm/bridge/imx/Kconfig | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/drivers/gpu/drm/bridge/imx/Kconfig > b/drivers/gpu/drm/bridge/imx/Kconfig > index 212a7b0e64fd8b5a..608f47f41bcd1c81 100644 > --- a/drivers/gpu/drm/bridge/imx/Kconfig > +++ b/drivers/gpu/drm/bridge/imx/Kconfig > @@ -1,3 +1,5 @@ > +if ARCH_MXC || COMPILE_TEST > + > config DRM_IMX8QM_LDB > tristate "Freescale i.MX8QM LVDS display bridge" > depends on OF > @@ -41,3 +43,5 @@ config DRM_IMX8QXP_PIXEL_LINK_TO_DPI > help > Choose this to enable pixel link to display pixel > interface(PXL2DPI) > found in Freescale i.MX8qxp processor. > + > +endif # ARCH_MXC || COMPILE_TEST