From patchwork Tue Jan 30 12:26:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 194161 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1195426dyb; Tue, 30 Jan 2024 04:51:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IFIrenVKWd7jgOoCVgoG0qrfC0mSK80g/ZNTy1YLaRvXUYscfTAdT2ousNl86YQKrNZkaMn X-Received: by 2002:a17:90a:800b:b0:295:423a:fe5d with SMTP id b11-20020a17090a800b00b00295423afe5dmr3447534pjn.4.1706619100914; Tue, 30 Jan 2024 04:51:40 -0800 (PST) Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id l14-20020a17090a408e00b0028c58693f96si7374582pjg.70.2024.01.30.04.51.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 04:51:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-44604-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@wolfvision.net header.s=selector2 header.b=X8Kpp2Ly; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-44604-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44604-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wolfvision.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 27214B29669 for ; Tue, 30 Jan 2024 12:28:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 653326D1A6; Tue, 30 Jan 2024 12:27:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=wolfvision.net header.i=@wolfvision.net header.b="X8Kpp2Ly" Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2069.outbound.protection.outlook.com [40.107.6.69]) (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 870986A326; Tue, 30 Jan 2024 12:27:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.6.69 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706617630; cv=fail; b=RNohvfITD4JQiFHm1KGGU6SG1udce/5M9gi+dr35BhsIKjkyDJ58VK0x2JWwpt5TP7FWispQgFAHgV7gKSjlAp/PeVqVd4K7/HHIhEy3G9Szjd7wfIbg5ZV1JT9QfQ7FCr3hDfsaKUl8fXOA0o8YYHJlvohgLAfYkscR6iq1+do= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706617630; c=relaxed/simple; bh=0GBSewE+2kn4ZI1v4gqNSQ9nyjspiDDb7b5zMcvaAzM=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=CwObuCdA47GPHscMN+GnZom1g8PFqYxBLhHIHDHZPJQVZdRDY5oRuOpnAJmP079qIJ3PHdoXktbi8VaNkiwtDHfyVFhG+DlyghzMy4yshNKksIs1CulOedIGuJuWX34gFntMY5V0VNE4V14/WNumeS7x5QGzCJot2ml1WGAGjNk= 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=X8Kpp2Ly; arc=fail smtp.client-ip=40.107.6.69 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 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f+TfhC3VA3aWhPJ49HZRDeFvr6z7U8z0eaXqn0NTT2GkQ5MOr2H/BzkUU8/V5RC54171LXxIiRklst0zewadSnvKxsNJb0fjrgY20sSlr+2gU9zysPgIFMnO07oyDFfCl/JKa+7GZ2ZpJBpgTGCfNKPV65qVs59ujZyBNZrp4lMLYn8+bdA4xpvtc4/9D0+KtI6ZCkJm34IZGycBDRXTaceaGGBHC3hdX3MuF1YVI+1V7hxRefjKlgF4R4aPenjUdw4pInEEu3sXKd8WaRsPAiwN9gtee2oAe7sq+LmkeiBpA8LO/AbPX7IbgrMZo5DftPYl+YD3PfHxtDa72sCa7Q== 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=n5HwfcjVBf/qqAafYXjZB43w9Q+jUQlbP+yjZANTrek=; b=lAVoQgKjJZT2q9i6Q6C//4Iha/XHrrVQZvw78ioPlaZY9r467YNidzgJM16sFTSbo0RrOkEYkl2EA8ycOAzdJbNxq66wv7RFs2eDvRodjGJvq+n5W7UkcOOMznODv0mP2gXmNfzxaZnAdtBN0DWWe0kQvuhpRLan/xsj167UKMs8+3e5aNQ7REq/p8h4BOX0CSnCk/wlzamejWp7bGhTRTuZIJ0fK4D0XM9wmHZo7p84wXvIJ5FK+6XepQJGy65fTQF5hq2dJGs+NZ+bp1Y+AY0PRWRQivi2sdFF+s8BK/jDWtOqpKzMVXmxzbKu/p46ji7uApysl01vWRWU6nZqRw== 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=n5HwfcjVBf/qqAafYXjZB43w9Q+jUQlbP+yjZANTrek=; b=X8Kpp2Lyxy4Ydsi92/DoDJ0mosypQ1NlFzNXHmsNxsAYrjv54Dwd/hfu34Sc1JBWz2hDzb4DoWiBaG8msLaouFUDyV7gK7zpFcZA8d9cSTDjsIKXFttjAj4tOQDKQgkKV6lioRAS1pTSmWxQzYwtZn6gl6SYAh5duj2xmu6NvKM= 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 AS8PR08MB9954.eurprd08.prod.outlook.com (2603:10a6:20b:638::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.34; Tue, 30 Jan 2024 12:27:04 +0000 Received: from VE1PR08MB4974.eurprd08.prod.outlook.com ([fe80::c8ee:9414:a0c6:42ab]) by VE1PR08MB4974.eurprd08.prod.outlook.com ([fe80::c8ee:9414:a0c6:42ab%7]) with mapi id 15.20.7228.029; Tue, 30 Jan 2024 12:27:04 +0000 From: Javier Carrasco Date: Tue, 30 Jan 2024 13:26:56 +0100 Subject: [PATCH 1/2] ASoC: dt-bindings: xmos,xvf3500: add XMOS XVF3500 voice processor Message-Id: <20240130-onboard_xvf3500-v1-1-51b5398406cb@wolfvision.net> References: <20240130-onboard_xvf3500-v1-0-51b5398406cb@wolfvision.net> In-Reply-To: <20240130-onboard_xvf3500-v1-0-51b5398406cb@wolfvision.net> To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Kaehlcke , Greg Kroah-Hartman Cc: linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Javier Carrasco X-Mailer: b4 0.13-dev-0434a X-Developer-Signature: v=1; a=ed25519-sha256; t=1706617622; l=1810; i=javier.carrasco@wolfvision.net; s=20230509; h=from:subject:message-id; bh=0GBSewE+2kn4ZI1v4gqNSQ9nyjspiDDb7b5zMcvaAzM=; b=4pQJuLpCwuX5Zj+XNPfOLe17/ktwpW59rd81d217p5kU/tZBjuTGcUTKmHIMyW6BgXcWaoFyl xUEJBo/4ZG8CNPxJ3FdJ5VbAG2ZGecPfV1ycXw2/o+RP6LNRqQvvMC1 X-Developer-Key: i=javier.carrasco@wolfvision.net; a=ed25519; pk=tIGJV7M+tCizagNijF0eGMBGcOsPD+0cWGfKjl4h6K8= X-ClientProxiedBy: VE1PR03CA0017.eurprd03.prod.outlook.com (2603:10a6:802:a0::29) To VE1PR08MB4974.eurprd08.prod.outlook.com (2603:10a6:803:111::15) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VE1PR08MB4974:EE_|AS8PR08MB9954:EE_ X-MS-Office365-Filtering-Correlation-Id: e7ef4492-b831-4d0a-0a21-08dc218ec425 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 07D59UPa9QyrUG+M677ISUqu0gtKtFMyIfnWFgcWLD+Qt1F52SGeoyzTzQrVIMqINrDzGfKTz/bX9F4RrLp9dYkFgWW1qz83Q2GkzmFmHQT03Cj2YfnYGA5w6xgh8T33AXKgemhzwBGpVqsVvqAJqrCXFZ41nDzGFy2UJ7+U5K/xIeG+visdugYtVVqYXCci7boG36hd5GmIIOXpZRwodZIddh+cwItb530ww8UqjFlgVNP9NzWEjaRSyCDdkshCl/hjyA2F/dQqnVFSs8Sb97my7JJTVwyBJt+/HmmjUTf1ZFf8ZqL/8glpw5mbf+K+9xcMzxoQSqZCT1ViEP138WV7b1oy+IlGaTrI0968XhEgVoN0dZOhQ7fpe/6elHvEo/EIaY6IIsQrrXqg3fZz4nIzf8R9ExPExYMrqHFIryh29j0E4489es4gy61rVAWX1rYjGkxCPS0TJNwsdhC6slRbLgKFv2dMWgZpWwEupNXOjbfLn0B/rw1uEmU6aHddWJcp2L/6+EcRD9ewucci+1woGB1tuPEeXgxH/SISLpZzaR0hgA7FskKUhB7dXMP3ak9MB43Kx6n35pMAYsWqmPuEDaDPw3YhN9JFrgOR3qDl/cd/PA7fiCSe57wfZ2dCVEg3Ex/ByMWHjEPUyi41Dg== 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)(136003)(396003)(39850400004)(366004)(346002)(376002)(230922051799003)(186009)(451199024)(64100799003)(1800799012)(26005)(7416002)(38100700002)(5660300002)(2906002)(41300700001)(44832011)(38350700005)(36756003)(316002)(86362001)(6486002)(478600001)(966005)(107886003)(6512007)(6506007)(2616005)(6666004)(4326008)(8676002)(8936002)(66556008)(66946007)(110136005)(52116002)(66476007)(2013699003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?YjO8EztgZpWnM/rHGC5kPLGKCZW3?= =?utf-8?q?vy9EBxiM6nHpkFIhhmoi+gLcX2UpjgZ+eQh8g5lvHQMC6I1Y/iKmPHAsyQfjUq619?= =?utf-8?q?YyxesWfLF8jaSe5DU6TrBlr9jaz7HEoFlARmgZJ250O47C7gK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R6gN9L9XC?= =?utf-8?q?VkpmXv4ets54uRa5G1WwccxJzcU047SZDNePdGO322nVtNdtgZiSjdubMBjuOJSqa?= =?utf-8?q?y7fphM3fwN7P30RGw6kUd3URrMFR2DLQwfGNXgp52epKRIH+35lyt6svYHcvN8zx2?= =?utf-8?q?VXVahnVeeUliZffLehojn9iX/tmPH6V/sj1Z/ZpNmvq3KOhS//F2COueAuXTu4XXP?= =?utf-8?q?L0bel8BdFnAvRFP1VfVH8LU8s+w2IA0aTUkGGAd/3o+5fUNH/C9IdaIQOAUgJuPoI?= =?utf-8?q?HYetiB59D2r73TBlxrywhmzKvRuDdMtR03MA23OTD81mdXzFlLIy83btKRCePqlm2?= =?utf-8?q?Npdr2aRyxAkbfkT36rgfx5EwCXix1znxxYd1XLDEKBChZZCpTPIMIltvjnT9XMLgN?= =?utf-8?q?mVBEsoohR2yxMFdcD/hyBsWh3inusHW077ZWTIsJT+YABBExqmdNM2b6kMi/qCtlk?= =?utf-8?q?/uB6JrjNmXNFOOzjp9S+hNkP+8cutiU9tbrQUZ5aD36p2Efb7VLAKO70ybS5pYU1Q?= =?utf-8?q?XRrbF6GINA+ACmw/WNr0QzpR1y6qZr+1uuh3na2EYeIw/IY6sjN78ao=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: e7ef4492-b831-4d0a-0a21-08dc218ec425 X-MS-Exchange-CrossTenant-AuthSource: VE1PR08MB4974.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jan 2024 12:27:04.0452 (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: 7O7itT3I72AhWAC8wxd9+FHMUM5whXzLXpexu7T0RMVIwndf88+1ey8erqwNFI4D1nlb8cx57jf+DqSiwK4g7g6uoPFI7r6NbH1j9MGHx8Q= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB9954 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789518756697212410 X-GMAIL-MSGID: 1789519830563654863 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 --- .../devicetree/bindings/sound/xmos,xvf3500.yaml | 51 ++++++++++++++++++++++ 1 file changed, 51 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..d7d5bda23b1b --- /dev/null +++ b/Documentation/devicetree/bindings/sound/xmos,xvf3500.yaml @@ -0,0 +1,51 @@ +# 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/ + +properties: + compatible: + const: usb20b1,0013 + + reset-gpios: + maxItems: 1 + + vdd-supply: + description: + Regulator for the 1V0 supply. + + vdd2-supply: + description: + Regulator for the 3V3 supply. + +required: + - compatible + - reset-gpios + - vdd-supply + - vdd2-supply + +additionalProperties: false + +examples: + - | + #include + + xvf3500 { + compatible = "usb20b1,0013"; + reset-gpios = <&gpio 5 GPIO_ACTIVE_LOW>; + vdd-supply = <&vcc1v0>; + vdd2-supply = <&vcc3v3>; + }; + +... From patchwork Tue Jan 30 12:26:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 194083 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1183026dyb; Tue, 30 Jan 2024 04:28:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IHr/CmAPSVe7ygGE6EaNud6jKmKZ/xZPPIflMDR2OSQkYx2Uz7SJ+YtNmovd03CPhrTSP5d X-Received: by 2002:a67:f782:0:b0:46a:fa5d:2027 with SMTP id j2-20020a67f782000000b0046afa5d2027mr4055329vso.49.1706617707440; Tue, 30 Jan 2024 04:28:27 -0800 (PST) Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id j2-20020a05620a000200b00784f2e78a4bsi588113qki.528.2024.01.30.04.28.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 04:28:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-44605-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@wolfvision.net header.s=selector2 header.b=Oy6Y69yu; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-44605-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44605-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wolfvision.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 30D051C24612 for ; Tue, 30 Jan 2024 12:28:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5F4036D1BD; Tue, 30 Jan 2024 12:27:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=wolfvision.net header.i=@wolfvision.net header.b="Oy6Y69yu" Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2069.outbound.protection.outlook.com [40.107.6.69]) (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 8DAB26A34F; Tue, 30 Jan 2024 12:27:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.6.69 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706617632; cv=fail; b=focjufY3D8w5hpQdDw6xISKvrPcp84ouEwQYOqf/9cY5Y/aegXWfmUsvEvZcyPgbQOmF3fNEmUlGq58bIisxBP6rqYsUMKkjYibsHnDfD4ci72+BVo/McSPyrEkxqJ2VU+mmGAU6fUiOh4ix8N8xiw6mveFrAw2W108oLn90gPc= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706617632; c=relaxed/simple; bh=V7NsmgNnWJFlF/itQ9Ex8RWjiqi0iPRtBiqkbxjiYig=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=TOQkfI7NKh1NN+6HvH65JT3jrOKtaVXwNJ3G7f9C4fAbq2bon1sCwx4x2JafwSPv96VBEnqLJaRgVpQk2AWH2SFZ9zWw4bZvz9uIOWTPTH2Rj4GdwGmhrawoXayfoSiQm/fZ5mJ2Q7XFgciCIwWxFz1fEfth2p3y7lgwye/HhII= 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=Oy6Y69yu; arc=fail smtp.client-ip=40.107.6.69 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 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HMT1ckDfPdp6fsbd34dE/rM50lgqJK6QQ5QooZTYfaO5FPivxoU1HyCxqblwaMTZ0GOg9v+HJmgPsuIgmETiz6kTDEdFgJ1T6TGdb5RyIEryNqlgBCi6+zhe7LkEoJHzDyDti92rI/SnoBthn1jbqVNdUDuQHBfTSdSXCWbIHOko1slX8b7UAcTBz6iY+96nHNJNopQNJcm2/tslsTM2ml93KtJfIEzOrURCyjAa4rtecOzfIyZy6eTJZ4rH14cfvR0l/LWxRf5FK+4GWSbQxY8YjNHFsQ3QGH5fEUlv8ghuFjzRI0ksdI3XZo+3LO+t0mSBtPx9V2wLVl9cITzrfA== 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=cxa4RP8RQluOUry7+pBnwhCmr9F9NYfO0oJ5ANkCN40=; b=bRFj78qy/9ZSelMVEVXVbqx9dJ3HKnx1ujwVRB/TVzhbMljpoVbX1OtraF4fWUqi26al1IsoOQ4QqAeSWSj19qW1jnbTnm9cwqphEn7CuTDDJse1hGvE+BAijiabHAYBqV8p3ehyIoUbKr/dxYRqlJzK6+QhV7r99V46OtPgb1xwfZE8cKfLryYnOFBHh1Q0sJnCbB35xAV/fEko/sVzekIhnbcvigCMNcmiIPkw/bC7DLdtZwgwGuAWojJsRyfIr1WteRwYAkmqOXDyvaxQlApwvmO8Nzl4wQw16/HRny1pJPNqEhuvxDNQmpgDrcMu4QWACyV0pc/Ld++EauE9Eg== 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=cxa4RP8RQluOUry7+pBnwhCmr9F9NYfO0oJ5ANkCN40=; b=Oy6Y69yuKmefOfpGxiWTr/4V49PfTSJFa5I7gAbVWbGodLo5Z7Ia1JvYFOe8c78yK8sCEEPDXUoaDN648ExFFefiV2gXytwy9g0cnPskN+510t1vLcKxOxt7FzJPWADnkZFtRS/jp75W0bagaPYwRo/E5JfB4OA8jO+W1p90gE4= 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 AS8PR08MB9954.eurprd08.prod.outlook.com (2603:10a6:20b:638::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.34; Tue, 30 Jan 2024 12:27:04 +0000 Received: from VE1PR08MB4974.eurprd08.prod.outlook.com ([fe80::c8ee:9414:a0c6:42ab]) by VE1PR08MB4974.eurprd08.prod.outlook.com ([fe80::c8ee:9414:a0c6:42ab%7]) with mapi id 15.20.7228.029; Tue, 30 Jan 2024 12:27:04 +0000 From: Javier Carrasco Date: Tue, 30 Jan 2024 13:26:57 +0100 Subject: [PATCH 2/2] usb: misc: onboard_hub: add support for XMOS XVF3500 Message-Id: <20240130-onboard_xvf3500-v1-2-51b5398406cb@wolfvision.net> References: <20240130-onboard_xvf3500-v1-0-51b5398406cb@wolfvision.net> In-Reply-To: <20240130-onboard_xvf3500-v1-0-51b5398406cb@wolfvision.net> To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Kaehlcke , Greg Kroah-Hartman Cc: linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Javier Carrasco X-Mailer: b4 0.13-dev-0434a X-Developer-Signature: v=1; a=ed25519-sha256; t=1706617622; l=2715; i=javier.carrasco@wolfvision.net; s=20230509; h=from:subject:message-id; bh=V7NsmgNnWJFlF/itQ9Ex8RWjiqi0iPRtBiqkbxjiYig=; b=MCS3mXR0vHTv4dzlSeBa4msa32KzBT9J4dBEVwp+qtrx+xg9v12V0SBWTNUKEyJowaMEQ1746 bOMbD5QlMqGAa0WIn1ezAF56C7avM+OVHbrCzIgOQ9UEfxJn0b/mOqm X-Developer-Key: i=javier.carrasco@wolfvision.net; a=ed25519; pk=tIGJV7M+tCizagNijF0eGMBGcOsPD+0cWGfKjl4h6K8= X-ClientProxiedBy: VE1PR03CA0017.eurprd03.prod.outlook.com (2603:10a6:802:a0::29) To VE1PR08MB4974.eurprd08.prod.outlook.com (2603:10a6:803:111::15) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VE1PR08MB4974:EE_|AS8PR08MB9954:EE_ X-MS-Office365-Filtering-Correlation-Id: a0290ae5-b9d8-4e6c-0ee6-08dc218ec493 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1MwoWPveET13T8DqLg2XRca2fvip9QDZ2u+qATwI+C8jbzcoYTrfTx/rLmpUpeY3J2LvjzSLToEUi+dvflInPsbQlKYKQha9rVJMd5yuJsMqxx4IjG7VBMn8njcAZ751FsP9+m7WkuuhK3rvF2kcQ7G9mz7EwkB+UQstvLRLVAofTYGiRmAyrf84DBDS2o4XvyZa5rQ8p7rfigSYr9Y98ERFcF3AL39CuY3WMKPd7cel4twupiDfVAr3nTUOYGXZANpR9NxNLGR/85mfyNACiBvKYsX4CeDhCoHllrwnCUk8zoNe0hl+Ckxmpm/c0De5gvu+nqr77eulr6dT0/iHTh1TO7pFxlH0BziFAuZ1RjC1NvuRPmZHEdFo3NhFM8GU/8K6jwxHAgaNq4e/QSlOVRbRVpYbXwXe9us0KT/bmjv3q41PodztxQxUdfXFIlv1wnEvTMqiWpLqr+1i5NI/wDT1lFL3hyhquondkMzLr9chwJ+7EZa8Yl5q1JxISkP7zJg1HDYRgvYAs567cb1AVNNHl3O2ifMQtBYUATr7vgPjR/wZd23vLyMDsgb7MuNKd1z0PBiYp+0FWTi64h1B02Z+YoIWYsKcCzw4SvKTnOQ= 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)(136003)(396003)(39850400004)(366004)(346002)(376002)(230922051799003)(186009)(451199024)(64100799003)(1800799012)(26005)(7416002)(38100700002)(5660300002)(2906002)(41300700001)(44832011)(38350700005)(36756003)(316002)(86362001)(6486002)(478600001)(966005)(107886003)(6512007)(6506007)(2616005)(6666004)(4326008)(8676002)(8936002)(66556008)(66946007)(110136005)(52116002)(66476007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?ThlmK9HvaFpadoVSfp0UvAEhjEY8?= =?utf-8?q?w3Lj68x/purM0QHYZPS8pHJ+PtMSSENdVqdMwuQ9XfG/yCK/rATDViuFB8NE7m+Mc?= =?utf-8?q?m9PGHa1iMu9EuChqNPiPUbcZyeupatiTV6TJwdCFELSM3FYOm6LrIWP1RwrROM9EJ?= =?utf-8?q?vd6TAiPRMIvZlpnKIevYd24S94XEIFscw3eY7a19umldfTqECubJehP9UBvOP77q9?= =?utf-8?q?qpEuwPiGk6GFV7lyud4uGRB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7z0426HNSIrl/dNgr+C8xyuyZecwtXfXeWDp1dyF?= =?utf-8?q?Iv6egCMjKUvAPiupTEUHcYlxF+LAya7adFHlskUQ1/+nTSIvp+NGQ7VaF3Q7imuVY?= =?utf-8?q?3fQ1haNC8s5Ni7ryk+AKSB8GeE2BGZzVNZ760BH7NlKo0auxqT2MtA8fmqSBNgHAc?= =?utf-8?q?0d5t0TOsnQPHnaV6Gv3f+N9YgMvze2Lv8j8/39oZOXaP/s3b0kXJouAIR75Wq9ekw?= =?utf-8?q?r/izI7RcZ/42yDq4OTg3YATAvp2zqgwD8S+OWadFxCRbeCbC0Wq0Q/c7GXFTiqAH9?= =?utf-8?q?YqYpJTBkgZXd6zXU3dBqO9ENucPyybyCVqBTtoB3dIBhIjwAqbcd2jNVX59HlEs00?= =?utf-8?q?/AVrtnhPjRnNPaFDlbPEz641urp5pHo1hK3vjkJuTJUBS8LPV5AVRy7PKvXsCc+rM?= =?utf-8?q?Uez5hob78l7LZftCC/M6qq/O292o1WX7XvNslgmn0yM5EjCEF2CugFw=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: a0290ae5-b9d8-4e6c-0ee6-08dc218ec493 X-MS-Exchange-CrossTenant-AuthSource: VE1PR08MB4974.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jan 2024 12:27:04.8012 (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: y6dgNtrHRG5UHzD80o68YfWS8LSFwUinnI0UjLmgafSkkqwlLxhqL/olavEso25z3GRTkCZFvEMSqsW26/sGQ7RM4qyEGx3c+pZsJJBjpwE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB9954 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789518368758898791 X-GMAIL-MSGID: 1789518368758898791 The XMOS XVF3500 VocalFusion Voice Processor[1] is a low-latency, 32-bit multicore controller for voice processing. This device requires a specific power sequence, which consists of enabling the regulators that control the 3V3 and 1V0 device supplies, and a reset de-assertion after a delay of at least 100ns. Such power sequence is already supported by the onboard_hub driver, and it can be reused for non-hub USB devices as well. Once in normal operation, the XVF3500 registers itself as a USB device, and it does not require any device-specific operations in the driver. [1] https://www.xmos.com/xvf3500/ Signed-off-by: Javier Carrasco --- drivers/usb/misc/onboard_usb_hub.c | 2 ++ drivers/usb/misc/onboard_usb_hub.h | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/drivers/usb/misc/onboard_usb_hub.c b/drivers/usb/misc/onboard_usb_hub.c index 0dd2b032c90b..f16ea3053f84 100644 --- a/drivers/usb/misc/onboard_usb_hub.c +++ b/drivers/usb/misc/onboard_usb_hub.c @@ -366,6 +366,7 @@ static struct platform_driver onboard_hub_driver = { #define VENDOR_ID_REALTEK 0x0bda #define VENDOR_ID_TI 0x0451 #define VENDOR_ID_VIA 0x2109 +#define VENDOR_ID_XMOS 0x20B1 /* * Returns the onboard_hub platform device that is associated with the USB @@ -458,6 +459,7 @@ static const struct usb_device_id onboard_hub_id_table[] = { { USB_DEVICE(VENDOR_ID_TI, 0x8142) }, /* TI USB8041 2.0 */ { USB_DEVICE(VENDOR_ID_VIA, 0x0817) }, /* VIA VL817 3.1 */ { USB_DEVICE(VENDOR_ID_VIA, 0x2817) }, /* VIA VL817 2.0 */ + { USB_DEVICE(VENDOR_ID_XMOS, 0x0013) }, /* XMOS XVF3500 */ {} }; MODULE_DEVICE_TABLE(usb, onboard_hub_id_table); diff --git a/drivers/usb/misc/onboard_usb_hub.h b/drivers/usb/misc/onboard_usb_hub.h index f360d5cf8d8a..1809c0923b98 100644 --- a/drivers/usb/misc/onboard_usb_hub.h +++ b/drivers/usb/misc/onboard_usb_hub.h @@ -56,6 +56,11 @@ static const struct onboard_hub_pdata vialab_vl817_data = { .num_supplies = 1, }; +static const struct onboard_hub_pdata xmos_xvf3500_data = { + .reset_us = 1, + .num_supplies = 2, +}; + static const struct of_device_id onboard_hub_match[] = { { .compatible = "usb424,2412", .data = µchip_usb424_data, }, { .compatible = "usb424,2514", .data = µchip_usb424_data, }, @@ -77,6 +82,7 @@ static const struct of_device_id onboard_hub_match[] = { { .compatible = "usbbda,5414", .data = &realtek_rts5411_data, }, { .compatible = "usb2109,817", .data = &vialab_vl817_data, }, { .compatible = "usb2109,2817", .data = &vialab_vl817_data, }, + { .compatible = "usb20b1,0013", .data = &xmos_xvf3500_data, }, {} };