Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3383927pxk; Mon, 21 Sep 2020 12:12:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyyQ9wszoSbH88DM6z66d5Y+ZPiimMV9yw5YgekrUnKe4jTAiM0a2WjliG15bNY1+nRSP3c X-Received: by 2002:aa7:cb44:: with SMTP id w4mr393541edt.139.1600715550923; Mon, 21 Sep 2020 12:12:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1600715550; cv=pass; d=google.com; s=arc-20160816; b=IIFRm2mONpWqxkfDCUI0rEf5CYQnZSBWZgPg+31/9l3mMgJNp78HaOYQJhUQh09c/z lLmMK9iaCJhMkvcEoE3PY5N8/NP7b3krUOmZICDVVjLmtg6xUxe40OHpBHcwDKHjMJYk Wd1IrL4gcjPth1jB1val4bZifXMMJlnpN2y+rL2r+tuqtnzhChc3gaYijuXufjRf6+4A YrW2wQpaqFWHdFfBbO2n9KQ/bfNi8RuNj+8j1TMXi9HXz5dUaL+cerEMHsLsD4nikxak jvLaAJDDSyLw/tgJc3VvvQ+ItJWreVZ+X4yODTadEc+qgfhvEJE03WVw9YIaQH7GyIBw 4FPw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=xyVfD+77YLM+p9YDeL+KP3qhhC52aS3w+51EqVmhJK0=; b=eLwEMtvL8FHn9Zx1zyj8BCbBcZ9QNojKVXHyrV6WO1xHjr+rKWU6Dp6bLNx+Ay1+sz E2pv+TWdzqeZYlWTGoAZTDTCC9yJSZKiRKEYGRCc/h5w5MQIdA4dOi/DCxvKAFagBv5G EJLw2UXTd3ukaEfRr8Ac2ohoN7ISRjz4isgPvf2FkdQEXAsJ8r8O30zFcH/aPMxwmiVY NrM7iqnDQ/AXgSEYzrFrTIk67jbCoEPXF0K3/Y0ghsJfnKtteSqFhRzwr7uq51KH/AQr ZXPoOI3s44wGIV8xpxpE+1tdU+La3OuegTFQ/j4/1NSR96uXvW5Ut5hJ0FaOtpjsKmxz XDJA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=HK7AA0W3; 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 sa7si10075147ejb.714.2020.09.21.12.12.06; Mon, 21 Sep 2020 12:12:30 -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=HK7AA0W3; 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 S1727435AbgIUTIq (ORCPT + 99 others); Mon, 21 Sep 2020 15:08:46 -0400 Received: from mail-eopbgr00059.outbound.protection.outlook.com ([40.107.0.59]:1698 "EHLO EUR02-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726611AbgIUTIq (ORCPT ); Mon, 21 Sep 2020 15:08:46 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Q7/5DN15MoV2GUvILFgCIPigtqSss3TwFL2W9SLiAVG9wVvzJN0BDYcgSD9lDM59DqcSBFCqx5PJnp1qGMhEHDvyjLsEIlTWAKvxj+m5o2uf/NdNIrdGDvz1I6ygv2oK3vNXCJzQx8gJ9KUBPzbB2Yh5yuKG9xrCD8wPm7zzNqtadb/T1bPOSBlIUichUu5K6VRUAU9Mz1fvGphguyxN+CAgpeopOPeQ3tCni8eE7jSjb4w4vtZ+Qi/3K4qnlYeUI1JOtSsT68ptYXnWf0cv5NHGqBvu6bvkifm792C/g7yLWy9EwSlp/1x3VDhoh7u78YpQSIu5PfJ1LhqYtJlpxg== 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=xyVfD+77YLM+p9YDeL+KP3qhhC52aS3w+51EqVmhJK0=; b=MmoaT3EvczyfaDihbct/MTpDmQsvaLv46Zz5wSjCP1YKZhApqAlKP5szNAApmyHsQUrcRBWt/xRLDLdd+k6Yxj6FlWrFYU3VTh/+k5wLIRGahu7OqlxjfIqxksTHpZPvb/X2aXaDgq5LWe0d1t/sn66PgesyjBsMMkaI0iVdqk6fzRf5+N/ZLWtoHOQwv0oCbw/h9c7TYOrIWa7SIVIkxElwzYNCNAbnEIKJ8sXHnyvOsoOSj4yT5yvjnyAjgogcjk1hxDj5xsJIZgCB7jz0Okx7QeHnE8N4251W9YWqtxEVd4achgwu2NDQzS+LdDTJS7DobokrFqH6lUrIJ7GDzQ== 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=xyVfD+77YLM+p9YDeL+KP3qhhC52aS3w+51EqVmhJK0=; b=HK7AA0W3Qjn8YvbHwxJDkK37rtR6PfMKqzIMwgauc/znkZZhedkYEhFEE3VSdzS3NvLr77cPlmIF2wRxy5K+DvzPYMfeT9+169Bik0nAkflqkh5aeYbkZFiF2CsAhG6SBO7sG7ZRbZjGTtFmlUqajzvfMFNIn4+QJj8M+4fIz5Y= 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:42 +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:42 +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 0/2] DAI driver for new XCVR IP Date: Mon, 21 Sep 2020 22:08:10 +0300 Message-Id: <1600715292-28529-1-git-send-email-viorel.suman@oss.nxp.com> X-Mailer: git-send-email 2.7.4 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:39 +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: 3c1bf6b0-4855-4f1b-596a-08d85e61c110 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:2399; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: EruP5h+/AFSISNMsRM9QwHhphiK1wS2LqHJ/8TJN9bLt+MfcjNCMz4yHMVrkU2HwrIlbW0D7NvRxGuUg70QGCCC69kkhpd2y9yyuTWrNjcAaqm+Ic2xRMYhsYa2RrbSype1S5007IQe4xbhgxa7cP54GIXc3+EqjRFVYISRYJJLwPbaJVNL1yUyYteabRRTeNR/L3cuZxMw15dHD86jhhc+w1CUGbo8CTBOhkVQGh4EfzRfJ8rmYsJoOJUmVQotELcooPcFQ8hNkX0QacA6v1COuPAmdXtZ8czyP8ss7Ewf5+qX/8DWSzGh6b+i2X/gxbwr470peaEQtC1pml8X/0aUZN4gfKC2EnsICKIijPwtD/yoGnwtqTyrfKPqsv97eq8c1h5+OfolTXHeosbO00VoJHgvI/nsxENhd04/Uu1s= 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)(86362001)(66946007)(2616005)(66476007)(186003)(16526019)(6512007)(8936002)(6666004)(6486002)(5660300002)(4326008)(83380400001)(4744005)(921003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: tTCdqgbBrNx3eNCv+cOaVvWyLab8PGMBAPnI0m77FuLCWNBHV24QZNm46aKGRpupVLdzgi2W7DtepsLCseboe3c5xTU4EN+e+GWhU+POf8hxO6DDuqNJckJGhXZkeTczQ+OB9D823GWTMdUOc1VkZrPUCHyQfQSKs86U+/NY7iwVFJgAvLwhv5oNrmbo8wECU0NYyRy6lhr9UEmX6xscwMHbCQTnrBp+FW18VO6fqSIlg2yFgehSdFVoTH5fE4bQneEtihA8s72No05YS0w7wODKoIiP78PJZePBIwIcXv1bp2D9+CuSamFBaJREzMeToqV0MGCHTC//bjuIdxh5GufJXk0CTbd50WzcKWdV50GIn/hvyKl+LBu0oXXWEVqGlicyRmKFHdCncOmyQGFTM22ijd8t8+OzgXlQMoPRPrHD7/r2hUrEF1o7uN2392/S5hd0fRZ70FfaeGJ27nNP3MgQyanQvu16VTVOxqKL2Y1H09CV+NDuZKiU4aoXTd9QlJhy4Nk8xhb6ldIINNmW38QH/8bJYE0JATeAdgLodLwVfiJ/Gal9+zN9qx9cTtTVijZmM8ljwahMc6bPZue4AmJJ6DLE3sIj8SvofxAyDywdeWRfcPFktPDWb3rYGnIx9OcYQdd+Q2LxUIWcxTN0Zw== X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3c1bf6b0-4855-4f1b-596a-08d85e61c110 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:42.0076 (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: c9ITDky8mBpPoFX8A8+vi+rlBZcsku+ftX4nKx4Mgof+4P4JM7BbmhBIWAfFIfxNLjWcZaZTX4Kg1xSC6VUKWQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5984 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Viorel Suman DAI driver for new XCVR IP found in i.MX8MP. Viorel Suman (2): ASoC: fsl_xcvr: Add XCVR ASoC CPU DAI driver ASoC: dt-bindings: fsl_xcvr: Add document for XCVR Changes since v1: - improved 6- and 12-ch layout comment - used regmap polling function, improved clocks handling in runtime_resume - added FW size check in FW load function, improved IRQ handler, removed dummy IRQ handlers - fixed yaml file .../devicetree/bindings/sound/fsl,xcvr.yaml | 103 ++ sound/soc/fsl/Kconfig | 10 + sound/soc/fsl/Makefile | 2 + sound/soc/fsl/fsl_xcvr.c | 1343 ++++++++++++++++++++ sound/soc/fsl/fsl_xcvr.h | 266 ++++ 5 files changed, 1724 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/fsl,xcvr.yaml create mode 100644 sound/soc/fsl/fsl_xcvr.c create mode 100644 sound/soc/fsl/fsl_xcvr.h -- 2.7.4