From mboxrd@z Thu Jan 1 00:00:00 1970 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=-11.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS 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 E2924C4338F for ; Wed, 18 Aug 2021 10:04:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CAA646108F for ; Wed, 18 Aug 2021 10:04:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234485AbhHRKFJ (ORCPT ); Wed, 18 Aug 2021 06:05:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:40040 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234317AbhHRKE4 (ORCPT ); Wed, 18 Aug 2021 06:04:56 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D16EF6109E; Wed, 18 Aug 2021 10:04:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629281062; bh=R9THNafsQYxOtTzoJp4an+Oz+xi/hoKlYEp8lGHOa5M=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=Wc1JA9Zrijwgh+6GF1RIzHax4WJL7k6gCqk9QbMYKaDx1j4dTTqKf1cIKWthewr2t dNbVyWE9YrWtYlkX1xD4kMI3OLRBjthnA/bie6raPQc+JEUK+tNd6sDWz2BeD0iEu9 lPmSOznBSGhlCIRjT1rrsYl22O001BzQdEWKUE7pe6nG3sq5/Q/yofA0mts3ikrNGy jBH1dQh4CxhvhpoOaSkdcqC1HZ/JGPoxD6Wh+bCRsI6FFUyLadLmtMX625zWhjuC/A xC0gSVJD1nq8j2PpOiaGu4rGqKGzmNhW5E9n9AccpMlKeIzfMBEQ5CedHqTIKP0YDc bAV3HGABBrCGQ== References: User-agent: mu4e 1.6.3; emacs 27.2 From: Felipe Balbi To: Lukas Bulwahn Cc: Manish Narani , Greg Kroah-Hartman , linux-usb@vger.kernel.org, Linux Kernel Mailing List Subject: Re: Dependency of USB_DWC3_XILINX on ARCH_VERSAL Date: Wed, 18 Aug 2021 13:02:19 +0300 In-reply-to: Message-ID: <87pmubf4rh.fsf@kernel.org> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Hi Lukas, Lukas Bulwahn writes: > Commit 84770f028fab ("usb: dwc3: Add driver for Xilinx platforms") > adds the config USB_DWC3_XILINX, which depends on the config > ARCH_VERSAL. However, the config ARCH_VERSAL is not defined in the > current mainline kernel repository. > > Will a definition of ARCH_VERSAL follow eventually (soon?) for > mainline, is there just a further out-of-tree development for which > the dependency is useful or is this just a mistake and can be > corrected? IMHO, we should have COMPILE_TEST added. Something like this: modified drivers/usb/dwc3/Kconfig @@ -151,7 +151,7 @@ config USB_DWC3_IMX8MP config USB_DWC3_XILINX tristate "Xilinx Platforms" - depends on (ARCH_ZYNQMP || ARCH_VERSAL) && OF + depends on (ARCH_ZYNQMP || ARCH_VERSAL || COMPILE_TEST) && OF default USB_DWC3 help Support Xilinx SoCs with DesignWare Core USB3 IP. Care to test, please -- balbi