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: 964615 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=microchip.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 4225ZV2qttz9ryn for ; Sat, 1 Sep 2018 03:14:42 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727614AbeHaVXH (ORCPT ); Fri, 31 Aug 2018 17:23:07 -0400 Received: from esa1.microchip.iphmx.com ([68.232.147.91]:23111 "EHLO esa1.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727301AbeHaVXH (ORCPT ); Fri, 31 Aug 2018 17:23:07 -0400 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: , , , , , CC: , , , 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 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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