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 063E6C433EF for ; Wed, 9 Mar 2022 09:06:25 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id F25A383981; Wed, 9 Mar 2022 10:06:08 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20210112.gappssmtp.com header.i=@monstr-eu.20210112.gappssmtp.com header.b="d4jgbqq3"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B69638023A; Wed, 9 Mar 2022 10:05:58 +0100 (CET) Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) (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 B89C480F92 for ; Wed, 9 Mar 2022 10:05:50 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-ej1-x635.google.com with SMTP id yy13so3472013ejb.2 for ; Wed, 09 Mar 2022 01:05:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20210112.gappssmtp.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=8MmNctDs41hxOnSzhgZ9oGzyuqJ87an2IGaV6zhQ+1I=; b=d4jgbqq30DRGnvhOGm3Ja07nCDmiO3N1qxitzUdVa8aXPwNt6w8p4a5CEpeN1+tojn XkI6dwPTr2RtauIlkGecW3S5+HVZapPZG8BJIrUWnYr1dizUQufSQQ58gHJXxHrUL4RF KQN0F0KZEhjmBHgBf1vG+3dPb78WQBv8bOFNGzvQ/bM6aBWPNlWEaVLgaAjVXwZ07mSU IU6k/0Ij8GOAr+UR4zPi34RXej1pIwKmV0YvixJH0Xe60eEIvAuqdcvKqVIk2Vzh8+De Q713vX8dQboiQnQAMuPaW36mGBbPt/eFgohqkrDAwxdg4fXTNCOEucEnTutKBaEkpT3m YoXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=8MmNctDs41hxOnSzhgZ9oGzyuqJ87an2IGaV6zhQ+1I=; b=BsGAEmcLv8tHSur6ADxBRHMDnUmoMjIfd8KUmhaGA/8fNCDj0CNGOkKU01CrF3fn8J 0NmQs5J8J0cT1W1/H3t6NlnOqeSL7qsKAyd1gOY7jQ71foOYtzLqwOwdND36QX5HU1JI FrNEqbhReRXsDxnam9MGwotnW/F7n2S3ZJIrhRR+b+Q8CvEzo31vIA+lhIgLCBKuTFjX Dg+ULSOC78iia+rhFbkFuwoPLXBuQuhu6aDaJuOaGaZ0JWYiy/bmZWuNce0TGONSX79+ GORIbQELmruKU+ZpQUxAI8cvO77p7HCmv248U5hpF12FMRt1KtSOJoRab05y/pzL/E56 RSng== X-Gm-Message-State: AOAM533jjsZntZAMaSICyAJ05zjeLOO3Ds6tynZ86k/IljjGgAT0gFtK +C6t+d3w3N4Up/V3Qz2/18XynW+sb9pn5Q== X-Google-Smtp-Source: ABdhPJzadNhQF+rYdnV16x3NyCzjQkfzjtWb2I31GvuNjVq0VyxSrYFchFPjJqTGYQaam0QylyZzJQ== X-Received: by 2002:a17:907:1b25:b0:6da:8206:fc56 with SMTP id mp37-20020a1709071b2500b006da8206fc56mr16229540ejc.81.1646816749960; Wed, 09 Mar 2022 01:05:49 -0800 (PST) Received: from localhost ([2a02:768:2307:40d6::f9e]) by smtp.gmail.com with ESMTPSA id s8-20020a170906354800b006da9dec91f2sm467960eja.163.2022.03.09.01.05.49 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 09 Mar 2022 01:05:49 -0800 (PST) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com, Marek Vasut Cc: Angus Ainslie , Heinrich Schuchardt , Kunihiko Hayashi , Simon Glass , Wolfgang Denk Subject: [PATCH v3 0/2] usb: dwc3: Enable PHY support Date: Wed, 9 Mar 2022 10:05:43 +0100 Message-Id: X-Mailer: git-send-email 2.35.1 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 Hi, I am sending two patches for adding PHY support for DWC3 driver. For getting this work one header patch is required to fix issue with am57xx_hs_evm_usb_defconfig which enabled CONFIG_PHY and DWC3 drivers for U-Boot proper but doesn't enable CONFIG_SPL_PHY support. That's why there is a need to use CONFIG_IS_ENABLED macro to also properly handle SPL builds. Marek: Please take both of these patches via your usb tree. Thanks, Michal Changes in v3: - Add cover letter Changes in v2: - based on bug reported by Marek https://lore.kernel.org/all/d7adc9a4-f505-eaab-8cd9-45f778bc3b4a@denx.de/ - Add missing header Michal Simek (2): generic-phy: s/CONFIG_PHY/CONFIG_IS_ENABLED(PHY)/ usb: dwc3: Add support for usb3-phy PHY configuration drivers/usb/dwc3/dwc3-generic.c | 18 ++++++++++++++++++ include/generic-phy.h | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) -- 2.35.1