Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp1173944pxy; Thu, 6 May 2021 02:04:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDMD4C/8dVCef9Ym4IdRJm+1Nk9kxFzgyPjvCL3D3Ts83SeW0D558cHIb+SogTYgC1k4pe X-Received: by 2002:a17:906:1b09:: with SMTP id o9mr3319742ejg.102.1620291886581; Thu, 06 May 2021 02:04:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620291886; cv=none; d=google.com; s=arc-20160816; b=g4DJIQ4/wfv8fcuU30UFgYKsOBsM87WuNpIKCap6wEytPLh6TFrzl31Gb/ZE5a4xQn oG5mxhP9eN9VHTbAnbOdPmNezaCLsmWikyp5lp/6FaKjZNSD4AqnZuMdSxOU4UJ8zQ2/ yQCOZZ9R+xo2SoILyr0GWyqFWdiMIf3SWSfuxzn4sObZ3mo+w0cEmBRrMW9Z6nHz2ztx eBdeMy8sVTXGMtij0gDQvgZm6wyQYT9yTKXjCqurEMc90nepOHD8XZSS8yHQxIZKD6Bc w0SFRIjqkHWTQ9RrPDGIK5S2hkfunqz9JXANCqLsMZAygo0AZmye688WhARh+gaF8liJ 9PQg== 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=UJVlTf1wAisYyAXO10oVlqyTHmds0dhQ9zCL08SVD/I=; b=gLjvQTfg/ZwnUdzxQ3ecppCcMNpVABsFISLK394zpuf7AaXxO9KOZa/l98x9xGjHGD SUmwalhgwDM3gvv8XyzmFGIBE09OfeFIAYhMO0YPNCMF/Pb2y1CA5iyPm027AK8zGhyD FwxLBkP06ouC2+ygZ5lLDftbHEQcv6up0e8Fs2u43Hvb/YBLErYrUXTkxfGL6HPa0S2V 8gPq++1/zM/xddKhjwl32uX4eQdydxgRJXVMMS2I20TAqd3dkvx+JH/TzU1UUVN6fd1H SLHDFu6ctStGZSr2ZcOzGFnAu7mqfZSVbRpKhZP9Wh5Se+ZiPcXD2nbpIdZxJwuXFqdt kR1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@0x0f.com header.s=google header.b=fpsYiRtd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t8si1844358ejy.77.2021.05.06.02.04.22; Thu, 06 May 2021 02:04:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@0x0f.com header.s=google header.b=fpsYiRtd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233686AbhEFJDa (ORCPT + 99 others); Thu, 6 May 2021 05:03:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233765AbhEFJD3 (ORCPT ); Thu, 6 May 2021 05:03:29 -0400 Received: from mail-qk1-x735.google.com (mail-qk1-x735.google.com [IPv6:2607:f8b0:4864:20::735]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78528C061574 for ; Thu, 6 May 2021 02:02:29 -0700 (PDT) Received: by mail-qk1-x735.google.com with SMTP id x8so4243609qkl.2 for ; Thu, 06 May 2021 02:02:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0x0f.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UJVlTf1wAisYyAXO10oVlqyTHmds0dhQ9zCL08SVD/I=; b=fpsYiRtdsHOed+tw3DjbJZ3rDItxm1WR7+Rw4iofg/3k0y0vVYtGZdR917UPfaHA+1 pl9a7tx4awzcnMkc1QEbYqz3pP/0RMqxjVL5hWoOPoESHFadug0wyWr9XAFJ8XbX2Mqo leVIRixovBpqNJuUuClujUt6GqvqhhDpFTDJU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UJVlTf1wAisYyAXO10oVlqyTHmds0dhQ9zCL08SVD/I=; b=XQ+G5egCiiYIAJpxbPdow3I3Xe2TD/UuWqfzi8pOCRJSq0pF0/dbQcwfr/yZknu3D6 tXFQvEDJ0GKkBZ+PqxvMwp5AChlS17+GFTtjhhcMfTqpM89Iu4JTWa5VmLJe1mlwCd2Z fdfGq6rizaGq+bsoIiaDiJqqkd9508u8a6PViimg7rj7bIf+a6YJqdihoA3/1te9R/Ad 9U2CM2207XEDc/yJ2N0DKLntHIf+6x9VQgDmlk/QaMdA1PjHonWa0ZC2EQLlC5ECw1p6 W7q9Ia2x7PRovOVOl7vJSkysVE0FkYOox2bAy6biymrVUkVNGAjodzlNmyARiL/5HZle KXOg== X-Gm-Message-State: AOAM531Hw3iW4OMaoW6J/eQ8ML4hblPfpKLSfvKu+49zLALzvAwUWDtk vmWmPcDm5FSS/E0BO5WtezCZrzsHBsy2Y5KapbDqig== X-Received: by 2002:a05:620a:918:: with SMTP id v24mr2910497qkv.54.1620291748709; Thu, 06 May 2021 02:02:28 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Daniel Palmer Date: Thu, 6 May 2021 18:02:18 +0900 Message-ID: Subject: Re: gemini: sl3516: Mainlining of NS 2502 To: Linus Walleij Cc: Corentin Labbe , Hans Ulli Kroll , Linux ARM , linux-kernel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, Coretin On Thu, 6 May 2021 at 08:56, Linus Walleij wrote: > On Wed, May 5, 2021 at 9:26 PM Corentin Labbe wrote: > > > It seems that USB is still a bit buggy, device are detected only if plugged before boot. > > Yeah :/ I don't know that driver very well, only that others use it too > so there might be some people who can help. I haven't mainlined > that patch because there is something that seems wrong about it > but I'm not a USB guy. Assuming I didn't read the wrong dts this machine is using the Faraday FOTG210. FWIW the MStar/Sigmastar ARMv7 (and earlier I think) chips use basically the same IP for USB host (FUSBH200). There used to be a distinct driver for the host-only version but it got removed at some point so I added support for it to the otg driver in my tree and it sort of works. It seems very picky about devices being hot plugged and doesn't seem able to enumerate low speed/full speed devices at all. Maybe we are seeing the same issues? I have a USB bus analyzer and I intend to debug this at some point. Adding support for USB on the MStar stuff is pretty far off but maybe if I find something Coretin can test to see if it helps out there too. Thanks, Daniel