Received: by 10.223.176.46 with SMTP id f43csp767159wra; Fri, 19 Jan 2018 01:26:19 -0800 (PST) X-Google-Smtp-Source: ACJfBosFZpQXXt4xlkk7kBRibCpvP6LONOYuDqDv3uRYQ2lrGD0OPIa35XgOw4tIMHsF5iWS0gyp X-Received: by 10.98.153.197 with SMTP id t66mr11809234pfk.142.1516353978902; Fri, 19 Jan 2018 01:26:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516353978; cv=none; d=google.com; s=arc-20160816; b=bFgZjd13/q0TNLTZi9IfT6ugIqAYt4ScHxaakM0/zzRK+29DkgQcz9SPJlX6JZC8kx 0+8ZTq9VV1vp/Ncwr0Ec7sjm5gzJz7W0IaX0F9HhEnPIu6t1RToRwi0Fd9DlC1P2p5q/ MJKF+9C9I030vuJ9CO62vrnMptgfcS4Fr2QhIb4tPD9Xi891N6WaPgh5uH+eiyObQvpe DfP0j9Nw0M0ikJUZLO4Rf6w1ZcIeVtyjnZOBjqlkJwokIaDcurA6LUhjvFWTiCRsu/96 HGpavGLeVBAMCkH9xLIHK3jWtq5+byDPpTVovgRlP0r8MxQv72Y0LNpD7+AZTnVEfU0Q MSRg== 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=qnTDWAMKw8MP6NmwbA+VdgNY8N4GHqncjc3rb4hJ58Y=; b=TzpIxCLhVW9V0Q0jwSqL/+c+xaj4aMvlvl8vD1Xu0LoNXVRYGVPHcWNuyMX/Rx5Ifs Y0ninFneiOtmOcQ3PnW7VLK5X5E6IRAp+rh+T18sdhs0iDDyVDfQGDeqZSXooA/9ZRi5 K3r+I4GX1zZgWwm+cX+ksOntvqk3ux0z5S56oVqI+4U/xVcad8M9bgGgZwj//NkIsSuv tMqYaihEXrN6RLDCbIIRUp5IEB8xmecM7NatWg+M1uMkkRcqcAb9h4+moFHngfc6xQHH o1tYEsAuDKeLwmdRQK3+q/wjEfJi09ByyR667yYJM0squPlVynDusHB1kcLhKtPGBkdv kLhw== 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 k187si7959510pge.377.2018.01.19.01.26.04; Fri, 19 Jan 2018 01:26:18 -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 S1755362AbeASJZi (ORCPT + 99 others); Fri, 19 Jan 2018 04:25:38 -0500 Received: from mx.socionext.com ([202.248.49.38]:5585 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755190AbeASJZd (ORCPT ); Fri, 19 Jan 2018 04:25:33 -0500 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 19 Jan 2018 18:25:32 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id 93E0F180B80; Fri, 19 Jan 2018 18:25:32 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Fri, 19 Jan 2018 18:25:37 +0900 Received: from yuzu.css.socionext.com (yuzu [172.31.8.45]) by kinkan.css.socionext.com (Postfix) with ESMTP id 604BC1A0DEC; Fri, 19 Jan 2018 18:25:32 +0900 (JST) Received: from aegis.e01.socionext.com (unknown [10.213.134.210]) by yuzu.css.socionext.com (Postfix) with ESMTP id 2D8DC1209D6; Fri, 19 Jan 2018 18:25:32 +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: [PATCH v2 0/9] add UniPhier audio system support Date: Fri, 19 Jan 2018 18:25:27 +0900 Message-Id: <20180119092536.22501-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 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