Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp210947pxk; Wed, 16 Sep 2020 02:20:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxUYjPMOapiqjgMYMgkTRX3pvDD/HlXr6P3Ig4rQ5m3m4VqPA0PDjlUZ91MALUZw6EN3rBl X-Received: by 2002:a17:906:8258:: with SMTP id f24mr23646612ejx.551.1600248017037; Wed, 16 Sep 2020 02:20:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1600248017; cv=pass; d=google.com; s=arc-20160816; b=RIvDWhBAqENJ0KjAK5raDx+oPdFL8RsJdSUhCx4T1+W9Vrmf0b2G8sLOqEXOuCYmlA ciXd1U0SoNuEd24O95uvtsPiATLlf/uGls+fp02g7ekAHmDBVBfIF7zmIKUU8aqsptMn uJoDcEoHMR1Q7eaKuu5Rqmtz4f33qoAsMNEdLYHV964RZ8u5y0c3aKP1unK45N8DoIqd nb+150gti+VqVxABrbo4oH/89VpBw8iI7GPq1+1SM5wC5xiIxc9KZ0Muq9Fnz9q3OKR5 VQatWzxnOrNp55MM1Cjt8GjWCO90i8wJgsRJz3ReKjcM5ZcM+o4CfKr53wOGadPUOP5Q pFjg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=SPdkg5pM26NwSoPKyxFUwwxgafCPSJtpAoNaGFtS4i8=; b=0Y+nDHpBhGLHsvKkDWLwExzgDYHt3BBXvFAZIG5nW2Iql8uOQ7bYZ3RBB4v00E59JU AbSgzlzCFN8kWqU6p02R5Y5X0HDHNkkVSAXfUwYY53g6BX+GitMYTxyEO05SRZ2IYLLq YH96imD5HBGFxa4EHXUghBuKIw0oEuW1/lqoRyWNCQIQLalW7NQW2YVgCSlUaALloZv6 Bc55aIWPZEMBM/U/H/kFwXQWa4HTpzCbDE6Hx8ybk57ypcnv/7FEsXlDcSJhWXzBWVf1 CprBl2jcJsywxJIbJL69MbAddabGZPBtJcY+sIuczgnCEf5BZOn9qs6Ubm4hGp1w5MVO OHqQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=cc4fYAc4; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f25si12462130ejh.697.2020.09.16.02.19.54; Wed, 16 Sep 2020 02:20:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=cc4fYAc4; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726559AbgIPJS4 (ORCPT + 99 others); Wed, 16 Sep 2020 05:18:56 -0400 Received: from mail-eopbgr130051.outbound.protection.outlook.com ([40.107.13.51]:50819 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726679AbgIPJSg (ORCPT ); Wed, 16 Sep 2020 05:18:36 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=W3ChNmPZJ9TEbpPQv1Sp+S+1a5hx3t+8sYX0MKNZa4DqSQxCy6J992nrkwT7tWUZa0PnJU5JMNgWprhmBcrt9g6m+4ukkmjDU2iOwvzk+6Cq+gVA9kNDfSjRW49z9ur8Dh5KTmiiiU0NxyM1sFJwU7Us3Nz1/HFms6ybGz0fwmYE7xmpMaqXc5aKCqun0lNP3XAk+uGdujXY4seq9dW5OfFX3tMAITYUEXD8UxOo7iukFat0TNzKMb2suQmXO8hGMi5WsKCj2pKZR2UTvXO0jqYZTyaWJuuP2/lHMOfccPr64e7kdi/qHCM32TU4GpSmozuVj9vi3t1eUTKotQbDnw== 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-SenderADCheck; bh=SPdkg5pM26NwSoPKyxFUwwxgafCPSJtpAoNaGFtS4i8=; b=UHtgLK1B4M66FGm6TPi+b3MYCFI7QBJd5RVTjeer2dbfcv3Evkdr/DDF89EyXyk4730mtZXtFJGTG5Zu65JZ67RZO7bU+BpIFLYsXqNYlv6v7874Rb5C3Q6IVsPH+ptxYmya3eoSVV2dceJPv7fb3jNPnLlEpsdOI3/mwNFZZt4x4Np4U8wYdPQOLBHYw8gimbz7O1P6gFZq4MpU4M2dYRamXUE8/PeL7ju0j5L+FGLh7eV1qESr8bbfH6jj4MssIrX5u0DdLEzZ/QLlXmx3Pd2yL8N0ekYIkDCifZGSrM3U7J9N9FMVS47o7LI6ztI28NOvCWM5ixvLTxeqFaCc7w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SPdkg5pM26NwSoPKyxFUwwxgafCPSJtpAoNaGFtS4i8=; b=cc4fYAc4wzqDKLaF19cmOivfFKpY6phyAp06vwzMkIilCjg2f/nWN49RaOFHe7NVluq0fTBbpyP2Tan6Uso5EEHYeBq51ghARgii8jcaGdpQRFgNDnaeuEjnFKGzOq/ROw+u7ln8TPbIGYLi7A0bltWqOKXHtLNsc6u2Y7uO0lI= Authentication-Results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=oss.nxp.com; Received: from VI1PR0401MB2272.eurprd04.prod.outlook.com (2603:10a6:800:31::12) by VI1PR0402MB3630.eurprd04.prod.outlook.com (2603:10a6:803:d::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.18; Wed, 16 Sep 2020 09:18:14 +0000 Received: from VI1PR0401MB2272.eurprd04.prod.outlook.com ([fe80::e00e:ad13:489b:8000]) by VI1PR0401MB2272.eurprd04.prod.outlook.com ([fe80::e00e:ad13:489b:8000%6]) with mapi id 15.20.3391.011; Wed, 16 Sep 2020 09:18:14 +0000 From: "Viorel Suman (OSS)" To: Liam Girdwood , Mark Brown , Rob Herring , Jaroslav Kysela , Takashi Iwai , Timur Tabi , Nicolin Chen , Xiubo Li , Fabio Estevam , Shengjiu Wang , Philipp Zabel , Matthias Schiffer , Cosmin-Gabriel Samoila , Viorel Suman , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Cc: NXP Linux Team , Viorel Suman Subject: [PATCH 2/2] ASoC: dt-bindings: fsl_xcvr: Add document for XCVR Date: Wed, 16 Sep 2020 12:17:56 +0300 Message-Id: <1600247876-8013-3-git-send-email-viorel.suman@oss.nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1600247876-8013-1-git-send-email-viorel.suman@oss.nxp.com> References: <1600247876-8013-1-git-send-email-viorel.suman@oss.nxp.com> Content-Type: text/plain X-ClientProxiedBy: AM0PR01CA0158.eurprd01.prod.exchangelabs.com (2603:10a6:208:aa::27) To VI1PR0401MB2272.eurprd04.prod.outlook.com (2603:10a6:800:31::12) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from fsr-ub1664-116.ea.freescale.net (83.217.231.2) by AM0PR01CA0158.eurprd01.prod.exchangelabs.com (2603:10a6:208:aa::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3391.11 via Frontend Transport; Wed, 16 Sep 2020 09:18:12 +0000 X-Mailer: git-send-email 2.7.4 X-Originating-IP: [83.217.231.2] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 8d2fe603-d556-413e-4666-08d85a2170b0 X-MS-TrafficTypeDiagnostic: VI1PR0402MB3630: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3044; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3qWh1zl4oLA1fMTLGPksLHV5vAg5ZqMtYzofmSGSaw+onmIlb7onq0T99V6+Mm2rViQGvczZnR/QoNDZhZQ1aF8Enl2dyEmkqpdg1cBF1lg1MCA65Rh+5Q0X6L1/fq4Bx+5bp0LC/BpcbIyXc8YIlBsJzNH6KUzXmCQGt42zIxtvzDfqBLF6L0ahADNTHIk80tlgs3QRcjCJDOxNRLcjHOase9bi/l/laN5h44p4lwVpuUnPbi7/1ug+Mqk8+fFLrvhtFWwvuReWr2Vvm7ra/vDTrxmUuzKBt4/qNsx3jRzxAEKmARnJRzw4Y/6C9FVj8/RMwlsYEwqu/YsNEBtYIY5kTzbwfMHaBf8E2G1Biz8rC8Y/SpkdmyPrhM3z17aoV0z+2RR8htKKmncNzKytjCu3PTvOqT4iehPQsOLg0dmGG9WidFEVWvq9b05EqhU7VVOSKgKTfGFu+oTAuOLEGr5CNa5Um1LteZzPfyZQiV6dm9IQTSor8D9hiC1ujWFi X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR0401MB2272.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(6512007)(6486002)(4326008)(966005)(8676002)(8936002)(2906002)(66476007)(66556008)(66946007)(6666004)(2616005)(956004)(86362001)(16526019)(83380400001)(5660300002)(6506007)(7416002)(54906003)(110136005)(26005)(186003)(52116002)(498600001)(921003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: lf2kdOgKBJewUYiykcQcSOj0TEO6+BgVqyI5k/GZtIZAwWfG0k6FyCkIgqZqHHGT1YjS/EUZow7XIZYB15kq5S+IF7aESbwJS/gZABBncbQL+GGqK1JrSr25Ub6ZAz3aGObxEcPKnjnA0tuLqfHxIo+CtexOTIXX5ZmntIy+l3X3mMukYxZpf4s2U3TcUe8+FQMFX9QXhgpY3AQnGkXHstx0D7KOyAJPVO1x7jbGTg5dLJl/7RQsI6D1KFUYF5X2ToDDKa1zmFPRaP26RwUXYBbJaBMzKnfNu3CdPXIIW1MJTScYW+biyKVr5akxV/1Ovry2G2lJ00sUDS13NSclFtFxlcoqzbaDG+Zy0MPFpAe6sIgs7Hk6tnpXrYlfrkCU+NLQfl2o3fSMYB8p1x8rkEgUQ1VlFEkNNGADV9yHWkln3dw+cbwI1yPLxLyaxCSAc51Wd007MHNR13wBPyXBrkj19LcAz+PydQx5+R0p45hdMqeqzNGw3QCI8Od74hZiA0qWPnkQFcfII5rIpDL0CN5DPCBAiL94bEPmpYDFzKBwqGYjqa2kMCIpJfUFNZ92L/bVW2Z7skrgcqOZMnBPEabrRwxt5+Dpc/qCM7wqLDbt/Uvw/M5F7xBgZK8MuPutGZ4eWJi1Q86MFE3039P24Q== X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8d2fe603-d556-413e-4666-08d85a2170b0 X-MS-Exchange-CrossTenant-AuthSource: VI1PR0401MB2272.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Sep 2020 09:18:14.5415 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: rjOs/DAfFw+324fDSNwv6L6mym7M3g6e1BtSDZoBFJIILmjF2I2Bmx2KYuVuKhOj7RzlA9OoSYcMWW1hWKcuhQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB3630 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Viorel Suman XCVR (Audio Transceiver) is a new IP module found on i.MX8MP. Signed-off-by: Viorel Suman --- .../devicetree/bindings/sound/fsl,xcvr.yaml | 104 +++++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/fsl,xcvr.yaml diff --git a/Documentation/devicetree/bindings/sound/fsl,xcvr.yaml b/Documentation/devicetree/bindings/sound/fsl,xcvr.yaml new file mode 100644 index 00000000..d4bb792 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/fsl,xcvr.yaml @@ -0,0 +1,104 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/fsl,xcvr.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP Audio Transceiver (XCVR) Controller + +maintainers: + - Viorel Suman + +properties: + $nodename: + pattern: "^xcvr@.*" + + compatible: + const: fsl,imx8mp-xcvr + + reg: + items: + - description: 20K RAM for code and data + - description: registers space + - description: RX FIFO address + - description: TX FIFO address + + reg-names: + items: + - const: ram + - const: regs + - const: rxfifo + - const: txfifo + + interrupts: + maxItems: 3 + + clocks: + items: + - description: Peripheral clock + - description: PHY clock + - description: SPBA clock + - description: PLL clock + + clock-names: + items: + - const: ipg + - const: phy + - const: spba + - const: pll_ipg + + dmas: + maxItems: 2 + + dma-names: + items: + - const: rx + - const: tx + + firmware-name: + $ref: /schemas/types.yaml#/definitions/string + const: imx/xcvr/xcvr-imx8mp.bin + description: | + Should contain the name of the default firmware image + file located on the firmware search path + + resets: + maxItems: 1 + +required: + - compatible + - reg + - reg-names + - interrupts + - clocks + - clock-names + - dmas + - dma-names + - firmware-name + - resets + +examples: + - | + #include + #include + + xcvr: xcvr@30cc0000 { + compatible = "fsl,imx8mp-xcvr"; + reg = <0x30cc0000 0x800>, + <0x30cc0800 0x400>, + <0x30cc0c00 0x080>, + <0x30cc0e00 0x080>; + reg-names = "ram", "regs", "rxfifo", "txfifo"; + interrupts = , /* XCVR IRQ 0 */ + , /* XCVR IRQ 1 */ + ; /* XCVR PHY - SPDIF wakeup IRQ */ + clocks = <&audiomix_clk IMX8MP_CLK_AUDIOMIX_EARC_IPG>, + <&audiomix_clk IMX8MP_CLK_AUDIOMIX_EARC_PHY>, + <&audiomix_clk IMX8MP_CLK_AUDIOMIX_SPBA2_ROOT>, + <&audiomix_clk IMX8MP_CLK_AUDIOMIX_AUDPLL_ROOT>; + clock-names = "ipg", "phy", "spba", "pll_ipg"; + dmas = <&sdma2 30 2 0>, <&sdma2 31 2 0>; + dma-names = "rx", "tx"; + firmware-name = "imx/xcvr/xcvr-imx8mp.bin"; + resets = <&audiomix_reset 0>; + }; -- 2.7.4