Received: by 10.223.176.5 with SMTP id f5csp415692wra; Wed, 7 Feb 2018 01:15:59 -0800 (PST) X-Google-Smtp-Source: AH8x226iogiXvnYSAYPxBpqZFufAgn6s1Ein6acT+C+fx1vRqK0Umh5Sq5RjOEcbjqVspJ0cgjOW X-Received: by 10.98.69.146 with SMTP id n18mr4146250pfi.29.1517994959845; Wed, 07 Feb 2018 01:15:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517994959; cv=none; d=google.com; s=arc-20160816; b=tUmG8sgg73I+EclPscatjH9vfa6nVlO6BDg/TRhYbEN4eeJ1p1C3ESqNVnLN2chU7n Btv5eTx2hpsnz6kfFXV5lZ43VWu7m474afZ6WO9gx4kbvON30eX0Go4/yw0FaT4vrvSj cW+CD8IGBuThlugdDQQWL4mUuq38+h5sBivJ6KaoiKYj8N148o6WPghJfU7vh3JLt+SU Zt3P7Hm3vgulBr/TdpyxuYnEEDVx9y+OrmjGlE65MzZJXZxAT6xILDZWTwAH9o3sYKrR 5lx3HLS6hWaG6brohdtK/qlKYtZig0/u/UW2KtVgJ7h98+pN3Q7vdPqVIcxv69Ujr0T2 Qj3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=DS3rlrK5iSnOPfGktU6E5oHO2RVdCZvrTrMIyO+k4Ok=; b=ZKLsu8UEXOAEOwU4xzE7o6eSwebzXJ8ccbheBG2YhJNCmbMHc+h0Z0D42oJgpyp0/i 9H2AH3fr1q5GwSsiaWPnonLsXvIu7Vq+sT+08mG5kX4F5+nKIe7qhccZhWEnKVzb8qcJ EvAMx9ZHSiYHsjRT0a1KazH3KGyIkaxqsu3w7vCQ4Sdljj9RBhnaQqiu+v9CGnakfwTE Te57k9naiBywq0+dQL69uDnM+Yz0thZpSwz7EIaPXg4g1nS7Yb760P4cYJGGjjJ2GmPR A9ZzsVikp5lFwI5V/ngLakDxPRSRMe7Lx4F11Mhd8c1i0/A4mjrIectJqmwtBoi11QUZ uy6g== ARC-Authentication-Results: i=1; mx.google.com; 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 o11si687473pgp.624.2018.02.07.01.15.45; Wed, 07 Feb 2018 01:15:59 -0800 (PST) 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; 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 S1753744AbeBGJKk (ORCPT + 99 others); Wed, 7 Feb 2018 04:10:40 -0500 Received: from mx.socionext.com ([202.248.49.38]:3327 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753572AbeBGJKh (ORCPT ); Wed, 7 Feb 2018 04:10:37 -0500 Received: from unknown (HELO iyokan-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 07 Feb 2018 18:10:36 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by iyokan-ex.css.socionext.com (Postfix) with ESMTP id C64E3600D0; Wed, 7 Feb 2018 18:10:36 +0900 (JST) Received: from 172.31.9.53 (172.31.9.53) by m-FILTER with ESMTP; Wed, 7 Feb 2018 18:10:54 +0900 Received: from yuzu.css.socionext.com (yuzu [172.31.8.45]) by iyokan.css.socionext.com (Postfix) with ESMTP id 2FC0F40405; Wed, 7 Feb 2018 18:10:36 +0900 (JST) Received: from aegis.e01.socionext.com (unknown [10.213.134.210]) by yuzu.css.socionext.com (Postfix) with ESMTP id F04E812062E; Wed, 7 Feb 2018 18:10:35 +0900 (JST) From: Katsuhiro Suzuki To: Mark Brown , alsa-devel@alsa-project.org, Rob Herring , devicetree@vger.kernel.org, Masahiro Yamada Cc: Masami Hiramatsu , Jassi Brar , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Katsuhiro Suzuki Subject: [RESEND PATCH v2 0/9] add UniPhier audio system support Date: Wed, 7 Feb 2018 18:10:40 +0900 Message-Id: <20180207091049.24700-1-suzuki.katsuhiro@socionext.com> X-Mailer: git-send-email 2.15.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Mark, This is the resend of patchset passed 3 weeks. https://lkml.org/lkml/2018/1/19/122 This series adds support for Socionext audio system for UniPhier LD11/LD20 SoCs. This driver supports I2S output for Line-In, Line-Out and S/PDIF output. UniPhier AIO DAI driver provides sound devices such as I2S, S/PDIF. Since the AIO has mixed register map for those I/Os, it is hard to split register areas for each sound devices. --- Changes in v2: - Add comments to aiodma_irq() - Add members to struct uniphier_aio_sub and add methods for compress audio - Expose clocking to userspace - Fix bad name 'srcport' to 'src' - Split DMA, DAI patches from large one - Validate parameters in hw_params() - Add error checks - Fix typo in error messages - Change license comment style to C++ from C Katsuhiro Suzuki (9): ASoC: uniphier: add DT bindings documentation for UniPhier AIO ASoC: uniphier: add support for UniPhier AIO common driver ASoC: uniphier: add support for UniPhier AIO DMA driver ASoC: uniphier: add support for UniPhier AIO CPU DAI driver ASoC: uniphier: add support for UniPhier AIO compress audio ASoC: uniphier: add support for UniPhier LD11/LD20 AIO driver arm64: dts: uniphier: add sound node for UniPhier arm64: dts: uniphier: add speaker out for UniPhier LD11/LD20 boards arm64: dts: uniphier: add compress audio out for UniPhier LD11/LD20 .../devicetree/bindings/sound/uniphier,aio.txt | 36 + .../boot/dts/socionext/uniphier-ld11-global.dts | 120 +++ arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi | 31 + .../boot/dts/socionext/uniphier-ld20-global.dts | 120 +++ arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 35 + sound/soc/uniphier/Kconfig | 22 + sound/soc/uniphier/Makefile | 6 + sound/soc/uniphier/aio-compress.c | 440 ++++++++ sound/soc/uniphier/aio-core.c | 1104 ++++++++++++++++++++ sound/soc/uniphier/aio-cpu.c | 570 ++++++++++ sound/soc/uniphier/aio-dma.c | 318 ++++++ sound/soc/uniphier/aio-ld11.c | 431 ++++++++ sound/soc/uniphier/aio-reg.h | 462 ++++++++ sound/soc/uniphier/aio.h | 355 +++++++ 14 files changed, 4050 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/uniphier,aio.txt create mode 100644 sound/soc/uniphier/aio-compress.c create mode 100644 sound/soc/uniphier/aio-core.c create mode 100644 sound/soc/uniphier/aio-cpu.c create mode 100644 sound/soc/uniphier/aio-dma.c create mode 100644 sound/soc/uniphier/aio-ld11.c create mode 100644 sound/soc/uniphier/aio-reg.h create mode 100644 sound/soc/uniphier/aio.h -- 2.15.0