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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 56D68C4332F for ; Thu, 16 Dec 2021 23:56:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230196AbhLPX4n (ORCPT ); Thu, 16 Dec 2021 18:56:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229962AbhLPX4l (ORCPT ); Thu, 16 Dec 2021 18:56:41 -0500 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE496C061746 for ; Thu, 16 Dec 2021 15:56:41 -0800 (PST) Received: by mail-pj1-x1034.google.com with SMTP id a11-20020a17090a854b00b001b11aae38d6so948066pjw.2 for ; Thu, 16 Dec 2021 15:56:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=qfdGylNHpttDgBez5cht2DYfHPgx7qkn9YTiTcn4MeA=; b=abXnDM0+Uarpvz+2qnOD4yB3sfoc2cik1tzmBSbkJYrdEHdoEhqpAXLoAS+9HMLcGa 3nwOlFn69pJOP1F7l5xWzHlQaN/tYci4mLiaKu45q3SFyT2SQvvYul2hVmYYjQBWojsQ 768KcnF9jVpNTVw1YzyW0uEs6aJ+TgnGqZGRM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=qfdGylNHpttDgBez5cht2DYfHPgx7qkn9YTiTcn4MeA=; b=q8TE4Z5KUxYH9a56xDR4MGqKEQT7p3l/qcWZfQBP8W8TpHZuy9oBrVvJ3JlVK6XW8R 4qUAD1AjgdMNlVhMEQNCiRK4LmFua2SX550Iq2GqsZn5dQO9Kde+9y0VkeLDFiIhz9SV EKEF6HsK3LtVML/UQkIrQxxNbz9jzfyhUMhTNh017UuZpuymJgX9xK/B/hVy5emcNVth M+vlMuYI4BTSWoV1kMu+nsDKh0l/K0ueixuibNvBegb6MUIi9BRMCPcC9abZtf7JqXAK OHiKXIS2qbZ4r+x5cGuXqxEBCpdA3QDkXm/CFapSbuhRGnbRFRAHS9ZSrR0jr1UkhB+f /QFA== X-Gm-Message-State: AOAM533PCPx8fWCNqYXu/PlIVlN9yH6rfDFIUTPOnLEDC7CH772bbgMq C6GJF2k2uP5C+AFRT6Vxd7QEvA== X-Google-Smtp-Source: ABdhPJycBoVkGQxMMxjDLxo2CE2YaaUcyispOtyAWCRkHr/tOr5hKfzUcxNzZmkHqoL/YQrFdchIhg== X-Received: by 2002:a17:90a:c986:: with SMTP id w6mr8898697pjt.27.1639699001289; Thu, 16 Dec 2021 15:56:41 -0800 (PST) Received: from localhost ([2620:15c:202:201:81:c257:d961:22b7]) by smtp.gmail.com with UTF8SMTPSA id t67sm7212453pfd.24.2021.12.16.15.56.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Dec 2021 15:56:40 -0800 (PST) Date: Thu, 16 Dec 2021 15:56:38 -0800 From: Matthias Kaehlcke To: Greg Kroah-Hartman , Alan Stern , Rob Herring , Frank Rowand , Mathias Nyman , Felipe Balbi Cc: linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Stephen Boyd , Peter Chen , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, Douglas Anderson , Roger Quadros , Michal Simek , Ravi Chandra Sadineni , Bastien Nocera , Andrew Lunn , Aswath Govindraju , Dmitry Osipenko , Gregory Clement , Krzysztof Kozlowski , Lukas Bulwahn , Pawel Laszczak , Sebastian Hesselbarth , Tony Lindgren , linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linux-samsung-soc@vger.kernel.org Subject: Re: [PATCH v17 7/7] usb: Specify dependencies on USB_XHCI_PLATFORM with 'depends on' Message-ID: References: <20211116200739.924401-1-mka@chromium.org> <20211116120642.v17.7.If248f05613bbb06a44eb0b0909be5d97218f417b@changeid> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20211116120642.v17.7.If248f05613bbb06a44eb0b0909be5d97218f417b@changeid> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 16, 2021 at 12:07:39PM -0800, Matthias Kaehlcke wrote: > Some USB controller drivers that depend on the xhci-plat driver > specify this dependency using 'select' in Kconfig. This is not > recommended for symbols that have other dependencies as it may > lead to invalid configurations. Use 'depends on' to specify the > dependency instead of 'select'. > > For dwc3 specify the dependency on USB_XHCI_PLATFORM in > USB_DWC3_HOST and USB_DWC3_DUAL_ROLE. Also adjust the > dependencies of USB_DWC3_CORE to make sure that at least one > of USB_DWC3_HOST, USB_DWC3_GADGET or USB_DWC3_DUAL_ROLE can be > selected. > > Signed-off-by: Matthias Kaehlcke > Reviewed-by: Roger Quadros > Reviewed-by: Douglas Anderson Note: This patch has been removed from the onboard_usb_hub series, together with "ARM: configs: Explicitly enable USB_XHCI_PLATFORM where needed" and "arm64: defconfig: Explicitly enable USB_XHCI_PLATFORM". These patches aren't any longer needed for the series. If maintainers think they are useful independently from the series please pick them or let me know what needs to be changed to get them landed.