From patchwork Thu Apr 6 03:04:33 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: 9665979 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 4AE5660364 for ; Thu, 6 Apr 2017 03:05:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3D2E228304 for ; Thu, 6 Apr 2017 03:05:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2F6AC28329; Thu, 6 Apr 2017 03:05:05 +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.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM, 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 7230C28304 for ; Thu, 6 Apr 2017 03:05:04 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id BA2EF26723C; Thu, 6 Apr 2017 05:04:46 +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 8E64C26723F; Thu, 6 Apr 2017 05:04:45 +0200 (CEST) Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by alsa0.perex.cz (Postfix) with ESMTP id B632726722D for ; Thu, 6 Apr 2017 05:04:41 +0200 (CEST) Received: by mail-pg0-f65.google.com with SMTP id 81so5165031pgh.3 for ; Wed, 05 Apr 2017 20:04:41 -0700 (PDT) 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 :in-reply-to:references; bh=CP903lkZU0UwZgOpjDU61XE8Lc3TKsEt1gpZAcuc8CM=; b=c6j7+MBm241/oC+0pj0G+1eBFdHiR2FKUACKfO00oFkFVP9u4bFxI34aaoa1y2L+HB qDWSa8XBQVFBIUsIEy0Txoh8M8aMqSeM+7dk+W1Gdz4WvfNAYSK/Ws0xwcYNtIrqgdia euvF9N4dC4pdRmrGZpQ010vUWbFplnBu6JE01Yd8Wg0uimkupSsQVbBjeXJYvN21Zp4X nJx+/rhItfEQ2CK8xBfrLSyatQBydFKjuQEZXQUKa4uAegcUEnF4omFXHDafx6uYRS1T +swoZXYkVKgrWQikC0dff6y6pfKq8FP6DYIMSQUxAaSYVGIbxKqRCCEcIiO6tJZgTuDW PRNw== 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:in-reply-to:references; bh=CP903lkZU0UwZgOpjDU61XE8Lc3TKsEt1gpZAcuc8CM=; b=coEB6vvgFEy33TL4/9tWjtj6+HRP0j04VeJUIvwgK1XrYWsnkG+reZm9jWyn3QYG9j 6/Vu1VHmV9ToOcdIw1ZD2rfL02tkhIRP0wb4kuC9xQdOtH3U/e3oI0kt7QNZzVQs3NCV RJ1IvcoCxHiekeKuDBjNK5YU8lNeql/o5khXiKLm8yjJ/TI12DwDUaSwVUygdF7xt2xJ 7M8BHMAplbF7b4AoJ3AMWlEkIYlkTrMtqkS3hkFFdPF2amf0GJp9fjwMxFnt5jlxLP6m q6JdZeWBG87/ZwETEspy5HVk4X738HcPDxsntL04x4WbENdWceAlBDTh5oJIyyvzH3Ut g8Ag== X-Gm-Message-State: AFeK/H1+D4DgeqTMiyXMnldtLCFPH3hN5q6DVtYNDk6EcMeNUjDAFU9J6pQdQZsEFG4hyA== X-Received: by 10.99.54.202 with SMTP id d193mr13370618pga.190.1491447880501; Wed, 05 Apr 2017 20:04:40 -0700 (PDT) Received: from simon-HP-Ubuntu.bbnet.ad (61-222-40-226.HINET-IP.hinet.net. [61.222.40.226]) by smtp.gmail.com with ESMTPSA id 71sm294743pfz.30.2017.04.05.20.04.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 05 Apr 2017 20:04:40 -0700 (PDT) From: simon.ho.cnxt@gmail.com X-Google-Original-From: simon.ho@conexant.com To: alsa-devel@alsa-project.org Date: Thu, 6 Apr 2017 11:04:33 +0800 Message-Id: <0237e17dca2cbb38dcec19a0452628858785a498.1491446448.git.simon.ho@conexant.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: Cc: pierre-louis.bossart@linux.intel.com, Simon Ho , tiwai@suse.com, lgirdwood@gmail.com, broonie@kernel.org, ckeepax@opensource.wolfsonmicro.com Subject: [alsa-devel] [PATCH v5 1/2] doc: 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/cnxt,cx2092x.txt | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/cnxt,cx2092x.txt diff --git a/Documentation/devicetree/bindings/sound/cnxt,cx2092x.txt b/Documentation/devicetree/bindings/sound/cnxt,cx2092x.txt new file mode 100644 index 0000000..8dd2428 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/cnxt,cx2092x.txt @@ -0,0 +1,25 @@ +Conexant CX20921/CX209724 Voice Processor DSP + +The devices supports the I2C 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-gpios: 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: cx20921@41 { + compatible = "cnxt,cx20921"; + reg = <0x41>; + reset-gpios = <&gpio1 23 0>; +};