Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D8084C433EF for ; Wed, 15 Dec 2021 10:25:30 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id DDFAA10E475; Wed, 15 Dec 2021 10:25:29 +0000 (UTC) Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0964710E475 for ; Wed, 15 Dec 2021 10:25:29 +0000 (UTC) Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 5CDF0292; Wed, 15 Dec 2021 11:25:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1639563927; bh=eSOvjdqAMMNapBW2a0BqxXK9VzoqIG8XnhpsscQbhAM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BjY204hilxOq2mpVtL1BoYOesgmRjz06vcw7UEl8ggQWsmFhyokmje6N++FB6rHLr khEeSlwO0xckUlZjeAHi8KBPwy1DdCx/0La41OrdvfR6rAfEurKEwJ/gtHQ9cQC6Xi DbrmBdVOLzzfJhauDb3Zei6BtiWgUji3S0ddSB+g= Date: Wed, 15 Dec 2021 12:25:25 +0200 From: Laurent Pinchart To: Geert Uytterhoeven Subject: Re: [PATCH 3/3] drm: rcar-du: DRM_RCAR_MIPI_DSI should depend on ARCH_RENESAS Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Arnd Bergmann , David Airlie , Koji Matsuoka , dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, Kieran Bingham , Ulrich Hecht , LUU HOAI Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Geert, Thank you for the patch. On Wed, Dec 15, 2021 at 10:27:47AM +0100, Geert Uytterhoeven wrote: > The Renesas R-Car Display Unit embedded MIPI DSI encoder is only present > on Renesas R-Car V3U SoCs. Hence add a dependency on ARCH_RENESAS, to > prevent asking the user about this driver when configuring a kernel > without Renesas SoC support. > > Fixes: 155358310f013c23 ("drm: rcar-du: Add R-Car DSI driver") > Signed-off-by: Geert Uytterhoeven > --- > drivers/gpu/drm/rcar-du/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/rcar-du/Kconfig b/drivers/gpu/drm/rcar-du/Kconfig > index a7aa556e301d1087..2f4f6ac5fd4e66b1 100644 > --- a/drivers/gpu/drm/rcar-du/Kconfig > +++ b/drivers/gpu/drm/rcar-du/Kconfig > @@ -48,6 +48,7 @@ config DRM_RCAR_LVDS > config DRM_RCAR_MIPI_DSI > tristate "R-Car DU MIPI DSI Encoder Support" > depends on DRM && DRM_BRIDGE && OF > + depends on ARCH_RENESAS || COMPILE_TEST Same as for 1/3, let's move this entry first. I can handle this when applying the patches, I'll take 1/3 and 3/3 in my tree already. Reviewed-by: Laurent Pinchart > select DRM_MIPI_DSI > help > Enable support for the R-Car Display Unit embedded MIPI DSI encoders. -- Regards, Laurent Pinchart