From patchwork Tue Feb 20 14:05: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: 13564063 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2116.outbound.protection.outlook.com [40.107.22.116]) (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 32FE8745E8; Tue, 20 Feb 2024 14:06:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.116 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708437969; cv=fail; b=ZvNn1v4tyAc1otLsRbdU19DZM/A9ZQ/uzX4cIIGgYioZ4j+H5FAoEfVSHYItmQJzLnUD0GU2zOtGRirJgO1k9pjHk00XV1+xFYQbEYCNwv3I6tUR/xRwKVK6hjJD5gmnktLG0PPsYOHppRQfCn8dqCFg1IxSPbxgkQQFr69Ihok= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708437969; c=relaxed/simple; bh=oR6a5xqQsOGc1uMLfQupb0mPr7OXyz+ZGxt/49f9RUI=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=okn8g3FKtFe4t+fO1hKLEbmSQR2YAtq+5Y9xxk84nc6kowAUEx+uC+d/xmca9NDTYYu6NCK2p0MmrLLS++st6cK31W7DhRXiHlFhnCjrNptMyP71EtNfJ+KH9qA8Z7LNTWyCVrljmi9JKqgGwxXyuomTj4Sz/NHJG9moduQG99Q= 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=R/BL2AyA; arc=fail smtp.client-ip=40.107.22.116 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="R/BL2AyA" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RIbFo/twIxwOPfFhWymYXspldgKM0WJBguzl8XnrRiLwzeSs8Kbhk27qKJHx8LoGB+Zr3I8QvapYgkTHOS3tVgBxfqtvWtOdAgF6x4yZ2R8FiDQ2cFJ/IPIQ5b7yLxN/XnpbxST3qmnDJfhPRvHV2hnaqiai+eevyY9qhM0/oeLEPviidZnkLKqGbhhb64CqymBm/0lQnkYdK/7vUJs3nYhMKtbe2aUUyBinLpr414JPAiQXVZyqHPGEMArBGQ2jFOq4xSUQJjEKQB8KE1c96tif2Z1rI1JWMLXa3C7QeY05zdHAWY4PAmaVHye93VM4Ylo6OJQ6iWs2IJiQsdRWHw== 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=Fq03xRjDQ28owlDKvq/GnOa/lXRcjSb+m6v6YYdcPc8=; b=URtxGCQFKZBItjMfzYAOTRAGYxFg1s2yOP5taADmnBTEQoZSQH0m1838ymsp7xbm4aNAOnkiUr0JNvHYmhWh4KWPxQfakKPcI65/SSxPmukwjrgkpPPhZSeeGPY83ZTAqMyH37nF6BEo8BlG7m/lL7SiZ80CPjMrKnVBR6U8tDtzO0YRxCqxU+hllHCH6fV+TEWcbEN0rteTZjIbTt1gUqADBrmVc1cv5oT9KsZnQWiMcip3EItr2PUivIh9nd9IQYi5hhlCt8XGxBfUz1Ziw4syoGRNZ5zf8BGPxObZa9DVHvmd7qttQz3kUcx7JHKkrzQfgtrsA7KtiSj2/MwUCw== 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=Fq03xRjDQ28owlDKvq/GnOa/lXRcjSb+m6v6YYdcPc8=; b=R/BL2AyAXIKnjTMAKHTnBLKpoYQ39njoGPGrcurOYWd2uGbgtUk1wWOr80kQdUhTUnybJzrqE5ioFxdpEVUhESRADMX2ZXutLB1sdomdTOo6yeYNTvXWBmIo1IQ0rdfqXaf+/wAD3ofpnqvpiB8WGCy1qosTFTiTltMDcW4bpZE= 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 PR3PR08MB5577.eurprd08.prod.outlook.com (2603:10a6:102:81::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.39; Tue, 20 Feb 2024 14:05:59 +0000 Received: from VE1PR08MB4974.eurprd08.prod.outlook.com ([fe80::9527:ec9f:ec4b:ec99]) by VE1PR08MB4974.eurprd08.prod.outlook.com ([fe80::9527:ec9f:ec4b:ec99%6]) with mapi id 15.20.7292.033; Tue, 20 Feb 2024 14:05:59 +0000 From: Javier Carrasco Date: Tue, 20 Feb 2024 15:05:51 +0100 Subject: [PATCH v4 7/8] ASoC: dt-bindings: xmos,xvf3500: add XMOS XVF3500 voice processor Message-Id: <20240220-onboard_xvf3500-v4-7-dc1617cc5dd4@wolfvision.net> References: <20240220-onboard_xvf3500-v4-0-dc1617cc5dd4@wolfvision.net> In-Reply-To: <20240220-onboard_xvf3500-v4-0-dc1617cc5dd4@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 X-Mailer: b4 0.14-dev-8b532 X-Developer-Signature: v=1; a=ed25519-sha256; t=1708437949; l=2063; i=javier.carrasco@wolfvision.net; s=20230509; h=from:subject:message-id; bh=oR6a5xqQsOGc1uMLfQupb0mPr7OXyz+ZGxt/49f9RUI=; b=PRJPQlk4A+rooh7Fw7N/NT12s2VAYBpe/wnZGTwHgqu3Qb1Fug9nlPw6vT8lBhUX9rvknaT77 cORylSJhXqXCBUkZhH88B2RArbZKPesZ7keB7cVCjh0oTyjhVaI2F8K X-Developer-Key: i=javier.carrasco@wolfvision.net; a=ed25519; pk=tIGJV7M+tCizagNijF0eGMBGcOsPD+0cWGfKjl4h6K8= X-ClientProxiedBy: VI1PR0102CA0010.eurprd01.prod.exchangelabs.com (2603:10a6:802::23) 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_|PR3PR08MB5577:EE_ X-MS-Office365-Filtering-Correlation-Id: 8e765a91-a687-4b3e-652d-08dc321d1079 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kIV61SycbSrcjBS8g682zY/aZ3ZWSdUkj72Ch/qZWO5LKty6/tK5O2xw3ImwY43Ilh9absV8fzHIeWdoWp8gCR8M5nrPyAtKIBG6FKtIdFa0NS2baRXtVp9Flw8u0wyG8BVddt3jtCfY0P5/Ljtq7wZYkXW0YkJG8NrHJAUwHHfp+IYwO+tCggq5bsPLM92Z8KpHShDWP3ZFFQQvOU6XoC1R8er1reqgpohHwHapIgVUAtO8AH5bRFYK2n4X1CC8zXMgz5CzMD6h9ERyhWRCL+cCFSg6NUMx3BcGTfl4r8b2Lsx45ccro5PK0hl2A9D4613oFDFEsP7lntjTFdpPKyClUmHPM6vywqLRgkGGio9H86CUaR8njeq1lBm2G05xl2uKQxOA6dTArnFH0cDbmmFH4IHEZ1JgbZmqCWwuLcBWUuGYv0C6NHo6pnRJR8btoVLKL7TGaciIWOegj+HanebTul8cClDej5PxpzSHFVBGJz0o+IR32bP/cMAm+3zo6AiAnLtrHYLltwD4yGybDxOExFQbePqEEM3GA8e98NIszes0VXd7XHQ+t5RElQn171DWMYw+SYxbd5HCGf8tmOZdQeOdowURpnGni9rwCCkYuvUEyiiPm2qaUQBEyDTO 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?l4if1H4ZkltSb91KrMFtp0TmAzjG?= =?utf-8?q?lBuRtvK2d0XggAF2ZmYHkhEepSYqZI8a8bC8CSThFhoinUEBNnRB5plNVWo/JgkwA?= =?utf-8?q?pPgTsWYgFCs/R9Ql6eNrl4Q5RXxxsUAtisAfricF+c+d54ViRf+4cHHHFQz1nA87U?= =?utf-8?q?21saeWagxplJGA5JWpQNqJOHEvf/SCSzDGGkSWYanRPUqLIp4Y6see//VBqXFOii4?= =?utf-8?q?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bR/2GOSp161R+hVcmdhMUddpnjM4eplrgaMd/6lIz6uwkaVyUVNZD7qA7bc+?= =?utf-8?q?vADr9cnk6BqY+1GIY9ZWO6GBdC/b0TW9DDcR2lik3TbGQ9wqmABvh3Ul9FBusiP3f?= =?utf-8?q?WihM8SkCw5qMYgaTChEegkgcNuTjzJtr3dfY97+gPTLm9g1lb0bCoBRcp+mZKwWR7?= =?utf-8?q?S2mJfubHg0HnaLxwOGnuZLUgkalz/6UAptgTnrpAu0y5/vhBzNx0CuPwahvqCe+dO?= =?utf-8?q?zhOQo8wn4FXyxZV5pbc+670EpBXMkS3MxRdujnIJBE1aqGgG5X37QQczatYAOB23O?= =?utf-8?q?OebUQecBDp1xGBVrpX2Il3jR1dI8zeLm/YQ6dH2I1YmF5k4KsOkbQQgKlBjx+/sZO?= =?utf-8?q?RwiDkifVbJuuF+RcApHHZOuiYLP96WQgXpUDoEBk1iQsPdYSRMJH2xFGVeW7imc6j?= =?utf-8?q?qQIloiE2tJnxJ+3yRJCHyKOaG6lEb6DlfWohnUBCY0mn7MPiXvMqZm8=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 8e765a91-a687-4b3e-652d-08dc321d1079 X-MS-Exchange-CrossTenant-AuthSource: VE1PR08MB4974.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Feb 2024 14:05:59.2546 (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: gmsxSe0lNICyXF2LcE9XTlBqOFpF9XpSp0JnJ4eNiZEM5Fv3id+5LxPZFdba9BSP8RkkXNW2yYzNJV3VxG4nx/yoNbxxQ5b+OMolnG5D574= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR08MB5577 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 Reviewed-by: Krzysztof Kozlowski --- .../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>; + }; + }; + +...