Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp9946pxb; Wed, 4 Nov 2020 12:58:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJxQV9z51GwtSDDbzJXvzjFrv8jTNNS6Ey/dcb8MvhUC1VGr9JFFb1xkyorus+OIBr2neCo+ X-Received: by 2002:a17:906:6d13:: with SMTP id m19mr20862632ejr.345.1604523489181; Wed, 04 Nov 2020 12:58:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604523489; cv=none; d=google.com; s=arc-20160816; b=wLASyF3ETE8onOtIlZZ4Ilq9kmp/1nHrrDFVATna+68rhDc9CUhkZaUKwX/28nxLxQ 5knCgcKfExPPZzjVFhApLbIvquLBhGvxj4YY6xNsAwd77Crb4K8X7zUIysuZb4dj3jXD fhNxf8sjw+JboXESLTyd2dr3sNOZoxQja9+ZGmy+5fRHPXWgJwFk3bmWMpzGHE1hzY9i JPrDkOi6Zbvbh0fqDcQbEoXe0NWbBlwChwNUXkwrcBZiaLkOk6RMHZAZG4gvZnrgi1ox Z+IW1/0BWTzjqLLyCbOBLkyoS34zVP+NwbTB83lGkkqnOt14f+6sNGkreQt1Gbo1G4W0 I2mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=5Yt4UETZh7w34lCr3W+dIWVmcLBC8ym2FWlvUwyd7ng=; b=GFRaez7ZSHN8UktxTgIc+H5C3m3LXGHzlLcLsCaLkvEIvpRAVSKV4kzvVUW2YldbzQ 6foJgO4zzKtEHezQbiaPDk0diPc3Y3rrlqPasacRV4x9AUvR3hk5O/nJxqlAoCy6W9Tj ey+PTaiLyyvS/sAOPqmwL08tIjzKc/ZChXUMLTCpZdgOuHYgGm19lTUkEKMGvAw/IgQh J4c0yFbijX7i8or7W8v4lFHe+MDzv+N0yA0ljDw5j225RJx48gI3YlQxBtMzmnCHmRBO iqyjC7Kr/P+eyhjeQbptnaSQsoqRGstxmgjuxiEQGElm24XnGA+4rGR2LFxph7CqXsok jbMA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c17si1961372edv.286.2020.11.04.12.57.46; Wed, 04 Nov 2020 12:58:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731741AbgKDUMw (ORCPT + 99 others); Wed, 4 Nov 2020 15:12:52 -0500 Received: from relay10.mail.gandi.net ([217.70.178.230]:41873 "EHLO relay10.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731710AbgKDUMw (ORCPT ); Wed, 4 Nov 2020 15:12:52 -0500 Received: from localhost (lfbn-lyo-1-997-19.w86-194.abo.wanadoo.fr [86.194.74.19]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 867C7240002; Wed, 4 Nov 2020 20:12:49 +0000 (UTC) From: Alexandre Belloni To: Mark Brown Cc: Liam Girdwood , Lars-Peter Clausen , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Alexandre Belloni , Rob Herring Subject: [PATCH 1/2] dt-bindings: sound: adau1372: Add bindings documentation Date: Wed, 4 Nov 2020 21:12:08 +0100 Message-Id: <20201104201209.907018-1-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add device tree binding documentation for Analog Devices ADAU1372. Signed-off-by: Alexandre Belloni --- Cc: Rob Herring .../bindings/sound/adi,adau1372.yaml | 67 +++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/adi,adau1372.yaml diff --git a/Documentation/devicetree/bindings/sound/adi,adau1372.yaml b/Documentation/devicetree/bindings/sound/adi,adau1372.yaml new file mode 100644 index 000000000000..701449311fec --- /dev/null +++ b/Documentation/devicetree/bindings/sound/adi,adau1372.yaml @@ -0,0 +1,67 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/adi,adau1372.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + + +title: Analog Devices ADAU1372 CODEC + +maintainers: + - Alexandre Belloni + +description: | + Analog Devices ADAU1372 four inputs and two outputs codec. + https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU1372.pdf + +properties: + compatible: + enum: + - adi,adau1372 + + reg: + maxItems: 1 + + "#sound-dai-cells": + const: 0 + + clocks: + maxItems: 1 + + clock-names: + const: "mclk" + + powerdown-gpios: + description: GPIO used for hardware power-down. + maxItems: 1 + +required: + - "#sound-dai-cells" + - compatible + - reg + - clocks + - clock-names + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + audio-codec@3c { + compatible = "adi,adau1372"; + reg = <0x3c>; + #sound-dai-cells = <0>; + clock-names = "mclk"; + clocks = <&adau1372z_xtal>; + }; + }; + + adau1372z_xtal: clock { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <12288000>; + }; +... + -- 2.28.0