From patchwork Mon Jan 15 09:16:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 13519399 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 530D8E541; Mon, 15 Jan 2024 09:16:40 +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="Gm25FIIY" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VJiWOyswmoGHOtqeloF54EEz4gtFlRMVosSyuC6ArdvBpLaJ0CqZFiVm+pmXKxSlcIPCmE4AAPsf3D1f3QfpQvBqv/0dFfDbhhZSUjyQVLK5FKGMI+4lju8bissFUqIZC/keiUmST3J4tJViqff/MLqGy5zcr/rQnPjSnBXrJ19s3Sf69aWkbd1ani5kjzCLo08vrFFB9+GWpqqeDLqqlXRYcC8URyo1ehZfKhlNW8i44xfC2CP/NHkmPM5ipW2mYQB3Bwuw7yLsVODfj6rZP2NQ9UZ1wOH7olGPFhHQ2hQ6F7CLxHVfVw1SsNDqHhBT3hEoADQ7x9cLV7mKSWb6jw== 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=i98cjGXxyhurSwFE1PBqy8pId/6WHyrCJ/M6Q8HkBgw=; b=hcumoVQ/yj4pCVBdDjhRhMMpCd1IZEn9GFJQ72VHQKojoCslNYIL9oeAnapebRgfTvjtAPnHrZKggPe0hBZV3b2RzJehTpNY7BJ8WeIgRWl9RV8Ez7C3ccV+UU78PPJZK+X5k7ekWm+ZPuVpS5ti2x+hTa1Idmb1D7JzK/LATXZZ5o20CdLfm2UvH2Z+d5RjTLbmrOyPvGSHHwDO4p8uZwIDK16GlbNK2q0A6qxF6FAojWZAkQxLRcj3HF2UIntjP3wkcB58tIao62ZqsV/LAI74QMXKGoJEjGoalELn4jrXIKn25euG0QmpKCab2qwYfeCN8WA+AB4S8lcLb1mLVQ== 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=i98cjGXxyhurSwFE1PBqy8pId/6WHyrCJ/M6Q8HkBgw=; b=Gm25FIIYEWTCwTJ/lr8Pk59CtbJXH02K2XCpCxmG9IciwhrWeCRDi8BwRPhs7qJA6GCTwhNvGP5eMm0GA792xkHZh2NMdUp0GVuDHISMiWj2bXrMIqHR8Hln1KI8MFnuRzH2297iyhiDTzj8RxTXOaxhUyRL2P4/TuzDskXC6Qw= 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:38 +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:38 +0000 From: Javier Carrasco Date: Mon, 15 Jan 2024 10:16:31 +0100 Subject: [PATCH 1/3] dt-bindings: vendor-prefixes: add XMOS Message-Id: <20240115-feature-xvf3500_driver-v1-1-ed9cfb48bb85@wolfvision.net> References: <20240115-feature-xvf3500_driver-v1-0-ed9cfb48bb85@wolfvision.net> In-Reply-To: <20240115-feature-xvf3500_driver-v1-0-ed9cfb48bb85@wolfvision.net> 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=819; i=javier.carrasco@wolfvision.net; s=20230509; h=from:subject:message-id; bh=CCIgf7YGs9Hit7BoH96SfU/ZX5S7xYmcc7+JCYHNGx4=; b=H3QDib+CJyo0ZXHHHNrHm/z2uuwcPL9IJuH22eruSgzxTYT958oxrgqdXN+HvVhl/nmV4fpTt BbbEFbtlkCfCJxXNp+H4mY4Pa5up3bVO9vEdH6CFmSYmVQS9OfKZA+y 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: linux-sound@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: 9e73e721-362f-4d6e-f11d-08dc15aaadb7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HwC252XUnPStCo7dKvopnhMiKzWIQVmIDcdlY+ww7by8Nx24hGgHhgFJxNpTTKwJAxJhxZ6GXay4DtvvMfk2kDgSYtg6MtUeaSHnMUaaqINq7FfBZTQaWs+H/L0btzUCibX0nZaKqVl85p2ufidsBCW2fzaq9yHV0H9wlhg6Tx0Mp2GYKNBsv4pfoZ1YEnZQ7J1qNHe3OiUssoVUHfuvnRzqnMC3rnQ0WFfXEP6D3ER+DgyqiHZR8/+5ZRCGkU+7FTeu9zwsnmfbWw2ip1YNA9PMn8ib09WPwxDSd5hHivQOgv15sryYvhzJGsivSUr1bqIDD3jgAhj7QtrAgnQmCaQtiCmBgSFC/FqboSYuDuIHuPQ7gG7s0Vtaq+4nDDKi6f/IsoWe1jkPCK4F8LhpwLQvBnsh//AgcyDUYRWx8nbHsWfXBVVqcGKKtUeEMFkkt+hnXMdVytU4ZTTRl2PSJXqM2GaazcxuGoAlHkxQWoiZMW3JqFHOtX9PnX3yDSUliFT1gxxVMiQf7iV4jpr1JS7PlWpth/b/iEinep/orwuvYdgdHAnhMclgFJKz/pEbzMLPwp1lgJeEMYvjMf19PIaikxomLXWNC9dbruRvpnd8wbbN5kUQA9VeOQO+PVBa 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)(478600001)(8936002)(8676002)(6666004)(52116002)(6486002)(41300700001)(44832011)(2906002)(4326008)(5660300002)(7416002)(4744005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?0AiS1Cgywoehd46gsHMS68JRJgDQ?= =?utf-8?q?IauH9m+DSuGZ+Eht9pu69FTPyau5G1e0HNDwTHTMIvxQYk7iVD4iSpcNEGnPfyp4q?= =?utf-8?q?VWzTSuryGmahkEnNqP8erwIWeJtpXjyHN/pk2c/dxdk5WL12izFtYqFdnMIf12KzL?= =?utf-8?q?Y+GHN8nptioxu8HZqeiLnSEuTiJYsUYKPX8/FAm09JPUHVkEzx3ughsMQgzpDiHjd?= =?utf-8?q?x/eKWDBXSJSeP0Wt1Z70auKFNhUIfvVLfKNtjCdmUP1jSkZL2TpS2sJefZV/MPimi?= =?utf-8?q?o+7m03MithTJnbwjgl2RJ25q/UWuaRMoQRr2njwGOc3MRJYK1xW4K8P+3klNrVYzC?= =?utf-8?q?Fj5aYgqCjXkTAFf9ViPUdxwlngtjpVxXjZlXntunV+LhkSx8niRw6UBKFVxS5y+Yp?= =?utf-8?q?vpvvllRCksljpzBj1U+Td9zDRoNjsigb2+2LK/HifZzruDfXqqeyECyc9wQx586+2?= =?utf-8?q?0K3aztCs2n6i5cl4qVsneEjjEFRBzuJdtcDmxeupCmvzJlUNXsshisbkP05uOabap?= =?utf-8?q?tSxX2E/oYdCRSLNLHafqrORXI2q6Q/e6su+FLJ5TyzlXmDwil3XgYm/H6Mr3RRpIe?= =?utf-8?q?b2RjS/xlSy2+fBj8cu2vr7+qz4FOs5kqm9Ab3dvF+arr6s/Kwd++yuyiw9iSxdTpy?= =?utf-8?q?qVZfYpY9HqZysrU/N7AQ+fxOG/lqwyIYv7V26WV6pREK0Hp3jA/64YHuEcgBnBpHZ?= =?utf-8?q?69EO3Aq8V+sz4nh4mbMy04Vj2vG/RK7qblhrybg7AOaTBzT3de49aCpxWVty+0obW?= =?utf-8?q?FSGAoTJuK5yuJTc9VwpRtWyiSck1lkyOeqy5emEcRHAi8MHuZLsNpR575q9jstJWD?= =?utf-8?q?IGK+nB+zh3ewAiyPLqnHDgFgvuwabwzbcz904TGu125l52fySl/z36no/C5qWJFuJ?= =?utf-8?q?1CSVnOQSW4SuyTwy1F7wOhdOhG8aKX9txTEus7S+ENkU9DSgyuKLvc6MZm4moVIGz?= =?utf-8?q?2EOZI/HBEJIKSgT2cwTtQISf8p9mZOpGOK4Bes+C5+b3vGV6p1WNm0psEARcx5M3j?= =?utf-8?q?3Awou5XKJ7dysU5shTBFRgegTqueDGd+ZW2uvkLkTzVNfz022vrsUAqnajyPNupHS?= =?utf-8?q?rbn5tOKq6hdZsNAmAVUFAuKjEUkyq0FVpmSevTijYOztihe4AZiE5aFg6q1b4Ftb5?= =?utf-8?q?Wd5l7p1ZCM1PTTdYeK7jk1m1gxf0cRhcCvCTYKARd2VDGL6Mc54VpI5wos2U620gz?= =?utf-8?q?+As3ZjpNWJwBo+1DIGVeIl53P0GupoIBgRmuP5QhdPVzmYY0GSSeIRrSkK81RbGci?= =?utf-8?q?iJH64is6ChR0qknVWVUrlwkFzRAzfZXvz3t0NbZ62+OZR9s/eYc+08ps+NuwM0Qz3?= =?utf-8?q?VVqED0AnG434zjOHZlMvqR0m242RQ3UP8jCFRsEb/+hN5JHYpeRComaAhIyPRuTjA?= =?utf-8?q?u1zWKdioFq4EW+iP8PKNEAHsWrBRnlHvW5jBKsekoSp2O1QV59JzaV9PlSL62wpS1?= =?utf-8?q?vo3s0gh9C5VJSY+2BlLllWq5PoVh2gPLPrnVSxoGFJNUW8c7//5xB8xOC0AUuEY+l?= =?utf-8?q?ikgSUy2Dk0t1e8SYmBONh5x9SqONWv35uKPerBYMfmV6TRTQF8fPJYM=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 9e73e721-362f-4d6e-f11d-08dc15aaadb7 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:38.4097 (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: zcdDQp/bBExsn8tqJI9qJ0vtCCqCeoj7ST6rRXESiF0jsNIXLFlPK7CqxuoYXoBTHJoORzn7d59d7OtztCXqfvF+hiOQSZeF4Hr9Q+HgO5g= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR08MB6035 Add prefix for XMOS Limited, a fabless semiconductor company that develops audio products and multicore microcontrollers. Signed-off-by: Javier Carrasco Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index 309b94c328c8..cb2c8ec1faf8 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -1578,6 +1578,8 @@ patternProperties: description: Xiphera Ltd. "^xlnx,.*": description: Xilinx + "^xmos,.*": + description: XMOS "^xnano,.*": description: Xnano "^xunlong,.*": From patchwork Mon Jan 15 09:16:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 13519401 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 8D36BCA7A; Mon, 15 Jan 2024 09:16:45 +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="uSCfaWUs" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fnPgPiRc5HMEOzrMu/JoIfulzqY3McRMyiiKyLZlZTiog3EN8EZcPqHxKwCXZVJfJeam7RK56AsiqXfvGk9e+DV/YPE5HsMz+YeExJEaVP+9dEsegIQPgjo1aomGaRy8eOUBqeZ0a60wLAiEL8MddNcWEM7KkSJFj1AyqX2EmFzonsy93OrFObyMczind2YK9+MqKM6oLYZoqE9FoGcxEE3E7bj4GJk28qiKGSIWZOj4klnNTzoTFtotbwSv7q8Xt5YDSU6XGijt6OZtIe/CdyEPL20SJ1xMsBxe4rLnQcYGYVD+EYDLO3hZzkMpwqe60NIx17nNhC9W1hDmodLKPg== 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=yXGpWS8USjWi9RTxYzhG5mHhW6v+pt53C1Nrcadd87g=; b=GNC2JmnEA81pD2PZu47IOt2lDDUL6LB1/QsjBtWZElDQouQiBup7PS6QMqtos4htMSl37cKkM6h7iyDNtUsIRT7Rwu+Y+xrT4Zz5SlwV45qTN1z70v57E6aWplUt+JtOAteoaQCHctu8qMxACdDBnjEmoC8lmIJX6/hqtQppmYExi8/mi7J4zGAuUfUJKTtnIBWCxWBBV8LSLtE5opbKz//Jo+6skgWkifO98G1PBEuKuK6oTnIACcd4blRXzQHprjbRuYgA8XVNcnMQVx04hM1V55VbSO8nt5B8Ga6LVgUml0UVOq6hGcqnHw2J7d0uNKqPdZqN/ZsSfy2b2/VbeQ== 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=yXGpWS8USjWi9RTxYzhG5mHhW6v+pt53C1Nrcadd87g=; b=uSCfaWUsRi5d3d7AvH6sPgCWbrgQPJGyeSEIcHj3xBtKONlmRiqH7l17y2wrHQwM7f/uuX7OidG6+QI/p3u2XhtgWEymHOSgW18OJHs8SFyCtUJasETK5gVjOigWsOYwT2LfJbM8+ewLIMBoMJT0hbo9Ct97+saS3BJi3VO6vEs= 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:39 +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:39 +0000 From: Javier Carrasco Date: Mon, 15 Jan 2024 10:16:32 +0100 Subject: [PATCH 2/3] ASoC: dt-bindings: xmos,xvf3500: add bindings for XMOS XVF3500 Message-Id: <20240115-feature-xvf3500_driver-v1-2-ed9cfb48bb85@wolfvision.net> References: <20240115-feature-xvf3500_driver-v1-0-ed9cfb48bb85@wolfvision.net> In-Reply-To: <20240115-feature-xvf3500_driver-v1-0-ed9cfb48bb85@wolfvision.net> 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=1849; i=javier.carrasco@wolfvision.net; s=20230509; h=from:subject:message-id; bh=ni2dtHWBhPqUUIR7Lgbm7KZN1KzjAuAJdGMwDarzwWM=; b=w06Jag3yG5AYipCk53/pKgLVteSvbFm7yk2EG5flLCpnj740TDte3gx1yr6BLHOWAvJjPncSK 86p7QnIIAciCBAh6/OzMMALd3CL0TZU+kyBkdFvdTzXpVc79mZRtU+7 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: linux-sound@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: f344b796-9bb6-47ba-eb53-08dc15aaae33 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1Du1GDxS1YBk7nUrYbOtxjZLLeVloS5flwfLsP4stkA8oS8Zj7dMRkcz+vPVMJ2ALDPXrwsDpTRJ6U5AMjNNwH/BeynKFazLLWvwHcrJ8yF1vrD2I0DRxP8i5xfYwpm6Lgy1NXNUZENZoPefl6e4zuxKeZ5qQQf8zDmsctD95dzKAvaptzh2S4R8uyNnhTIDWACdq1nLZcSnERKxeVEyckJA4sv7URubPKduiZ278dlHDplWG2EpBQBxdPRODi99B++DcCsTkM82gF1jF1EB+Mzd5G/RinQ7Q3WW3FB8YxP8BGzqLDLqo/WJmIysHBDEYPYKwKl6LYKqrS2faES2YvaCObAa9gW4WBF8yc4XPKI1+T/Rs8pjOfJ5qvITg7KGrs7fP/ewikjQoXw1f48SD0/CZKeZrFy9f7a+8XB9wI9cYKNnx8YoX9CWh5W6QA/JuRvlexy9dPk1bAewuFpF0hi9JIH4f49m/kIAWa+rIIBrwhhzqcHiAQC2myAnldiF/+OYlDeWoeDmHdaY/RbVF16bHVFS1+8c3gy0k6X+Eym9ZI5dNsoL/PSYW5IAdNg33DPgVFDNsnVSLMP103SokABhl9NcWenVVldgodacWZw= 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)(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?pBxmfvawf0JXiBMq6m+7jhixGEcJ?= =?utf-8?q?YaFJyyeht5g4tcPcSFCSw35wz0tHXtI3cXzZZCmceTk7WZT+AyPg+Oz934Z7Y+17r?= =?utf-8?q?j8LfUDaU6XymBq5f/n9Vz79Oa1DQlkOm2dZi7N1hPzIjjiT2Uf3r5+2UljuqHxJ4V?= =?utf-8?q?VYGLpbM3NbsU2cHvTicdMj2856H3qb3rkl0xTt0y1z2DeiGsiBrRSTqunpSfHRsRy?= =?utf-8?q?jq0o9Y/pMFwNTE4jTpIVXL+Zz0D8Vee8uHRYIDzqb3JyUDtChECv79RMs4JKfpQC9?= =?utf-8?q?Zv0zMHOhvOm2mLhnfrIN0V4VpXh0K02JkW9mBUd76pYFl78D2iJkiTpt4g7EL2vEM?= =?utf-8?q?sV7nVa4lJhzTOrbbB8zgGytxCnehHVuu67e8y4PniR2mLAh6TmR+6p/EaD+nF91U3?= =?utf-8?q?Eiz0qVY78EIsfaxd3rw3fahfTeZqFlIRrriWa2ZHHcfZBNq/xeKTSOyi4VeQSZu4S?= =?utf-8?q?cLisGRy2JiEH1rn76Nk1AE9QuEhRXt4+Dx7JuXANOzrfntqK5bNhZTqRgaTcBNN12?= =?utf-8?q?kcl72+eNeaJLKQz7F5BHvcdu5YbY3p1ucPxKnaxDjMk1O2ypdgroRr1MqY7rd0e3T?= =?utf-8?q?vQED7BrKeNDqHNu1BPEUYJGzzWq6WOEZN8KjOjqCpkNuaDKLij+I1/N2XHiijCHsg?= =?utf-8?q?naOAT90X3knBoHPSsG4aJOQ4e8edEIA0TkU/gfzU/3KAYnSO00PZGpDwfn2vEjpLZ?= =?utf-8?q?QQAIFT8V9IhLCL2N6uSH0zvTbuK9SKH3aAqX0wf+tctDbODUnCf0h/KQGxtNc/v73?= =?utf-8?q?NCONRHVyM1LpsB8J89+cFivAOT26IYWTp/dnhSHZ8+ddCcNNsmcWri8NLRv/r10BB?= =?utf-8?q?xtmLmR8PvVBJ5yrivtsh7awFyA+z9Np6R3mqsBlY9/BlLHEobixU6G9o7s9JQFNtQ?= =?utf-8?q?ioZ6J93fjSylzol+4Ao86lq4lvbzNQG8VyPyAaK1ZLvFAZPob2M35eugRAGGgYdzU?= =?utf-8?q?1D41LTmhGxUkqHChZ1a6Lz0MpCVCrPBhoqkTphSuSUPs4QS4ku9cSP6ULlS5FNBfo?= =?utf-8?q?STa7RHSOzlB89FHQjnwCUFKL6U0QCo/0sCvnS8ZkbSsxWn9r9Xj0/o2FdjiMyKFzp?= =?utf-8?q?YR5zALpLjPTinqO3nXrsbxNGwOJs6RX84dOt9I7LZJl26i615OnReybk6Srpy0gm3?= =?utf-8?q?WW2IRvVB09pGErF1fO18pXzRFF889nLAXhiFWmfdxtIMsw7oh5tvkudX5v2avwfIx?= =?utf-8?q?giaNY/siFLOqh0L+1anf9hxJb8D7jcEzKmeGOFf2TsQnss6i9wSBI/3tChIQC37LK?= =?utf-8?q?KTksD0XyRL8Zpo0tI8pe+IfHOOzsq6n+H0rqSlawWcbF8kr/7uIzEFTFtk0941JaV?= =?utf-8?q?+0k0CkZIZgJ1LBtLsWfK4dMcfVqQwzL0GR6zwso8pFYYjUUI/f7v9Fs/t4YxVO3/t?= =?utf-8?q?7ZhJ5gwJsafH5Mlw1V62hASTkv+O7kmga9I6c+/i0Xv+XSMp/hZ4ULB+795qDIaCn?= =?utf-8?q?1U3bIZqvMIR2CuuVO7+JleZATRFgonn8sTn1Q/PINuziYK3ILv+ElJHQWRoHHkLlB?= =?utf-8?q?yAC789iChL5QsNt0cKb/xIHMfqTW9+kxzresCvoWwHh8W2o7KusInGY=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: f344b796-9bb6-47ba-eb53-08dc15aaae33 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:39.2277 (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: SxibH4yDhyDZBKM8F0kcmsMduG2SGoDst4SrZBZE0GHO8lrBLvsDLgekrK9Et5BywvXuLIHMCc8CkigLdTJxuppjkzMjke1dNxWZwjzHQ0M= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR08MB6035 The XMOS XVF3500 VocalFusion Voice Processor[1] is a low-latency, 32-bit multicore controller for voice processing. Add new bindings to define the device properties. [1] https://www.xmos.com/xvf3500/ Signed-off-by: Javier Carrasco --- .../devicetree/bindings/sound/xmos,xvf3500.yaml | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/xmos,xvf3500.yaml b/Documentation/devicetree/bindings/sound/xmos,xvf3500.yaml new file mode 100644 index 000000000000..e93a735a0f1a --- /dev/null +++ b/Documentation/devicetree/bindings/sound/xmos,xvf3500.yaml @@ -0,0 +1,51 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/xmos,xvf3500.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: XMOS XVF3500 VocalFusion Voice Processor + +maintainers: + - Javier Carrasco + +description: |- + The XMOS XVF3500 VocalFusion Voice Processor is a low-latency, 32-bit + multicore controller for voice processing. + https://www.xmos.com/xvf3500/ + +properties: + compatible: + const: xmos,xvf3500 + + reset-gpios: + maxItems: 1 + + vcc1v0-supply: + description: | + Regulator for the 1V0 supply. + + vcc3v3-supply: + description: | + Regulator for the 3V3 supply. + +additionalProperties: false + +required: + - compatible + - reset-gpios + - vcc1v0-supply + - vcc3v3-supply + +examples: + - | + #include + + xvf3500: voice-processor { + compatible = "xmos,xvf3500"; + reset-gpios = <&gpio 5 GPIO_ACTIVE_LOW>; + vcc1v0-supply = <&vcc1v0>; + vcc3v3-supply = <&vcc3v3>; + }; + +... From patchwork Mon Jan 15 09:16:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 13519402 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 4A5AAF4E3; Mon, 15 Jan 2024 09:16:47 +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="PxV/kBmu" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NR8tplSI2dsjC0RxAqIIpznGoYlCvmePNO+G+2dmcXJpEyCLxYmd+WvCiQYIVevQuNJN0hWoh17n67p6Ir4LcvyV0iFxbVK1ISD7V37fThcT7nGl+pCx2L2vJ9WB494K7wmpqiwSzbkfzBstpuIfl3Blcds9sLtaUP3fzIwrLWryQrCOkpR3O/feOMGkM6DdG9ZHQGTkRbm4RmGbh3Fra/IbsfOB9q1yWLVLfhIth9NZR/nUc/zYZFkI4gzs8rV/d1r+l18RdEfZMPif9IpgCyu5wZXj+S5ZnetPtJ/AvIELwIH30KUVQuuu1bB1gZk1ua4tgjta1VdYBRam/Jvmdw== 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=e4vTqiQL1nGrKQJQ62l8AJQ4ZdiY55P7+3cTvEi5954=; b=fjv+80MbF4RcIOCpIAej3392hW6V5szYB1p1uaitGhj4LPaqb4fDiaIRwxDewDz+amOtclXe+lO2StNwU2Cq1t2o4oL27bHrwcKFUcs0nD6ExCxUKW4iGPEDkeB6sC00DEVd2p7DCesq3OrbtxkTYLQT1LxYiCEVKTdlIF2L5V/bKLq7wrBbRBmUM2dGisQjfVNDKowIjVyhH4EDp6vF/uQl0TL9Obz+4YJObJAZL4zZuJUtpwLWaFWe6jxSUgzXgpOqlBUj2rh0lZdvtDRL66cRBymNQ4Rjs3N3kFVR7eUlatwrbC3cECBLKfBgHKaj8TiqW2DtBcbVDG94udoTOw== 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=e4vTqiQL1nGrKQJQ62l8AJQ4ZdiY55P7+3cTvEi5954=; b=PxV/kBmuWB6gEhrGWB5p5PYYBC9vAxF08qdYTMAzHnvBWDlP6C4nvLEK4oeiUlQQK1FSwiX9SBBRmmopQWTCPH+Yf10ZnNFX+dF4ZKx+ac/Kv1ldONZQ47jrhZ7NtJBKilh6MQlKh35llwlKOnQjlyV7tyeWFlEuiUfrrvC8V0g= 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:40 +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:40 +0000 From: Javier Carrasco Date: Mon, 15 Jan 2024 10:16:33 +0100 Subject: [PATCH 3/3] ALSA: usb: add support for XMOS XVF3500 Message-Id: <20240115-feature-xvf3500_driver-v1-3-ed9cfb48bb85@wolfvision.net> References: <20240115-feature-xvf3500_driver-v1-0-ed9cfb48bb85@wolfvision.net> In-Reply-To: <20240115-feature-xvf3500_driver-v1-0-ed9cfb48bb85@wolfvision.net> 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=6607; i=javier.carrasco@wolfvision.net; s=20230509; h=from:subject:message-id; bh=cgjB6qaEKMrZ9M/nM5ez3VnfLkmywgMj1aWY3jnDGgU=; b=m38rSpHMErKsKzVbQSiHmrpxTRgeFxKu3MEUAKAmxtBsb85Q+SHfMPPxFR5iax3303cdeYv4D 1O0ZOXpHntoD6qa0UbR/b5lhcDFzwYQVfyhBNcNniL7nXRs7kHzKjD3 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: linux-sound@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: 58937aab-5fea-4fd5-2088-08dc15aaaeab X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6UUS9OEwyJybkyu8eqOttaYIh2vCSDDhMcfnHzpagO7XkezEvpxiIv9OhFIOPgFWYjYXGNnfpemwUYyhhWWG4rX+ioVb7nyATT10btymMRlJEyGWgvsZr5mtBZazdTbV127PHvtM+4v6fyhUM1ECCNvje4tynOudgNDfJFkYMPLIweS+p065DWm5D4YAtaeU+NkLn/9HHNcjfRvjvy8wuMS+8cAkmnv/4ilki4j9UfKgVN8bjfKnJqWC7kwtn7Nz8zvikvxTXFd92F/5K9C3cCG/TwFXAdYZGcEXmnfQrou6pAPiAoPClXMJkvv7tdT4SxfO2xa0OQ2w93vC9PuBqOyofiEpseQGrLq2HfAV9ByhjOvni/tGB7jpIcoS8kdgHgewQmycvYrB7BK1C/0Ew6TmbcXDG2/YI8exzucG/Ce+kRasYraM19IF9UMmgkAvoPtidroq5K5441wKmgoqwHsL9i1lzDSloD9U2ErKFi8EWXAo990dv2C0va7xepM1aMgjawIQD1po6cJ8iSjNAPh0V3Yo3RfbgItWt7/VzubLnKSXDCVkyginDbFzK5L8oTFUlVaDPhWfJ1WNU9HD6Ynj0EvmYHM0X9RZP/GxM0Q= 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?v6BCYxzsPCof31aZp6Qp6ZRb1ivZ?= =?utf-8?q?k1+kUUGL+Irlps+zXTqCKpydhAFp7hpdzMg6ZwzrRsL0ZMeJXRPilqTev7khfKHI0?= =?utf-8?q?oKpaF50AIj5vSjA1ePbtaEZH8866kL5lJxDP3Pe6Pgu/4u9RsqShJ9UxEHopQKnFg?= =?utf-8?q?K1q5itJZKyeEkQh30ppSKd6d/WClscM3VXiwKE/Edh2NYIyuxdID060mkvGAx2fwr?= =?utf-8?q?OTNrqf1OQ2P1rHLB4iabhSD8vmeHqkiMIzHRDBg6RVCFv8uOdxe73Rc9mS0W1nhHD?= =?utf-8?q?EjdmEi+3g4Nd7GdbeTx6xo5xQg3ydkDjQq+FwrJW5+xxkjvJ2yiGwHByQwEIMIN+x?= =?utf-8?q?9eydzuPBw/jSook+FFI6+JdPhw2FHD3geekDgVmcjxKZEkKbIWSZMxLcvXXF+wJpe?= =?utf-8?q?bL8P4khm1WcEMf+v8d03dM+ya+GzZYuVxG5ZZgJObIXW73If6mXpus6J6b6beDxSx?= =?utf-8?q?Uv2TGF9LQPjnOeop9LMKfUPZNOWC8TuoMqNdAzzvLh6H+4iEvuuOr+91RWQVhtu5p?= =?utf-8?q?5gACzJp9n3ujB8eoRnaHxZH+U2Ka5+9x6OLyzlnQx9yXwXV41/9W9uy/rHtQY2IGA?= =?utf-8?q?US3o+1zZMbLfADHo9RAdeV73VXn4WmzkOvnCwmyAlvsOIaoBsaSNDoyx1WTWqM58u?= =?utf-8?q?suW6pmd4kveCIyC+Im/x5pcpmCF59r/cnOuOJ9l87b2uDFGa6sPTD4G0KhltTdmNa?= =?utf-8?q?rvFGVhlUjjPIEcz2Ugkw9pJ+Y7tltIGEvtrUVNF7hiS3wOxkmD9OqWG9NbtpzERc8?= =?utf-8?q?fg0iNUEp1pd4VcG43HHNxZdVOOGL2+rJvbHZ4DPWDC7vxXoe+6g9s/DeUq1Bzp1fH?= =?utf-8?q?XjBIesnmE+C3VNnwmhaGNJHit/O6q9N9hxK7wovtT6YmnjIsjkbT2N5aDarzFjNVX?= =?utf-8?q?9HY/lDl3yPK5OZ5kA8GNqNTPrInunTL0FqmKs1+HLb0YjpfCjFiZDaAUKnPttQIIn?= =?utf-8?q?FEl3UEa8SIlbguS8wL0F4fYC+932PA3e6HTMc4TmH5CxRcKhZFCU8ad4zt3otGOKc?= =?utf-8?q?sTfvHpJO/8NdFiFZhZ7cKeQtGTTUGwyJ5kTnDM61tgHv7hzxGhCCMIonUKcEnoPzN?= =?utf-8?q?Ez9Dv0Nuh83BHQKQajY/iXgNVs/6tFvLpcxWYywmnj+1s1wgvjR2uv9mNsvvagJKk?= =?utf-8?q?1rR9LUMN9uEYJ6kRB9vn8SHTGVFzmkZwaiDuZaFgceZGsvK0LWi0XfFFOLIe7Clwc?= =?utf-8?q?BHk44WNw9JlZcpV4SgWSxKyyNurGM+KskfQwCABeLt1ZqW8/0BPyzeFCXWGK0MVax?= =?utf-8?q?NdnDhTaCzORFsu4uAbRP06vRvjxmKpJ/NYy8sIvbnej/xVc4BjYWN64/Jvt0veolT?= =?utf-8?q?Md5HD7TatrSwM8/jjsgP4OpGiuQNVCcyJPfkMnWnEhPFHQTBHJrXifopfnYH2ofk2?= =?utf-8?q?QqkssSWE86RCRdVjjYxO1OjPfeFPkbCHhl6YqkPCvWZx+cOYWAjDhedk5hWSFCG/A?= =?utf-8?q?H6f6uxk0k1PmX+V07HxTa++UFm2i69drx7lcusXZWFUAqg0PfrOGoJDXaNqg8SBXp?= =?utf-8?q?MdfAOuQ/gsq/W9bTEcL/6YU6jn0bifU+GrTu4WEiieWKvNIWE4eu/wk=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 58937aab-5fea-4fd5-2088-08dc15aaaeab 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:40.0772 (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: jIt9WMZc1q+8eyoy7eCxIzFr08JjHIDOs/zfp7/noIqgNFBZcXDxQfpweShnSzOr+kPEdzrqRACkZ5L2xHWmS3nkE1jtrhr/2ZfxbdOjhnA= 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 simple driver provides the power sequence the device requires, which consists of enabling the regulators that control the device supplies and a reset de-assertion after a delay of at least 100ns. Simple PM operations to handle the power sequence after resuming from a power-down mode are also provided. Once in normal operation, the device registers itself as a USB device. Therefore, this driver requires USB to be available in order to guarantee full support. [1] https://www.xmos.com/xvf3500/ Signed-off-by: Javier Carrasco --- MAINTAINERS | 7 +++ sound/usb/Kconfig | 9 +++ sound/usb/Makefile | 3 +- sound/usb/xvf3500/Makefile | 4 ++ sound/usb/xvf3500/xvf3500.c | 140 ++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 162 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index a7c4cf8201e0..fb9be0e12c71 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -23960,6 +23960,13 @@ S: Supported W: http://www.marvell.com F: drivers/i2c/busses/i2c-xlp9xx.c +XMOS XVF3500 VOICE PROCESSOR DRIVER +M: Javier Carrasco +L: linux-sound@vger.kernel.org +S: Supported +F: Documentation/devicetree/bindings/sound/xmos,xvf3500.yaml +F: sound/usb/xvf3500/xvf3500.c + XRA1403 GPIO EXPANDER M: Nandor Han L: linux-gpio@vger.kernel.org diff --git a/sound/usb/Kconfig b/sound/usb/Kconfig index 4a9569a3a39a..11565429163b 100644 --- a/sound/usb/Kconfig +++ b/sound/usb/Kconfig @@ -176,6 +176,15 @@ config SND_BCD2000 To compile this driver as a module, choose M here: the module will be called snd-bcd2000. +config SND_XVF3500 + tristate "XMOS XVF3500 voice processor driver" + help + Say Y here to include support for the XMOS XVF3500 voice + processor. + + To compile this driver as a module, choose M here: the module + will be called snd-xvf3500. + source "sound/usb/line6/Kconfig" endif # SND_USB diff --git a/sound/usb/Makefile b/sound/usb/Makefile index 8c657c2753c8..4171db0f483c 100644 --- a/sound/usb/Makefile +++ b/sound/usb/Makefile @@ -34,5 +34,6 @@ obj-$(CONFIG_SND_USB_UA101) += snd-usbmidi-lib.o obj-$(CONFIG_SND_USB_USX2Y) += snd-usbmidi-lib.o obj-$(CONFIG_SND_USB_US122L) += snd-usbmidi-lib.o -obj-$(CONFIG_SND) += misc/ usx2y/ caiaq/ 6fire/ hiface/ bcd2000/ +obj-$(CONFIG_SND) += misc/ usx2y/ caiaq/ 6fire/ hiface/ bcd2000/ xvf3500/ obj-$(CONFIG_SND_USB_LINE6) += line6/ + diff --git a/sound/usb/xvf3500/Makefile b/sound/usb/xvf3500/Makefile new file mode 100644 index 000000000000..51a61c8f165d --- /dev/null +++ b/sound/usb/xvf3500/Makefile @@ -0,0 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0-only +snd-xvf3500-y := xvf3500.o + +obj-$(CONFIG_SND_XVF3500) += snd-xvf3500.o diff --git a/sound/usb/xvf3500/xvf3500.c b/sound/usb/xvf3500/xvf3500.c new file mode 100644 index 000000000000..647e5d09d1e5 --- /dev/null +++ b/sound/usb/xvf3500/xvf3500.c @@ -0,0 +1,140 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * Driver for the XMOS XVF3500 VocalFusion Voice Processor. + * + * Copyright (C) 2023 WolfVision GmbH. + * + */ + +#include +#include +#include +#include +#include +#include + +static const char * const supply_names[] = { + "vcc1v0", + "vcc3v3", +}; + +#define NUM_SUPPLIES ARRAY_SIZE(supply_names) + +struct xvf3500 { + struct regulator_bulk_data supplies[NUM_SUPPLIES]; + struct device *dev; + struct gpio_desc *reset; +}; + +static int xvf3500_power(struct xvf3500 *priv, bool on) +{ + int ret; + + if (on) { + ret = regulator_bulk_enable(NUM_SUPPLIES, priv->supplies); + if (ret) { + dev_err(priv->dev, "failed to enable supplies: %d\n", ret); + return ret; + } + /* + * A delay of >=100ns + regulator startup is needed before releasing + * the reset here. Wait for 10 ms to be on the safe side. + */ + fsleep(10000); + gpiod_set_value_cansleep(priv->reset, 0); + } else { + gpiod_set_value_cansleep(priv->reset, 1); + ret = regulator_bulk_disable(NUM_SUPPLIES, priv->supplies); + if (ret) { + dev_err(priv->dev, "failed to disable supplies: %d\n", ret); + return ret; + } + } + + return 0; +} + +static int xvf3500_probe(struct platform_device *pdev) +{ + struct device *dev = &pdev->dev; + struct xvf3500 *priv; + int ret; + + priv = devm_kzalloc(dev, sizeof(*priv), GFP_KERNEL); + if (!priv) + return -ENOMEM; + + priv->dev = dev; + dev_set_drvdata(dev, priv); + + regulator_bulk_set_supply_names(priv->supplies, supply_names, + NUM_SUPPLIES); + + ret = devm_regulator_bulk_get(dev, NUM_SUPPLIES, priv->supplies); + if (ret) { + dev_err_probe(dev, ret, "Failed to get regulator supplies\n"); + return ret; + } + + priv->reset = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); + if (IS_ERR(priv->reset)) + return dev_err_probe(priv->dev, PTR_ERR(priv->reset), + "failed to get reset GPIO\n"); + + return xvf3500_power(priv, true); +} + +static void xvf3500_remove(struct platform_device *pdev) +{ + struct xvf3500 *priv = dev_get_drvdata(&pdev->dev); + + xvf3500_power(priv, false); +} + +#ifdef CONFIG_PM_SLEEP +static int xvf3500_suspend(struct device *dev) +{ + struct xvf3500 *priv = dev_get_drvdata(dev); + + xvf3500_power(priv, false); + + return 0; +} + +static int xvf3500_resume(struct device *dev) +{ + struct xvf3500 *priv = dev_get_drvdata(dev); + + xvf3500_power(priv, true); + + return 0; +} + +static SIMPLE_DEV_PM_OPS(xvf3500_pm, xvf3500_suspend, xvf3500_resume); +#define XVF3500_PM_OPS (&xvf3500_pm) +#else +#define XVF3500_PM_OPS NULL +#endif /* CONFIG_PM_SLEEP */ + +static const struct of_device_id xvf3500_of_table[] = { + { + .compatible = "xmos,xvf3500", + }, + {}, +}; +MODULE_DEVICE_TABLE(of, xvf3500_of_table); + +static struct platform_driver xvf3500_driver = { + .driver = { + .name = "xvf3500", + .of_match_table = xvf3500_of_table, + .pm = XVF3500_PM_OPS, + }, + .probe = xvf3500_probe, + .remove_new = xvf3500_remove, +}; +module_platform_driver(xvf3500_driver); + +MODULE_AUTHOR("Javier Carrasco "); +MODULE_DESCRIPTION("XMOS XVF3500 Voice Processor"); +MODULE_LICENSE("GPL");