From patchwork Tue Jul 17 15:42:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 945186 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="o2IbnRjN"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 41VPjR6FhBz9s3Z for ; Wed, 18 Jul 2018 01:44:43 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731369AbeGQQQf (ORCPT ); Tue, 17 Jul 2018 12:16:35 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:45668 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731275AbeGQQQe (ORCPT ); Tue, 17 Jul 2018 12:16:34 -0400 Received: by mail-wr1-f67.google.com with SMTP id c4-v6so1710115wrs.12 for ; Tue, 17 Jul 2018 08:43:19 -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=MTkflaydBTJzVf0ZHkleSoX0FARPEM+k3qhZfYkvVTE=; b=o2IbnRjNYWuLXiTnISziSIqs8i1qAN2K1thxLHEt60Gv7oMpwwxZe54qQxipW9p8cP o/mEBbSMR7SxL4Y7Y4HoSSHKUfEDQhma+Pz0Inc/DY/Jb/hmnlAIPkPap40iJ1C82uaZ wwf/p3a58KX3gSu3yu08kWF34Ubxx01kT2P4e/p758fIZ986+IKWJfoSJjnwH0EVEvib Y5XN6AAEEoazChwinY8TBLqj0/cvVebKlawvDRL+jSy3WXs/c/jyHXVSIX22bdq2mnZz nyT2O7dyLI+rI7woKmnbGm7kN5KbtllaZesR6Qjwo9tNWmy3/quCRZsRHuUTmsJMykOo 4usQ== 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=MTkflaydBTJzVf0ZHkleSoX0FARPEM+k3qhZfYkvVTE=; b=Xr9nN8rRA+dEfdTG1yEsEpMDisVsBQ/5b6nEXuZV4/u9SZqRyjqDLCD7MTUsalp/WA QFDc57A2qOmhd16shnZwXof4Ad/pwz0FZ9E7cF0T+tsUXqXSS76DHoGqB+noTOKBxUB/ bRSVW41Bra2VG1srJbvqbpyEMDXXlqGb5uh8g9kFl8A5MO7KobpIEosXuPjPOOLY5o1E XifNgh8liGHt3RX26iSOEsVutPnl5Q/za9gZOIPt7BNB8QnPcUknpuwUQnO2QXZHkIaz EsNeVl6cqnO+yg+eYorFFOftWKR1Gextcak9xDZUqlsBI2S0yz49PW1p4i10w7DVaq11 27tA== X-Gm-Message-State: AOUpUlHYwTX+CnQ7uphrBodttGo5ZOed1b5ql+z8SXJ8qQnivnryNYFa iNeUNEbRH+xHrqD3DC6vE9cpXw== X-Google-Smtp-Source: AAOMgpcPxeFv4F8RiC7n/qylbz2QuH5Mfl4yWAV/9eCA49wnxlZg2d/IcSOkJ+W4akLi9vBUg3lG6g== X-Received: by 2002:adf:b2f4:: with SMTP id g107-v6mr1847981wrd.53.1531842198784; Tue, 17 Jul 2018 08:43:18 -0700 (PDT) Received: from boomer.baylibre.local ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id s12-v6sm17598252wmc.2.2018.07.17.08.43.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 17 Jul 2018 08:43:18 -0700 (PDT) From: Jerome Brunet To: Mark Brown , Liam Girdwood , Kevin Hilman , Carlo Caione Cc: Jerome Brunet , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org Subject: [PATCH RESEND 05/15] ASoC: meson: add axg spdif output DT bindings documentation Date: Tue, 17 Jul 2018 17:42:54 +0200 Message-Id: <20180717154304.9973-6-jbrunet@baylibre.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180717154304.9973-1-jbrunet@baylibre.com> References: <20180717154304.9973-1-jbrunet@baylibre.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add the DT bindings 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 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"; +};