From patchwork Tue Dec 11 13:47:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 153465 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp635472ljp; Tue, 11 Dec 2018 05:47:45 -0800 (PST) X-Google-Smtp-Source: AFSGD/VpyEbCV3UYJUOmp97APMkAn329M+lTKCO57xkv/USETjRh4LUY1ka+WXgEi2d+ZBmKHPJo X-Received: by 2002:a1c:b515:: with SMTP id e21mr2408540wmf.82.1544536064961; Tue, 11 Dec 2018 05:47:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544536064; cv=none; d=google.com; s=arc-20160816; b=bngz0JuM8Z64LnzU5Y39H2Ta3ZlaEM7yej+WZGZy0YkEsA3FU0vdfaP9N1aM5e4IGm CxmYy3RkEM5Crp/9eKBA8rnWKeUMNLjhEv71H+e3fy2b8VcK7kGMqomplJ+Ej/A7HoQr RDTB/8Iy+yrEfgjQ+Puy7MqAuthOpkb6jof3mmgmzWAAZmwmHQJOijfmZ00SXfXcSAZs qA6r9lG5FhlFI931Y4UtuZgiLcMdYrGicyPCYHD1Im8VFhdCo+YaVWhEDodkABK1VE5B 1WqwOG+lOvA+cmHXwPiaWPEvcfEP38jCfJ8kjszImvYjaHWIfBvecnVnxaA7P/UqNZYF VaVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=1/yVjrS8T7kF+mR9UD8zy89ydf1ktn7L7798PHQceXE=; b=xVj7KrQ7I47CZj55Oo+XPiPNdThjZ/e7TSee/nG2hJ1sM7dB+unqwmxZtNWysH3a17 G2A78ehBwSNtxC0qYIuwZvq+x5KPyEzQL+2ubgm7wTWyQJLxpviQpUiUK/0kMtKWHa33 wq+ewYmqiloTh0yYnl7+mQvE6Ee0mqe61Us5XlPfbw/cTzYzsERVBz+N9wfiPTB1FVTx Kad3OCcHnX25WBeca9971+/DXZ4J4UdI4B/XnR25bLT/P76jIgHk3bVqpb2/y0LDXk4B d+4On19oV7uXHdh5O+6vs69k/BV4T6FzZhYUWB8lAddy08EhN2NOMdssdBqMbWMOojyl 9gvg== 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=hIZN705s; 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 (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id k44si9602851wre.281.2018.12.11.05.47.44; Tue, 11 Dec 2018 05:47:44 -0800 (PST) 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=hIZN705s; 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 7353F267BB1; Tue, 11 Dec 2018 14:47:32 +0100 (CET) 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 CA7B6267B9A; Tue, 11 Dec 2018 14:47:29 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=DKIMWL_WL_MED, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_PASS autolearn=disabled version=3.4.0 Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by alsa0.perex.cz (Postfix) with ESMTP id 1678C26770D for ; Tue, 11 Dec 2018 14:47:27 +0100 (CET) Received: by mail-wm1-f66.google.com with SMTP id s14so2292496wmh.1 for ; Tue, 11 Dec 2018 05:47:27 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=B3o+VZnttimFeCQxAmu6M7QAtRnX+/U1ANv52odWswA=; b=hIZN705sTu6SeovdrawG+uO2CDCw3EuO1L03Klmq2GoxpJQfM4oJn34c8B29KlQ5QG huHHfThXHfd7/6Y94lqdkh0uRw8qgXM0USVCsaTMCJM9fIhfuIQAhBzZhdl9HWVOd7Mk ItcTLIbs/1j/jKlLkhh+dHi21SK7eEDPta1W0Uj8UYimWGh45Alk0J/Wkj8zRGSI2/9z X+h6kEzcHrdE5sZV/SXRJi9EluclWv7d+skTHxkxX5pwhc1HphKskDT0EJwuwh3xa0gY 4Gxkz6G6mT6SAzfM2EaQQk+3T8TMbAicDQ6R/mK7K8FBIwPIwD3WiHGusxuIf0eP4NUr TvJg== 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:mime-version:content-transfer-encoding; bh=B3o+VZnttimFeCQxAmu6M7QAtRnX+/U1ANv52odWswA=; b=fT0wYO28ryjGQa6P2SnrG51rJAZVixE2Y4bU/J0THa7WEn3sDeXZlMGHp9ol2hs6En 7MjveghD4f3XYLByX1ADjbVoWnT7ucavav1pHIM//gxw29FRndgfXCv5qKA50RYg5jP9 N0V1+Tdo4GLlJtlEDgFJXvd/wjoUhpwCOlt6QZ5FHQ+EixK0QhwqMDChlFvfck2iIOl+ 01OqiFWdOihdXgvkg3TDscaWLMkHXAMmnbKnFWYxtIUPAVgTZjVLOwK2a5leUbEvhSZU kHwTkxKDO+tITKb8EV8uG7NigAj8qIDG6HT6o6jZZhCcv+h+FLostk7ZHTq5+xbDpBBV IXYw== X-Gm-Message-State: AA+aEWYnszTQa0POtyAex880ZJuBpvajXNJbgLyb+fH+SOjtwsc9YnDx 2TuPFsnKOUchRw15ywBC4j4I7g== X-Received: by 2002:a1c:c70f:: with SMTP id x15mr2362816wmf.130.1544536047118; Tue, 11 Dec 2018 05:47:27 -0800 (PST) Received: from boomer.local ([2a01:e34:eeb6:4690:106b:bae3:31ed:7561]) by smtp.googlemail.com with ESMTPSA id 126sm113768wmd.1.2018.12.11.05.47.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 11 Dec 2018 05:47:26 -0800 (PST) From: Jerome Brunet To: Mark Brown , Kevin Hilman , Carlo Caione Date: Tue, 11 Dec 2018 14:47:11 +0100 Message-Id: <20181211134713.4908-3-jbrunet@baylibre.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181211134713.4908-1-jbrunet@baylibre.com> References: <20181211134713.4908-1-jbrunet@baylibre.com> MIME-Version: 1.0 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 2/4] ASoC: meson: add axg spdif input 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org Add the DT binding documentation for axg's SPDIF input. Signed-off-by: Jerome Brunet --- .../bindings/sound/amlogic,axg-spdifin.txt | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/amlogic,axg-spdifin.txt -- 2.19.2 _______________________________________________ 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-spdifin.txt b/Documentation/devicetree/bindings/sound/amlogic,axg-spdifin.txt new file mode 100644 index 000000000000..2e6cb7d9b202 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/amlogic,axg-spdifin.txt @@ -0,0 +1,22 @@ +* Amlogic Audio SPDIF Input + +Required properties: +- compatible: 'amlogic,axg-spdifin' +- interrupts: interrupt specifier for the spdif input. +- clocks: list of clock phandle, one for each entry clock-names. +- clock-names: should contain the following: + * "pclk" : peripheral clock. + * "refclk" : spdif input reference clock +- #sound-dai-cells: must be 0. + +Example on the A113 SoC: + +spdifin: audio-controller@400 { + compatible = "amlogic,axg-spdifin"; + reg = <0x0 0x400 0x0 0x30>; + #sound-dai-cells = <0>; + interrupts = ; + clocks = <&clkc_audio AUD_CLKID_SPDIFIN>, + <&clkc_audio AUD_CLKID_SPDIFIN_CLK>; + clock-names = "pclk", "refclk"; +};