From patchwork Mon Jul 23 15:54:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 10540543 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 31EF413BB for ; Mon, 23 Jul 2018 15:59:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 209F328CDC for ; Mon, 23 Jul 2018 15:59:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 14C9A28CF8; Mon, 23 Jul 2018 15:59:02 +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=-2.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,T_DKIM_INVALID autolearn=ham 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 6C97128CDC for ; Mon, 23 Jul 2018 15:59:01 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 9B3C426776E; Mon, 23 Jul 2018 17:58:31 +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 660D6267715; Mon, 23 Jul 2018 17:58:23 +0200 (CEST) Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by alsa0.perex.cz (Postfix) with ESMTP id 695742676D4 for ; Mon, 23 Jul 2018 17:58:20 +0200 (CEST) Received: by mail-wm0-f67.google.com with SMTP id n11-v6so1727271wmc.2 for ; Mon, 23 Jul 2018 08:58:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=PuBAy/+QqrCI6FlnCJX4HOLVTirOiWLuNBsfvVcjRB0=; b=dKMlPkvbOJYv+A5nYLv+IO62ZVyHDbfAB/DBMyYRaTFbeXFYzA0aWP8CjvpKT8K+PB pe/UHvo6In/wbUuFBa68IpUS3yD7PsCijKbHh3gXPvaRlLf227k11QnoCW1mSINYQI0t A5iRHoCMWgFGSQG8fvui+jESIA4mglHwNjHiM= 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=PuBAy/+QqrCI6FlnCJX4HOLVTirOiWLuNBsfvVcjRB0=; b=cdDdtz37c64sPAPljs6K61el4GT9Iy6ZEBrbhjp70mGbopv2/i/cpJL+9wlTBc+XNt 0vdy+qe7WCH0+QUNSWAB3YHqV2MpUoKbWiqFbehJrXwCNtHwzKFWBgilDWF3L0kC6oAU Nv0JRs+O24DDPoEWlYw3DIHc5CrO325vMVEkCU0IFkAqgZVMJ8HadDn8bcrRk/XDGErI WxtzvTssU1Twq4iSD78E48L7TxX5St+8V2iGYJW53Fd+eujXIbU/CcYqJG9V4laiw7Gx kkwYSD3njIC/56lTnkRxy/jXujzcIDUGm/LarfaHptHLuHjLwSlkTP/nlG7KLUpCyfzC QDyQ== X-Gm-Message-State: AOUpUlFFKusYMgTN0QbSqhEPxbesZoNHGo4XZrROPHcax+laFlx04Y6L C6JeEG3GAAVKL0EcYewN55mA3g== X-Google-Smtp-Source: AAOMgpe/yhsYs2V1Zy0jAGNbUtf2iwF2I4pgtLhRjuXtbeD9jJC0kOd3He5/E6tg53Gd5ut7vftGKg== X-Received: by 2002:a1c:c3c4:: with SMTP id t187-v6mr8344054wmf.123.1532361500407; Mon, 23 Jul 2018 08:58:20 -0700 (PDT) Received: from localhost.localdomain (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.gmail.com with ESMTPSA id 14-v6sm206385wmt.1.2018.07.23.08.58.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 23 Jul 2018 08:58:19 -0700 (PDT) From: Srinivas Kandagatla To: lee.jones@linaro.org, robh+dt@kernel.org, broonie@kernel.org Date: Mon, 23 Jul 2018 16:54:02 +0100 Message-Id: <20180723155410.9494-5-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180723155410.9494-1-srinivas.kandagatla@linaro.org> References: <20180723155410.9494-1-srinivas.kandagatla@linaro.org> Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, alsa-devel@alsa-project.org, bgoswami@codeaurora.org, tiwai@suse.com, lgirdwood@gmail.com, linux-kernel@vger.kernel.org, vkoul@kernel.org, Srinivas Kandagatla Subject: [alsa-devel] [PATCH 04/12] ASoC: dt-bindings: add dt bindings for wcd9335 audio codec 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 This patch adds bindings for wcd9335 audio codec which can support both SLIMbus and I2S/I2C interface. Signed-off-by: Srinivas Kandagatla --- .../devicetree/bindings/sound/qcom,wcd9335.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,wcd9335.txt diff --git a/Documentation/devicetree/bindings/sound/qcom,wcd9335.txt b/Documentation/devicetree/bindings/sound/qcom,wcd9335.txt new file mode 100644 index 000000000000..55fcf7504fe1 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/qcom,wcd9335.txt @@ -0,0 +1,21 @@ +QCOM WCD9335 Audio Codec + +Qualcomm WCD9335 Codec is a standalone Hi-Fi audio codec IC, +It supports both I2S/I2C and SLIMbus audio interfaces. + +- compatible: + Usage: required + Value type: + Definition: "qcom,wcd9335-codec" + +- #sound-dai-cells + Usage: required + Value type: + Definition: Must be 1 + += EXAMPLE + +codec { + compatible = "qcom,wcd9335-codec"; + #sound-dai-cells = <1>; +};