From patchwork Wed Nov 22 11:43:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Katsuhiro Suzuki X-Patchwork-Id: 119463 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp54112qgn; Wed, 22 Nov 2017 03:43:34 -0800 (PST) X-Google-Smtp-Source: AGs4zMY0aIjvtx4jfSusO8nyOVrd15WANJfnvvngJcAEd0fjNcr004bQmuAIbzJyxngClqtNoPAY X-Received: by 10.84.131.41 with SMTP id 38mr11170737pld.149.1511351014268; Wed, 22 Nov 2017 03:43:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511351014; cv=none; d=google.com; s=arc-20160816; b=VoD+kx/8aklb4yk/Fim5oTf47I+z3pyj9XksmyGfopoX0TxOWV0g6NOtGTJ+mdYUTp NqZijApVjJ4sSxnolXOd7nvvJFfFc/7sn2BG4OCB3Z1QYOboznV3h/5VHPnJE5ByyNsP Oge0ZdOexlAiAQbm63cd3d2GtxxpHwr4btRt+Nw7bcytX3WfANDjXa2Cp3yVSRSqyBzv hUAGSIpVDrEt6THU7Y6csl2bDCG/DNrUhfGdTSzK5qb/AY6sLDLAPKefWJWK9QulGAvm fnlawkHBe8myUxju6LebXG9he4rk7f8ENozaNLbFtvf8xpdvHOSXrcvW1EllWvp0pifu KgMw== 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=zZGllgCCuJY9d1rsc46wjC+dKNWirNHJOouVYwiIBPY=; b=ii0cmhJ6t4TZTgEEcbSMdJwStabE80UF9gkkjHSK1PKgF2tHBWYziaXpWeZrpX8K2B t1s1+J0teeqDETwouP8u1x3pVzNiBC59iqfCNDiIIYeJVhnlqxMAFwjbH5oDzvoVcd7P lVz/NmAj/FESzSzpyLzvWMjp5HWcUYPC7qkcsnb6qtBTzcb72jlqZysSzwaXWQbGPkXH Dlv8F/OL2z7YFITKtOiz9+ZCIaH9BSuWH6FQkE7JTBgEDFFWBhn4G68HRrvb9H4fFINV /4mzdrZpHKKJll7k+EE3ELViFZMJU66lRs0OElxUfPilXzbvi4L03nxvm5OpFjt+hw74 U4xA== 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 a7si12957054pgq.277.2017.11.22.03.43.33; Wed, 22 Nov 2017 03:43:34 -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 S1752410AbdKVLnG (ORCPT + 28 others); Wed, 22 Nov 2017 06:43:06 -0500 Received: from mx.socionext.com ([202.248.49.38]:59663 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752272AbdKVLnC (ORCPT ); Wed, 22 Nov 2017 06:43:02 -0500 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 22 Nov 2017 20:43:01 +0900 Received: from mail.mfilter.local (unknown [10.213.24.61]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id 5F12118006E; Wed, 22 Nov 2017 20:43:01 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Wed, 22 Nov 2017 20:43:01 +0900 Received: from yuzu.css.socionext.com (yuzu [172.31.8.45]) by kinkan.css.socionext.com (Postfix) with ESMTP id DE6341A0E17; Wed, 22 Nov 2017 20:43:00 +0900 (JST) Received: from aegis.e01.socionext.com (unknown [10.213.134.210]) by yuzu.css.socionext.com (Postfix) with ESMTP id AD78B120653; Wed, 22 Nov 2017 20:43:00 +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 0/8] add UniPhier audio system support Date: Wed, 22 Nov 2017 20:43:13 +0900 Message-Id: <20171122114321.29196-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. UniPhier EVEA is a codec core for Line-In, Line-Out. Since this core is only in internal of UniPhier series SoC, this driver works independently but only UniPhier SoC can use it. Katsuhiro Suzuki (8): ASoC: spdif: Add S32_LE support for S/PDIF dummy codec drivers ASoC: uniphier: add DT bindings documentation for UniPhier EVEA ASoC: uniphier: add DT bindings documentation for UniPhier AIO ASoC: uniphier: add support for UniPhier EVEA codec ASoC: uniphier: add support for UniPhier AIO driver ASoC: uniphier: add support for UniPhier LD11/LD20 AIO driver MAINTAINERS: add entries for UniPhier ASoC sound drivers arm64: dts: uniphier: add sound node for UniPhier .../devicetree/bindings/sound/uniphier,aio.txt | 36 ++ .../devicetree/bindings/sound/uniphier,evea.txt | 26 + MAINTAINERS | 6 + .../boot/dts/socionext/uniphier-ld11-global.dts | 72 +++ arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi | 31 + .../boot/dts/socionext/uniphier-ld20-global.dts | 72 +++ arch/arm64/boot/dts/socionext/uniphier-ld20.dtsi | 35 ++ sound/soc/Kconfig | 1 + sound/soc/Makefile | 1 + sound/soc/codecs/spdif_receiver.c | 5 +- sound/soc/codecs/spdif_transmitter.c | 5 +- sound/soc/uniphier/Kconfig | 34 + sound/soc/uniphier/Makefile | 8 + sound/soc/uniphier/aio-core.c | 368 +++++++++++ sound/soc/uniphier/aio-dma.c | 266 ++++++++ sound/soc/uniphier/aio-ld11.c | 343 ++++++++++ sound/soc/uniphier/aio-regctrl.c | 699 +++++++++++++++++++++ sound/soc/uniphier/aio-regctrl.h | 495 +++++++++++++++ sound/soc/uniphier/aio.h | 261 ++++++++ sound/soc/uniphier/evea.c | 567 +++++++++++++++++ 20 files changed, 3327 insertions(+), 4 deletions(-) create mode 100644 Documentation/devicetree/bindings/sound/uniphier,aio.txt create mode 100644 Documentation/devicetree/bindings/sound/uniphier,evea.txt create mode 100644 sound/soc/uniphier/Kconfig create mode 100644 sound/soc/uniphier/Makefile create mode 100644 sound/soc/uniphier/aio-core.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-regctrl.c create mode 100644 sound/soc/uniphier/aio-regctrl.h create mode 100644 sound/soc/uniphier/aio.h create mode 100644 sound/soc/uniphier/evea.c -- 2.15.0