From patchwork Wed Aug 29 15:00:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10580473 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 D284C17DB for ; Wed, 29 Aug 2018 15:20:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C06992B4F4 for ; Wed, 29 Aug 2018 15:20:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B4CA02B53E; Wed, 29 Aug 2018 15:20:22 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,T_DKIM_INVALID 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 EE33A2B526 for ; Wed, 29 Aug 2018 15:20:10 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 178852678FC; Wed, 29 Aug 2018 17:01:03 +0200 (CEST) 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 9C47A267903; Wed, 29 Aug 2018 17:01:00 +0200 (CEST) Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by alsa0.perex.cz (Postfix) with ESMTP id 23CF226766C for ; Wed, 29 Aug 2018 17:00:57 +0200 (CEST) Received: by mail-wr1-f65.google.com with SMTP id j26-v6so5152239wre.2 for ; Wed, 29 Aug 2018 08:00:57 -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; bh=1iTITd8wu1i/nqjU4QXnYmssrJxOfTvKFR6PIlAfM7c=; b=uRTImr8kvY8tGl2GkW8zwtCMDJLdcRiq3CVAevlm98C8uhYt4czPWoccF6o8tbP7Fv 1nmmvuVqEf5cYHXM1nqJdEc7aANOoDXG/aaEDjyM3GT83+MAILYLw/H1MVdvXzVIC0nt a6EW65r9auE6VSp21gksBJshXITPr6t4PuLRQYsMBFA8UHtnDB84vzlPCfSh0T2RSyOE R692qNP9+m5zMxh0b5BmxSJofCBNy0OAvy5drSQT9mhNVb2T0sye9SXora9gpngheSQC uDDySCXeJv7tWY1EtPTABg3Eo+teM0GVNo2CXW4UklvC2xY0C4xWMkHLZ6SJXy51Dutb 3kGQ== 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; bh=1iTITd8wu1i/nqjU4QXnYmssrJxOfTvKFR6PIlAfM7c=; b=ZlbIsPG7yF7TI4G/RHokFiJAKVwl5ESACHj/F8ZPJbtV/rLbdpUWxk8u2A0kGI8mfP HudESUuj1jPuTC+EfKOhOeCCJaqYr4F1iAC7o39OfLmO5zH0BqV6idW5+M2u6KaXh3W7 a/ERdHLCaRiXZnCRY5HCEdkwtGWwCQVPBPuI7OR1AP8ijbZjI0NebfzmzNsEks/XelTQ OZkdpR/4EinRVhOzmbQ+2lZqZa+E6rBIndoiZhVGNlPMzFa5Ci1/G0U0XCbGfa24cfe0 sLp2A2SoaEmfyTNHFFpoePtZ+DJRmHX/Un10SK0rwwqWfvf1BjGW+7wKYpdtYMZFRPen dd4g== X-Gm-Message-State: APzg51AF2ngQY4N6f+2Pd6DFrw0tjrLYWT8IBXg9klH5xSWzhDBW/k05 ihZY35eVrJpGRwn9hrzul3Mr8w== X-Google-Smtp-Source: ANB0VdYWhznLcihB0UrNmIf2mjPquSPyoFXSMpOulNwXGlOXDq896NHdGFZo8Hb+T1aCiVvbYfkMxA== X-Received: by 2002:adf:fc83:: with SMTP id g3-v6mr4594092wrr.216.1535554857645; Wed, 29 Aug 2018 08:00:57 -0700 (PDT) Received: from boomer.baylibre.local ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id v46-v6sm7267217wrc.63.2018.08.29.08.00.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 29 Aug 2018 08:00:57 -0700 (PDT) From: Jerome Brunet To: Mark Brown , Liam Girdwood , Kevin Hilman , Carlo Caione Date: Wed, 29 Aug 2018 17:00:47 +0200 Message-Id: <20180829150051.18190-1-jbrunet@baylibre.com> X-Mailer: git-send-email 2.17.1 Cc: linux-amlogic@lists.infradead.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Jerome Brunet Subject: [alsa-devel] [PATCH 0/4] ASoC: meson-axg: add pdm input support 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: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP The purpose of this patchset is to add the support for PDM input backend found on the AXG SoC family. The first 2 patches, for the dmic, are not specific to this amlogic driver but it is useful to have them since the PDM input will use this dmic codec. Jerome Brunet (4): ASoC: dmic: add Kconfig prompt for the generic dmic codec. ASoC: dmic: add DT module alias ASoC: meson: add axg pdm input DT binding documentation ASoC: meson: add axg pdm input .../bindings/sound/amlogic,axg-pdm.txt | 24 + sound/soc/codecs/Kconfig | 6 +- sound/soc/codecs/dmic.c | 1 + sound/soc/meson/Kconfig | 9 + sound/soc/meson/Makefile | 2 + sound/soc/meson/axg-pdm.c | 654 ++++++++++++++++++ 6 files changed, 695 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/sound/amlogic,axg-pdm.txt create mode 100644 sound/soc/meson/axg-pdm.c