From patchwork Tue Mar 5 05:55:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 13581655 Received: from EUR02-AM0-obe.outbound.protection.outlook.com (mail-am0eur02on2109.outbound.protection.outlook.com [40.107.247.109]) (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 CA84F7F478; Tue, 5 Mar 2024 05:55:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.247.109 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709618129; cv=fail; b=LlDl+ulDvqcAqeDAd4skRMcOeDBTs9VVjCsdHUAOEQz4lGunqfatSyUA8rUuZzAFEuqNkl3jTgqCSBbCtvhFEAG9vtk7wt2ir6Iv//IStpeHEdcik01CmGxkp7IBLs0cb1AnvjQYtB6NGllEuIvKMjKyS202an/7rkbORVLY2LU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709618129; c=relaxed/simple; bh=aK/tqoGoFX3bOzP7we28NQCLoIDGur9v/pKHCEPg6Ug=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=hoWBNB6OY9mhdq24yjsCW0KOz9NDDBZKYBYrHDtDFkJcZN+ljYl6ERw9/J5hAv11OGKtUUxQMCOUbTv8ka4dnK4/T21jEg0e7PhQ0P2jQihIlkaOLwxYVVBy0piL6zW9xCMtRh0ODJDR6iQ4DWwuPc/kskBxBsmByMNOKWji2fc= 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=X81DUIu/; arc=fail smtp.client-ip=40.107.247.109 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="X81DUIu/" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=X9fiFL9JayeCOLhZg9ZS1zxg6lVY2rSv/P+5pm66wsS8eA1Pvs9h4VW1PJG26fv9tEhLTdCkYHV9cBjhS7VLzFJcoUSU4iw1b4iClS6IbE8iaUr6Vst4npyIRR1ZQlg6WWrXz06nx3Nf+GtDtEytkGymw3VNxBDaN52WO3TCaQAHtAC4tejoL5hF/18WERXlsHyY8DhEoAzmi0KM+rGiQAnh45XNcESWDdbbQQVojFhDvnFmF0ACRK5HU72XMyMi1AGrNeH2Bwq7Ml/ttVGXvQ0tL49Q/z4Gyc28nIOdJg1nISDO4PTaRMNNoJDgzY7H/gfjWGYTlQkIwuHPkFAdrg== 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=nqitDVVRMyr/kGdOSIxHyMUkZ8AkYYyGmQOwRgguH0TOshXBdDcd66hnTcfY7duA9tTZC+IZus4EXES/TG5QZ+QFbKZjZ5Nkv6GG6r11XzpzTM9ujlRUAvK1R0q43EMSKIStaKlQDuJQ3PEfI/zIcaskAn+QJ4a1zdaiSGmuKgehhiVndyzYfNZ2FkYnz6/BDo8sxphK/97FLRfqPzwwZFMTW90V+ffZ09I+A/hZ3Iz5cr2MeTJ2dZMvAfzKh3dGTH8Q6kgdW6/WS1a/Mj4tCzt/dGYfJOEIpYS/n7XlwHbY0++ot0E3X/koXO6PHwZ8+YgC0nme4A86qUPOZy9O6A== 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=X81DUIu/sLpL+2LTQSx7XRIOXJErToluQvWd7GGkcgWELkklFwjZng8GRmRkwcNn9B2IfcUqrbg3Bundkh/8WA/SoYc04XkRfKqAxoWms17cOzwk5afIBi0wmyNk0QUKpraUhe3S0MIJ/IsjVaxyGidt938kStLAdcb0JY/qH04= 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 DB9PR08MB8385.eurprd08.prod.outlook.com (2603:10a6:10:3da::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.38; Tue, 5 Mar 2024 05:55:19 +0000 Received: from VE1PR08MB4974.eurprd08.prod.outlook.com ([fe80::9e35:6de9:e4fc:843f]) by VE1PR08MB4974.eurprd08.prod.outlook.com ([fe80::9e35:6de9:e4fc:843f%7]) with mapi id 15.20.7339.035; Tue, 5 Mar 2024 05:55:19 +0000 From: Javier Carrasco Date: Tue, 05 Mar 2024 06:55:08 +0100 Subject: [PATCH v7 8/9] ASoC: dt-bindings: xmos,xvf3500: add XMOS XVF3500 voice processor Message-Id: <20240305-onboard_xvf3500-v7-8-ad3fb50e593b@wolfvision.net> References: <20240305-onboard_xvf3500-v7-0-ad3fb50e593b@wolfvision.net> In-Reply-To: <20240305-onboard_xvf3500-v7-0-ad3fb50e593b@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=1709618108; l=2173; i=javier.carrasco@wolfvision.net; s=20230509; h=from:subject:message-id; bh=aK/tqoGoFX3bOzP7we28NQCLoIDGur9v/pKHCEPg6Ug=; b=wEURFk/qx79Dnvum5+va6FkB411+KyO8Wzq0r3laegKyoPiJjKeobL3JifwvzrciwO34jDWQy aNPSsgVXs0IBRD4B2pwVDDxt+asYnoMwKTo0TXqwiqU5iAqz9Ao1Bp2 X-Developer-Key: i=javier.carrasco@wolfvision.net; a=ed25519; pk=tIGJV7M+tCizagNijF0eGMBGcOsPD+0cWGfKjl4h6K8= X-ClientProxiedBy: FR4P281CA0110.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:bb::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_|DB9PR08MB8385:EE_ X-MS-Office365-Filtering-Correlation-Id: cc6216b6-37f7-4114-c68b-08dc3cd8d6d6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: JHMvKyjkKDw/8+iaFTYT/GCPk7L7uT0p8l8TTSauFAhx0qbivqgJNiALrMNJvog/a388qhr0siX4EvrLnPdIf/7vsPuI1zWjPcnWPxYokwY9b68nEgyXlGeKUZndVsd10ScKYlXF7h3NiMosz9DYA6xwR0wNqqwLxpS9DAT+/S1TUPjk55cWtyiFLMzXk2EEytVthaMCPClR0Np7FgfT3pzhUnxK+G9PGMaofORZbmk7g2UIw0dXUPCNjxga20qfaBcFMroggUOOAGbE+dBsxG/FDepDw1+00plT9jMoZXllKpdVLY4WPYEJHZ+GSZ13DL68e24QAgcQzlVU1Lzfg3f5PGjWnVD3GbRWKIQiA9h5wysDpmEWvqRHN7OyzkSzGo5Xe1IkBWf2wci0JI5FBQoBfqkqJDMPizj0p62oh0T/RXTSakk0R5HR3zwI/ZIzR6E+NKosjzdfMwTVtzmfsNklHrbRViAkDCIcdNyE8GS1N8dIT23CAKXKheSg0O3EOwIUej4zy8tg6xRaD7VKiekuR6zSFPTqMXYnWfrC1P4s8evTY6Qdje9oUxB/9aD+OOTotNWOKcreZbOHk0uww7loPfl3JpDWBU/kKEgYnwPyZ2sn1uwBQFmL3JhfE2KDeryqbNTJVPxEoslsld8ik1nqyUoSXRiQlzVXDLeYmFQ9fsVED+BsA/opTPYGxqfc 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)(376005)(38350700005)(921011);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?ZSwVWkitvM4an/LE9NX7CJ2KYjPb?= =?utf-8?q?iO5xvrm1g2EQ7SpwS4TopQFjPaZr7trEZm7jdhpxiT2q7/noftNz8n2MpnPy8Omke?= =?utf-8?q?dOVaKA4DEwRPHDsqyZVar3qRclBcMaR8IYX/lhmn2SJKSx3xpb4fDSi8+QWzxZi5J?= =?utf-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dtwDzVwhyvv7mrnm0gmSs4jwn5SoYdfFTjcw+dzQX3/g2Tb1g4FvhQ1BvK?= =?utf-8?q?si1mCS6EE1CY4wltIWYLjwXWVqr21Z6Pw5k9UsZZhAEyo8KfkGNunrH4Gjk39cj4Q?= =?utf-8?q?Wk5UzQKMJICsgty8fJvV+HMYF2rPsSso9/EaxRMwXyseAsnoorGcWsbGKWEpF0Kyz?= =?utf-8?q?0XLmtsRpBe6eU+KdkP8zdJ7K0tCnXpEFoKUrT0SWN3uy3jffeVBpFiGlEiS4H3DtT?= =?utf-8?q?DnDvypuumnCs4ITbqabqFQH+AWWaaTtUA9rKKGAoyOI5Cw0IMBhDd4kSokbAAVQHh?= =?utf-8?q?6DW0tzOQ24rQu0Xz+30Nzo+8bamZpoPyOnmVd8YyhMpQjxqxfcs6ireU0LTblWOhz?= =?utf-8?q?0zdtbV8YsALnOmsf6ULNvsqzltg/lijcwl/vcrMjsypIALC8ENUvo7sqeM8CDAVmZ?= =?utf-8?q?mkd24tbZQKU6MwIUxDSv42bqaCz1/KKLC7Vt4iyBp+AppkJHjAi8+GxJMy2fXMn+w?= =?utf-8?q?bOIIlQMFnA9TdwlIaDxNnmW9H8Jx1swRqA=3D=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: cc6216b6-37f7-4114-c68b-08dc3cd8d6d6 X-MS-Exchange-CrossTenant-AuthSource: VE1PR08MB4974.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Mar 2024 05:55:19.5837 (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: ihkxjQTVBBzmDZH5UvwyYWDJiADkN6ou4EsANkRFMYNs1r/92d7+KNs2xLstjzxGhiPpchqd/pCvcMwOFY3JtOHga0ISO1qcPVb4ei1Dxyk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB8385 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>; + }; + }; + +...