From patchwork Sat Aug 7 11:17:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Matwey V. Kornilov" X-Patchwork-Id: 493395 Delivered-To: patch@linaro.org Received: by 2002:a05:6638:396:0:0:0:0 with SMTP id y22csp1159906jap; Sat, 7 Aug 2021 04:18:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxK++QOwEAAxYBQ/D3+cp6jzEuixiL8dvUR7DL4Gp8Fce0epdshgdLqQsVt9zdmDUbfeDMb X-Received: by 2002:a17:906:b886:: with SMTP id hb6mr13260087ejb.13.1628335080178; Sat, 07 Aug 2021 04:18:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628335080; cv=none; d=google.com; s=arc-20160816; b=ZQ8+OwsFn96CILItRlc47fTkXRJLAMkMYRHx3OMbfDz6hh4/065uE8EC4juHtKYM1n /6JTfscfLWwu25Rrh5SlKNScHOxSCvdTJbGTlKJu0mEHUJCcPRr9n1Sz2IUY78M/3bf9 WqgcL1yZZ3aWS6OLUbBZwdcWAvgCglUkYdVSo7rF0ZvEjv4rFd6l3pLvHFAJC1efOzHF UckG8fIG3CAwaAwXabaTYj8KA+cKL5/ow8lPRon4A2z6LOUwcy0VbLJTmxVWdacIcf0X Z8l/SZMF6Qy3+xFhxz7Nvdya0liqqRDqRSBhogKhNMXBS14ggBZhA01UEJ58E8M0ZpoP ILKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=S/zZpBeYpTBEgr4fmPm8uS7fIQxUhkShaxlPux2SfRw=; b=B39XtIk9vUn71dtFva5lRepp1iF9ebUd/Rn7j2jEDJho9URMQdcYLtJny/JWujiQPN 8KPDP2+aY2MJ/UNcq1Cl4MYJ90Da7EOyGD5KgYOdtlNg9VuuZ/7GLrt4GCEajFKxInaU xJtUdQewPpaemZNhLbI5X1aSMpaS8Xa0cZRjzg3BZgkCZ6NVAiduQS5xavqcXgGpg7Rg Sog54ZIRbmV7ts4kdx1d4Rt6/pFRBkACJGJ2AnO+gC/g1Y//SFDulFy442v4YLUsTcim 9pp7pc2/Ffj06chMiyyerpPX8jYyBZWQI1axatdtJ/mI7rEsWgLAMVqdcoG3uLpfmmMX kOpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NZGFNF8p; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id 8si11366540ejl.292.2021.08.07.04.17.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Aug 2021 04:18:00 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NZGFNF8p; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B0D8582BD6; Sat, 7 Aug 2021 13:17:55 +0200 (CEST) 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="NZGFNF8p"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0E08582BB2; Sat, 7 Aug 2021 13:17:53 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) (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 752E682BB2 for ; Sat, 7 Aug 2021 13:17:49 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=matwey.kornilov@gmail.com Received: by mail-lf1-x135.google.com with SMTP id x27so805054lfu.5 for ; Sat, 07 Aug 2021 04:17:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=S/zZpBeYpTBEgr4fmPm8uS7fIQxUhkShaxlPux2SfRw=; b=NZGFNF8pcrScr5hORUwuA+eCB15rI+4L8QQ4pDpfPCftGLSLMDEj3OdpLcEi8G6MYb /H1R46R6oBN1AKuyUSugdIjB/5YANsBEo/yzASr67n3MS2sUgd99Ve3naZXY2f2/kHn7 MtxrJRth3d85rqMbtVYTUFTXw+yOE45bmEB0CgmSZfq43m6q+TR9JHa2l3ejptSNG9yP L6d0R6yHzKn+4gzhon9gMDOX0XZ+6NNja4QYAFzp3q2JyTvWoeGvIO9Haf0L+lsLF16l DDghojaqmTa9O1mv7Ad1eu3ihNrg0GIxc7YUIJvk7UZrJWaODMPsNLGIlZkPD7CPJXsl 2e2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=S/zZpBeYpTBEgr4fmPm8uS7fIQxUhkShaxlPux2SfRw=; b=fGtqTtgCQrEGqC5p6FL3diu2sTjhSkz6No0TxSOb74S8F84+ShrMm7TW+Vfqg5p7PY SsgBvwEAmHwLj6ccU5PEcE0cs4ERfwzCD5rbGfT3q4RYKuh7PytVWXIA9Zmh6fYaf6ky mLgvyZu/xUvEBzGQ7gkP1pqvminz4NIOsd5Xa9Jkn/2s1qSusJ85579oYS7n6awis1Dv xmUKU30/Qfdg2reHHT4PgxWyRIaaVa9OCkwug26Gu3OoEQlpK/BJMxscabdlOBZeHLZT gEgdhgG4MYMF7Rg7A6cs2hEGaCdbdlUntUTtlOVBvleVlRUCR7AqoHU+JyMvPrcOX9qe jG4Q== X-Gm-Message-State: AOAM533dIJ4KNz6OippRlSH8Jc3AFxowQLWA6DNMoBPJkn9vYTWDE8l7 oUrzIi3lH0c+OuJjg+rJ+Mc= X-Received: by 2002:ac2:429a:: with SMTP id m26mr10999078lfh.80.1628335068707; Sat, 07 Aug 2021 04:17:48 -0700 (PDT) Received: from oak.local ([2001:470:28:561:645e:ed75:98bd:879]) by smtp.gmail.com with ESMTPSA id s2sm1112183lfs.263.2021.08.07.04.17.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Aug 2021 04:17:47 -0700 (PDT) From: "Matwey V. Kornilov" To: paul.barker@sancloud.com, dariobin@libero.it, hws@denx.de, pbrobinson@gmail.com, trini@konsulko.com Cc: u-boot@lists.denx.de, "Matwey V. Kornilov" Subject: [PATCH] am33xx: Fix USB for am335x boards Date: Sat, 7 Aug 2021 14:17:38 +0300 Message-Id: <20210807111738.8391-1-matwey.kornilov@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean USB nodes were mistakenly disabled in commit 942853dd96df ("arm: dts: Resync BeagleBone device trees") This commit is to fix the following issue: starting USB... No working controllers found USB is stopped. Please issue 'usb start' first. starting USB... No working controllers found Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0782e8572ce43f521ed6ff15e4a7ab9aa5acdc85 Fixes: 942853dd96df ("arm: dts: Resync BeagleBone device trees") Signed-off-by: Matwey V. Kornilov --- arch/arm/dts/am33xx.dtsi | 6 ------ 1 file changed, 6 deletions(-) -- 2.31.1 Reviewed-by: Paul Barker diff --git a/arch/arm/dts/am33xx.dtsi b/arch/arm/dts/am33xx.dtsi index ce07cec846..b5093020ee 100644 --- a/arch/arm/dts/am33xx.dtsi +++ b/arch/arm/dts/am33xx.dtsi @@ -380,28 +380,24 @@ #address-cells = <1>; #size-cells = <1>; ti,hwmods = "usb_otg_hs"; - status = "disabled"; usb_ctrl_mod: control@44e10620 { compatible = "ti,am335x-usb-ctrl-module"; reg = <0x44e10620 0x10 0x44e10648 0x4>; reg-names = "phy_ctrl", "wakeup"; - status = "disabled"; }; usb0_phy: usb-phy@47401300 { compatible = "ti,am335x-usb-phy"; reg = <0x47401300 0x100>; reg-names = "phy"; - status = "disabled"; ti,ctrl_mod = <&usb_ctrl_mod>; #phy-cells = <0>; }; usb0: usb@47401000 { compatible = "ti,musb-am33xx"; - status = "disabled"; reg = <0x47401400 0x400 0x47401000 0x200>; reg-names = "mc", "control"; @@ -443,14 +439,12 @@ compatible = "ti,am335x-usb-phy"; reg = <0x47401b00 0x100>; reg-names = "phy"; - status = "disabled"; ti,ctrl_mod = <&usb_ctrl_mod>; #phy-cells = <0>; }; usb1: usb@47401800 { compatible = "ti,musb-am33xx"; - status = "disabled"; reg = <0x47401c00 0x400 0x47401800 0x200>; reg-names = "mc", "control";