Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4494245rwb; Mon, 21 Nov 2022 08:13:24 -0800 (PST) X-Google-Smtp-Source: AA0mqf7ibydChNEqQaw72YE2pwYuFhrKRFOSiQsCeqSO0BSWAfQmN51Zokvn+J5V42CrHhG7ExRK X-Received: by 2002:a17:906:3fce:b0:7ad:bb54:75d3 with SMTP id k14-20020a1709063fce00b007adbb5475d3mr15909668ejj.484.1669047203785; Mon, 21 Nov 2022 08:13:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669047203; cv=none; d=google.com; s=arc-20160816; b=0tuorsnM5x+RMrivJy4OJM5RSnIYOBWJQCmKw1l+bayj6u9EudxCY9yZk7uQrfrNAt /dkD0XDgJPlqLwKimys2urcjMWAQOG/qwvzw2sJOyo0AyMGulgGH4/I4QNo4/0FznNue pG7lMDpSeAG6HwBlpgjR4qJnoNjoikwVb0xmAd1YfIxrvzdbqis8RuWN+LrlOpmZrbhY +en9Z6oiBblxbIdbjnh40c7h9BqonLN0IhIsycpzQ6VZDuFhfhIpzKK878VBjjjPWmnt UyQW8L8LaqBZxmGav3TQf8Y4KR2aR4q29XRP7GU4Zhh5i4ny7IO19OjTk9bQ6NM3O2uh Idrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=GuCiDQaKNuxkYP5SIMCJ55CJ6HfQ7OPr6HRDVBQmy0A=; b=bDsRe0IXPcabk5qsNRAun4bsrOglW7UBWVhwKm/71AphNqw9+3b9X/rodtAZEapwoQ l0wPk7mgFXP1UhqkOrHac2+M5KHy7S+f5UkEFTH9cw85QCRbSOW9sGVK1buOiNkjJk5+ 1TJJzmlb+OinP6XLJVpNTCyHgEvFgUnnLpeLJ9RMRpPiCwYtWMeLUV8UaAd/ua3NIiYA xMiTtuNDZSHCOZZyatddrzqyWSHE/fgD2lJoJcTv5+1jYIz0OPyABFHsabI9L5XLBfku 5Mn013Qt/l++UrjV0fEMtnV3yKX+eiju/mQA7lKjLPPU/9OAofoeb/bBHGfSzVnm32j0 Sf+Q== ARC-Authentication-Results: i=1; mx.google.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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i4-20020a05640242c400b00468ccfbba7asi10321243edc.387.2022.11.21.08.12.37; Mon, 21 Nov 2022 08:13:23 -0800 (PST) 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; 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 S232107AbiKUPXQ (ORCPT + 91 others); Mon, 21 Nov 2022 10:23:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229921AbiKUPWu (ORCPT ); Mon, 21 Nov 2022 10:22:50 -0500 Received: from baptiste.telenet-ops.be (baptiste.telenet-ops.be [IPv6:2a02:1800:120:4::f00:13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB693D87 for ; Mon, 21 Nov 2022 07:22:26 -0800 (PST) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed10:4821:1ba5:2638:5c3a]) by baptiste.telenet-ops.be with bizsmtp id n3NP2800R5WXlCv013NP3Q; Mon, 21 Nov 2022 16:22:24 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1ox8cp-0019CK-PT; Mon, 21 Nov 2022 16:22:23 +0100 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1ox8co-00BPxI-VQ; Mon, 21 Nov 2022 16:22:22 +0100 From: Geert Uytterhoeven To: Linus Walleij , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] usb: USB_FOTG210 should depend on ARCH_GEMINI Date: Mon, 21 Nov 2022 16:22:19 +0100 Message-Id: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE 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 The Faraday Technology FOTG210 USB2 Dual Role Controller is only present on Cortina Systems Gemini SoCs. Hence add a dependency on ARCH_GEMINI, to prevent asking the user about its drivers when configuring a kernel without Cortina Systems Gemini SoC support. Fixes: 1dd33a9f1b95ab59 ("usb: fotg210: Collect pieces of dual mode controller") Signed-off-by: Geert Uytterhoeven --- drivers/usb/fotg210/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/fotg210/Kconfig b/drivers/usb/fotg210/Kconfig index 534206ee0d1db74f..dad1b088aba59217 100644 --- a/drivers/usb/fotg210/Kconfig +++ b/drivers/usb/fotg210/Kconfig @@ -4,6 +4,7 @@ config USB_FOTG210 tristate "Faraday FOTG210 USB2 Dual Role controller" depends on USB || USB_GADGET depends on HAS_DMA && HAS_IOMEM + depends on ARCH_GEMINI || COMPILE_TEST default ARCH_GEMINI select MFD_SYSCON help -- 2.25.1