Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1126528rdb; Tue, 30 Jan 2024 08:36:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IHvU4GrrzV9JipQ7MY6vGC6ZbacUTYQJ6ckoydFn/5reQUlNwxVq+qZ3m3P28ItCLTdLuxx X-Received: by 2002:a05:6358:6f15:b0:178:9c71:f89a with SMTP id r21-20020a0563586f1500b001789c71f89amr870959rwn.9.1706632590810; Tue, 30 Jan 2024 08:36:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706632590; cv=pass; d=google.com; s=arc-20160816; b=mg1lZjPnVfS8hX3gJvEp8lGJ+hqMzNbeS61z4HeOATXuUMeRhBwEnLLTMwGAQ6x9L8 s04QRFSTVbDgLdxWH0w99/xHWhKdra4KBl0ooHolElX7hGWHxIG1RuJT0PZOBpdA4ggA RffIy+cLQQFfmfdt+Aj9r7MRT6U7Zg0q01Yp/2nR11N27Jud0/krlbhZq2nigRi6vcKR Icb578EOzJlabYxzE7ccsJ1Eh8rZSNnnaWGzqKJfHhl4XW+DCFVlMdyRQgek7xY7kvQX lhpMpZETmafORifS02NhsHWF0xAcDgagrrELzfarDqO0xwbguLz9tehDIE9N2VoPlCOU c2XA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=rcTW+7oT3t13a/n33b/4KS3YATuRI0RohBsjyQaxIcI=; fh=xKJhYL/puTMmYaXUqWB+PYIrA20uPDZlYJ2bBYIJmTg=; b=UFd75ViB0qjojxt5EEk3tj+0lkh1TaJ90/1yvSr1NBERApU88GNqTpDWZEyDkeEBQV rTVhji5hvJs0lSZ/mYFwkQGS25Zn7ZWlfHQiJLFZXog9JWkZPPXclpzm3A3b7GzHtLTL GCtg8b3qwQp7BNUkj40rQvmXltuMCTarMgardg4giqqQ7vN8cumQrMJDoe+OvzJd6UOC Hok8u8SrY6yxdYZXhA3F6nvqOmJAJ4ksReT18CmQrJxipyJf4HAThfTlzJTyaKNH3MOr GcgBpfH9gYVWUxY3dMIQizpHoyj6XnSM/smDerEwfiFv2OjOZETFC71y7HFDamVeOGki Y90A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=oRTDsM3F; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-44960-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44960-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id bn7-20020a056a02030700b005ce06ca3538si7732413pgb.873.2024.01.30.08.36.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 08:36:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-44960-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=oRTDsM3F; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-44960-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44960-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 16756294080 for ; Tue, 30 Jan 2024 16:36:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 41D2B12BF13; Tue, 30 Jan 2024 16:35:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="oRTDsM3F" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 56E401292EC; Tue, 30 Jan 2024 16:35:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706632534; cv=none; b=oGXTUunT+pT5XPaP230fdK6voEedWIQ3Q4DkSLFE2kRfNN3x08Ta8wnoxO3dUGqNTBLwX4yPRJH7F6EuN3FN8ah2FqzhvtF6S4ZJZYuWcEojVHfNR/jafKtbkmA1CH9OpoI3h02IAIsKK5pMk0+Vs9q5wvwhfiR6ncJB+wjBA3Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706632534; c=relaxed/simple; bh=l42LVPwVl/n/5IRiBEREWDpzkqva4D/1HmJySCS0x4E=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=foGl2O8cDncObppYnShzuVyxYSljrUJyhBoLMl/rUdv28EGmPRXKOaHoVBBQx8BW8zwHQgAttyXzteV/LRuGiLQuKOy0vlE35Bbgy6eaF6L+12CSiFbpf4TdysICjOoTmxiT2E9zpTqDG0RRYMXF8Wwae+/usQn8jfbyIa2fZa8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=oRTDsM3F; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7BAF9C433A6; Tue, 30 Jan 2024 16:35:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1706632533; bh=l42LVPwVl/n/5IRiBEREWDpzkqva4D/1HmJySCS0x4E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=oRTDsM3FbKZOKcOtSryzdwAiCH6hwgdBbpr/GMBidoSMpNbS0IGUagAWn99mLDaiD JGNXZyGJpIHk7zRMWqC55XVa1cuJ7P7AEAWp5Lo248eY7GEbDo7Q1wsl7+d/imVoxr Kg69HySIYb9dvfj1XP6LQA5Nn8kE3dipycJ/1TFg= Date: Tue, 30 Jan 2024 08:19:40 -0800 From: Greg Kroah-Hartman To: Matthias Kaehlcke Cc: Javier Carrasco , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: [PATCH 2/2] usb: misc: onboard_hub: add support for XMOS XVF3500 Message-ID: <2024013024-borax-enjoying-beb5@gregkh> References: <20240130-onboard_xvf3500-v1-0-51b5398406cb@wolfvision.net> <20240130-onboard_xvf3500-v1-2-51b5398406cb@wolfvision.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Jan 30, 2024 at 04:11:29PM +0000, Matthias Kaehlcke wrote: > Hi Javier, > > I understand your motivation for using the onboard_usb_hub driver > for powering up a non-hub device, it feels a bit hacky to use it > as is though. Re-using the driver might be the right thing to do, > but then it should probably be renamed to onboard_usb_dev (or > similar) and do the hub specific bits as special case. > > Greg, do you have any thoughts on this? Yeah, this worries me, adding non-hub support to this driver feels odd. Why can't this all just be done in an individual driver for this device itself? Javier, what kernel driver supports this device to communicate with it? Having 2 different drivers poke the same device is just going to cause problems in the end, as there is no way to communicate between the two, right? thanks, greg k-h