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 AB1AEC433EF for ; Sat, 19 Feb 2022 23:09:54 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8667C83C72; Sun, 20 Feb 2022 00:09:27 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com 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=gmail.com header.i=@gmail.com header.b="PCeBCSJF"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3731B83C5E; Sun, 20 Feb 2022 00:09:17 +0100 (CET) Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 003EB83C72 for ; Sun, 20 Feb 2022 00:09:06 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=aford173@gmail.com Received: by mail-io1-xd2b.google.com with SMTP id s1so11836675iob.9 for ; Sat, 19 Feb 2022 15:09:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=kuV/IUEI6J1wRnIvmlZW1jvAex8sn69qTbdswHyKhGk=; b=PCeBCSJFt2nImZ0gjUF+hF5i/3maQvjQ6rHt75xveGJLNcm+OfQRyTf7Hr124Vu1fl yBJEVt8J6ZVdzMocE9q9ypQufpvgLCiHeSikP3s9Ca4P3MrpxsZWF2SJOSQOJeODXU10 PufQMOs8VS3uANIOqJRZLsDdgdF1wHEY8PSzPeBfyjGA4d0Vr3RxZd+c0lhO58poCOmW 3la6p6/QgNQlPK61cuF9W8Thv7dg2x7JUl1x1Tb5inDcBel94OcSch2JRB6gPpNpnuCU egQGbzi0b2DGnl48jErDPC97A93w+pb1Q6Zz8jYzVCaPBfBPSCJJO2Go6duIEvw66B65 6qUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=kuV/IUEI6J1wRnIvmlZW1jvAex8sn69qTbdswHyKhGk=; b=7TFDO8pm4H/29OQSD/eO8766KMTgUcM+P2Tg82YGmIr9N1cKOk2G479ih0Jr639+ZG C4Mg92i8FKwR4SeAHAfQBB4uKuSowdUKlZq8zUWk8nRR2aivhcZ+uWTlxQdLVTocjyv3 Ykfp7xXAWlVBhkNcZ/SLFkulgI/2GAOOSHGRtzQfYlHOGgTCxrQRwChrY9PtZ622dz4a Dp7LvdIF1P6B38JtAnYvVDzIO4Zp4OQIeSm8JI/Vlu04MaJdjKC2NcBOIqIwxDgQU99S fJBLzAocbyZzukgcoCuh/AYT0bvEEr7BOoKzx4DX1sm24bEh2supnTApbLSdhVlxWNts LokA== X-Gm-Message-State: AOAM533ReOTMTf0AD0qIYGwg1aM1N/GNb2D+jzv8XxeG/DeU5QoG2Wdg q/5/MgIVQ0Ea0nhTwlSIzLdSRNQRrp5IfA== X-Google-Smtp-Source: ABdhPJw5GH9z3o2ibrV96dsv2BzSHq32thBLqCdgrRKEn7VMN6u1ny2AWZ5jofJJG90steWMP1GNtw== X-Received: by 2002:a02:cc37:0:b0:314:492:a6d7 with SMTP id o23-20020a02cc37000000b003140492a6d7mr10475918jap.297.1645312145187; Sat, 19 Feb 2022 15:09:05 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:4655:df85:f9da:7170]) by smtp.gmail.com with ESMTPSA id u12sm5642173ilg.51.2022.02.19.15.09.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Feb 2022 15:09:04 -0800 (PST) From: Adam Ford To: u-boot@lists.denx.de Cc: marex@denx.de, trini@konsulko.com, woods.technical@gmail.com, Adam Ford Subject: [PATCH 4/7] usb: ehci-omap: Make Kconfig select PHY if USB_EHCI_OMAP Date: Sat, 19 Feb 2022 17:08:44 -0600 Message-Id: <20220219230847.798484-5-aford173@gmail.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220219230847.798484-1-aford173@gmail.com> References: <20220219230847.798484-1-aford173@gmail.com> 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.5 at phobos.denx.de X-Virus-Status: Clean The USB_EHCI_OMAP driver currently has a series of Kconfig options which let users specify a GPIO for the reset pin. Some devices may have only one reset, while others might have more. Since there is a nop phy driver, let's selct enable the PHY system, and imply the nop phy driver. The nop phy driver can now toggle the reset pins when putting the phy in and out of reset. If the gpio is listed under the phy, it will get toggled and the hard-coded config options specifying the GPIO numbers can eventually go away. Signed-off-by: Adam Ford --- drivers/usb/host/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index 7743c962cf..f0fb66abad 100644 --- a/drivers/usb/host/Kconfig +++ b/drivers/usb/host/Kconfig @@ -191,6 +191,8 @@ config USB_EHCI_MXS config USB_EHCI_OMAP bool "Support for OMAP3+ on-chip EHCI USB controller" depends on ARCH_OMAP2PLUS + select PHY + imply NOP_PHY default y ---help--- Enables support for the on-chip EHCI controller on OMAP3 and later -- 2.32.0