From patchwork Tue Feb 21 01:01:51 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: 9583777 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 7CAC4601AE for ; Tue, 21 Feb 2017 01:02:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5AACB2041F for ; Tue, 21 Feb 2017 01:02:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4F554205FC; Tue, 21 Feb 2017 01:02:23 +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 972582041F for ; Tue, 21 Feb 2017 01:02:22 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id E563A266C2E; Tue, 21 Feb 2017 02:02:01 +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 5C58B266BCA; Tue, 21 Feb 2017 02:01:59 +0100 (CET) Received: from mail-qk0-f194.google.com (mail-qk0-f194.google.com [209.85.220.194]) by alsa0.perex.cz (Postfix) with ESMTP id 494182667A5 for ; Tue, 21 Feb 2017 02:01:57 +0100 (CET) Received: by mail-qk0-f194.google.com with SMTP id n127so5593146qkf.2 for ; Mon, 20 Feb 2017 17:01:57 -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=HVb50iqDfboatA4pO7Bb+a8njYnKITkorFurZnYiQBjV7WO+KWpwuR6DBtDliHQafp 8OF9XYgr2Vx5w86vGufXpH2oiMoIQbmcbXS+aCYxtBtp/aqQjgBQoy+l0j/ARDHr+vzs a45PXrOBMDIrvvK1iO2CGq3LrO7/cwlT70v/EViVpkndTPILacFq1XS3L0NLsrx6RgXm Ou2VsHpB3B3QhDkrUpHnBp/LLgHKYJRgavvhlSzbb7xHM9Ad+FHd0/nuqxeh9AwD5mV8 1ww8jGYn/ZbK1pDjRPXjQEKqI83ZCTpIs1Leo5jqaQByPawPeXS1HSBYBaAi8zsK+cQk 9wwA== 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=W7YJpOBqqYU3hSABg60z/B7O93hC20NBk44n8YtCa3lsRASbhL7dCpHpKshPaD+Ud7 IXF+CB5+xM/xqc8Ag16xJdqUL4GsBbcsYVfUBQV+UBZJ9A2GQA0W+Gdgp87NlB5QTI0z gwbGSnppWPSR255LJTYjABoogmESkadU+Z3Ml7iJaIzZ9I4vxWbgkIfwbkHLJqsQT/L0 l1ADEViw+Y/FnaGwlA9m540QJ7c3g9Zd2Np+FV3HzEm2UHCSgbFrI4acJiMK3FeJP+n6 D6F69bqg0z0p6gcoXX4Hce5KSPagsNTepqCFF2b/FhcgBYbWkot0eLmNZB+13VCX/mgM gGcw== X-Gm-Message-State: AMke39niNVzlG9WnsP3+H8wvB8IvUSqrIK5uwuf01G0Vvy76L2zjDMuAo2g5BlMAkm6wCw== X-Received: by 10.55.170.22 with SMTP id t22mr3495774qke.245.1487638916602; Mon, 20 Feb 2017 17:01:56 -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 f27sm4857120qtf.44.2017.02.20.17.01.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 20 Feb 2017 17:01:56 -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 09:01:51 +0800 Message-Id: <328f8c2aa7184e7d632637f81c471919e9d9c671.1487595577.git.simon.ho@conexant.com> 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] [PATCH v2 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"; +};