From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EF267C47DD9 for ; Wed, 28 Feb 2024 19:22:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=h5g67+WZUXebecfgd1lKekFEjNzlLRXsGmhDAxkWEF8=; b=XpZS3t28NES6qj 90gKRaX1cGK+1RRaM64hIVeyrc0Yr3JoJJY4sYYmIZvhIz0fkeVX4aM0x5JoLrQC7P8ukQ0Wm3jVs DHL9e4GsYBABTrfF+yknNL+pYpctfjIyNvSHzdjJrvSC3XGboFWVWN4fQLaTOf/KrXHGZW1IqBjGP n/Pe2GrI2X9fv/LAk+mh1TxBpjvNfIyMqT61gzoumaqSgZR0+Y/7+xVjJnfgArjmwqdb+SxdagtDZ LXWFfMUiHRBhPjXydF8mDUUEyJP9tF6bg4+WsJUQCjj7o6sDW/CvrqUVc0DD6HLsS5UQcULGPasIV wKv/uaAzva/Z3ZqEsWPQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rfPVZ-0000000Aebq-0JEf; Wed, 28 Feb 2024 19:22:25 +0000 Received: from mail-il1-x12d.google.com ([2607:f8b0:4864:20::12d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rfPVU-0000000AeYd-1kJT for linux-arm-kernel@lists.infradead.org; Wed, 28 Feb 2024 19:22:22 +0000 Received: by mail-il1-x12d.google.com with SMTP id e9e14a558f8ab-365afa34572so713105ab.1 for ; Wed, 28 Feb 2024 11:22:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1709148139; x=1709752939; darn=lists.infradead.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=cWZCONUO1eBq93ur5BQyYMDhfKl8EM5yFU5z78+cztc=; b=SiEaKso9nz+wrvwxtPbku1MpMDZH3+vcOdq2l7JY8ZaVHv8TRSZT3E2OzPYJoNHIkU PBNfZTz5LVayWD+/6/UtN8guIR0iF6laBrjFc+BdJU/rDO3qZYTC8Csq68EdB09YVtMP IaJN5dcyYkDYKJe0Pg92ok1LuWRt3Ymwq77Vs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709148139; x=1709752939; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=cWZCONUO1eBq93ur5BQyYMDhfKl8EM5yFU5z78+cztc=; b=QK3usiHwWQaRw0PaAbaBACi7XnAGG8wp8NF8ZxEXLZWBikBn1UdM8UGjPwBbds2h8T O17ButYaDIWgbpRWo2+6atkKnKhp1BfRW4MYxN0hN4rSdX0Iz/U4ifxKZAdiMbwhZNXq k4jdVfH0R4LVr9eVmHWpCGUwo1/rpNbtmTQah5QbLni5eO/zy/EwtaHTX13Jz+ih2wpe wjnk9NLAvWLnyQ3mEFQ9dWtrGRfxoaGgaNYALz2tPDArOKYfFTLqsh2MkbWb03BD8+Oz Na/xSCLFWF+GLzpxjoeFYhKHFhlnRcOJQRe35HJ5U+VTJp76cadQLPCjappdbLyqrJlz aZ4Q== X-Forwarded-Encrypted: i=1; AJvYcCUrt0oB5dyaLbN0E1Fk3RyvqjodC6H9dWklIgvxInQ0hoKcHrna9h6E9lQNsWk3Qbz3tI3pJqtYaq1m9NkaDavuF5jMaViCxlWhuWp4YVsAxvUtaDk= X-Gm-Message-State: AOJu0YwZxwV81+EUb/JrNb/glU4amGyT4n9hnVY22HMv+xS/eQBzTROP 2NeCoASjTxVtMzxuzXIS5gTdIM7SL13p5EA7254IJles7YSlP8A6wh+D+OT8zQ== X-Google-Smtp-Source: AGHT+IFqbcv66YZt2FKNF964iMhI6GTiYtKK3x/4hGk7YfuhA2JWmeUUh4jB5yMEezmNt7X9tFEO2w== X-Received: by 2002:a92:c5a9:0:b0:365:a9fd:1a7a with SMTP id r9-20020a92c5a9000000b00365a9fd1a7amr178874ilt.26.1709148139247; Wed, 28 Feb 2024 11:22:19 -0800 (PST) Received: from localhost (144.57.222.35.bc.googleusercontent.com. [35.222.57.144]) by smtp.gmail.com with UTF8SMTPSA id x3-20020a92d643000000b003638f9a9debsm10233ilp.75.2024.02.28.11.22.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 28 Feb 2024 11:22:18 -0800 (PST) Date: Wed, 28 Feb 2024 19:22:18 +0000 From: Matthias Kaehlcke To: Javier Carrasco Cc: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Greg Kroah-Hartman , Helen Koike , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Catalin Marinas , Will Deacon , Russell King , linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v5 8/8] usb: misc: onboard_hub: add support for XMOS XVF3500 Message-ID: References: <20240228-onboard_xvf3500-v5-0-76b805fd3fe6@wolfvision.net> <20240228-onboard_xvf3500-v5-8-76b805fd3fe6@wolfvision.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240228-onboard_xvf3500-v5-8-76b805fd3fe6@wolfvision.net> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240228_112220_532740_294CB3CA X-CRM114-Status: GOOD ( 28.41 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Feb 28, 2024 at 02:51:35PM +0100, Javier Carrasco wrote: > The XMOS XVF3500 VocalFusion Voice Processor[1] is a low-latency, 32-bit > multicore controller for voice processing. > > This device requires a specific power sequence, which consists of > enabling the regulators that control the 3V3 and 1V0 device supplies, > and a reset de-assertion after a delay of at least 100ns. Such power > sequence is already supported by the onboard_hub driver, and it can be > reused for non-hub USB devices as well. Please update the commit message, the onboard_hub driver no longer exists as such with the other patches of this series. > Once in normal operation, the XVF3500 registers itself as a USB device, > and it does not require any device-specific operations in the driver. > > [1] https://www.xmos.com/xvf3500/ > > Signed-off-by: Javier Carrasco Acked-by: Matthias Kaehlcke > --- > drivers/usb/misc/onboard_usb_dev.c | 2 ++ > drivers/usb/misc/onboard_usb_dev.h | 8 ++++++++ > 2 files changed, 10 insertions(+) > > diff --git a/drivers/usb/misc/onboard_usb_dev.c b/drivers/usb/misc/onboard_usb_dev.c > index df0ed172c7ec..50f84c5278a2 100644 > --- a/drivers/usb/misc/onboard_usb_dev.c > +++ b/drivers/usb/misc/onboard_usb_dev.c > @@ -405,6 +405,7 @@ static struct platform_driver onboard_dev_driver = { > #define VENDOR_ID_REALTEK 0x0bda > #define VENDOR_ID_TI 0x0451 > #define VENDOR_ID_VIA 0x2109 > +#define VENDOR_ID_XMOS 0x20B1 > > /* > * Returns the onboard_dev platform device that is associated with the USB > @@ -497,6 +498,7 @@ static const struct usb_device_id onboard_dev_id_table[] = { > { USB_DEVICE(VENDOR_ID_TI, 0x8142) }, /* TI USB8041 2.0 */ > { USB_DEVICE(VENDOR_ID_VIA, 0x0817) }, /* VIA VL817 3.1 */ > { USB_DEVICE(VENDOR_ID_VIA, 0x2817) }, /* VIA VL817 2.0 */ > + { USB_DEVICE(VENDOR_ID_XMOS, 0x0013) }, /* XVF3500 */ nit: be a bit more specific? e.g. XVF3500 Voice Processor, or XMOS XVF3500 The other entries were implicitly hubs since this was the 'onboard_hub' driver. It wouldn't be a bad idea to add 'hub' to these entries in the patch that 'renames' the driver. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel