From patchwork Tue Jul 17 15:36:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 142167 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp3815037ljj; Tue, 17 Jul 2018 08:38:30 -0700 (PDT) X-Google-Smtp-Source: AAOMgpctQy/yf9oONsk/h2qCO275bFNCpQfepfLJiBiwQ58HKAfIm3tKXwoJ3s1diUu3shAwnHXO X-Received: by 2002:adf:be8d:: with SMTP id i13-v6mr1770732wrh.86.1531841910688; Tue, 17 Jul 2018 08:38:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531841910; cv=none; d=google.com; s=arc-20160816; b=YkbwswnTLxfKajSWZh3WWCLWUX9WDw0f06rxEOBm74If45P6PL3WasqmX8C5ua2eos u7s03xV3hHPzeBzHXgBcsrExEs9hVydD/RCPdPkF98CtgYGnACgTfXnr22Yk9iBpCrtU vMEAYg9Fchx6Iy6/NhldPQ8xVaxsnKczhTO3fqEE1UMzqsovZeUjpvvubwH1O727+PJf eDy/1OZGjQRdCGhVJe6LTdnE4YBWWbjwazRGrabzDTXhGIdCp1Fhc97AGnyu7RB1gYXA B7g4XZ4ik6/w2DQlI3Qf8jn6JR89XCYeqOsgXEqE9gHJ9dmoxUfNwuQZw+WdJM4yWF33 dGBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:dkim-signature:delivered-to:arc-authentication-results; bh=odIDe5n/+nQJjPftI+3i1+qynlFEwXYCXT4y8tqC9Ro=; b=QtTwJXfQFuL+1prIHHbfOw6Shxw69m8+ibwoAd015RMlgZWxI/gBiY1kQ2/9eTD1lC L4m3L+M8by7NxnVUuB2hE4Xw+vih/TY7oKlhVBrETW+KfShCp861/NJ9cLN2C9FXl88p 4A86/DuUtM3qKH7H8O5ME2ONy68lPqwT6whR4sC0JooaSGmh1kAnbNXSOShUrQdwh9oO PEvKE8KODiwztCJ/x0MKyjXuVu7WuSjYW5sn4Sf1m138n8CELmOMjjwSX3T58bZBGPpr prMKuznOlvW8tvZvjbv+qpC6xuiV8OvmmBM+snvRoJwgRZRpE869yMu9/fbM7+UgBo+7 aGoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=tdgkWRw3; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Return-Path: Received: from alsa0.perex.cz ([77.48.224.243]) by mx.google.com with ESMTP id f22-v6si1208170wmf.153.2018.07.17.08.38.30; Tue, 17 Jul 2018 08:38:30 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=tdgkWRw3; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 80502267803; Tue, 17 Jul 2018 17:37:01 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id E34B72677D9; Tue, 17 Jul 2018 17:36:54 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_SOFTFAIL, T_DKIMWL_WL_MED autolearn=disabled version=3.4.0 Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by alsa0.perex.cz (Postfix) with ESMTP id 3110F2677D6 for ; Tue, 17 Jul 2018 17:36:52 +0200 (CEST) Received: by mail-wm0-f68.google.com with SMTP id v25-v6so1976425wmc.0 for ; Tue, 17 Jul 2018 08:36:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=vXYXkidVJx381ShSQL8RzCcLiMOwBCQSWCB4qdwObFE=; b=tdgkWRw3qyJqmKwRFAbbe/4QVyxkp5qQbvsv/6HvK/v/8SpQft/qvBWeDBINFE8YQo jx6UYLQCPVx2XdCtzjesBdA9drCTS+K6rJF3QY1ErHeC+R1qhzBYOQnP/u9rnlr/KNOX UEbMNKkX1R6vBVI859iz5EdM5u5S2vYWzKasUyCRoSs94+mj1EzkqW8iJo+S/t5Di4WM xgwGuYNIrslHJWD9t+dAJwkERCKeNOuOlsNDf0iXrz/JIdyocGu46VEL2RJBXkVYDp/B 1IP90ER/YH+pKoBtMDSKDh3tsElqhCi6bAXNGUSMl7YBZUmemZ9qucyOpK2Wkk7pAll1 T8jA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=vXYXkidVJx381ShSQL8RzCcLiMOwBCQSWCB4qdwObFE=; b=Yl/D5FGp78miDSZ7loVIov1QfCgyQxitb22MMczDY2SfGQVap6mU1KbvtDI+bRn66M cuDTbHMZ51h5g3UGLWM4zmDXH6w1fepCtZPI1h0myHiRZoW48dKJH0my0xZFu7pmBGJo uApcADxGuRedKq8wi5KtMAS2pUPoqrTl/CtgmSvQNLQkfSpJ1OiJxPkhJ8LIYLJUX5jc OxqwEX/inIOj25Hf111Hn/Muc0xdM3DhX05xcI0BeycnSMdQsGcoRnILDxq84lMsK0QB 08w81kCqeNixxDwFQm4p795GMLjc/cMaKy4Yy6R+DIxRYjETKvxJYE9n9N4Q60uE+a3u Y4LQ== X-Gm-Message-State: AOUpUlF+1oMGCO9YjkSpGsXY1fFRc3XiBNYMQ2KZY95Sa6hQEchCVRzD e5r/QProAGg8vmysUMuQvUUsQA== X-Received: by 2002:a1c:7506:: with SMTP id o6-v6mr1703579wmc.60.1531841812409; Tue, 17 Jul 2018 08:36:52 -0700 (PDT) Received: from boomer.baylibre.local ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id h12-v6sm16971464wmb.3.2018.07.17.08.36.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 17 Jul 2018 08:36:51 -0700 (PDT) From: Jerome Brunet To: Mark Brown , Liam Girdwood , Kevin Hilman , Carlo Caione Date: Tue, 17 Jul 2018 17:36:29 +0200 Message-Id: <20180717153643.8806-6-jbrunet@baylibre.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180717153643.8806-1-jbrunet@baylibre.com> References: <20180717153643.8806-1-jbrunet@baylibre.com> Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, Jerome Brunet Subject: [alsa-devel] [PATCH 05/15] ASoC: meson: add axg spdif output DT binding documentation X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org Add the DT binding documentation for axg's SPDIF output. Signed-off-by: Jerome Brunet --- .../bindings/sound/amlogic,axg-spdifout.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/amlogic,axg-spdifout.txt -- 2.14.4 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/Documentation/devicetree/bindings/sound/amlogic,axg-spdifout.txt b/Documentation/devicetree/bindings/sound/amlogic,axg-spdifout.txt new file mode 100644 index 000000000000..521c38ad89e7 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/amlogic,axg-spdifout.txt @@ -0,0 +1,20 @@ +* Amlogic Audio SPDIF Output + +Required properties: +- compatible: 'amlogic,axg-spdifout' +- clocks: list of clock phandle, one for each entry clock-names. +- clock-names: should contain the following: + * "pclk" : peripheral clock. + * "mclk" : master clock +- #sound-dai-cells: must be 0. + +Example on the A113 SoC: + +spdifout: audio-controller@480 { + compatible = "amlogic,axg-spdifout"; + reg = <0x0 0x480 0x0 0x50>; + #sound-dai-cells = <0>; + clocks = <&clkc_audio AUD_CLKID_SPDIFOUT>, + <&clkc_audio AUD_CLKID_SPDIFOUT_CLK>; + clock-names = "pclk", "mclk"; +};