Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7269794imu; Tue, 22 Jan 2019 03:16:39 -0800 (PST) X-Google-Smtp-Source: ALg8bN5/fnEU6NvLKemG2n2Zgmea7tN5gq0h2LXutDXurWdkLIdioVsafj+LIyzIss5aUTv8lVqa X-Received: by 2002:a17:902:8ec8:: with SMTP id x8mr34144094plo.210.1548155799838; Tue, 22 Jan 2019 03:16:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548155799; cv=none; d=google.com; s=arc-20160816; b=NwqNZqamtgPeZ76lRBrR06du7UhkyGSM2oGlO0bKiELaFCbQif8yjUHvpYGHN2tu+P DulKpFiLq3JXPPe0K5gBRFjDf82u1x5FSlCffbxFAv/oJWPC0Hz+0d11g7E668LF2Bqi HrjVyR79BOiCMNnV7mA7AwqGZKoTjJmj20LPCSgCDJqHXHi3lhg5qmqUXuXrmaxA9S9D kAPfG/i+uzXlCOMY0wUa3wRiAWjXTP4RiW7MsGvL5Cb8CjZsrKomYErTB5OcbakRy+eK oh0LAx8FN1yov6rcuoxBma56KyeikuYTrGDn20A9AmKk5ALEUnMXKGxgc2J2yE+4wAZr 9INQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:message-id:date:thread-index:thread-topic:subject :cc:to:from:dkim-signature; bh=DnS28n6o47ffcPvZUaToGEjGJJbwyT5bIVkbrJEzdkE=; b=ZeiWFhH5EhUmJkcpa6q19LEuDPlU87NFK4pfOjD6MK76ZkY9dryoEIq97UPn9rHiS+ lqy25uyS5c3ZDQ3Cj6KVfBGMSinNiDqe4YHd+e1bkbgb6LgnIUt9ZKbrPYzsVoOqAP9a bq4adlPk7FzVDmEMFBeNoVGHTdwBnl3Ta9cwz8EqpgDqHTRaDQ7fM7/NbVu/HdyNH4n3 IxC2Kffa5nvpjNtHcQu681prj7qWo54XdYAHcAK21/R3DRkO+iik++DTdu/L8wa6RxPy 1tQNs+aAgEv8w2y7hlG2ypoagoNoNlUK4GO5NagU5xnKHXNfOI4V6/GQL2f40RZlkBR+ atYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=jKS4ppnh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b8si16219573ple.185.2019.01.22.03.16.24; Tue, 22 Jan 2019 03:16:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=jKS4ppnh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728239AbfAVLOk (ORCPT + 99 others); Tue, 22 Jan 2019 06:14:40 -0500 Received: from mail-eopbgr10089.outbound.protection.outlook.com ([40.107.1.89]:51712 "EHLO EUR02-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728205AbfAVLOi (ORCPT ); Tue, 22 Jan 2019 06:14:38 -0500 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 CC: "alsa-devel@alsa-project.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linuxppc-dev@lists.ozlabs.org" , dl-linux-imx , Viorel Suman Subject: [PATCH v4 0/3] Add NXP AUDMIX device and machine drivers 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 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --=20 2.7.4