From patchwork Thu Feb 29 08:34:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 13576855 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2110.outbound.protection.outlook.com [40.107.7.110]) (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 F2D1D55C1B; Thu, 29 Feb 2024 08:35:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.7.110 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709195713; cv=fail; b=q/6Kicz4tfCO9FBkW5hnu6cT+z60Ym8nTRVxNJ8qjHH0fKL9143GVGkqLOVmGhVAhHvy3GZV0DKmsyXA3UmMZu1XdzxWz8uPfbge6vo4flh5hOr/w8hkpRB8aK8TqVq8n4Yt49rxQvdeHeNdkUqc5A0xUi0dvis/5DZXTMK+Fi0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709195713; c=relaxed/simple; bh=aK/tqoGoFX3bOzP7we28NQCLoIDGur9v/pKHCEPg6Ug=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=ig0Kon9PMehfBUvqDa3P4Fi8lVcIHl8zyDS45Erma3zmfVUcH/3I/rk/8ihoFkcssNQWtBe2YN7lSElvK4gkS8k9DNg87pah9cDPIJ0rH/XkbjItTSV3gQypTKBNSlVILS1LB3q60czfvc5AZ+4uDWjQWVYu4UDBtz5ZtmpK+68= 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=zHbGC9nL; arc=fail smtp.client-ip=40.107.7.110 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="zHbGC9nL" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g7bLJHvjjQ40piKAhQKRsQy2gJXVoHvwlDlDtEVXXFuNpxucEFSgolEAvXDHFVNr7dARu76WcAV8e05DMJwxzjfQom7gWDaLcjX3i/SS1LfI5NFq2ek8i0rkOvFGJgTBwpo+oQbrI6BhZ0BAzMCF08o3CdThBEHShJmwdw3ZTTtarrKtDSi/Bio1uQcnzhZtzFpS1Edy++POwPM0Oato4l9mt9keVCqyjjvft+fEbqo4c+SwMyi3WpAa7JOMA/WgCheFAndYw94mI3/2MSo/K0oYwF2xafszN2UVQzM/o5UPUSDiGA4bHRkz3Z2LYstnqm4sBFXcG1H3vvE+tnKkbw== 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=z1eIx71K4MMtP7thaSHv2tS7Es3S7FuRoV0yOAolBjU=; b=nYVtU+DWjXbemH5jhbIIg95hfvVshUEplMvnBDXzvVLOznAJqzLrooJkpWR0y39Sd6FRaSSKuAsHHcvqaj7iBYcpaXYwDgb3DjcdYbjiDfhPmga5w3/h+1mbkqrHJmbvdGPu97aOaSfFStwOdy/dZMIBQoK/GLxFbib4+2E1gmfi/vuJwtyfV9lHb8ooHR18jK4F8FF23cVKR1ueXd5Iu6PDuwgsfrPXLJAjqfzbs0CdCvAvx0McL73Uhp5jWKOxWzHbcA84H4FDGv3utQ3cxSKM7J2ZLeyg//e5M9xomvwAzG6hbF34t9xU0NEdmL/bZAq97RSkRS6nPQ+hU752pA== 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=z1eIx71K4MMtP7thaSHv2tS7Es3S7FuRoV0yOAolBjU=; b=zHbGC9nLPhhMW7ziAelt9AqlyqPU1jcPG1/OgewqwgjjG4OvW6uwett7B6eZxJx3tPQ6JDBVDONqxoVdkmR4aXiiCDPkvtt10f2XkcGNATyjrEfgmGZzxBzj1rL3LUQIss7UBkpn5GRbtfeb/bwv/pzlKABiKKvsn+81limZRn4= 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 DU0PR08MB9727.eurprd08.prod.outlook.com (2603:10a6:10:445::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.41; Thu, 29 Feb 2024 08:35:02 +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; Thu, 29 Feb 2024 08:35:02 +0000 From: Javier Carrasco Date: Thu, 29 Feb 2024 09:34:51 +0100 Subject: [PATCH v6 8/9] ASoC: dt-bindings: xmos,xvf3500: add XMOS XVF3500 voice processor Message-Id: <20240229-onboard_xvf3500-v6-8-a0aff2947040@wolfvision.net> References: <20240229-onboard_xvf3500-v6-0-a0aff2947040@wolfvision.net> In-Reply-To: <20240229-onboard_xvf3500-v6-0-a0aff2947040@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=1709195691; l=2173; i=javier.carrasco@wolfvision.net; s=20230509; h=from:subject:message-id; bh=aK/tqoGoFX3bOzP7we28NQCLoIDGur9v/pKHCEPg6Ug=; b=lxweYve4imy32cXmiM2F8jOSTG8L4naBn92Yy7D08gBjoT6vmV10zvSuD+paMf3gY6IH6LzaS VJT4YnfvyZPCQv7TEOKiRK7KLqV1s8Qmmr18vmj2WEzHW4io5V7SYIs X-Developer-Key: i=javier.carrasco@wolfvision.net; a=ed25519; pk=tIGJV7M+tCizagNijF0eGMBGcOsPD+0cWGfKjl4h6K8= X-ClientProxiedBy: FR3P281CA0020.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:1c::21) To VE1PR08MB4974.eurprd08.prod.outlook.com (2603:10a6:803:111::15) Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VE1PR08MB4974:EE_|DU0PR08MB9727:EE_ X-MS-Office365-Filtering-Correlation-Id: 8947e320-2d80-4c29-76b2-08dc3901529c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jrjREZSftahjCSfgSE7JJ2JE4ClrlOmUz256PoFKLbLinBw0lImNrT5sSBwN7e9jVD/jlZP+kMpFrmovHIOi4T7oiUsSacsecmsQpXRyFpXj+NcHJuFo2CAc+laPKo8pu6pCZ+3VPTCQLh1oh4klQT8cHVhsHJgsj3J2vlXWgumgsormxUwx1vN3JhQ1M4lw6qBTr9tkC5baFIvFviJ8ZHIzkJpNzIXv6NzzsO8JTkqkys7x9/WMZbZNdc3pFEkm8vIioJOY1YS/fHxt3rvwUnSBr3ghPvzxjekc3sIUUidMpGtI2bijDsww77N/ukRAT4Nut+to2yhO+a4k4sz4pXfs2cR4jI63wU0H0UgzQjpP+7ufjcam8GLR9sNKyRrXsObHPe0a7LX5QGPa81nQW2GmOGqP1WFWq6O5rdQ/H1tEP5wobdJTefC+4QFjL7QiCLIhh0UPFfWmw01iRz9ITB0ZteuSTIUBsuM3f+9fQX09kY/xpER9eqFgs1kEVg7FHJUqrq7BVjsHOrZzB7zlebVrFQzVQ5d24B5P6+K1tPymQvY3EuRDmFb4Pxg2FMJtWbRfLzpAnLB1hruXYiy3IUL3/9JfkOwwyA7cGm/joSYSLCASzkw06oMyb28+sHayg9+odyQ9s8NPGIiOt8Z7B3n2Vvj2ya5GwWvG8tzqM7vDB7FdcEOW+83p0TVu62uxukrFqEI8qmEsjQKZdQ7vRxYzc82rXnazNN2zcP/WIBs= 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?XaKk0a3jgW1xNXQLle7lm5ye1/u7?= =?utf-8?q?HI5JzzFkptiibrdXvT+hJVXija2VS6cCd7y/95DHLvM7c8T8HsIriwjKQZbhUooxG?= =?utf-8?q?ymUrDtxiXuPiVJniBnhHBX/GMvQSEwswjLaHX65pxYJfZXL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Vp9OSzRDQGX+Dxyf1EurdOP48Hkl3i?= =?utf-8?q?xn0Wm0N8G+J9kdDz2yohigzMfne1lPOpxhkatDUpVUyakVCZHYuI67YVKN4PguUIo?= =?utf-8?q?NbuiPCOjQD58vgZCaevQI5UKxR2WQvi6Da0S0VJxMFi4KNFSdcIp23UmTRVGynKER?= =?utf-8?q?treWM3SqpU805BW/qw0xH4J9hkCoxlHAeDRrVfI87SuFjUs7ItFHyDeomCaapbG0F?= =?utf-8?q?xWvjYhUfQV7cTqg5zyBdIEZatXXjc0t+VpkydbNKh0EezHMqA7xHhpm9TANICfrOQ?= =?utf-8?q?u0i2Drbp2baoNLUaDYjKZXLMxqPQPQ71ZTbUFYrc/dDP7rVbNFFlRb+gmxE0ewqkW?= =?utf-8?q?OpfNn1FbMtjF4USoEUSggZh/bAOxzlxYorrKo+UTCAR1hxXNImvuCzdCSyzIRI46d?= =?utf-8?q?1vsP4TI6nIcMHWLrda/z/c0YvE2flahk2fDuRTsLt+DrpxJmRP7bMNNeAgtAE9yy+?= =?utf-8?q?Ic0jxQwdENYR9+zMO4FaPptJ2lTC+p3OTs16ag7ZRBMpjazcFccLwywf4GEc1b9hQ?= =?utf-8?q?HkTzh3VywnJMEAOLUVDk/Usz0Sz5mI+JmpE5KXoUMrIZ3Q1MSUJ1Flk=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 8947e320-2d80-4c29-76b2-08dc3901529c X-MS-Exchange-CrossTenant-AuthSource: VE1PR08MB4974.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Feb 2024 08:35:02.4663 (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: Lr62E3wHT2O8mkmo8bn0+bwLsU4phLurQCLAIATCmV71vuKmFDtz+RukwSipHntnoZQr3hbccc3UmyvdzfS8lGibyRvsFsxh2Eo84Gc/eWE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR08MB9727 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 Acked-by: Mark Brown Signed-off-by: Javier Carrasco --- .../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>; + }; + }; + +...