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 8023FEB64D9 for ; Thu, 6 Jul 2023 10:41:05 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 02187862E7; Thu, 6 Jul 2023 12:41:02 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=baylibre.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=baylibre-com.20221208.gappssmtp.com header.i=@baylibre-com.20221208.gappssmtp.com header.b="iO3wl7zz"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 29B67801FE; Thu, 6 Jul 2023 12:41:01 +0200 (CEST) Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) (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 A9299801FE for ; Thu, 6 Jul 2023 12:40:58 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jpanis@baylibre.com Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-3142860734aso1512015f8f.1 for ; Thu, 06 Jul 2023 03:40:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1688640058; x=1691232058; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=LGB6h7kQj0P3RyGg9NUKI9ed8+veOoLJxKxTD9AJb4U=; b=iO3wl7zzhrrgQcM65nv3n+ZKR2LSpAtIV3kKcK2m768z4Xu6XTKiVPvILLk6pUJG7A lwyS3MEgnWH3U4zW1/t7vof/00WgK1Qw/ytds3XdeUwm01d5PSq6KSnRd/I/X2O7sqTz eOrThv06g+mfHoCluMq5kKjfjo3KqReqCTB8D9+tgXO1MrDiwMF67cShnMoE4OGRdQoW SYcO8eBBGgMYfZc2DUAOCCbE6yRrcgs8xHfokUjqcsITeo5tU1v7nRQFazBYz4t0N+Kq LIiFgnH6lNlJDQHkGL3Ws628vRka7ZBRKLFtVQ2KOV/4v7vqBCwsSWsWn3kBCTGdr0yt 3TVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688640058; x=1691232058; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=LGB6h7kQj0P3RyGg9NUKI9ed8+veOoLJxKxTD9AJb4U=; b=RXl4JqOAVDp+Z6AD80S0BjKkKGGLi8yjsksMISpmzghBJ4lFtvvz7x8XfHTehnU7Ly QuzIro85hA862baEZXygRaaxkZK1tmOIFVyZMAVB7T3TwrhcMQ/h+1G8AcYxUuBFwSAm sjDEaGZaC342O56r0I1ClvHZK8JN1x8sYzC37IxNYCI5Tu26H+J/MweVGbWNHVs9GZpN seIioHxvosy7hjsG5sz5ZL84S65P3UIZEKfuees/1Hch/op9lngDdnPQLg3pA3QUhLuM MzkgOyWgoOpjAQf3z2yniSb0+KLs/U9ZF2tubxPxTstSqiH2MlC+sVoqSKSusaHqfWqj cmug== X-Gm-Message-State: ABy/qLaXijrTOrMJBvt6T0vXiwdPxw2RruD+Tpidjmea2S07Z1J+03Xf 2WbTgL0xMrfQwD+GYNQbsPZzAg== X-Google-Smtp-Source: APBJJlGm8QinSc00u4pFtp6wLrWAQ8lYFgXqyZ8vo+XD4ScdoW2SSpBAYC3r3T6HT1Ao/fUQ1+742Q== X-Received: by 2002:a05:6000:86:b0:311:360e:ea3a with SMTP id m6-20020a056000008600b00311360eea3amr623871wrx.34.1688640058040; Thu, 06 Jul 2023 03:40:58 -0700 (PDT) Received: from [127.0.1.1] ([77.205.21.154]) by smtp.gmail.com with ESMTPSA id l5-20020a1ced05000000b003fbb346279dsm1716033wmh.38.2023.07.06.03.40.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jul 2023 03:40:57 -0700 (PDT) From: Julien Panis Subject: [PATCH v4 0/2] Fix 'no USB device found' error. Date: Thu, 06 Jul 2023 12:40:21 +0200 Message-Id: <20230621-fix_usb_ether_init-v4-0-5f4977bb7678@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIABWapmQC/4WOQQ6CMBBFr2K6tqbTFrSuvIcxpIWpTCJgWiQSw t0tLI2RxSz+TP57M7GIgTCy825iAQeK1LUp6P2OlbVt78ipSplJIZXIJXBP7+IVXYF9jaGglnq undceQGVpWCo6G5G7YNuyXqqNjT2G5fAMmOqr7XpLuabYd2Fc5QMs27+eAThwCVlupDJGW3Nxd nyQC3gou4YtxEFuUyQX3HuQ4AWeqqP9QVHbFJV+0UIbhVAdS+G+KPM8fwBmxE2eXAEAAA== To: u-boot@lists.denx.de, Marek Vasut , trini@konsulko.com, tony@atomide.com, rogerq@kernel.org Cc: vigneshr@ti.com, nm@ti.com, Julien Panis X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1688640056; l=1528; i=jpanis@baylibre.com; s=20230526; h=from:subject:message-id; bh=JDYEwwPRpXCsk41IsFbxTAv3xqw4QADg8O96PRvg/d4=; b=ye9O/XCX9GRlMdLegtGYbECCWFr+mW/IVfoBz015FBbB8dOJGxrlb7spL21YNL1AgtpmXrrXe stJp70NEkboCHAzmyY52bjB+60XvpgGIIHxDi2nCWgKBE8UV4iLF4Kg X-Developer-Key: i=jpanis@baylibre.com; a=ed25519; pk=8eSM4/xkiHWz2M1Cw1U3m2/YfPbsUdEJPCWY3Mh9ekQ= 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 This series fixes the "No USB device found" error for am335x-icev2 and am335x-evmsk. USB0 dual-role feature is now handled as peripheral only in the driver. The error was not produced for am335x-evm because usb0 dr_mode was configured as peripheral in 'am335x-evm-u-boot.dtsi'. This fragment is no longer needed. Signed-off-by: Julien Panis --- Changes in v4: - Handle usb dual-role feature as peripheral in ti-musb driver. - Link to v3: https://lore.kernel.org/r/20230621-fix_usb_ether_init-v3-1-40493e1d7c0b@baylibre.com Changes in v3: - Remove usb0 dr_mode configuration from 'am335x-evm-u-boot.dtsi'. - Link to v2: https://lore.kernel.org/r/20230621-fix_usb_ether_init-v2-0-ff121f0e8d7a@baylibre.com Changes in v2: - Drop the modification made in arch/arm/mach-omap2/am33xx/board.c - Configure usb0 dr_mode as peripheral in 'am335x-icev2-u-boot.dtsi' and 'am335x-evmsk-u-boot.dtsi' device trees. - Link to v1: https://lore.kernel.org/r/20230621-fix_usb_ether_init-v1-1-2156923994a9@baylibre.com --- Julien Panis (2): musb-new: ti-musb: Handle usb dual-role feature as peripheral arm: dts: am335x-evm-u-boot: Remove usb0 mode configuration arch/arm/dts/am335x-evm-u-boot.dtsi | 4 ---- drivers/usb/musb-new/ti-musb.c | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) --- base-commit: 19b77d3d23966a0d6dbb3c86187765f11100fb6f change-id: 20230621-fix_usb_ether_init-4bf4f1135113 Best regards, -- Julien Panis