From patchwork Fri Aug 31 17:14:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Codrin Ciubotariu X-Patchwork-Id: 10584249 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 6638C920 for ; Fri, 31 Aug 2018 17:16:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 55FDB2BCDD for ; Fri, 31 Aug 2018 17:16:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 49D3B2C022; Fri, 31 Aug 2018 17:16:30 +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.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DBF222BCDD for ; Fri, 31 Aug 2018 17:16:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=sn3Lsn8/XEvTM56bxqUlRW6SLE9dBCue+c3IGhdILgw=; b=dAuchXTiSTPyM4 jO/cFFGMKyd/MIOE8LwcOSll5yXDvPLTXpoNyr0FhyWtREna1U8Q6hXrVL5g6uXNyz2h6HHBJGIjG SIXG+oGehx9lJK2aFUL84HkSw7uSqyDetSZMcd7vTsSUgl/YTDi+fBQAtV/tWjfZ4NVAW4hwls2Rl GXc38F1kDw0C/Sa61vJQG9J3wSdYwcrnO0TV8f2DorNuSLixX5ky+OKoGHSCcBRGv+iGDlbFLfVal Zx85nBHTnsqJ08TzlG3UEjYPSPIjtMoy7rtqPiFoOheCdF3rZo9agXV98lUAVGvuuh3V7HcSFyVdA ffRZMTjKKh7Rz0D7zfAQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fvn1w-0001KS-Qu; Fri, 31 Aug 2018 17:16:20 +0000 Received: from esa1.microchip.iphmx.com ([68.232.147.91]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fvn0b-0007wC-Rh for linux-arm-kernel@lists.infradead.org; Fri, 31 Aug 2018 17:14:59 +0000 X-IronPort-AV: E=Sophos;i="5.53,312,1531810800"; d="scan'208";a="19891695" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa1.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 31 Aug 2018 10:14:39 -0700 Received: from rob-ult-m19940.mchp-main.com (10.10.76.4) by chn-sv-exch07.mchp-main.com (10.10.76.108) with Microsoft SMTP Server id 14.3.352.0; Fri, 31 Aug 2018 10:14:39 -0700 From: Codrin Ciubotariu To: , , , , , Subject: [PATCH v2 0/2] Add support for MikroElektronika PROTO codec Date: Fri, 31 Aug 2018 20:14:34 +0300 Message-ID: <20180831171436.13360-1-codrin.ciubotariu@microchip.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180831_101458_039741_43D68C18 X-CRM114-Status: UNSURE ( 7.65 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: cristian.birsan@microchip.com, florian.meier@koalo.de, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patchset is based on Florian's initial PROTO driver: https://lkml.org/lkml/2013/5/22/342 My changes made the driver more generic, so that we could connect other I2S CPU DAIs, by using device-tree. Tested with sama5d2 I2S driver. Changes in v2: - removed unnecessary code that added constraints for the fixed SYSLK; - fixed errors reported by kbuild; - adjusted "mikroe" in vendor prefixes; - updated description in Kconfig; Codrin Ciubotariu (2): ASoC: Add driver for PROTO Audio CODEC (with a WM8731) ASoC: mikroe-proto: dt-bindings: add DT bindings for PROTO board .../bindings/sound/mikroe,mikroe-proto.txt | 23 +++ .../devicetree/bindings/vendor-prefixes.txt | 1 + sound/soc/atmel/Kconfig | 11 ++ sound/soc/atmel/Makefile | 2 + sound/soc/atmel/mikroe-proto.c | 165 ++++++++++++++++++ 5 files changed, 202 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/mikroe,mikroe-proto.txt create mode 100644 sound/soc/atmel/mikroe-proto.c