From patchwork Wed Aug 29 15:00:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10580469 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9DF281709 for ; Wed, 29 Aug 2018 15:20:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8C9E12B4FC for ; Wed, 29 Aug 2018 15:20:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8007C2B55E; Wed, 29 Aug 2018 15:20:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3CB522B4FC for ; Wed, 29 Aug 2018 15:20:10 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 6380026792C; Wed, 29 Aug 2018 17:01:08 +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 6DE58267917; Wed, 29 Aug 2018 17:01:03 +0200 (CEST) Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by alsa0.perex.cz (Postfix) with ESMTP id D024826766C for ; Wed, 29 Aug 2018 17:01:01 +0200 (CEST) Received: by mail-wr1-f66.google.com with SMTP id v90-v6so5162973wrc.0 for ; Wed, 29 Aug 2018 08:01:01 -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=M3ulMuAVOTpyiu7CM7KID8UePIh9rpVFCKWBlNIO4N4=; b=Sv/R+UkmGDOneWQ1vOl2ZQN1NkzWSxynTM5r3zgoruDAmwQ7Pzzs3Wb8Si9Br4ZiEt Ppvplkt829dOxcPSlZaPjnujJ6w/tfzBk1q6tnJpz0yVNV8n8CKWPbwf0/DuQZNbIAa2 tlhEsVKWgM4WuZNJlkLZXwScaEx1l/B1sd30KgjGcLb8OLuKGomFAys/rQI5v7A/QuVp /+5Bz6mHz3Rm0syn9nAg7cZpo59UopwLb90JC2bb4eeRmVuwJfb1u1gVLslUgJ+E+oKM ySH0XqS9NY5/DqisBghOZSITBK2aq8NcI6/CFNjVrAYJbXzRh0zHCin4jMepuH3c5y1q hiOQ== 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=M3ulMuAVOTpyiu7CM7KID8UePIh9rpVFCKWBlNIO4N4=; b=CDKp79WBbsIOpp245bLV55VDey6n54/69/+UUS+ZYIDzw5H8FGBRFSj7jDjuyHS0vC 9v3NGscBNxbzfp1Z8a6QlCh+v4faQOiXxKhI/MYjVyXaciV3DUxv2Wz+HB8R9EDTc9bm zDK6y8iu/pp5iYwWxkBCHeMrd3bxKrKGT/GVHa8oyf9qRfYAkehQohQBd0KzZFFsso6W sX8UZ+DRrBqIB0QdG7yRO5d2hwChjXSWv3eiB81maD5ydxeTws0hKvwo/oU7y1SOfAql PmQ9lTSARcCHf/+bDcpjOGdb9zYPBKCuvhv1xIINFHiQU9Vr5LY2642R/knTNaJeUtUr nqHQ== X-Gm-Message-State: APzg51AXYNWOkSPLEZUsys8k+/eeashomA5MZm2RRSUN3TI/ggfjvYcc Xch5Q2BP0DoYpA3/+p1hAiDM0g== X-Google-Smtp-Source: ANB0VdaWBD4X+xBHaPEwsm0QTym3/lgumkc6A0v/5yaNR+19pJrXakuuD882K0VxNxKjbmc3NP6HfA== X-Received: by 2002:adf:ae01:: with SMTP id x1-v6mr4565744wrc.45.1535554861409; Wed, 29 Aug 2018 08:01:01 -0700 (PDT) Received: from boomer.baylibre.local ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id v46-v6sm7267217wrc.63.2018.08.29.08.01.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 29 Aug 2018 08:01:00 -0700 (PDT) From: Jerome Brunet To: Mark Brown , Liam Girdwood , Kevin Hilman , Carlo Caione Date: Wed, 29 Aug 2018 17:00:50 +0200 Message-Id: <20180829150051.18190-4-jbrunet@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180829150051.18190-1-jbrunet@baylibre.com> References: <20180829150051.18190-1-jbrunet@baylibre.com> Cc: linux-amlogic@lists.infradead.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Jerome Brunet Subject: [alsa-devel] [PATCH 3/4] ASoC: meson: add axg pdm 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: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Add the DT binding documentation for axg's PDM input Signed-off-by: Jerome Brunet --- .../bindings/sound/amlogic,axg-pdm.txt | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/amlogic,axg-pdm.txt diff --git a/Documentation/devicetree/bindings/sound/amlogic,axg-pdm.txt b/Documentation/devicetree/bindings/sound/amlogic,axg-pdm.txt new file mode 100644 index 000000000000..5672d0bc5b16 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/amlogic,axg-pdm.txt @@ -0,0 +1,24 @@ +* Amlogic Audio PDM input + +Required properties: +- compatible: 'amlogic,axg-pdm' +- reg: physical base address of the controller and length of memory + mapped region. +- clocks: list of clock phandle, one for each entry clock-names. +- clock-names: should contain the following: + * "pclk" : peripheral clock. + * "dclk" : pdm digital clock + * "sysclk" : dsp system clock +- #sound-dai-cells: must be 0. + +Example of PDM on the A113 SoC: + +pdm: audio-controller@ff632000 { + compatible = "amlogic,axg-pdm"; + reg = <0x0 0xff632000 0x0 0x34>; + #sound-dai-cells = <0>; + clocks = <&clkc_audio AUD_CLKID_PDM>, + <&clkc_audio AUD_CLKID_PDM_DCLK>, + <&clkc_audio AUD_CLKID_PDM_SYSCLK>; + clock-names = "pclk", "dclk", "sysclk"; +};