Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp879452imm; Wed, 10 Oct 2018 05:53:22 -0700 (PDT) X-Google-Smtp-Source: ACcGV61eAhZfqNISmZ/njF3z1pojbBfC/h16WAVEHwtFKa5vXE0YJmFozzlynT0cGCIRDYP/ZLFx X-Received: by 2002:a63:a42:: with SMTP id z2-v6mr29186151pgk.209.1539176002543; Wed, 10 Oct 2018 05:53:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539176002; cv=none; d=google.com; s=arc-20160816; b=jQNpsMOgedYSh0ir+0CvDybD4XAXWH7LQsnbhp7Nv2DJ6//N8YjmpYGwEJV77/Krif 0cJe4jQj4zU8pdSPmy29TF+N2iFW1p2fTp1bapGE3wVYMqdWbUVX2zmUFHHMU0QN3Pif pA1PgLSI/Oup5RjV+VHiCleMjv43MmOzaEPjl9BqC8TwgQbjU1udzasMcA0aPdgQ1Pee ycYVt5nkB97ksB6piwEo50RwDErIqPl6+QEiXyHMowgSluNhIKa7+uAJu0Gl/XUcmD3V ORjC1AuNHJcM3Cm/IhjTwc0Ovk4qPipCDQ1ft0hTHQtxXDpFOUcdQLG3EtjQqfslwuXO qQYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=07ulyTaEaQlHkUAgeDrjGoj35LT6E0ZFgSl2eMpX+NM=; b=OnR8zH6j1GNkAyDlpzwhsknbLJ3nyc/bFgEYtT+6j8xET5nxC4FpSWax6yT/FNLbEm G0ZHDh8ofT5sA5R/4d33aObuJ6qPg8pNInr/ZzgvX9oYWeBhIxcZU2IBhEjSW3nTyAqR megRPrWSi8X8urd6B28+1YAMq8qMtSlujbYmdnjq/m/01LRHLwP0tszjzd6ao7xPCE0R OUTYrySKEhmlmDCzI+96fVJ4OLyFuedxWfkgq6Ci2fHU9GilX9eLtIyEO2U7BRteL8LB wAbdYcmyKTPoLMhF27Mw5cEa2bX639E/mENZvxev7JATNFQxmWHs4oheysSWgYcY/Z5e rBSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@as-electronics.de header.s=strato-dkim-0002 header.b=G9HYU1bp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k10-v6si24065884pgj.381.2018.10.10.05.53.07; Wed, 10 Oct 2018 05:53:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@as-electronics.de header.s=strato-dkim-0002 header.b=G9HYU1bp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726942AbeJJUON (ORCPT + 99 others); Wed, 10 Oct 2018 16:14:13 -0400 Received: from mo4-p05-ob.smtp.rzone.de ([85.215.255.133]:34314 "EHLO mo4-p05-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726573AbeJJUON (ORCPT ); Wed, 10 Oct 2018 16:14:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1539175929; s=strato-dkim-0002; d=as-electronics.de; h=In-Reply-To:Date:Message-ID:From:References:Cc:To:Subject: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=07ulyTaEaQlHkUAgeDrjGoj35LT6E0ZFgSl2eMpX+NM=; b=G9HYU1bpzo3FVkyYIHzlHgBl+5o5E8DYe+pasC9IeCkTTtBxF9TB7otxiBHBuu10Vg DhRav+rURGB1FgVle36u24bECadE9O1HQRTuNw4p7pA2wiiH4TvXwSSJqroe993HuDOl RlzR26XVCMvwgC9o7rBffOYUzxFSEQt5NnGPIUfLfec7Ykdy+mQnXd5eS2395Nzq+A+y jHpkGe2lNZHHbMopAnrVfS5UmA9POFn5KCdUS7HrFIKybgtHCLk/dyGVa23RVOCsslw5 WWoLOTHsSxjA8zXKHN3RmRmcp8gS8GiJNRRJkfuLKENoSiMc6/6BFxCQ5eWAMyIEUzfg ccYA== X-RZG-AUTH: ":LX8JdEmkW/4tAFwMkcNJIloh1hrA5u3owhPk7bdT5Fx2zAOrX/r2ZbrrxoyOl37jyAS87PDYctbdJxUgkU9YahDqu4JTve1szJ/gUJ8jYldl" X-RZG-CLASS-ID: mo05 Received: from [IPv6:2001:16b8:2487:8500:c9b1:3000:9001:1322] by smtp.strato.de (RZmta 44.2 AUTH) with ESMTPSA id h039efu9ACq7Pcy (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Wed, 10 Oct 2018 14:52:07 +0200 (CEST) Subject: Re: [RFC] usb: chipidea: Add minimal support for HSIC interface on i.MX6QDL To: Peter Chen Cc: "gregkh@linuxfoundation.org" , "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" References: <1539005352-10909-1-git-send-email-frieder.schrempf@exceet.de> From: Frieder Schrempf Message-ID: Date: Wed, 10 Oct 2018 14:52:07 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Peter, On 09.10.2018 03:24, Peter Chen wrote: > >> >> The topic has been discussed before: [1] And there is some implementation in the >> vendor kernel: [2] >> >> It seems like two things need to be done: >> >> 1. Switch the pinmux of the strobe signal to use a pullup after >> the core has been initialized. >> 2. Enable HSIC mode and HSIC clock >> >> This patch only implements these basics in a minimal approach. >> You need to have an additional pinmux setting "active" in the dt, that sets the pullup. >> >> It was tested with the SMSC LAN9730 USB Ethernet adapter on the iMXceet Solo S >> board. >> > > Thanks, I should do it earlier, I could not find a suitable board with HSIC support at mainline kernel. > It is very kind that you could help on it and test function at real board. My suggestion is > follow all flows in Link [2] since we need to cover suspend/resume and remote wakeup. It seems like power management and other things in the linux-imx kernel are not fully implemented in mainline so there are quite a few differences. My knowledge of USB, etc. is very limited, so I guess this is currently beyond my skills. Can you or someone else provide a patch to get started? I could help with testing, reviewing, etc. Or maybe you can point out what needs to be done in more detail? Thanks, Frieder