From patchwork Mon Jan 15 09:16:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 763469 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2044.outbound.protection.outlook.com [40.107.21.44]) (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 C5E6EC155; Mon, 15 Jan 2024 09:16:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wolfvision.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wolfvision.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=wolfvision.net header.i=@wolfvision.net header.b="GIKRieCO" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=X1wzehwIns/ivSsrpvzR6Fp0h7iTx7GMWk08KuemDoto5C34mdSgzUH/mb1o6hT/PQuVY9dpHFoXWPtFbYddPB3KsEwRhmlkVaodLksbcvGgWJpOKJQPXhWHEuuU8eRPGNgpIvPkW2tiVIM9The0ievNVsPCaOwYYO6+zy56ZfTtp/UlIvrOQmvBYCEHFiUlfG+uHQ8W9ibhxgmIY7/abi4oH8gNezY3MfsSbjWFVFOiPULIE83B2VHAt7xm6uN6tPUQ+S6kmw4svnnuu+V/A6urVflQwcA0sanb84mx6pMn3k8tw3yOTld9LTfzhZ9nriAEDSEE5YSOiogjg9D3Ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=EvUrqoy3wsg+8tUY3FLgYGgdf7zD4OHWKf0G02QwwpU=; b=AnPymIezsShTuyQh+sp+5n6CnU2vvKcD3aWrC65o4uGMGwIaN85M4KW/SG5HkAOrvC+RbTJ1K+clVB0zCQZQXNSzkV4pKX7jwJDNG2Y4XTxfURgN5ehQPNGlX5Y0yKyZbSP0IgOe+6KWruuB50MtXGT+55swLF/rhj8WcVj1qKrL6q1ikIrJ9nwmvNpiWbT6YK6I2rpuMYuW3SojNGaxK8uv+25TtwB+HBwRbgFMdc+CVA3O3YU/pN1Hm6PC4sQAE9ybrxtXy042FZ9ux+u+jiGEkTML6cxiq3XwuLZvmNnuR6ojVmPiWg0lhXg2s6msOl83Rz+Dy/S3rFi8DxrCNQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wolfvision.net; dmarc=pass action=none header.from=wolfvision.net; dkim=pass header.d=wolfvision.net; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wolfvision.net; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EvUrqoy3wsg+8tUY3FLgYGgdf7zD4OHWKf0G02QwwpU=; b=GIKRieCO5GiA5EXTokfJMjRmlyRCkAnPiJDmIksvuHq8hxQg613QKkghOU7OSVfEzs0cONVMWDKUOKBRd7bN+cdAx06X0OPidM7JLjo0wus705Dljt7P4pnNL4SXrG0tUhdf62GNG89KDppXlIbHUVRbI2lDy6A2XtfugHC4ebM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wolfvision.net; Received: from VE1PR08MB4974.eurprd08.prod.outlook.com (2603:10a6:803:111::15) by AM9PR08MB6035.eurprd08.prod.outlook.com (2603:10a6:20b:2d9::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.23; Mon, 15 Jan 2024 09:16:37 +0000 Received: from VE1PR08MB4974.eurprd08.prod.outlook.com ([fe80::6b40:1e6f:7c94:71dc]) by VE1PR08MB4974.eurprd08.prod.outlook.com ([fe80::6b40:1e6f:7c94:71dc%4]) with mapi id 15.20.7181.026; Mon, 15 Jan 2024 09:16:37 +0000 From: Javier Carrasco Subject: [PATCH 0/3] ALSA: usb: add support for XMOS XVF3500 Date: Mon, 15 Jan 2024 10:16:30 +0100 Message-Id: <20240115-feature-xvf3500_driver-v1-0-ed9cfb48bb85@wolfvision.net> X-B4-Tracking: v=1; b=H4sIAO73pGUC/x3MQQqDMBBG4avIrA1koqXqVaQUjX90NiqTNgji3 Q0uv8V7J0WoIFJXnKRIEmVbM7gsyC/DOsPIlE3OutoyswkYfn+FOVKoXtZ+J5UENb55u6ZqPfM IyvGuCHI84/5zXTe6McKlaAAAAA== To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai Cc: Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sound@vger.kernel.org, Javier Carrasco X-Mailer: b4 0.13-dev-4e032 X-Developer-Signature: v=1; a=ed25519-sha256; t=1705310196; l=1753; i=javier.carrasco@wolfvision.net; s=20230509; h=from:subject:message-id; bh=JBsPjBCzo6FTPu3MSdjGFr7gnmUmal2Kzm1FTTD0/3I=; b=v2fITQom5/SBKklk6XddFlLyhzgF4K26WyKLNJF26q532RWi4c0wfsQUZcbeDQQdZ6/1WuACq /6fP6YvjiubB0LCuKwox4LIu0lZXqq/eVhRemFCRQ+JxdVpksr23vDA X-Developer-Key: i=javier.carrasco@wolfvision.net; a=ed25519; pk=tIGJV7M+tCizagNijF0eGMBGcOsPD+0cWGfKjl4h6K8= X-ClientProxiedBy: VI1P190CA0005.EURP190.PROD.OUTLOOK.COM (2603:10a6:802:2b::18) To VE1PR08MB4974.eurprd08.prod.outlook.com (2603:10a6:803:111::15) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VE1PR08MB4974:EE_|AM9PR08MB6035:EE_ X-MS-Office365-Filtering-Correlation-Id: bf03a166-aa90-43d8-1e3b-08dc15aaad43 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /v3m03x1VpdJ6jtcoSKMM7T3TdnU5/YmVRIR2+nyZiCtphswt3CJu7t90nkpaUxxOMTa0tpcdKU00ZZ3fNaJlIBaD8VV7sKJQq24wgtySOPMxaqUnO5/pojwhlXcrNDQgEp0cVKn2d3UAVwHMrU87AUzOPJFOrBxlW04wlAY1m68RlQcHf0zPrGO0KlJ+OU+kmWQPETULXr52vhwNV09Okpqm9wWl4TsLFgNnKZZJE3fjeytm+YisQmpRmhO+qmfHEdnLxexZ+EMzZWuvY3w3QbjdUhkolZ7qjjiOu+QR0XYUU+9jnheONojZmgT6g2UwFEUBBd1qxxQItiW2PXndVxEf5YyWxGx4+ISHHU79/4WLVvFf06atK/60CLS/0EjaSqKX2ih2+E4q9DW+6DPnPhJ6FSaPsd3gZeekSoVpOZuCTMSQ00We++dJxU+wv/5ludLIhGgE1LNz2ND8nmZIM6mk5aWKJW8Bv76otJzt6yLBVBP4/JEBriJpn6t+5nP+Q7yVNA1jNc0X/dacrBkLWaRnNNe6HHVmg6uvYEU2h1+6veBgvMr4jQIJerhtQOrLXMwlxfxeqMfM5wek7iAzEADns2c4DTFSEpG6diyIN8= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VE1PR08MB4974.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(39840400004)(346002)(376002)(396003)(136003)(366004)(230922051799003)(451199024)(186009)(1800799012)(64100799003)(38100700002)(38350700005)(36756003)(86362001)(66556008)(26005)(107886003)(2616005)(83380400001)(54906003)(66946007)(66476007)(316002)(110136005)(6512007)(6506007)(966005)(478600001)(8936002)(8676002)(6666004)(52116002)(6486002)(41300700001)(44832011)(2906002)(4326008)(5660300002)(7416002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?7LuJ6U7Xg4PVUHXA4zpo9dKrI98W?= =?utf-8?q?lfjKEFocuUIIZpYOggNybHbN6zC5zqVylCPgfo0kO1cvS611ZxTBXjQ0aaqVITGfz?= =?utf-8?q?dpXJdxkYhJVINuWQY5aZ8kz1n7I40htXnPqmsu+M1ZshE3c4PVaWl+7v2EQzqIiIz?= =?utf-8?q?3A7ILMFL/W9qK2xnnS7wOJ3BD4e+qjUVis4fePgY29OIwWLEo054Jnx1jNdlvq8W4?= =?utf-8?q?rPfyxLXZQBEYxTJe4BjUHWS8uifJI39DY4f+ivZJOo2K5oqLF4mKKkAekFXVVpWiI?= =?utf-8?q?P/11l8VSKsteTHig/y0NSQbVg65GMvMd20AMCxXGpPWL7G3QrZiJVQd1pqHRFHsSb?= =?utf-8?q?OAOyiN1epZti1RVaFX+ne1Spe8tkzbLBynABY0nO3WOZfx1OW2ZhMs+1ZsLITXu33?= =?utf-8?q?SgAV7jdsAuFbv8M+Eq0gI9Mpr2+tqinM5HoS/aQ0TepX+cowu0tKimsFVMuhyTbR1?= =?utf-8?q?34rh31l8GcwDO+NeMRMuidctQs8DaAijDClrP0JatWd137etFgtZNBWaKd+ijjQ6s?= =?utf-8?q?h+yNgcjPcU/iixyuHfard1YRVCqHAKi4Aghp9fYKM5zelNX4Yo+t0pwwAyLLlVc8Z?= =?utf-8?q?BTtHU66JmGkCBK6CV2WOhYBh1MR99GNsLa6YgSC3G2iEGoJxob739vkyOlSQJE0dL?= =?utf-8?q?1FjiYL9C11Q5ZvQN218yIoBqe7apYIOqsU2YeqSAsxxYW+/RPOOgDnDqbhOlSQvM3?= =?utf-8?q?kUq/E66/wcrR/zfjZP3ZOCL6AIHITgsPCUzPHsFnHk1VEEa1vrAYUwnO3PxXaiw6P?= =?utf-8?q?E0uk+0MxJ7JszxU1WRfrlViDVDgdtSlXKWFv085io7zWksPHRvyQzvAG6pa4jXfCM?= =?utf-8?q?+FjfxyH5e74L/WYyXdKxF+e9KBexSvD8UV+l1BnSRgpsXxsb6tz0grzV9BQSStR8t?= =?utf-8?q?+Zl5VUdEr1xNxkUF/g9palWLI51bZV70+E3m4i9Q89uUjdyL0GxfnZuN1y2JwefPr?= =?utf-8?q?DCtsxPYjFDAHRHz51HhnSVmLby3UMwAFWVnQkxceQeE9VyqbBD/24c/4S+pwtBSjH?= =?utf-8?q?MbE0wZ8l06vozqpHM4pOMt2YUQjuSKBCV5OtxdQTG45ubRKIfdBQb80GM4wTMNqd1?= =?utf-8?q?GExlBT9EPrGElpCdmo2GUWCs/PhRVcPnrhFq8RU+Gaf2KmgiLetksL+WUdE38Xwmx?= =?utf-8?q?Ui7R3xrRhN936WnVdrqExIgeWxCAHpGjpe8zynfxtijpE/6o/+N9ZJFj+wuEDBKpy?= =?utf-8?q?QNjvkbVBDIXsmw50aAazmPspx2KOJuGigc7eVl+WmJ8qF0s22CyGM+zwX41+OnkkM?= =?utf-8?q?RmHzgz8FX/RfI0ey2PrH2alufAT9hu7dIPag8CBetsZfOnwGmSLNYPb+1LCAEx28/?= =?utf-8?q?3emB40XhWix9wL0cdZ+U8+DhUnlaNN+5KQ8GVqnCjpz8BTThnIYqvpqFbQJk2C79s?= =?utf-8?q?yruZHjlV1WSa/Nk9W4Xv95CJobo8DpdwHY7dxb/xw9Uudg+OanzhZ/MtYLMn5knWX?= =?utf-8?q?SS4UU+C6XQ2cToMfK7u+sfoaJmbgE6eQnUKMvL7GZky06bV1q6npKHlUS5uuoxuzP?= =?utf-8?q?FeLtBFVmQA0jYv79NxziSy0rasuQzf9P8sAGYSzUFaFIynrZ4FhTf1c=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: bf03a166-aa90-43d8-1e3b-08dc15aaad43 X-MS-Exchange-CrossTenant-AuthSource: VE1PR08MB4974.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jan 2024 09:16:37.6429 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e94ec9da-9183-471e-83b3-51baa8eb804f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: +SggZ/uNC1I77FEpztm68hTfc7Ze1jk+DlamY5XGe9c2YA3uYi2Pn0Z2erP18nMlBZ/vdVyC3HYy2TZlEmod/oMaudQ7Ik7Wo5ipbzJRil4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR08MB6035 The XMOS XVF3500 VocalFusion Voice Processor[1] is a low-latency, 32-bit multicore controller for voice processing. This device requires two power supplies and a specific power sequence to reach normal operation, where it registers itself as a USB device. These constraints cannot be cleanly solved without the use of a driver that guarantees proper initialization during system power-up sequences and sleep-mode transitions. Once in normal operation, the device works like a regular USB device with the obvious limitation that it cannot be unplugged because of its onboard nature. This series adds support for the XMOS XVF3500 and includes the device bindings, which also required a new entry in vendor-prefixes for the XMOS manufacturer. [1] https://www.xmos.com/xvf3500/ Signed-off-by: Javier Carrasco --- Javier Carrasco (3): dt-bindings: vendor-prefixes: add XMOS ASoC: dt-bindings: xmos,xvf3500: add bindings for XMOS XVF3500 ALSA: usb: add support for XMOS XVF3500 .../devicetree/bindings/sound/xmos,xvf3500.yaml | 51 ++++++++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + MAINTAINERS | 7 ++ sound/usb/Kconfig | 9 ++ sound/usb/Makefile | 3 +- sound/usb/xvf3500/Makefile | 4 + sound/usb/xvf3500/xvf3500.c | 140 +++++++++++++++++++++ 7 files changed, 215 insertions(+), 1 deletion(-) --- base-commit: 0dd3ee31125508cd67f7e7172247f05b7fd1753a change-id: 20240111-feature-xvf3500_driver-c872839c11be Best regards,