From patchwork Mon Mar 25 09:15:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 13601729 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2097.outbound.protection.outlook.com [40.107.7.97]) (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 E82E9156862; Mon, 25 Mar 2024 09:15:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.7.97 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711358128; cv=fail; b=YOGWaOI6EEcduo7F+kAH812g8j/wulS1Bh2rb7H4U5g2+dzkUBACa5+3ugN+UTk2coHxwBq2z+AO0f7l3/Ax5jNafEfG/k4SYvLVTjFmNe3B09Z+32UMkRFJemfxkQL0Dk9q/V8tH2POw3FzfEhT20yUA5nP6yS0luC4joit/hE= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711358128; c=relaxed/simple; bh=aK/tqoGoFX3bOzP7we28NQCLoIDGur9v/pKHCEPg6Ug=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=X4oqxmAf0XqB4Qu50iafQ/S9cbiT4QxuRxrba49wFJ7fZnU3Ua1t9+chxYHMEMeS0zqOwJ8FtahJqVqbdbt8vlOsdIH1yntUek3WyxFCOOsi6QRYb4ui2V0GaxYtve/WdJbALZOh/vg1izwgTe9U5iP4UGTZ46LpJTwzednya1s= 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=Egh5Iis5; arc=fail smtp.client-ip=40.107.7.97 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="Egh5Iis5" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LVBXAhqerKObVJmfQUDxeRn+K90nThHnt5Lk9gXc3oIyDpluUfizlmkSIjWIIwXp5FlLFETuDcxK6ZgEJ4IxHOhyhbOU2ZI7D3KSz2Ez/mI+a8THcRbqgyoUXBdeBUH3l39jb+5EVwiVO0kpotKLAjb1SJaP4sSrc0neU3ykqW63ET7EhEFSyBx/By7lnlH4X7wMvdZj0FKYGvFXrSOY5N2q4/AA04zjpfx0I1KinPKrbf1ymajcavSRaQMb4HgXDSnHvibVEuOH5Fce76J//1vyMedA6ownCnN8SaVP8XxHJlPDqRhVVa8iob4jlOfacKsCRspN8pWMS3M05Ma/vQ== 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=LlYEYY9fJZ2ResJcQrL805kCv/OoiCmaybetP6q7fwQN/lmbuQzyIKc2ml4Lhh0iuwOfQTJXwaTY0SatCeQjZBGkWToXtZ/IbcY6XRhDV/BW2oM57HbZDkTtwiWVl9cpRrz58LrFEPs7wbqrKJyNEG0Dh3f2WlwUwA/lt4n41RAFJL34KIqDqEGMIcjTSbbkCBrJlTlYW2SLUBTFqy2eQMNaSUp3kuRmZuQ7YfkuYyeu89L2U0mbwVSW+JqJZDdlYAbyEGbd/Zu0eZHU8p4pGjKcIpmaoJ3gXPuRpGcdYU/S9BeaX/mTbyYXy438wPVFXg6c8rWjIOVrdiyYvZzuqg== 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=Egh5Iis57ioQQlrxwVfkU2BvqPyoRQBxIp51vi9u8fekU5oMaqzEjpL2w4tqyFsrXUBLKlEemA5w1yPUYwkbcDqj++3JG52gskZCOQ9j+fHhdOcd9ksbRZzIrzFtySRLjgs/0B6jcJuOlllUzOsxkDmngX+GYgWCBrNGYNhrkMM= 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 AS2PR08MB8951.eurprd08.prod.outlook.com (2603:10a6:20b:5fa::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.31; Mon, 25 Mar 2024 09:15:20 +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.7409.028; Mon, 25 Mar 2024 09:15:20 +0000 From: Javier Carrasco Date: Mon, 25 Mar 2024 10:15:17 +0100 Subject: [PATCH v8 7/8] ASoC: dt-bindings: xmos,xvf3500: add XMOS XVF3500 voice processor Message-Id: <20240325-onboard_xvf3500-v8-7-29e3f9222922@wolfvision.net> References: <20240325-onboard_xvf3500-v8-0-29e3f9222922@wolfvision.net> In-Reply-To: <20240325-onboard_xvf3500-v8-0-29e3f9222922@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=1711358115; l=2173; i=javier.carrasco@wolfvision.net; s=20240320; h=from:subject:message-id; bh=aK/tqoGoFX3bOzP7we28NQCLoIDGur9v/pKHCEPg6Ug=; b=wYVjFhmPV+/oYLUUhPj+kMEMjoCWMZeHcgZK94IO8yxTLJiDhPFHmKzmN1rvEmKOZKsAAz3gx oPE2HERtqNPDi0FlDRxT3k94z1YlcjabQBifz2vaXBYT8cSnylUMupO X-Developer-Key: i=javier.carrasco@wolfvision.net; a=ed25519; pk=Vxk2/0sGIxM8rsKnceszFuSuHVfQwa1Yo8+is7BX2nY= X-ClientProxiedBy: VI1PR08CA0223.eurprd08.prod.outlook.com (2603:10a6:802:15::32) 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_|AS2PR08MB8951:EE_ X-MS-Office365-Filtering-Correlation-Id: c9d58f85-796b-4785-2a17-08dc4cac17e4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: lPAiqDrFv9RNGmPvcONEaoZTIXOvRqoD5jB5E3px9zUQrBu9v4QuACAc+5c5rOYPpP42EO5Xwa4dfLow4qJREZoXD1g9uHMLoLsPh6oMQLSpfUO3qtknQZFUrVB4rKoJ3GkBlwvf+z2nqy5nIiyk2BiEoOyUAo+9AwItfYxyIC0qiwiongXFgO7+wRFsdEcpGOXFuT94ya9SphPsGj7f2KY62J5p9HquSnskYKmPkdlsuv71GElsPZENyxrUJtbldnH8rI9GzMV+i0bKVXmEfq+aDzjqIvDWRU6cZuHaxwDFiJMGQTsKy8uUaHua/f/MyimfZp/A7ylySny6YTnreV4t0uLlH+uba0Z0AWRK5+4/Kcj3dieO2mEBTOwD3lX+s3LkOS0ehBUChn9XU1kQPGP0DVYaMUwyWAXMYBdzsIIetGKR0TJcB+hj+hOQpbrhJX61qmzzWhmKY0NO6x42jC5jxay9tCwBLj76Q7jeKGBDugfEj4OE+oOjV9WhMtwQJe6aMpazg5fH8jc5Iga4Cr5IgOtafjY/3xna0EbWyDC+8Q+7UyR0MCVagic+frQ+Ck+uF7088TH+K6hiIgXR2Vo7mb+8K96KXX7jfbOAmevyP2f50blc6rNTHormW7GneknvmLvce+DOKmsW60NXJf4FODZ7NH6kaI7dWoibhrrS9Ai40i3ii4aaKjwt3WNr 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)(52116005)(7416005)(1800799015)(376005)(366007)(921011)(38350700005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?FJTZ8iXO/ybinIqjew39Vn5eSY5X?= =?utf-8?q?IaVVTIz87GhJgBUOFl+fgCq+RkWRLYtcJG5jVwGgaZVKM7TwS7vYf48AFtMFpjFth?= =?utf-8?q?Lifc4nbaUA12TCwmwyJWQk1c5HAaiNklaIDXZQZXnApLAZQNt0pOYbA9BD14zx7KX?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yqQIRd5eq+v2R40V0yJvY7cOwVtTXYzevP0nq8fEyeDMOHMGJLHYltLl1cQdhlBeP?= =?utf-8?q?YYXq7UpNbB5bLyTdp0tdhARq3zVPxo52nWMZ1tkiTd/2gisFZJGJiVzPRDYV9RV82?= =?utf-8?q?hof2g72ZS5YGD9U7TR1U/KmZojyDfe6tahM/YvUGGwHR4UJ0HaMbCikSziGLvDPfp?= =?utf-8?q?X/KpqeTMQukz0mXFmhAG41Zo+lVSQhxqG6Dq/ZIWyyvC2s7vv6aTPObmRovs943Pj?= =?utf-8?q?QbPA/I6zzrqfWq1CHC44ko+6X4do7kxKsIwz4CgP5LiileLwYXUSpJipm9k6U+ccy?= =?utf-8?q?knhfzNpicPYaHbOx9uBe6aSWbKd0bgnzk5rtIPYjQad+ZyWbXGCnBAEixa39IFChC?= =?utf-8?q?iOgULjvConP9LyUVE54ehBgkvfkrvv81qcJ0cH9QiPzfwvc7p5f98lGLMEAL3/gM2?= =?utf-8?q?XhVA5oHfIVxUswmgDfVLt2g7PnFTt6Ig2CuVdUBhd2FPeMS+ZOnVyFvtXQzLUL/Xl?= =?utf-8?q?ZwIJnyqmtsrSShm7E4FCbKQ4H8J8bzENDruK5W1WLUgCfZq7x5oO4Fo=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: c9d58f85-796b-4785-2a17-08dc4cac17e4 X-MS-Exchange-CrossTenant-AuthSource: VE1PR08MB4974.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Mar 2024 09:15:19.9749 (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: y1/SkBTjXZkOgYD9n+3AHLDLCadd+lRthOlS4ySXaCs/hlljPctYtxW88Ol1pqVr87bd3ERhkofG2HU/VEhL1+FxnfwzilRTgN5NvMGuGVw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS2PR08MB8951 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>; + }; + }; + +...