From patchwork Wed Feb 28 13:51:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 13575480 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2105.outbound.protection.outlook.com [40.107.6.105]) (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 8C7B815A48A; Wed, 28 Feb 2024 13:51:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.6.105 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709128316; cv=fail; b=U/Ep3lDIuZ5iseG/2fQrersThGKI2DRsl9luDppiXug4NVNkn/J3He65R6r7aiyuDcNb1rlUI1ED1uFQTVFFvnDS1Qon7fhYZmfsWAgVdqEHadUA4kZhGW3pgoFpBME8nVqpGLy4ygvDFnXAKXWm0H82V1pK7BPejbywXNSwQp4= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709128316; c=relaxed/simple; bh=rrF8Q2LYwFLaBUHIvIcp23yKN8GEsR4HPVSTq8weH24=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=WIoeiwdD2EL0YLms5Cw7jYQVViU03etPV3fz6e4xqOeKHAbW5YpWMmbIzg2WQ5yTN/FDOBA2yItl29iaVEBhZgzVRNQplJR0UhkY9+EMGtnrhHAB0ID7ukrpSx2Bh1pDSQBVn1k02rv/F7jCeIObl5RD0xEWTFl5kPYsbhuLdpo= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wolfvision.net; spf=pass smtp.mailfrom=wolfvision.net; dkim=pass (1024-bit key) header.d=wolfvision.net header.i=@wolfvision.net header.b=nIIafiJf; arc=fail smtp.client-ip=40.107.6.105 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="nIIafiJf" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HmwDZx0FQypwvRFfPJjrSo63lwrWLopb1XMxIbGA/NqdDPLa/SmcF9dtPfw1/yYG2Wej0UrsYsQ15r92NdJt3T21pBXM4mG59kO39C2Cc+vxwSUSvPX47rI94Z9DJjXQ/T7aTiR2Aq3twGvfet9bs6xy/KAKN9Huds2vjIXV8wljsgzvUtjxrjJ9nh+zW5Dp8oLdMMclPvLV8EOm/GST+wyFUXI5IO8RKOFBYfGAoYOdqVgmFaa06M0Lr+X/KHpmKynwS0lcwqEliBJbO+I9IXHWPWSwUQZp8oz3ZZ1OeP9GJA3e5P4rvKUz+0lVrUyKFX2SoXXPBxZpIupC2Renwg== 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=wngdV70IOdXxwG/t4ulJ5gsPc03FZIHAJnqJg9zDh+M=; b=OptgRq/tf9lTsngAVB16HIjn+s/9Wei4xiq2LzYMcFo1CRC5Y//zwHLLg8DR9uiLUUwstgiLOyiy6zbO2STHCk3qmrQDLWU7ApNsOIs1ik9otNQOO+j9bacL1VrzJEBtKJJQiG1zdcw53tozSqX0iNz8/RvC9fDiSnPncf8AsEFtYAEI299Yi7kZxrM25rsupVEXPWrGv75qFbXBwpT906oHvn4oJ9knE9tw7+oIRWMVxkDDvxWaoJHdmRHUsCufmNFLqD0w2syip1+FoS/I/Xbtv9/NL/iLzUBh8XbfrPSR09l5U6OjWLauPn621fGgwFfUpxtVgmybMD5cJUChsg== 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=wngdV70IOdXxwG/t4ulJ5gsPc03FZIHAJnqJg9zDh+M=; b=nIIafiJfhqAvxT4RlrjHWrhDpFQnRvYZ+yu5XI7VMT3h3nxrwPMu0s4QRYi3D8KgF73Elw1eShH+JJzJmqSijQ9BqYmieO7Othuc+HPBogurtyvOjiuExWcrixYe1JNJOmnmhC3Bk0ddkF3hEksmHbLBP8HkRCsRyBBKbu2pbNM= 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 GV1PR08MB10523.eurprd08.prod.outlook.com (2603:10a6:150:16a::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.40; Wed, 28 Feb 2024 13:51:44 +0000 Received: from VE1PR08MB4974.eurprd08.prod.outlook.com ([fe80::9e35:6de9:e4fc:843f]) by VE1PR08MB4974.eurprd08.prod.outlook.com ([fe80::9e35:6de9:e4fc:843f%6]) with mapi id 15.20.7316.035; Wed, 28 Feb 2024 13:51:44 +0000 From: Javier Carrasco Date: Wed, 28 Feb 2024 14:51:34 +0100 Subject: [PATCH v5 7/8] ASoC: dt-bindings: xmos,xvf3500: add XMOS XVF3500 voice processor Message-Id: <20240228-onboard_xvf3500-v5-7-76b805fd3fe6@wolfvision.net> References: <20240228-onboard_xvf3500-v5-0-76b805fd3fe6@wolfvision.net> In-Reply-To: <20240228-onboard_xvf3500-v5-0-76b805fd3fe6@wolfvision.net> To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Kaehlcke , Greg Kroah-Hartman , Helen Koike , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Catalin Marinas , Will Deacon , Russell King Cc: 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, Javier Carrasco , Krzysztof Kozlowski X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1709128293; l=2130; i=javier.carrasco@wolfvision.net; s=20230509; h=from:subject:message-id; bh=rrF8Q2LYwFLaBUHIvIcp23yKN8GEsR4HPVSTq8weH24=; b=UzauIOpsKUfwQwer3RbntJs5Bp7eUgfsvYEmriJ2gaVuc6bqU7iy3ABXYXuKNMwcS/ExRFrWY ZdtXDxEL2z2AHwZJlALxCqjRhPIeLQ3Lc6/+rBIfMa4I+SBcwgKjR6N X-Developer-Key: i=javier.carrasco@wolfvision.net; a=ed25519; pk=tIGJV7M+tCizagNijF0eGMBGcOsPD+0cWGfKjl4h6K8= X-ClientProxiedBy: FR3P281CA0184.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a4::19) 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_|GV1PR08MB10523:EE_ X-MS-Office365-Filtering-Correlation-Id: 0db46445-2f8a-48f0-2774-08dc38646637 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: gHluEKnXwqNstruL5T/a5Zsij9HCmKeLk1Tafh8ebMLuLLfimijfcvre4Rk5kuTGgF+SBEt2TiKY1lc02mV7jsY6MhQI8CQoWIJvEfp3qktKlmfrPT4PlGHYblpmGPtVgY5RHlD+rn2DRB0wMzjlqs+RbJd+l1S+OlObxcBYOfr4y2W+JWyxe+W90e3NrGG+1TD93aKJEgVfqUvSvqhgUeQbsOUq8VXcIVw/M7lDovm67xPyq6ryc/dFNktqFh1IjZcFbAyZqC3xs6yfH6D4HDlpC+bKsZE5KL5m3ewpeSGJaMV9J8xjOVbgcmZOe3YHqYt3FY3MPOI0h1hKHE0h379TPHqh67tiUhgAEiIMvihcB9H/PHgeZeug8h1tk1DwzJuKmqksScZrJ07fsZZ4XL9g8f4LDFTfc6qr8zDy0/7+T6X+NkdO6hZfc7CDyteNjRlzRL72ANzz3WG2oUqZ6wBXX/Sd7xyQaVBJd7pKLh4KEyscBBZDOq8ciFQU00xUmOMvsKWBDgeQaq2OGl7S318N4zS8nK4Ss3MXDdmbTK/FsBtjmyNmpnM7UzxT/mZFrD0kFZMvHxxCQCMrl8j3rVscNEnbBah3EEv+IXRaBnyCBF0QjDs2ioDblvVxha67lwg535uem1zxYThzPUXmY/Hrs1XinGSF6QJMFFoZise85vZxr1LSEcEBvJBEA+N0rj4ZxjfERtEkfxcAIDsoTFUG2UrkPkEEDh+KUcqMq64= 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)(921011)(38350700005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?J0y2byept8IJSDOW0WtZ1u6o3PnU?= =?utf-8?q?sQ+nK76Vp+vKBqqx5f4uw4h/TQFMYLo/MCCvaW06Y3jX9nS8/IYhm36z0j1dGdrcF?= =?utf-8?q?4x1A75IEcWLcO8EoPHSDhSbU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HZUIp8stfii5oUi5btyrQy0GPGZ7csVUMNOCVI?= =?utf-8?q?Dzvdyv3nM9zQy4PDxBg/YmRbZPtD8pbpoyx2cyY44Tx4TKCSvQZo2dbQmGnSsRWl3?= =?utf-8?q?GdGJKnH+iECl0S5j1FR50iesTX0Ddm/RlrvuOoekfyxVpclQYFcv8i1poyuDxEAG7?= =?utf-8?q?jXZGXIE6YS8NSK/EfQMgjaGDMn90ZcZRFbMFF24BMXas+Bi/aPmLT38fPhIxM1jU1?= =?utf-8?q?yhI7SD2yKJxfCQ52jXx+XiWC6GM1GF6nNdREX6j6xq2AUox9Za/z2kQ1DvrL3PnC7?= =?utf-8?q?NnOg9a7Mq7N0uMpRnydO20p/Ax5fh26PiuYNCwbjo/xyBwHCMVC0OD+g0ISrFTtu3?= =?utf-8?q?TUMk+bpqInE6pD7I3WeoMYyxhDnXsof3jr/kjMHlU0XvvlK1evGzVF1AWjHMEKtOe?= =?utf-8?q?k6MfpGA+Msm771QnRmbZmnReFTpk+9MDYAYxu79+jgnS0xYMo6fxrfFkWunDCy/3Z?= =?utf-8?q?Owc+swxEH9ppDDVqi1QTKqCmCqjdADVEm0+JoZAK4XDAEUDMfqPDsh/gQLPapD0BR?= =?utf-8?q?cPIBPl1QGE6vY1pvNUkNOksGRqTUtcDVnO2Pk2GneO0GZdIJWSdPlfM=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 0db46445-2f8a-48f0-2774-08dc38646637 X-MS-Exchange-CrossTenant-AuthSource: VE1PR08MB4974.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2024 13:51:44.3650 (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: Gf2U0v/kzSgp7XCA3Fmw1wPsg54ilOWXzkYBt/vzJ2/V9n1UINStLcMthWw87sOUybWsRodqtuR6jOYxzT4beGGcUHjlyVSR53+uzJJLGJI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR08MB10523 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/ Reviewed-by: Krzysztof Kozlowski Signed-off-by: Javier Carrasco Acked-by: Mark Brown --- .../devicetree/bindings/sound/xmos,xvf3500.yaml | 63 ++++++++++++++++++++++ 1 file changed, 63 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..fb77a61f1350 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/xmos,xvf3500.yaml @@ -0,0 +1,63 @@ +# 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/ + +allOf: + - $ref: /schemas/usb/usb-device.yaml# + +properties: + compatible: + const: usb20b1,0013 + + reg: true + + reset-gpios: + maxItems: 1 + + vdd-supply: + description: + Regulator for the 1V0 supply. + + vddio-supply: + description: + Regulator for the 3V3 supply. + +required: + - compatible + - reg + - reset-gpios + - vdd-supply + - vddio-supply + +additionalProperties: false + +examples: + - | + #include + + usb { + #address-cells = <1>; + #size-cells = <0>; + + voice_processor: voice-processor@1 { + compatible = "usb20b1,0013"; + reg = <1>; + reset-gpios = <&gpio 5 GPIO_ACTIVE_LOW>; + vdd-supply = <&vcc1v0>; + vddio-supply = <&vcc3v3>; + }; + }; + +...