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 204F8EB64D8 for ; Thu, 22 Jun 2023 14:38:25 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 07C0A862F9; Thu, 22 Jun 2023 16:38:06 +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="TYDtl+K3"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5B46D86301; Thu, 22 Jun 2023 16:34:45 +0200 (CEST) Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) (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 865798626D for ; Thu, 22 Jun 2023 16:34:42 +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-lj1-x230.google.com with SMTP id 38308e7fff4ca-2b4790ff688so71406661fa.1 for ; Thu, 22 Jun 2023 07:34:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1687444481; x=1690036481; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=3ZAIXMbxL6VdXlUPEUWOr9MTRqJtn9f4nSwqappMGe8=; b=TYDtl+K3RA1xINrD1jimVrMJMkmfS6cy+Rizjg2JsaeGWRw0D6tMLwTXM6ddZpmcz+ aeidkAFaNxQ8xlJo1cVn3Sm0bInAB4icyYlNltHeWmx3fJsx9Xx32HuYeu3FzOaW+W1f grbJk7jA+tslPk5AelEKwlIUsaDD7FQI9zA1HKaUaY6yYH32uLFrMuil7wUe/bo/QXdQ S20mYdN2vx8GZbRUU4ObJ/v3j3GnWVFV5gtdJHk/hNqFQZFxSjckeF0P0rfavRp9Nkzm iHa6gz8U5V+sZi/plDWAZXac0h9P28n540972W84M9TsdhpgrifgKmIxzEwaz14/PoVE FdTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687444481; x=1690036481; 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=3ZAIXMbxL6VdXlUPEUWOr9MTRqJtn9f4nSwqappMGe8=; b=AWOYAixePqMdY9o5PBXoDqNd+j7gT6nuQmLm0BA3/e7xDMKzoBz6cYz1F1Cn1+1EOP X4I16ygjorq0PUXFl/EETOKhx602TXKGfLtpEGKiRFVQ7SePSCPYxfat2m/ul9CisdW6 x8qhMzwkajd7Fu8Rh1KaVmiHrnHJoxm4BkdgQKmFTVZNaN5eo6tzoZlhxwjCfk7x2UJj EVA33/6jmimWSsc3qA4HHGFdTZMplEjRWP+8evdyTbA9Pumvevd0IWYkt0ct6m5nTIcJ YMrAvFVh2hyeatijVffUJj/y5nlW0tSMD+WIWbHwDktnn+SkQc3vLYFyWQ6QHoUzGStz cu7Q== X-Gm-Message-State: AC+VfDy1r92aeTTz5cF7ojsUu0dNdct6O2p/AsRTx5cximFWlA/T5u+q xrnGlqKl1AQUnjEswlsvHdzKx5hrpEFZe17987I= X-Google-Smtp-Source: ACHHUZ5EwBrxPdlzrYoNU+sZT/gw7NbKlMMuCzeNe2fSYsoForjXG6PJMR/9TBpl1DW/cMxpQPjOGw== X-Received: by 2002:a2e:7c09:0:b0:2b5:80c9:1266 with SMTP id x9-20020a2e7c09000000b002b580c91266mr5570772ljc.43.1687444481356; Thu, 22 Jun 2023 07:34:41 -0700 (PDT) Received: from [127.0.1.1] ([77.205.22.44]) by smtp.gmail.com with ESMTPSA id ju3-20020a17090798a300b0097381fe7aaasm4704912ejc.180.2023.06.22.07.34.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jun 2023 07:34:41 -0700 (PDT) From: Julien Panis Subject: [PATCH v2 0/2] Fix 'no USB device found' error. Date: Thu, 22 Jun 2023 16:34:34 +0200 Message-Id: <20230621-fix_usb_ether_init-v2-0-ff121f0e8d7a@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAPpblGQC/32NTQqDMBBGryJZN8WJP5Cueo8iktixGWhjmUmlI t690QN0MYs3H4+3KkEmFHUpVsU4k9AUM5hToYbg4gM13TMrU5qqbA3okb79R3yPKSD3FCnp2o/ 1CFA1+VQWvRPUnl0cwq6+nCTkfXgzZv2o3brMgSRNvBzxGfbv384MGrSBprWmsrZ29urd8iTPe B6ml+q2bfsB/YU56tAAAAA= To: u-boot@lists.denx.de Cc: trini@konsulko.com, vigneshr@ti.com, Julien Panis X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1687444480; l=1016; i=jpanis@baylibre.com; s=20230526; h=from:subject:message-id; bh=LQwdOhZKa7U/ZhV3Spaqx/H9ggzXV8fJoteZTySURBY=; b=egp9Z1O82TXgK+H3XBTD4gMPBbX/MzxxEUp4lMqhelrsgTd6lOer+V4PT07xsD2NRDTUT/J3H IAWnOQeJ+yjB0Y+HRrxsRFnTHEw3e+KF+xhu3B1/G3OB9FFe2SnF3ZY X-Developer-Key: i=jpanis@baylibre.com; a=ed25519; pk=8eSM4/xkiHWz2M1Cw1U3m2/YfPbsUdEJPCWY3Mh9ekQ= X-Mailman-Approved-At: Thu, 22 Jun 2023 16:37:57 +0200 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 usb0 dr_mode for am335x-icev2 and am335x-evmsk. It must be set to 'peripheral' in order to avoid 'no USB device found' error, in usb_ether_init() function. Signed-off-by: Julien Panis --- 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): arm: dts: am335x-icev2-u-boot: Configure peripheral mode for usb0 arm: dts: am335x-evmsk-u-boot: Configure peripheral mode for usb0 arch/arm/dts/am335x-evmsk-u-boot.dtsi | 4 ++++ arch/arm/dts/am335x-icev2-u-boot.dtsi | 4 ++++ 2 files changed, 8 insertions(+) --- base-commit: 19b77d3d23966a0d6dbb3c86187765f11100fb6f change-id: 20230621-fix_usb_ether_init-4bf4f1135113 Best regards, -- Julien Panis