Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp1672809rwb; Sat, 5 Aug 2023 23:26:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG5LLbUMm4Mi5ZFtf6rKy6BtvqjRcN6OFrbkBVkaQpfMuijsGBH/kLDUHGwCtnDOQqon65l X-Received: by 2002:a05:6402:2c5:b0:522:1d23:a1f8 with SMTP id b5-20020a05640202c500b005221d23a1f8mr5080938edx.26.1691303192788; Sat, 05 Aug 2023 23:26:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691303192; cv=none; d=google.com; s=arc-20160816; b=k0zXlNKhUdN2q83dl8wy6cJgDRPTpy1GzpRnYBxyVE+1v0hjfnmpZ2voZ/pGZHVyM9 iJScJPnMvFXLq01o5ffflkF1sGuKYDQMRtHLHnCz47IfZAGB/pW/Swth9xwHUK+P5LL9 WeYfW3zMmWht14ieaHJjxYE9o0xaDSsFNANAUjaCRnHjMF9GLora4i2m2hedRP1s/AGn rQN0+YtlwlmOxKFtduCznf1tpp5eqyCamIyk8HQrg+R60/yGYbKupp0g8DD9kcadbIKg vLb9ZCG5IfBQEKI7TaEkQGAPTuGSVeiKSXCduqCjs0AcR9c7PZUzqDCmwB4u2K6WyHZn J0pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=g3j2Il2f+kymqampd6+H1xMyg5wmaHaMj6WUzsK3M24=; fh=etXqSM2paX7cRbDVtmeAdr4rOaHY7/Hf38mku6naf30=; b=CoBDIToUW6RNXe7wnrWWCjMYbFgkv25E/DP//8fLsetAPHhP6rqlb+RaTMgh956+VU JDyIo74kXxMhUrAPgOb8z4hiBWKZzg+J+RtshAuO1aVTqQ6nvAQ2hsTryVtDMZ7+SYqy reIdKEH1IPlFA24TmgG+XxbOWHg/T9y5yJg7JVONO/Ze+TQ3y86+ufberEqK19gk2CHY C9P3tVVXEIcaZNqr2tJbhq/ZaVJP4zmmW6w+jTmpJzb48hVtddgl5vedvQXWwlTr7wMb oFemdQ/ZhDDaOXvwN+1rGr6uTlXlLTQSYFaA5t91yhVuD+DTmsM3lGk86bQ00zoBanFG GeMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=JeHD3rbz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l14-20020aa7c30e000000b0052335100b2bsi560663edq.477.2023.08.05.23.26.01; Sat, 05 Aug 2023 23:26:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=JeHD3rbz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229491AbjHFEDe (ORCPT + 99 others); Sun, 6 Aug 2023 00:03:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229458AbjHFEDd (ORCPT ); Sun, 6 Aug 2023 00:03:33 -0400 Received: from mail-oo1-xc2a.google.com (mail-oo1-xc2a.google.com [IPv6:2607:f8b0:4864:20::c2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C34B1FD9; Sat, 5 Aug 2023 21:03:30 -0700 (PDT) Received: by mail-oo1-xc2a.google.com with SMTP id 006d021491bc7-56d263da4f2so2471281eaf.0; Sat, 05 Aug 2023 21:03:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691294610; x=1691899410; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=g3j2Il2f+kymqampd6+H1xMyg5wmaHaMj6WUzsK3M24=; b=JeHD3rbz6Oa3vJtggpCJGbPAUaa5WPbgNJSNa2QzindNcq3yrWxpqyTiFq0lrKKjHk JXGqv4+k8OonkhPy7wV2/W84fNNEQELf5ISsQW+EayWrJcXT2ePvGNz/HQw/ZuaxeVxB 0hWD8Ml4fP5fBKGU2N1iBd3qB21YnvPHg1KVFFhyjNfeefReRb5UmnUMQOLxxY9i38iK kl11E7pd6HUdF5dvgNxSi0mCIW54KFjzw2vnu5niD6kXyXNnMZs4M4q/9arrdMyp1uYP 6fCg2DHeHUJM65sIWR2bGOlWReVlIPCeAnCAeAZkYie9NzNLFlnOPyTuExsMqZS+NtvC 8kqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691294610; x=1691899410; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=g3j2Il2f+kymqampd6+H1xMyg5wmaHaMj6WUzsK3M24=; b=iaR+yLcm/pb3NK2WaHzPR4gV+xuIjGcErbCYWfFCPGm3eB//1BDbmuvF6WB4B79cV1 vwKy9RdJxPZjKKQPftBV+WQfUaiVaF8vjNX/cY4iC9GfgREMC9KdITBC8XAJ5tgw2Gsc X9HMZoQIsHrcaf2pUoBBydsuc9LPAlytdR15t3Aoq8mOHsQO/QdY6O6QXciN0V9omHkP i3gtJFD3pp0fPO2rn1WPGm+v3q9xz/cVTwGmec9Q4g5pvVRMSrSCaxNw1G9vDHJYxjlJ Gbd2EHFxF+h6zv6vfJQiaBnkLAvVvKWOddzYqi4igvqovbP5E7oiBwjfhtiK2MA6ziYi ntsg== X-Gm-Message-State: AOJu0Yz1gcDoWMrvQiYzeoOJFyuGwgEZPTMBP0qpTGhwkxPeKuPn2Tg8 pvMFtNwureAOC7z18wLk0/SllHsGF23mEiACfrY= X-Received: by 2002:a4a:2557:0:b0:565:9e41:85d8 with SMTP id v23-20020a4a2557000000b005659e4185d8mr5539528ooe.6.1691294609752; Sat, 05 Aug 2023 21:03:29 -0700 (PDT) MIME-Version: 1.0 References: <20230121175639.12818-1-linux.amoon@gmail.com> <20230121175639.12818-4-linux.amoon@gmail.com> <45d25fd5-465f-347b-448b-ce171626f34e@linaro.org> In-Reply-To: From: Anand Moon Date: Sun, 6 Aug 2023 09:33:14 +0530 Message-ID: Subject: Re: [PATCH v3 3/9] arm64: dts: amlogic: Used onboard usb hub reset on odroid c2 To: Ben Wolsieffer Cc: Krzysztof Kozlowski , Rob Herring , Krzysztof Kozlowski , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , linux-amlogic@lists.infradead.org, Matthias Kaehlcke , Alexander Stein , Johan Hovold , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ben, On Sun, 6 Aug 2023 at 05:35, Ben Wolsieffer wrote: > > On Sat, Aug 05, 2023 at 11:30:21PM +0200, Krzysztof Kozlowski wrote: > > On 02/08/2023 23:06, Ben Wolsieffer wrote: > > > > > > Hello, > > > > > > This patch breaks USB support on the ODROID-C2. As soon as the > > > onboard_usb_hub module is loaded, all USB devices disconnect. > > > Blacklisting onboard_usb_hub makes USB work as expected. > > > > > > I tried to reproduce the problem by manually toggling the reset line, > > > but the problem seems to be specific to this driver. When reset is > > > asserted manually, the devices disconnect, but they all enumerate again > > > as soon as reset is released. > > > > > > Also, I have been unable to make USB work again (until the next reboot) > > > even after unloading onboard_usb_hub. > > > > Wasn't this patch made exactly to fix USB support, not break it? I might > > be missing something but maybe this was not tested at all? > > > > Best regards, > > Krzysztof > > > > I have been using USB on the ODROID-C2 for several years without issues. > It looks to me that this patch was designed to make reset control for > the hub more elegant, rather than fix a specific issue. The same change > was applied to several devices, so it seems plausible that it was not > tested on all of them. > We tried to fix quite a few issues in the past but still, we could not resolve core issues. Will try to resolve these issues in the future. I have tested these changes at my end on Odroid C1+, Odroid C2, and Odroid C4, > Thanks, Ben Thanks -Anand