From patchwork Tue Aug 21 16:52:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kirill Marinushkin X-Patchwork-Id: 10572049 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 C463514E1 for ; Tue, 21 Aug 2018 16:54:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B146D2AA76 for ; Tue, 21 Aug 2018 16:54:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A58E12AC1B; Tue, 21 Aug 2018 16:54: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.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 60BF12ABE6 for ; Tue, 21 Aug 2018 16:54:58 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 3312D26773F; Tue, 21 Aug 2018 18:54:47 +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 F41872676E3; Tue, 21 Aug 2018 18:52:27 +0200 (CEST) Received: from host.euro-space.net (host.euro-space.net [87.117.239.2]) by alsa0.perex.cz (Postfix) with ESMTP id 0FBA126766E for ; Tue, 21 Aug 2018 18:52:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=birdec.tech ; s=default; h=Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=t4f8oPdQWR7CVGpy8qipQ4CMEZcm7J/RuzuRdUSZytU=; b=S3OIlaWFNpEe/scrazHbbp8EzK gN+k7CFAMqfmwYWvwyJIFawFHnTVHdCRx2RCo/yWTBvkPbFvOkfXHm1cRJL8gB3qmbWsF8FlYDXpN mFXuhT2MmEVurmdqIKomsA4U6Y4YVvgdjZQF+iJOJoILmPcRax4w7q5CWRvb7jixIMR/izWfWT0RR iEnwBUR3RTF4l5i9xgN2n0z5gyIEoedxnhlOy55XwVtGhMEYLI+a/DvVii/TXRd9IwCcL6lDHFrLv rvoUzsLGQxkxr3XVgco1hs/AKnpBvntnHmirWJ9PdceIco6XwitqfBn2SP6j7UY3OYHlxcwSDJDzN ZTmrjFmA==; Received: from x55b18169.dyn.telefonica.de ([85.177.129.105]:39848 helo=gentoo0.localdomain) by host.euro-space.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1fs9tG-0003Hx-St; Tue, 21 Aug 2018 17:52:22 +0100 From: Kirill Marinushkin To: Mark Brown Date: Tue, 21 Aug 2018 18:52:45 +0200 Message-Id: <20180821165246.9479-1-kmarinushkin@birdec.tech> X-Mailer: git-send-email 2.13.6 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.euro-space.net X-AntiAbuse: Original Domain - alsa-project.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - birdec.tech X-Get-Message-Sender-Via: host.euro-space.net: authenticated_id: kmarinushkin@birdec.tech X-Authenticated-Sender: host.euro-space.net: kmarinushkin@birdec.tech X-Source: X-Source-Args: X-Source-Dir: X-Mailman-Approved-At: Tue, 21 Aug 2018 18:54:43 +0200 Cc: alsa-devel@alsa-project.org, Kirill Marinushkin , linux-kernel@vger.kernel.org, Takashi Iwai , Liam Girdwood , Peter Ujfalusi , Vishwas A Deshpande , M R Swami Reddy , Kevin Cernekee Subject: [alsa-devel] [PATCH 0/1] ASoC: pcm3060: Add codec driver 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 Hello Mark, I am developing sound support for a Linux-based device, with playback and capture through the TI PCM3060 codec. With the following patch, I propose to add the PCM3060 codec driver into the kernel. Best Regards, Kirill Kirill Marinushkin (1): ASoC: pcm3060: Add codec driver .../devicetree/bindings/sound/pcm3060.txt | 17 ++ MAINTAINERS | 7 + sound/soc/codecs/Kconfig | 17 ++ sound/soc/codecs/Makefile | 6 + sound/soc/codecs/pcm3060-i2c.c | 61 +++++ sound/soc/codecs/pcm3060-spi.c | 60 +++++ sound/soc/codecs/pcm3060.c | 290 +++++++++++++++++++++ sound/soc/codecs/pcm3060.h | 88 +++++++ 8 files changed, 546 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/pcm3060.txt create mode 100644 sound/soc/codecs/pcm3060-i2c.c create mode 100644 sound/soc/codecs/pcm3060-spi.c create mode 100644 sound/soc/codecs/pcm3060.c create mode 100644 sound/soc/codecs/pcm3060.h