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: 145440 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp777634ljw; Wed, 29 Aug 2018 08:01:05 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbCSO8BAEO3zyP/M7rTleS3nkJ6YchLsA2rmQKSdvNdh3TXahBuIaLywiAqWWgGZqPTyfij X-Received: by 2002:a63:5465:: with SMTP id e37-v6mr6148443pgm.316.1535554865272; Wed, 29 Aug 2018 08:01:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535554865; cv=none; d=google.com; s=arc-20160816; b=C59tLV0MFupSKUm7z4sOEEwcyZaTe+v5+J1cHihn9xPcMvpVyzWrI7cg+dcw/UCV+j ecchluqPhKHXRwVSk0o9scEGjxoCnA6NtmPzwSUKNon8ojmoIrrJ4PSDp4+D2g/AKkVG 7riGKjvF6c7+GdfmwRT9m1kHB0svbxIC/8Wian0gjiCFs6EKg0dxmwsa9MbVzcSpY6va S/87Xn4LurhtcRltFl24E/VzwAPkSYNaxodkuKKLfy4BRTEYt5f4x0bRgddZbbZxof13 R37SGh5DSCn22+tROAYJvYzFjoGrqUgA6v2gHgO8MwSUjrkP1agQq+JHtC/zFdtGymFM HzbQ== 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:dkim-signature:arc-authentication-results; bh=M3ulMuAVOTpyiu7CM7KID8UePIh9rpVFCKWBlNIO4N4=; b=Cb8xtLnAzKBB4jtwAZlNnvvCk5tzbtWfHBWo7R2riDGi1XkHE7i3cesCFd6AnWMOby VT8NfZ3N7di/ol1fB4MpiaXROREx5qKp63PTGdM641KZ135lvq9EIw6qfCTR9MMFXQ8C 7hG/s7LhqIR2nOyyVB4tnQcJvy9UBcn1zLhAC+xYv7KxL1WCfxw68G4azxTy/nyOCsIP 6D0gVN24RyvcFDKqJC/YPoxOAuJKmfBB6Vv3S39zrmv9Adf94DJwWQhm5K4+y5gzgHQg 5aWVXJR4LH9mncXs1iXtl2QPM6DPKfSEqvVmzR2YiKN9U7osJWXix36gZjAvA/0SxN2V UoUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="Sv/R+Ukm"; 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 w4-v6si4249182pfb.52.2018.08.29.08.01.05; Wed, 29 Aug 2018 08:01:05 -0700 (PDT) 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; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="Sv/R+Ukm"; 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 S1729053AbeH2S6X (ORCPT + 32 others); Wed, 29 Aug 2018 14:58:23 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:39635 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728165AbeH2S6X (ORCPT ); Wed, 29 Aug 2018 14:58:23 -0400 Received: by mail-wr1-f67.google.com with SMTP id o37-v6so5144420wrf.6 for ; Wed, 29 Aug 2018 08:01:02 -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=gBy7fAeqUpwMZuCsfqDsu+JKxqWpR+3lTJTwV/Zvv1VBsqbmIcBwfdX9HwIFVoj11H /eYHIDy0/vRkCr9ir8y1I/rXqbLFtouKnLHHNFAenABOVhX+ecemaoA4iS7NeSTzUX7b bWXyD4eHH2mRyV1Bw67OVFRZ4rUTlHCztfxv2dJd2OwV5nCxJV31IvmTCYYGt0vZWgla 1ng/iSc+kFrYd7+9derU6tfFjc6uJzQWhsITroG16QNWwRHzqn8KS8YY9KR2sMl7XRnE F0xk0ItreK6ASuz6Jj1UOehTkO8iwKFMzosVZiRFrHPJGfORlhCm9WJjOYKNdkWVtFeU X3tQ== X-Gm-Message-State: APzg51CJhAJekTseIwrUIF+thd54V2E8PnmN8tg/Jlz9QT9oDLbxt/RP x8dyZtSToQT2uu5H6pxigdk3a6mr5F0= 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 Cc: Jerome Brunet , alsa-devel@alsa-project.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/4] ASoC: meson: add axg pdm input DT binding documentation 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.17.1 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"; +};