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 Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4FBC8C87FCB for ; Mon, 4 Aug 2025 09:44:40 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A5E6983E18; Mon, 4 Aug 2025 11:44:38 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=psihoexpert.ro Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=psihoexpert.ro header.i=@psihoexpert.ro header.b="ErX9Ohmo"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 177B083F2D; Mon, 4 Aug 2025 11:44:38 +0200 (CEST) Received: from mx1.wiredblade.com (mx1.wiredblade.com [162.216.242.37]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id ECE7883E04 for ; Mon, 4 Aug 2025 11:44:34 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=psihoexpert.ro Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=m95d+git@psihoexpert.ro dkim-signature: v=1; a=rsa-sha256; d=psihoexpert.ro; s=dynu; c=relaxed/relaxed; q=dns/txt; h=From:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Transfer-Encoding; bh=9mYIGPQCrqQgDqWSlH1XauYVhzYO2DqKRrkxRSVhX2A=; b=ErX9OhmochwYx80eJz5SQJmcnHe5RKIFJUXi+CtvDxy8g0qpHfBysPuJsTRLDaWgcXwh/yvDQ0s1sRruAWi2660k8RPUdVy7lwwNdX4JvU44SC+vKWrRJVTdv3utXwj9CHPfR0A79weRgR0/H4xI/BW+GtbkOpKMIWjKT5yz6+5jOW9i9DVCkbltn4thEiQbF5EqR+ikkCPMJELyIEmTs/HqnIlOoHhMxOreebg01A4rG6YGoWHtMj48Yi ydX6dLitL1u0eQ/B38Mf40TB05pi0eLWIBB/nPvqmcVe6V1uykiCEpq/ZSnF7UCLkj94DWzD/zBShBCMIDoY/FglRwEA== Received: from TkB (188-24-194-92.rdsnet.ro [188.24.194.92]) by mx1.wiredblade.com with ESMTPSA (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256) ; Mon, 4 Aug 2025 09:44:31 +0000 From: Marius Dinu To: u-boot@lists.denx.de Cc: Marius Dinu Subject: [PATCH] USB OTG: make dwc2 otg driver dependent on Exynos platform Date: Mon, 4 Aug 2025 09:43:53 +0000 Message-ID: <20250804094353.28658-1-m95d+git@psihoexpert.ro> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean drivers/usb/gadget/dwc2_udc_otg_phy.c uses s5p_cpu_id, which is only defined for Exynos CPUs. Signed-off-by: Marius Dinu --- drivers/usb/gadget/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index 46a83141481..deabcb3e51f 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig @@ -108,10 +108,11 @@ config USB_GADGET_AT91 config USB_GADGET_DWC2_OTG bool "DesignWare USB2.0 HS OTG controller (gadget mode)" + depends on ARCH_EXYNOS5 select USB_GADGET_DUALSPEED help The Designware USB2.0 high-speed gadget controller - integrated into many SoCs. Select this option if you want the + integrated into many Exynos SoCs. Select this option if you want the driver to operate in Peripheral mode. This option requires USB_GADGET to be enabled. -- 2.49.0