From patchwork Tue Feb 21 13:58:24 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: 9584671 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 36E996042F for ; Tue, 21 Feb 2017 14:05:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 29C5C288E2 for ; Tue, 21 Feb 2017 14:05:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1EBB4288E4; Tue, 21 Feb 2017 14:05:48 +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 E5EBE288E5 for ; Tue, 21 Feb 2017 14:05:40 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 9586C266C99; Tue, 21 Feb 2017 14:58:43 +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 672AD266C9B; Tue, 21 Feb 2017 14:58:40 +0100 (CET) Received: from mail-qt0-f194.google.com (mail-qt0-f194.google.com [209.85.216.194]) by alsa0.perex.cz (Postfix) with ESMTP id BDA34266C78 for ; Tue, 21 Feb 2017 14:58:30 +0100 (CET) Received: by mail-qt0-f194.google.com with SMTP id b16so14284498qte.2 for ; Tue, 21 Feb 2017 05:58:30 -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 :in-reply-to:references; bh=FqDnweKW49QKro+O5fydX+YA04ZvfmTTzDfuXW2LW7w=; b=BfMSpFKBeaGvjWuEH35Gcub4MZiBY98mVm7GAcAONAvfnABGLIP8OUP3y58PmnU2yf J2xRIRigpLUyZ9Tt0Qpcv3Oc5DiQ5UDkh8bzYjvQPH/ojxR4hYTwoot+r+g1X6BScoMS teoNNAo8hsUJVn5HElBdJOYcK7qpoHiE9coRhu+7vxb/kP6San0qwVbRMJYR0aiN5McM jJgQasRMVXonygOlfyX0Q4CSJsKCIaipFBwktkCJbyimvL0m8wVApbRVjQ59rrg1EYP/ 3W0FUEEwXfby0/Hf0W0AWXef8J7LdVatd6Z20/RX1FwXz71ldZif7j7Ce8eJTTSq/Omv VOgw== 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=FqDnweKW49QKro+O5fydX+YA04ZvfmTTzDfuXW2LW7w=; b=tFMeD0fyhp38HKv4s2Il2NfQ4CaE3KNJu4kG8MC+qeIzUO8gc6y2dVba3MtLBpVlpq NC18u9iuEL3kulZbo9/uno0g88fJhHc8A7IE6V6LwjWBTq38PN+bPcNMoHE1GVWpmNZv 8ROFeseFORXRWDBVe/UMUZL9PxFajUo6gL/W8q/bihmlM2nyYnO9GdFZ/YemzT6zyay9 J1CGSSaDW6UQ2K2pWUWnnWPKIeTK8vEJPGaUpKsK4wn5QQewUw2pk65157K9VlhbeRTb alhzDyj0cbOsB2B9yu4UFVcRRKXLdnqu+L0Teg6F8FTpO0QmPIJLfOtzrKd9yFtvAUL6 /4/w== X-Gm-Message-State: AMke39mg57bZikfa6vBQ4xeS2GUxMxdg+0PnXiqgQYsIn4PvPZ4OI/D4eP0IAWUKxxLwbg== X-Received: by 10.200.45.247 with SMTP id q52mr26905309qta.197.1487685509749; Tue, 21 Feb 2017 05:58:29 -0800 (PST) Received: from simon-HP-Ubuntu.hil-snajwhw.lax.wayport.net (ip-64-134-231-18.public.wayport.net. [64.134.231.18]) by smtp.gmail.com with ESMTPSA id w41sm14032337qtw.34.2017.02.21.05.58.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 21 Feb 2017 05:58:29 -0800 (PST) From: simon.ho.cnxt@gmail.com X-Google-Original-From: simon.ho@conexant.com To: alsa-devel@alsa-project.org Date: Tue, 21 Feb 2017 21:58:24 +0800 Message-Id: X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: Cc: Simon Ho , tiwai@suse.com, broonie@kernel.org, lgirdwood@gmail.com Subject: [alsa-devel] [alsa_devel] [PATCH v3 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 | 29 ++++++++++++++++++++++ 1 file changed, 29 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..72928bd --- /dev/null +++ b/Documentation/devicetree/bindings/sound/cnxt,cx2092x.txt @@ -0,0 +1,29 @@ +Conexant CX20921/CX209724 Voice Processor DSP + +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-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_i2c: cx20921@41 { + compatible = "cnxt,cx20921"; + reg = <0x41>; + reset-gpios = <&gpio1 23 0>; +}; + +codec_spi: cx20924@0 { + compatible = "cnxt,cx20924"; +};