Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp7148169yba; Thu, 2 May 2019 05:13:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqzgMIokxuAa5UqkNj1tu5SyVWBABmfztKfXMGIE4dvwLUMYQP43E0Z75fSVR5zXRnDqCWDo X-Received: by 2002:aa7:8ac8:: with SMTP id b8mr3787204pfd.234.1556799217231; Thu, 02 May 2019 05:13:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556799217; cv=none; d=google.com; s=arc-20160816; b=Fy3b2MhM1LRu3ofqHbi25bD6mIWT9d/YD6jyN6N51zlDrvxzg+TJ5fUnToWFyeb5Vt l6ZYjWZQ/y4YaYhSrhqOfKFIgeFanmYcDRX+0u08t9Rwpcj1Nt5WG8MKVoq58nBO0mv/ yrXmEC8jY7zSl3x/wxYqEGgr+uza3L/SZnOhQyKHsC1HbjhAp6jaTm6fCpfbUNg685KB DfXysHAHz/ynAiKw4hYiztNrQBx+IC9dpmq2K7bEIUlXlyRm5bZPhdV+3Gf/Kby9FM9T iZgC3/cyypGPWte66NRJocM3GpFF4FwwkSFaCcuSrXzvmWkTa8aX5esePeGUTm2DtfPY rc4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=+VXnkCeQD9CSagUVthpKhe513V9cyFde6oB8Eo2RI2s=; b=bPER2CD1VseMuVr0XoW7QrT1NBNMavvGve6Yj6PHD0CF0j1f8zISZyiLm487v0uxMZ bvmSBLkx+aOCZga1ipk8PrWcXE8lyrkHceImlclMD63ICH5H5c2eY/QLmovCBWF53RVB B6aA0VY4Hiwcc8K2gZ3V1t7mgp1SADU9YbSj/iA2eWLa7Cv4V752D+8v2J3ZoyKU4xoA cSNjfxycMNMcsKeVDvTso02ROjpojI+MKuHIrg4oMaUp9epLEPu0Y/9HeYcEHAfH50kk AU8lQkHNd7L9eQty+DRZUKIe/4rC0rK98q2j2+ej2+uJ4xveH/WsNX2MkD1LdaOk3Pi+ esAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=Zsm0Hc1N; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cj5si39936497plb.76.2019.05.02.05.13.21; Thu, 02 May 2019 05:13:37 -0700 (PDT) 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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=Zsm0Hc1N; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726341AbfEBMKz (ORCPT + 99 others); Thu, 2 May 2019 08:10:55 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:51874 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726189AbfEBMKz (ORCPT ); Thu, 2 May 2019 08:10:55 -0400 Received: by mail-wm1-f68.google.com with SMTP id t76so2479708wmt.1 for ; Thu, 02 May 2019 05:10:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+VXnkCeQD9CSagUVthpKhe513V9cyFde6oB8Eo2RI2s=; b=Zsm0Hc1NNbj1/+fIZ/BsybgMhuG/oOzaKqUFCEk8LgEfDc9hJT7dxy7GpIFI4JNnhr PGXOVN0dZ2kiiDCJr85WYiICSRRDNKkpe9/jAqTZ0mlOf4j9RPB5r8PVl56U8lkocgJt KVdNAV3h/Q4NNidtPUvEOB5GFV63HNMfuVMbxEYXAw8YMLy6Bo9teYIc13Np49yXKlwq LQCqrOMBFHnxdcMlWFEn+Qdo9/UEjBCRLz1uBbVaYkoOK6RT4sZIoQrWpp47OZmXVBAM gMtQ6gLO+p739fPYzxm6NGDSulCjzNZ3MzKZcsUl38RoxfjTeBjxesm9h78AeVzhytaX ID/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+VXnkCeQD9CSagUVthpKhe513V9cyFde6oB8Eo2RI2s=; b=nD0YhhFSxpHVWBRggZe0ipeBEw+PZIMQGeUKI12HMc+3wHnGyxJDMRHyKAX0nbMTmr 2F6oiz6/W/qEdi3ETtmcKFolpMRaYS8MtHfhORul3qil351dkk0UYK0zbyyB1dX/V1Co 0VFF9Pvj6BvYoGXabKsYAr9aJESm17AI+XvzVFEE5j6L7AbH72vnk6b2IE50Ovq7lytj 3KHO46xOpMT6yCn5J0U0brPYKZs6Ckg37jDdD5dSidptfjvH4UXP/D26h8aDhNFVyvO1 AThXNmFXUCcM+jP2oAwKH/OjSgLk+sE/MCa/z5ld4DLFLZa+R5lY15YFSs3Rb3071lZM YClw== X-Gm-Message-State: APjAAAVC83uGTNyfSya1VrsbMajEOY9K3AriaR1q99YxKKW6gm414Itu OyeEbnsryT+2h/0AdpN1BE9WPg== X-Received: by 2002:a1c:eb18:: with SMTP id j24mr2265512wmh.32.1556799052888; Thu, 02 May 2019 05:10:52 -0700 (PDT) Received: from localhost.localdomain (aputeaux-684-1-8-187.w90-86.abo.wanadoo.fr. [90.86.125.187]) by smtp.gmail.com with ESMTPSA id u9sm3648348wmd.14.2019.05.02.05.10.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 May 2019 05:10:51 -0700 (PDT) From: Fabien Parent To: lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, matthias.bgg@gmail.com, perex@perex.cz, tiwai@suse.com, kaichieh.chuang@mediatek.com, shunli.wang@mediatek.com Cc: alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, Fabien Parent Subject: [PATCH 0/5] ASoC: mediatek: Add basic PCM driver for MT8516 Date: Thu, 2 May 2019 14:10:36 +0200 Message-Id: <20190502121041.8045-1-fparent@baylibre.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series add a basic PCM driver for MediaTek MT8516 with only support for ADDA Playback & Recording for now. Fabien Parent (5): ASoC: mediatek: make agent_disable, msb & hd fields optional dt-bindings: sound: Add MT8516 AFE PCM bindings ASoC: mediatek: Add MT8516 PCM driver ASoC: mediatek: mt8516: Add ADDA DAI driver ASoC: mediatek: mt8516: register ADDA DAI .../bindings/sound/mt8516-afe-pcm.txt | 28 + sound/soc/mediatek/Kconfig | 10 + sound/soc/mediatek/Makefile | 1 + sound/soc/mediatek/common/mtk-afe-fe-dai.c | 23 +- sound/soc/mediatek/mt8516/Makefile | 7 + sound/soc/mediatek/mt8516/mt8516-afe-common.h | 18 + sound/soc/mediatek/mt8516/mt8516-afe-pcm.c | 794 ++++++++++++++++++ sound/soc/mediatek/mt8516/mt8516-afe-regs.h | 218 +++++ sound/soc/mediatek/mt8516/mt8516-dai-adda.c | 316 +++++++ 9 files changed, 1406 insertions(+), 9 deletions(-) create mode 100644 Documentation/devicetree/bindings/sound/mt8516-afe-pcm.txt create mode 100644 sound/soc/mediatek/mt8516/Makefile create mode 100644 sound/soc/mediatek/mt8516/mt8516-afe-common.h create mode 100644 sound/soc/mediatek/mt8516/mt8516-afe-pcm.c create mode 100644 sound/soc/mediatek/mt8516/mt8516-afe-regs.h create mode 100644 sound/soc/mediatek/mt8516/mt8516-dai-adda.c -- 2.20.1