From patchwork Tue Jan 22 11:14:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viorel Suman X-Patchwork-Id: 10775405 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9893991E for ; Tue, 22 Jan 2019 11:14:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 874352A274 for ; Tue, 22 Jan 2019 11:14:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7B60A2A29C; Tue, 22 Jan 2019 11:14:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 932E42A274 for ; Tue, 22 Jan 2019 11:14:58 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 78626267487; Tue, 22 Jan 2019 12:14:40 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 6E5612674A9; Tue, 22 Jan 2019 12:14:36 +0100 (CET) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr150088.outbound.protection.outlook.com [40.107.15.88]) by alsa0.perex.cz (Postfix) with ESMTP id B198326749D for ; Tue, 22 Jan 2019 12:14:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DnS28n6o47ffcPvZUaToGEjGJJbwyT5bIVkbrJEzdkE=; b=jKS4ppnhA804na/bmFNtwDM7xZFO60Suo8p3Rv4bZcFxouhweeuSJ23gJDr3GSRwGCrPBfMngih6/wKL1si4FZq2V7r41j5T5lMojnEHGK3ZakIx8C2WRiR1gk+YgVtQotW/m+cRWD8Pa8UVPrZdG8lGpk3ngGGusIq0lh7K13c= Received: from VI1PR04MB4704.eurprd04.prod.outlook.com (20.177.48.157) by VI1PR04MB5789.eurprd04.prod.outlook.com (20.178.127.223) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1537.31; Tue, 22 Jan 2019 11:14:24 +0000 Received: from VI1PR04MB4704.eurprd04.prod.outlook.com ([fe80::e58a:8812:d380:2080]) by VI1PR04MB4704.eurprd04.prod.outlook.com ([fe80::e58a:8812:d380:2080%2]) with mapi id 15.20.1537.031; Tue, 22 Jan 2019 11:14:24 +0000 From: Viorel Suman To: Liam Girdwood , Mark Brown , Rob Herring , Mark Rutland , Jaroslav Kysela , Takashi Iwai , Timur Tabi , Nicolin Chen , Xiubo Li , Fabio Estevam , Viorel Suman , "S.j. Wang" , Daniel Baluta , Cosmin Samoila Thread-Topic: [PATCH v4 0/3] Add NXP AUDMIX device and machine drivers Thread-Index: AQHUskOhrw37GwsRZk+RXOoFXnURvQ== Date: Tue, 22 Jan 2019 11:14:24 +0000 Message-ID: <1548155654-12985-1-git-send-email-viorel.suman@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM6PR05CA0019.eurprd05.prod.outlook.com (2603:10a6:20b:2e::32) To VI1PR04MB4704.eurprd04.prod.outlook.com (2603:10a6:803:52::29) authentication-results: spf=none (sender IP is ) smtp.mailfrom=viorel.suman@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.7.4 x-originating-ip: [95.76.156.53] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR04MB5789; 6:A6aKbh/exabvxUMZRUGYZFbTke9SumuWSqNLUmISkXm82CFKOnrmIurnU72zlnn1GvBVeLWJprPsv+/hdC7yfJOFYiUtuHHXDMyJTM1Skp6fADhHdr66T8QMqPBaM0vNX29/+gS7J1yGOJv5L0tahGilGnCM9JTHHDeai6nCWk2e7O32Q16VKjuNIKN9F+ECRljRc/kPlu/D+Rz3wanYfHvYTRENC1bHMPiofM8fxY+J3SArH034frz6t37An8E5uvbtlZMClGXq2z6HIfMGYejecPHDa3yC6+hsVYcac5BemI7cWjojUCwdH7RXwsdKiLi88SrYCkWmkF2tySDATq4xJTcBqj3+FrlHPd0xCtm/Z2HHj7c4+Oaq301ykqDLj/65td/93f9JZBBcXhreWHHnOX7JcJ+eGbtLYLiOqMNPM6eGYbMlC2Syj3/uFoO85snGczxYtkIEH7pOQnCYpQ==; 5:rYCmZkgN3B1io23Buyq0ybr7XB3Js5e+28fupk484rKlKvLM6tXJphaY/I2UxupEuYI1tvt3ZeNmNgAgj7k4OXWnSDkCszvh1zv/02HQpJHmi3LzqdrzoPki3hSd4a1cmH9zxaTRJPjrr0pqT/sOkP1guGlpGrBVVfdCgkzc+ZEnjyjvFd/Mjy/YbCR8IJFD++ocn3G40NEHGfyrN/FrZA==; 7:uola8Ssf8nsCIZpqulhvVXGKfwelzC4KaqZWx1Z2TU0TEn2RRE5PTUms/ZMpZx3CVAbmiYe9l+QpeOgYrA4KMopMavTnVT1L9GT8Uxp8M1iuVXg0sZbsxCQmZ/qpiH6ftKoRNKYzxVLhu3eV8gE/ww== x-ms-office365-filtering-correlation-id: d57cacd9-25b6-4557-2956-08d6805ac3f1 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB5789; x-ms-traffictypediagnostic: VI1PR04MB5789: x-microsoft-antispam-prvs: x-forefront-prvs: 0925081676 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(376002)(396003)(346002)(136003)(366004)(189003)(199004)(102836004)(386003)(6506007)(2616005)(486006)(52116002)(66066001)(476003)(8936002)(86362001)(71190400001)(305945005)(26005)(7736002)(14454004)(478600001)(71200400001)(25786009)(68736007)(186003)(2906002)(97736004)(53936002)(3846002)(6116002)(4326008)(6636002)(106356001)(6486002)(8676002)(39060400002)(81156014)(54906003)(110136005)(316002)(81166006)(7416002)(99286004)(6436002)(6512007)(44832011)(50226002)(105586002)(36756003)(256004)(217873002)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB5789; H:VI1PR04MB4704.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: su2iRDM/mYmFC3Kr9O0kX3igdS2Io079qnCcX1dPCeTwbVusf7lwsbvAGld8g3+4FQbhjaaPJXs/BDgAn3Didznf8Abnx22Z5GKSUtrLhbtGIUdFs77FjDR7cjUWtgDgjgWIfuO0sx+qT2acssVVnSVloECk4eTiuFBQO2XQD/Rb1+mnQaEA0WemWwqAdYKOjZ6XWhGgVSOB3gk5w65Kg15hxRA3tr85wUZkCSBZGkXZkn1Cj7moFh1/y94uWZFu56hrPTjsfOca4TkGe7PE7ZWIWb3h6yFz1XcNH6vBSQ7fc63+dD+B4uCq3gaE/zwSdLaLDTh47RmCEFRZJFaygXQMKrSEKlK1bJbZ3b2E8y9FXLXlmk/6QgbHyR2gns+6jjM0c6el0gv+lQvruB7G0ErkoljV9eQtDsC81GA3c3I= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d57cacd9-25b6-4557-2956-08d6805ac3f1 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Jan 2019 11:14:22.8840 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5789 Cc: "devicetree@vger.kernel.org" , "alsa-devel@alsa-project.org" , "linux-kernel@vger.kernel.org" , Viorel Suman , dl-linux-imx , "linuxppc-dev@lists.ozlabs.org" Subject: [alsa-devel] [PATCH v4 0/3] Add NXP AUDMIX device and machine drivers X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 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-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP The patchset adds NXP Audio Mixer (AUDMIX) device and machine drivers and related DT bindings documentation. Changes since V3: 1. Removed machine driver DT bindings documentation. 2. Trigger machine driver probe from device driver as suggested by Nicolin. Changes since V2: 1. Moved "dais" node from machine driver DTS node to device driver DTS node as suggested by Rob. Changes since V1: 1. Original patch split into distinct patches for the device driver and DT binding documentation. 2. Replaced AMIX with AUDMIX in both code and file names as it looks more RM-compliant. 3. Removed polarity control from CPU DAI driver as suggested by Nicolin. 4. Added machine driver and related DT binding documentation. Viorel Suman (3): ASoC: fsl: Add Audio Mixer CPU DAI driver ASoC: add fsl_audmix DT binding documentation ASoC: fsl: Add Audio Mixer machine driver .../devicetree/bindings/sound/fsl,audmix.txt | 54 ++ sound/soc/fsl/Kconfig | 16 + sound/soc/fsl/Makefile | 5 + sound/soc/fsl/fsl_audmix.c | 576 +++++++++++++++++++++ sound/soc/fsl/fsl_audmix.h | 102 ++++ sound/soc/fsl/imx-audmix.c | 327 ++++++++++++ 6 files changed, 1080 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/fsl,audmix.txt create mode 100644 sound/soc/fsl/fsl_audmix.c create mode 100644 sound/soc/fsl/fsl_audmix.h create mode 100644 sound/soc/fsl/imx-audmix.c