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 3DC4CEB64D9 for ; Thu, 29 Jun 2023 14:06:26 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 510FF86682; Thu, 29 Jun 2023 16:06:24 +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="FBtC2uNW"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BF39A86683; Thu, 29 Jun 2023 16:06:21 +0200 (CEST) Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) (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 CD5558665C for ; Thu, 29 Jun 2023 16:06:17 +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-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-3fbc1fd6335so1484905e9.2 for ; Thu, 29 Jun 2023 07:06:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1688047577; x=1690639577; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=Qh9NXa5y2biRhrH5MRNosgDWZPfrq0YhNDp6FtzuPD0=; b=FBtC2uNWDPWPgB4v8K97IygNbtv7eiuq0uqMOxpDpjxnAkXcL1BtbGiZj2gt5ifQFi waN/oJWicaTOcRd5Ha5bDD2EICGeZWp91vWZmFgHk2bdcrdO4K4ZwMiDMC12IAtMWrwk zld/phJ/jzcdDvHDqFk4vaKwG0s+PMNLH4A8zUWOhmW+uORIoBJRy2lo675pzu6GXwmU /7BfpFfKKwTKGiowl0zKXMD0MAsH6OU67u1mjrSjgzs+Oyyssoy8I7MosFm6+5N+9QEl TI/CK/8F+P0bHgaMIF3ZGF1rRaThvxrxGtHzYRYWAsu4hj6WT7+Xr88595hQEc8aGtoi kjcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688047577; x=1690639577; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Qh9NXa5y2biRhrH5MRNosgDWZPfrq0YhNDp6FtzuPD0=; b=YjxBPByLUNQrdzTFhZoE0Wr9Lvz1RRa8mqEEaOcZ7Eg8Gn7V4S5Ejd77vaAUE2lXpv w52X7ymg83g7RTYh/Nv4Th3hOcwG4890iiHr4yxxBZl9zq7Bc2NO5eoLjFy8sQ4PE0w9 Li42U2Uc31yfCLKVMQD1RaORDBzJsuxTp50orBk4JPYy1OrTZqNi/tD+L6VhSIvKEYlO ZoTZg8GugOX5fNBftmRFEZ1Bb7beI1qldqc3O66w8fAGmrwb+gRwSoKWAQAMCFQYKTEQ 0U89ZPwz0vFn2Okvr98pdL22fRowZY5oFHYh8eSzewcLnbjcU5fbcHnw/l41IgaHhNqG n/mA== X-Gm-Message-State: AC+VfDwZmPahPlYNm/hHMUhiG2Mx3kZte0wkkiwJsJKGQ9RPP2GAZ/sI azO5pAncN52YX2FSQTsAEdumFg== X-Google-Smtp-Source: ACHHUZ7H/micQA9nNZf/tdvOEAXJ9pv9CPbSaLXK5L+ngPJ6VPZFOsmQG2BaaNedzELoPqTmuTl56A== X-Received: by 2002:a7b:cd16:0:b0:3fa:98f8:225f with SMTP id f22-20020a7bcd16000000b003fa98f8225fmr8732427wmj.26.1688047577163; Thu, 29 Jun 2023 07:06:17 -0700 (PDT) Received: from [127.0.1.1] ([77.205.21.223]) by smtp.gmail.com with ESMTPSA id q6-20020a7bce86000000b003fbaa2903f4sm6303523wmj.19.2023.06.29.07.06.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Jun 2023 07:06:16 -0700 (PDT) From: Julien Panis Date: Thu, 29 Jun 2023 16:06:01 +0200 Subject: [PATCH v3] arm: dts: am335x-evm-u-boot: Remove usb0 mode configuration MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230621-fix_usb_ether_init-v3-1-40493e1d7c0b@baylibre.com> X-B4-Tracking: v=1; b=H4sIAMiPnWQC/4WNQQ6CMBBFr0K6toZpAcWV9zCGtDCVSbSYtjYSw t1tWbrQxSz+/Lz/FubREXp2KhbmMJKnyaYgdwXrR2VvyGlImYlSyLIRwA29u5fXHYYRXUeWAq+ 0qQyArNOxBGrlkWunbD9m9KF8QJeLp8OEb7bLNeWRfJjcvMkj5O9PTwQOXEDdtEK2baXas1bzn bTDfT89WF6M4v+K4CU3BgSYEo/DQX2trOv6AR7vvjkWAQAA To: u-boot@lists.denx.de Cc: trini@konsulko.com, vigneshr@ti.com, nm@ti.com, tony@atomide.com, Julien Panis X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1688047575; l=1781; i=jpanis@baylibre.com; s=20230526; h=from:subject:message-id; bh=Me3WAdeDYX0v1AoAsOK6wKMlmY3KuHBICkPw/mKoVvU=; b=lxQeGHrgAM0XdUU0F/1hSUoFWbRZiujmqHc9MW/u1OforL4lq2MHSJNTEbHjqyvM6qfaT99TN 3lTL/N1IUrfBi/h+lgC8FSXy1rA/qoH8cbkrdQk7A6grJO6C6cvnn3C 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 USB port configuration is moved to 'am335x-evm.dts'. Signed-off-by: Julien Panis --- Initially, this series was submitted to fix 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. It was finally decided to move usb0 mode configuration in kernel device trees. That's why a series was submitted for linux: https://lore.kernel.org/all/20230629-usb0-as-peripheral-v1-0-167f78a11746@baylibre.com/ As a consequence, usb0 dr_mode configuration must now be removed from 'am335x-evm-u-boot.dtsi', since this fragment needs to go in linux too. --- 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 --- arch/arm/dts/am335x-evm-u-boot.dtsi | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/arm/dts/am335x-evm-u-boot.dtsi b/arch/arm/dts/am335x-evm-u-boot.dtsi index 82a483ae3e28..42eeca8c0499 100644 --- a/arch/arm/dts/am335x-evm-u-boot.dtsi +++ b/arch/arm/dts/am335x-evm-u-boot.dtsi @@ -23,10 +23,6 @@ status = "disabled"; }; -&usb0 { - dr_mode = "peripheral"; -}; - &i2c0 { bootph-all; }; --- base-commit: 19b77d3d23966a0d6dbb3c86187765f11100fb6f change-id: 20230621-fix_usb_ether_init-4bf4f1135113 Best regards, -- Julien Panis