Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2911335iog; Mon, 27 Jun 2022 05:36:13 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sa0ozywWnFf+fNLWa3ROArAGUHWPIV+WVaQBMNPo6ybUK5fGl0G43JTL7EXMhkNQNpqhvQ X-Received: by 2002:a17:902:efc3:b0:16a:2a8d:3689 with SMTP id ja3-20020a170902efc300b0016a2a8d3689mr14261004plb.152.1656333373197; Mon, 27 Jun 2022 05:36:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656333373; cv=none; d=google.com; s=arc-20160816; b=gr80gNkprAAe0GGOiC781jb168dAC4GTSUW2SavuwtxUpyt3/e2wvY/QHyG7nDoej3 riAjzaVa4hiXTmGADdRq922gR/sRgsgEH/MDDZSaPukP4EPStM497ajrByvASmyC3f+d iKGRhOhT18NzIA77f/cTmNElEYevb7IfeN4liJ1oIQgZunvV+BIwWQ79fW56tfoSl/at Il0+GPHfN5XypmatIFwyOH+JeFFtXNj4dNLN9mkAumjb/5Yunl1YhXUxtKO+41yqhB08 SdxNED8OihR4q719/jYHFBV1+xqYBCYHnaIc3yTs84LxC+BWBFVTVg24bnt6FlULuCT3 iZhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=188VvDq1B6vx6sWxx4ceVbynV0wzhkvfQ94tlUBCWVo=; b=fAgRJo+pMVq+13KjSl9yKK/dmlv+n9bETDFmS1jt9i4FqiaT/CQQKLYPzedJNavsjN sz72wWPByco74V/8my2xFhQF6nD8xXPoJCmbJoGqpQVNdMqMjqLkeXdk3wzWwOHpZv9z HwLTC2L8Q0aJv6G7ZTB5O9lU2Ll2eVunSg5fVIMw+Td3OPtuHKJnKMhtZ/FhcKjKSdFT P3Lb93V0Ry3ugpBRPPzqZ2awWiwVRbsEfYxS0j3DRnoT+0z+k9DyA03gFxwzU2hUYovB aK8w9qoMQ296vmXSvu4hANNhFwBT8YtLmOGcVjsmOyJvX/G7ribBy+QhgQmOW/jgj+jM AsPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=JWWBEC6U; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b9-20020a170903228900b0016184b32d35si8219819plh.174.2022.06.27.05.35.59; Mon, 27 Jun 2022 05:36:13 -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=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=JWWBEC6U; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235828AbiF0MWP (ORCPT + 99 others); Mon, 27 Jun 2022 08:22:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233276AbiF0MWN (ORCPT ); Mon, 27 Jun 2022 08:22:13 -0400 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25298BC22 for ; Mon, 27 Jun 2022 05:22:12 -0700 (PDT) Received: by mail-wr1-x434.google.com with SMTP id e28so7638332wra.0 for ; Mon, 27 Jun 2022 05:22:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:organization:in-reply-to :content-transfer-encoding; bh=188VvDq1B6vx6sWxx4ceVbynV0wzhkvfQ94tlUBCWVo=; b=JWWBEC6UjGz31es5Orpifs2fmId+2PFWHpYPGqcUyEflB+3uOZHze9pg4t/TL3Ai4z ZxifaLGz+qaUA8iBaWRvlQptrX59LYqMUl2hPdenEnARk5NKOxdKJFI1EpG8xFJQT3Am dBOxj37Hgb2Z0Wl1inYBLUDvKEs6EkWHd5cXkO3PsfcieGjlEvL1LHOjIhwT3v7Ln9XA cr4qTjqks7uaMc6Val0kFxsl6S61zUT0dNK3b/zCs/yL+9IHVYJIBv9E+o+yegpTtC0b Cw13uLX61yOXRAVMIOnGgak/Vz7p4DI660bTgKvRQBtftZMc0zQhFng+eEI7CXYFA/cr aysA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:organization:in-reply-to :content-transfer-encoding; bh=188VvDq1B6vx6sWxx4ceVbynV0wzhkvfQ94tlUBCWVo=; b=675pXA/F7/HaXy89DKdZO4IvSFt3m3dyeQvgXzqgmd8r7V2Nt1M5Bp/j1f00EYpGfp RsU+k7Fo2yeNiZk9vVVel38v0olKw2WsdULkTQcfhZD4jhhRTKVf7ZGrCxq5UqlZMzGb txwiCsoo4MqF7HYTTIxj/p6M9XE6EkPCMnaAyXI3Det8araJHvLUq+SzZAqib2rOT9l1 fsVjYWWy6Q4RvHFkGTXacHwx8d6JfFbrntv+ymq6r5wdjMhDG43NwmKIQZ60MSmW9PVl U+kDqE/l6irOtvG8qpbYNyKRZAaRZas2ycBJOtMdQhbLIX0xtdIL7oV+Nj5eFiN/l5XK BK3g== X-Gm-Message-State: AJIora/mBt6X5l9zgp3VTNubBcC+TtaMM9dj5fEGNVCBpXY2h3OdwWcF KffZNui2RAscq+SLNQn44FC2OA== X-Received: by 2002:a05:6000:1147:b0:21b:93db:701a with SMTP id d7-20020a056000114700b0021b93db701amr11721409wrx.447.1656332530591; Mon, 27 Jun 2022 05:22:10 -0700 (PDT) Received: from ?IPV6:2001:861:44c0:66c0:6f56:f3c6:ba4f:bf5c? ([2001:861:44c0:66c0:6f56:f3c6:ba4f:bf5c]) by smtp.gmail.com with ESMTPSA id n17-20020a05600c501100b003975c7058bfsm13143413wmr.12.2022.06.27.05.22.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 Jun 2022 05:22:10 -0700 (PDT) Message-ID: Date: Mon, 27 Jun 2022 14:22:08 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [PATCH v2] drm/bridge: imx: i.MX8 bridge drivers should depend on ARCH_MXC Content-Language: en-US To: Geert Uytterhoeven , Liu Ying , Andrzej Hajda , 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 References: <42c542b53a1c8027b23a045045fbb7b34479913d.1656072500.git.geert+renesas@glider.be> From: Neil Armstrong Organization: Baylibre In-Reply-To: <42c542b53a1c8027b23a045045fbb7b34479913d.1656072500.git.geert+renesas@glider.be> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,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 Hi, On 24/06/2022 14:10, Geert Uytterhoeven wrote: > The various Freescale i.MX8 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. > > 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 > Reviewed-by: Liu Ying > --- > v2: > - s/i.MX8MP/i.MX8/, > - Add Reviewed-by. > --- > 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 I was wondering why those were added in drivers/gpu/drm/bridge/imx since they are specific to NXP SoCs, I think they should be moved in the right drm imx subsystem instead of this change. Neil