From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MSGID_FROM_MTA_HEADER,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2241CC35257 for ; Mon, 21 Sep 2020 19:09:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CE6F92054F for ; Mon, 21 Sep 2020 19:09:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="NQfRBgzH" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727807AbgIUTJZ (ORCPT ); Mon, 21 Sep 2020 15:09:25 -0400 Received: from mail-eopbgr00040.outbound.protection.outlook.com ([40.107.0.40]:32385 "EHLO EUR02-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727382AbgIUTJY (ORCPT ); Mon, 21 Sep 2020 15:09:24 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HzrSWTzva/Hz4uRyKeQO+G0FBlf2zQukqzYkLZrJrh4fQ+V7OGJS9zKxwLPNsQfcNOvSRZsG6VUF8TAwJcxV8uGkIg92/kq0qEBnC/hmyLxUV5l+RcJEHtOxceEtwcApIH8SyYTJl3QCfGuItgEEFuyPgsEhluEgQMwlq/7Ct22UbM6JVErrLPF7ZfoMRXevcrl6SJ+9Ab39yma6Nn8PewjK53JcxfGsY8eF7nktIrfsaA2TE2RPhMQyiRlMAVr8IUeBpd9tsiGzQdVVeQM6/As+Phfgss/R8E1Lv3myC/tO20eOjKZYhA1R4GHZ9BWs/HomIK8LcIXxaC/TFwTW9g== 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=MNiJax0QLjM78wUbXKwzY6w1aZBNGq+Rsq4aqvMBrVE=; b=cQcBGQF5o4PrtB0BFzAC7LiZoQ61mXLISLhQnxS1zt1YrTbzfJIgnbbmL6U4Ka0w7M9Z+DgLXFqXtbjDTFc0fgkvjaDOwYgbH5bckkzsE+rC6BIjWb4HFDdMe7Ra2S0C2OcGNyQ44XEFNaW/e5p6PIdeS5nbHGMR58+3nsYMQT/oscUJqyLTodnLTMzNLt3jmw/sfcoHTFttWF2e+0HLKyj6568Yh7RBpMSDeFhhk4Ii2VSFqJP5t2Fqtj+9Itsy+RpS+PiO0L+A6IaiapkF1g788lsUPRqy8T8aDDA3+pf050JYEgUZsme8153/+/LdCqBrKVsjGQQn/3HWqdQTzw== 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=MNiJax0QLjM78wUbXKwzY6w1aZBNGq+Rsq4aqvMBrVE=; b=NQfRBgzH+dxRjuPvkzIWiStvFTpuaB01ej4H5Xx8JM1HOJ3FyQfD8Yvz4t6KslHgq2cURf0AJC/hjXGKhpsIiFnAw643g/5WOYDHOTmMOw/JPtZMnG4ZtvcrddMW9bVSwPxI3GI7bTJtBNJ4y8E6VmXIsR9tb9Y9i4Iuv9ail+M= 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 VI1PR04MB5984.eurprd04.prod.outlook.com (2603:10a6:803:d6::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.14; Mon, 21 Sep 2020 19:08:46 +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; Mon, 21 Sep 2020 19:08:46 +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 , Viorel Suman , Matthias Schiffer , Cosmin-Gabriel Samoila , 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 v2 2/2] ASoC: dt-bindings: fsl_xcvr: Add document for XCVR Date: Mon, 21 Sep 2020 22:08:12 +0300 Message-Id: <1600715292-28529-3-git-send-email-viorel.suman@oss.nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1600715292-28529-1-git-send-email-viorel.suman@oss.nxp.com> References: <1600715292-28529-1-git-send-email-viorel.suman@oss.nxp.com> Content-Type: text/plain X-ClientProxiedBy: AM0PR10CA0041.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:150::21) 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 AM0PR10CA0041.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:150::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3391.11 via Frontend Transport; Mon, 21 Sep 2020 19:08:44 +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: f13c9b29-48ec-4bff-6b83-08d85e61c3c3 X-MS-TrafficTypeDiagnostic: VI1PR04MB5984: 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: TWa7pcbnPd0f8Vp5EcJ750ga6jHEmBXHgUlaqJsXfQCUJeSSoPTewtM5nwhwLE0N4tZhhuuw1DK2aqe5e9oGzSu3utDDSyqLzkROZd5AutiAx1cI1NMXqY0TwUD8uYhVa1OkczMnP+VKpd1cHMjnI7V2bz0+WQkSE2gIbpMurvaEMHNklZApbRMf7M1CFIC2ZVVz28Z6NoDDXRBRsQ1EyvmlHyqetCkXR6NHY3PPc8S6tg7Xjx5rFF3xzqLgOQnpwSn/AOeO6dG1WKtS0mD7rXZjAeWa/GRJWw3SqQ7Wh8wbPMuXHoYgNR0EG9EaNM1xdYKxPqdtQl6ZXnNensdBbKpJx3jG2kSQNiny6O+pk6OX0yLZpQ8MDyHlF1qqKOMYF2w3tQsHX49Fj1llDztoB5cE8HDqgczsiaReuhX0jhAyooFeFIa5VWX6P2vOipqXbRJPWVWFRRjIHwuHAINhAazStcv6UvZ8qTaC9E1TgkavA4dvNX1TjSeXW0VXvGdS 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)(396003)(39860400002)(136003)(346002)(376002)(366004)(8676002)(26005)(7416002)(66556008)(478600001)(316002)(52116002)(54906003)(110136005)(2906002)(956004)(6506007)(966005)(86362001)(66946007)(2616005)(66476007)(186003)(16526019)(6512007)(8936002)(6666004)(6486002)(5660300002)(4326008)(83380400001)(921003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: imajBIK/MtWuJUoBpWaduDWNG5CjejP1a2nAwzj0NSjN29L5KDezraTLdicR8n10u0jUhwoUSkReLP5IEsH1ou0yaMs8hKmKVNc6Q3/0Q/kGEzKkpbte0Vr8qw1PyXKFqK+SHBUby8Sz142Lr1KDNN+BrNkkGHjFSxA1dh4gQZXw/TH3mhvqFOw158b4FWGK9QlLZol+ssSXC5Fs1vDnKzPkJ/WL80BLbgimioQLqXUzZrwYAkvbUrufajpTkfpMgZw92Xu9pgTO/GeJZf6/hxzoCJs/W+fhV0dYYauENiOEWSHCe9s5eWjB0oE2va/9K5hN1GCEUvxTtBiVXfCH/9y4Mc3R/S6GLBjdOge6SZo6XtTypk2SKLRwMUbYJORCREY4mz67XX7S0whqCQEQb/MNSfdsG8T5pHWxANFOeY325STCU6EPDfqSNhbA8hipp2Q4cm5ePmU2wyft4hx2s7Dfn/EcqwkTKlw4IGIJUZ4BVwMidlTJ5c1fc2Hq7Qbd2swaZFBU8ORiV0CVRk7wUm0VzTawrMD1ww+AurKoqM0TX6Z8jUUBW26U7KMN3JnnkG4bFVEl4PgIzNh4QMWIyKzVnGbSSx0lagSKZAaM1JzAy3DcTQlVko+zGpYyoc9MYdg2dI7sTz9uya+p9I00Gw== X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f13c9b29-48ec-4bff-6b83-08d85e61c3c3 X-MS-Exchange-CrossTenant-AuthSource: VI1PR0401MB2272.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Sep 2020 19:08:46.4387 (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: MoDfSk9/pLbrTwcAWpIiGp0AsYau/+1bvmGRVr+8597cEnvaumlKBbLnkGzU3zTBQ9ILwTQa6OrPZK+gJYehpg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5984 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 | 103 +++++++++++++++++++++ 1 file changed, 103 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..8abab2d --- /dev/null +++ b/Documentation/devicetree/bindings/sound/fsl,xcvr.yaml @@ -0,0 +1,103 @@ +# 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: 1 + + 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 + #include + + xcvr: xcvr@30cc0000 { + compatible = "fsl,imx8mp-xcvr"; + reg = <0x30cc0000 0x800>, + <0x30cc0800 0x400>, + <0x30cc0c00 0x080>, + <0x30cc0e00 0x080>; + reg-names = "ram", "regs", "rxfifo", "txfifo"; + interrupts = <0x0 128 IRQ_TYPE_LEVEL_HIGH>; + 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MSGID_FROM_MTA_HEADER,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BCE9EC4346E for ; Mon, 21 Sep 2020 19:11:30 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 16167216C4 for ; Mon, 21 Sep 2020 19:11:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="TYQu5owB"; dkim=pass (1024-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="NQfRBgzH" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 16167216C4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=oss.nxp.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 7798616DD; Mon, 21 Sep 2020 21:10:38 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 7798616DD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1600715488; bh=EXRtnD85RLpz5LRv7TD27JC3sVJGaEwLUx1vdCVegqA=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=TYQu5owBUtXmeUAZcrmDu7Gwz7wqyqyoUa9YI49BYXBA6L0DRHpNsGhsVQ8t82xOT X5XclwKH2tk5w6GB6YVu3L4Rf3RNlzKT9+GdPRBeT3uVd1o1zsNXIfDs734BsdVZlO ugyYK9i8GeTdP1nYeCib9phu+0qKByU+6Af8j68U= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 72F00F802DD; Mon, 21 Sep 2020 21:09:02 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id AD74EF802DB; Mon, 21 Sep 2020 21:08:59 +0200 (CEST) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00057.outbound.protection.outlook.com [40.107.0.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 62602F80161 for ; Mon, 21 Sep 2020 21:08:50 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 62602F80161 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="NQfRBgzH" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HzrSWTzva/Hz4uRyKeQO+G0FBlf2zQukqzYkLZrJrh4fQ+V7OGJS9zKxwLPNsQfcNOvSRZsG6VUF8TAwJcxV8uGkIg92/kq0qEBnC/hmyLxUV5l+RcJEHtOxceEtwcApIH8SyYTJl3QCfGuItgEEFuyPgsEhluEgQMwlq/7Ct22UbM6JVErrLPF7ZfoMRXevcrl6SJ+9Ab39yma6Nn8PewjK53JcxfGsY8eF7nktIrfsaA2TE2RPhMQyiRlMAVr8IUeBpd9tsiGzQdVVeQM6/As+Phfgss/R8E1Lv3myC/tO20eOjKZYhA1R4GHZ9BWs/HomIK8LcIXxaC/TFwTW9g== 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=MNiJax0QLjM78wUbXKwzY6w1aZBNGq+Rsq4aqvMBrVE=; b=cQcBGQF5o4PrtB0BFzAC7LiZoQ61mXLISLhQnxS1zt1YrTbzfJIgnbbmL6U4Ka0w7M9Z+DgLXFqXtbjDTFc0fgkvjaDOwYgbH5bckkzsE+rC6BIjWb4HFDdMe7Ra2S0C2OcGNyQ44XEFNaW/e5p6PIdeS5nbHGMR58+3nsYMQT/oscUJqyLTodnLTMzNLt3jmw/sfcoHTFttWF2e+0HLKyj6568Yh7RBpMSDeFhhk4Ii2VSFqJP5t2Fqtj+9Itsy+RpS+PiO0L+A6IaiapkF1g788lsUPRqy8T8aDDA3+pf050JYEgUZsme8153/+/LdCqBrKVsjGQQn/3HWqdQTzw== 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=MNiJax0QLjM78wUbXKwzY6w1aZBNGq+Rsq4aqvMBrVE=; b=NQfRBgzH+dxRjuPvkzIWiStvFTpuaB01ej4H5Xx8JM1HOJ3FyQfD8Yvz4t6KslHgq2cURf0AJC/hjXGKhpsIiFnAw643g/5WOYDHOTmMOw/JPtZMnG4ZtvcrddMW9bVSwPxI3GI7bTJtBNJ4y8E6VmXIsR9tb9Y9i4Iuv9ail+M= 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 VI1PR04MB5984.eurprd04.prod.outlook.com (2603:10a6:803:d6::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.14; Mon, 21 Sep 2020 19:08:46 +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; Mon, 21 Sep 2020 19:08:46 +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 , Viorel Suman , Matthias Schiffer , Cosmin-Gabriel Samoila , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: [PATCH v2 2/2] ASoC: dt-bindings: fsl_xcvr: Add document for XCVR Date: Mon, 21 Sep 2020 22:08:12 +0300 Message-Id: <1600715292-28529-3-git-send-email-viorel.suman@oss.nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1600715292-28529-1-git-send-email-viorel.suman@oss.nxp.com> References: <1600715292-28529-1-git-send-email-viorel.suman@oss.nxp.com> Content-Type: text/plain X-ClientProxiedBy: AM0PR10CA0041.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:150::21) 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 AM0PR10CA0041.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:150::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3391.11 via Frontend Transport; Mon, 21 Sep 2020 19:08:44 +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: f13c9b29-48ec-4bff-6b83-08d85e61c3c3 X-MS-TrafficTypeDiagnostic: VI1PR04MB5984: 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: TWa7pcbnPd0f8Vp5EcJ750ga6jHEmBXHgUlaqJsXfQCUJeSSoPTewtM5nwhwLE0N4tZhhuuw1DK2aqe5e9oGzSu3utDDSyqLzkROZd5AutiAx1cI1NMXqY0TwUD8uYhVa1OkczMnP+VKpd1cHMjnI7V2bz0+WQkSE2gIbpMurvaEMHNklZApbRMf7M1CFIC2ZVVz28Z6NoDDXRBRsQ1EyvmlHyqetCkXR6NHY3PPc8S6tg7Xjx5rFF3xzqLgOQnpwSn/AOeO6dG1WKtS0mD7rXZjAeWa/GRJWw3SqQ7Wh8wbPMuXHoYgNR0EG9EaNM1xdYKxPqdtQl6ZXnNensdBbKpJx3jG2kSQNiny6O+pk6OX0yLZpQ8MDyHlF1qqKOMYF2w3tQsHX49Fj1llDztoB5cE8HDqgczsiaReuhX0jhAyooFeFIa5VWX6P2vOipqXbRJPWVWFRRjIHwuHAINhAazStcv6UvZ8qTaC9E1TgkavA4dvNX1TjSeXW0VXvGdS 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)(396003)(39860400002)(136003)(346002)(376002)(366004)(8676002)(26005)(7416002)(66556008)(478600001)(316002)(52116002)(54906003)(110136005)(2906002)(956004)(6506007)(966005)(86362001)(66946007)(2616005)(66476007)(186003)(16526019)(6512007)(8936002)(6666004)(6486002)(5660300002)(4326008)(83380400001)(921003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: imajBIK/MtWuJUoBpWaduDWNG5CjejP1a2nAwzj0NSjN29L5KDezraTLdicR8n10u0jUhwoUSkReLP5IEsH1ou0yaMs8hKmKVNc6Q3/0Q/kGEzKkpbte0Vr8qw1PyXKFqK+SHBUby8Sz142Lr1KDNN+BrNkkGHjFSxA1dh4gQZXw/TH3mhvqFOw158b4FWGK9QlLZol+ssSXC5Fs1vDnKzPkJ/WL80BLbgimioQLqXUzZrwYAkvbUrufajpTkfpMgZw92Xu9pgTO/GeJZf6/hxzoCJs/W+fhV0dYYauENiOEWSHCe9s5eWjB0oE2va/9K5hN1GCEUvxTtBiVXfCH/9y4Mc3R/S6GLBjdOge6SZo6XtTypk2SKLRwMUbYJORCREY4mz67XX7S0whqCQEQb/MNSfdsG8T5pHWxANFOeY325STCU6EPDfqSNhbA8hipp2Q4cm5ePmU2wyft4hx2s7Dfn/EcqwkTKlw4IGIJUZ4BVwMidlTJ5c1fc2Hq7Qbd2swaZFBU8ORiV0CVRk7wUm0VzTawrMD1ww+AurKoqM0TX6Z8jUUBW26U7KMN3JnnkG4bFVEl4PgIzNh4QMWIyKzVnGbSSx0lagSKZAaM1JzAy3DcTQlVko+zGpYyoc9MYdg2dI7sTz9uya+p9I00Gw== X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f13c9b29-48ec-4bff-6b83-08d85e61c3c3 X-MS-Exchange-CrossTenant-AuthSource: VI1PR0401MB2272.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Sep 2020 19:08:46.4387 (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: MoDfSk9/pLbrTwcAWpIiGp0AsYau/+1bvmGRVr+8597cEnvaumlKBbLnkGzU3zTBQ9ILwTQa6OrPZK+gJYehpg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5984 Cc: Viorel Suman , NXP Linux Team X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" 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 | 103 +++++++++++++++++++++ 1 file changed, 103 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..8abab2d --- /dev/null +++ b/Documentation/devicetree/bindings/sound/fsl,xcvr.yaml @@ -0,0 +1,103 @@ +# 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: 1 + + 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 + #include + + xcvr: xcvr@30cc0000 { + compatible = "fsl,imx8mp-xcvr"; + reg = <0x30cc0000 0x800>, + <0x30cc0800 0x400>, + <0x30cc0c00 0x080>, + <0x30cc0e00 0x080>; + reg-names = "ram", "regs", "rxfifo", "txfifo"; + interrupts = <0x0 128 IRQ_TYPE_LEVEL_HIGH>; + 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