From patchwork Sat Feb 18 14:26:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: simon.ho.cnxt@gmail.com X-Patchwork-Id: 9581107 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id EDC406042F for ; Sat, 18 Feb 2017 14:27:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DC28C26E8A for ; Sat, 18 Feb 2017 14:27:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CEAA327FA8; Sat, 18 Feb 2017 14:27:08 +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=-1.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID autolearn=no 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 08A1D26E8A for ; Sat, 18 Feb 2017 14:27:08 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id E443526688A; Sat, 18 Feb 2017 15:26:46 +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 5B532266861; Sat, 18 Feb 2017 15:26:43 +0100 (CET) Received: from mail-pf0-f194.google.com (mail-pf0-f194.google.com [209.85.192.194]) by alsa0.perex.cz (Postfix) with ESMTP id F0A78266847 for ; Sat, 18 Feb 2017 15:26:38 +0100 (CET) Received: by mail-pf0-f194.google.com with SMTP id 68so6266616pfx.2 for ; Sat, 18 Feb 2017 06:26:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=vO+4RNBzI3mwzSznOybHh2j/JOaGbnZnmvUXzGXyjN8=; b=YI8dBNfntYOC2+elL4xiPx3KCzidD3YASYhYAjcmAfJaIB3FMGrEU1IY/PKIQcukOh bke/EQnxrFLMJi67fnJ608Oc9b/1G+wA4VFBV8qQ1vAwworHOEFsc5as7yC7EBlRvHrx /43q1FmnJPuwNrn1V9rTyZhGJDlq5aH2l3NcVQ97Ddhy5BYTWsI7i1ty8E8CVD3zy3hY Cj4zXrZKZsA6IB3GmexiOtWjSTokEPN+0ghccCGhTgHDh8RcTgtKqrxx2JK/qanb0UG9 1FRak0OEnmAPPA94phDNapQpcwLgIXhNLf7pxDGSgxt2R/G2RIomTxbctM/h9X5n+eec vSfQ== 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=vO+4RNBzI3mwzSznOybHh2j/JOaGbnZnmvUXzGXyjN8=; b=EBBL35eXwjeJXq3hQKzSdgCOie4cFAesTbKSH0zMU+MbVcz9HDkuqJsnbcGANg5pcl m7PyEcXXSpToBmGqrCPR0JqEZKKuP9IY5aSSROyR/tX9NMXpltfqlXsSPqdQSzXiv5+r 8djbpfdVHhN5Kd5VBlIaBo6wjPDpEdapaAbUgtLicSZQ9EylHzk9k3WsFZMMijXTPJMe j+orIHCSUdgkneNizmwfEGmUuK7jFKax62MjmJ9CosCGIox6X8jfJpnx6NtZ/RislAsm DHIdsR3VGjdvqOBnowwXTxBTxYPYJSj9FzoP0hlmtUgN6eDBXMCdxBAUHiQw+cp3eHGd xsiQ== X-Gm-Message-State: AMke39niVhJ55nuHnv/T55i9UzMudqlkOB9kit724405IlU+/DtQf3QFcyrdC4VDTrHOBw== X-Received: by 10.98.8.11 with SMTP id c11mr15370738pfd.135.1487427997717; Sat, 18 Feb 2017 06:26:37 -0800 (PST) Received: from localhost.localdomain (114-42-202-32.dynamic.hinet.net. [114.42.202.32]) by smtp.gmail.com with ESMTPSA id l12sm25744620pfj.37.2017.02.18.06.26.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 18 Feb 2017 06:26:37 -0800 (PST) From: simon.ho.cnxt@gmail.com X-Google-Original-From: simon.ho@conexant.com To: alsa-devel@alsa-project.org Date: Sat, 18 Feb 2017 22:26:30 +0800 Message-Id: <1487427991-18174-2-git-send-email-simon.ho@conexant.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1487427991-18174-1-git-send-email-simon.ho@conexant.com> References: <1487427991-18174-1-git-send-email-simon.ho@conexant.com> Cc: Simon Ho , tiwai@suse.com, broonie@kernel.org, lgirdwood@gmail.com Subject: [alsa-devel] [PATCH 1/2] ASoC: cx2092x: Add DT bingings doc for CX2092X DSP 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 From: Simon Ho Initial version of CX2092X device tree bindings document. Signed-off-by: Simon Ho --- .../devicetree/bindings/sound/cx2092x.txt | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/cx2092x.txt diff --git a/Documentation/devicetree/bindings/sound/cx2092x.txt b/Documentation/devicetree/bindings/sound/cx2092x.txt new file mode 100644 index 0000000..cb61cfc --- /dev/null +++ b/Documentation/devicetree/bindings/sound/cx2092x.txt @@ -0,0 +1,30 @@ +Conexant CX20921/CX209724 Voice Processor SoC + +The devices supports both the I2C and SPI bus. + +Required properties: + + - compatible : One of "cnxt,cx20921", "cnxt,cx20924". + - reg : the I2C address of the device for I2C, it should be <0x41> + +Optional properties: + + - reset-gpio: A GPIO spec to define which pin is connected to the chip's + !RESET pin. If specified, the driver will assert a hardware + reset at probe time. + +CODEC input pins: + "MIC" - Microphone input + + +Example: + +codec_i2c: cx20921@41 { + compatible = "cnxt,cx20921"; + reg = <0x41>; + reset-gpio = <&gpio 23 0>; +}; + +codec_spi: cx20924@0 { + compatible = "cnxt,cx20924"; +};