From patchwork Wed Nov 22 11:43:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Katsuhiro Suzuki X-Patchwork-Id: 119469 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp55192qgn; Wed, 22 Nov 2017 03:44:41 -0800 (PST) X-Google-Smtp-Source: AGs4zMa4KcK/ZGMiCNEbdTvfV7xTAlE4heYvzokN7IPz13ovAGKT3ojclpcLu/SXgxcm8y8h8mKX X-Received: by 10.84.172.195 with SMTP id n61mr21181491plb.49.1511351081323; Wed, 22 Nov 2017 03:44:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511351081; cv=none; d=google.com; s=arc-20160816; b=MHfL4Nw5+x+5RGd1V+m7aTVBDFq65bBV8ikrZJp00ImcHJPMiKdp+3t2Tp2iz8+XYC oqSX6wvIIugV/Duj+25rznCkl1fHbmiXr7k2vBH6d/ONNAf5pxIBAzMV+p2ElVuDyBXP POXPjGo5MyS2SC04nmOGTjjaZxT/xRI9Z8FfETVe0I769EeNyr+fRB7uAFwQFmZfmo/S Czchue/jRX9kv1PlPW6wcqpPLOVK2oEQupU76vi0mUIcJC5kkAWtWeIpVk/00Stq55pV UYKA4FID3huAXaKyo+uNTD72kJQW9VrR6SsUOwlx+uKDlBK1x22+GkZ/LQnqJBXnM+5w 1NtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=iW57TnXPhbJa1/oElVzRm9+UzXa40PkcT2zZyWCbQeU=; b=WDD5mwl23DgSPKaNdxnmHLmI+aMwpoAwtCFo45uTuKt0E3jR8ON9Ufk+szBoxhw1E2 zuR9S+iGD259OCpkj5/gIAfSLjvR/UH9UkvYgAu0vUy+Zw1fnH3PKU8AqAqeHgTooqTV sui4Ql+iPEu7EETJeZrcaC3XeyaJRk17IclrOJyLTmFcb3ua2+JRnX/ef2HpgYa4Wjnq 0RTh/HZi5QWSOAMTXO+Da+BRiD9FjUL1UMoey3gW5uKNLhvDESI87Hz5z4xYUH2l8+yv Dn2LFMM6Dym6AndPv2PQ1SRBSBr3TUCSkqRiHSwbiQ4WzixBGQ/qTs0UC/in6qcE7wj8 E4Mg== 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 f3si7266659pld.533.2017.11.22.03.44.41; Wed, 22 Nov 2017 03:44:41 -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 S1752691AbdKVLoj (ORCPT + 28 others); Wed, 22 Nov 2017 06:44:39 -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 S1752297AbdKVLnD (ORCPT ); Wed, 22 Nov 2017 06:43:03 -0500 Received: from unknown (HELO iyokan-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 22 Nov 2017 20:43:01 +0900 Received: from mail.mfilter.local (unknown [10.213.24.62]) by iyokan-ex.css.socionext.com (Postfix) with ESMTP id F23A1600B8; Wed, 22 Nov 2017 20:43:01 +0900 (JST) Received: from 172.31.9.53 (172.31.9.53) 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 iyokan.css.socionext.com (Postfix) with ESMTP id 8BD134039F; Wed, 22 Nov 2017 20:43:01 +0900 (JST) Received: from aegis.e01.socionext.com (unknown [10.213.134.210]) by yuzu.css.socionext.com (Postfix) with ESMTP id 5C9AE120653; Wed, 22 Nov 2017 20:43:01 +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 3/8] ASoC: uniphier: add DT bindings documentation for UniPhier AIO Date: Wed, 22 Nov 2017 20:43:16 +0900 Message-Id: <20171122114321.29196-4-suzuki.katsuhiro@socionext.com> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20171122114321.29196-1-suzuki.katsuhiro@socionext.com> References: <20171122114321.29196-1-suzuki.katsuhiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds DT binding documentation for UniPhier AIO audio subsystem. Signed-off-by: Katsuhiro Suzuki --- .../devicetree/bindings/sound/uniphier,aio.txt | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/uniphier,aio.txt -- 2.15.0 diff --git a/Documentation/devicetree/bindings/sound/uniphier,aio.txt b/Documentation/devicetree/bindings/sound/uniphier,aio.txt new file mode 100644 index 000000000000..73f6c27ae4f7 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/uniphier,aio.txt @@ -0,0 +1,36 @@ +Socionext UniPhier SoC audio driver + +The Socionext UniPhier audio subsystem consists of I2S and S/PDIF blocks in +the same register space. + +Required properties: +- compatible : should be one of the following: + "socionext,uniphier-ld11-aio" + "socionext,uniphier-ld20-aio" +- reg : offset and length of the register set for the device. +- interrupts : should contain I2S or S/PDIF interrupt. +- pinctrl-names : should be "default". +- pinctrl-0 : defined I2S signal pins for an external codec chip. +- clock-names : should include following entries: + "aio" +- clocks : a list of phandle, should contain an entry for each + entry in clock-names. +- reset-names : should include following entries: + "aio" +- resets : a list of phandle, should contain an entry for each + entry in reset-names. +- #sound-dai-cells: should be 1. + +Example: + audio { + compatible = "socionext,uniphier-ld20-aio"; + reg = <0x56000000 0x80000>; + interrupts = <0 144 4>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_aout>; + clock-names = "aio"; + clocks = <&sys_clk 40>; + reset-names = "aio"; + resets = <&sys_rst 40>; + #sound-dai-cells = <1>; + };