From patchwork Thu Apr 26 09:46:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 134449 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp2030321lji; Thu, 26 Apr 2018 02:50:53 -0700 (PDT) X-Google-Smtp-Source: AIpwx48XrwXlESLv/qo1khQ7liQ78dIXaOszCCaVle5lddxMZO3vXU9oZ3iOltQi9dYRgh8p1Dy0 X-Received: by 2002:a17:902:6e8f:: with SMTP id v15-v6mr33579447plk.245.1524736253810; Thu, 26 Apr 2018 02:50:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524736253; cv=none; d=google.com; s=arc-20160816; b=c6tv8vOIF0zjzDINvYwijKy6m/YI0MGZ0wOxsV/4KvFqN9lC8B/m4gqXMV0TvrX9/T SJQW51r5sK1bNbFfwTejDwdxhr5nkimHWyKSTNhnS6D6gs8/cwRRs8kzCPOe9aNh6S3I c97PFsDCetivzy/bkkoN41omOnfvjh+m8E/siCxTPvxUImofhOym/EOy7sMSO5LOxf2+ 0YDkmmoL0BBc7gHfvGiohZYiyVFunCx7MeSaGTuTFzQz0BS8g24FdFA6kFAzvvugMI+W 2M6dPpcI1BzvJ5/P6xpcLieVcgN6n3pIfOh7ILUt3Uh2u5hnuWO4yYqytpUXvnjV0XEt MB0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=IQs+nSTTPzgPotukhPq8IrAMp80eYRP/5uL3T9KqUeQ=; b=WalgQNhWN3prMsMpduF/zwCLy9Mio1/VUd6IFrkEGaDHWL6qd+DYCtk/f4mDNb3BtV 5wwJAy+9fwjcpYZgLPl02DciVYoIuyR8h7zROnPUxkwgXDgPYhujrXSfUnPnZl1Jg0gc oEFlcN44dlS1GKyeSWennKHX9trrIJWq/AhllqQHqTlu22mkEnWz6sJQGiVjQBZqR3lM tmSj4s90ZO0Xd+5HAECS6BQIUd8eYsvQ4UKnPY1dw6uL6K40hEuiB6Xsxz7dOV1/8Wg3 D6RUkDOjcxtU6sDKHpqTRMF6e8dRRFZVJVyAtkX8zJsXzgVG0Bt5JHE7u+h5LFilcpQE of9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=cwbhRblL; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n28si7266366pfh.210.2018.04.26.02.50.53; Thu, 26 Apr 2018 02:50:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=cwbhRblL; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755318AbeDZJuv (ORCPT + 12 others); Thu, 26 Apr 2018 05:50:51 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:39808 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755171AbeDZJuC (ORCPT ); Thu, 26 Apr 2018 05:50:02 -0400 Received: by mail-wm0-f68.google.com with SMTP id b21so12045345wme.4 for ; Thu, 26 Apr 2018 02:50:01 -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=Akk0CFdFzuBeUJ4EiX/zxUJWGT6AWy0ZdV3sw7FfXLw=; b=cwbhRblLj8MgNztt9Vx7vX0pL8SXsX4fN731Roemu2BxKY8bT4/NTl2e7jw+kuN9rN ORmTagPZJr91j666lli6GpqF3FT+jBxKFbd6walbs75+tdQ1DoRIMGJDRAk6YxgUnZhP Z5M3yoFesBKHxiRddt+GRyKv7eoMC+lhESFtc= 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=Akk0CFdFzuBeUJ4EiX/zxUJWGT6AWy0ZdV3sw7FfXLw=; b=f0+68Ew1WNMM+GiMpmGMsuLaF21rXO6GfuDcZ5iyNmvVU4gInEqU78npJ2MSnxBHfE xlxjj9S+Y89e2P/QN5bu1nMadBxttziD2EFr7QoTWbhePmNnsoqT/Bqz/z6xHZwTwagW 1cm1iTlJjI04JfpudHnEbF5gqrVbkxbdeUa47CkyThHC/eH+fbiIb8LOgbTqQktgke17 cPnRYxWUB4w6ZOgF5zAZEFpht8Z8xo4rsQ05Te9HYT1YptYCTdcJ9OsQsjB7KAp+bjJH 0eXdg6teimRmFim9ZrqCHByh2TS1lu+9s1SIMqNgt8lNOufFa6Q4Z3QRDlJbIuI+XNce oWcw== X-Gm-Message-State: ALQs6tABtvj67i4OrFwivTw7fVTRSWes1ngyWoEM6La8TqEIeBG3QE0b g9qIfp3CbOAz4soT4vBw/PpnDw== X-Received: by 10.28.126.11 with SMTP id z11mr16808783wmc.128.1524736200896; Thu, 26 Apr 2018 02:50:00 -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 a79sm5287289wme.48.2018.04.26.02.49.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 26 Apr 2018 02:49:59 -0700 (PDT) From: srinivas.kandagatla@linaro.org To: andy.gross@linaro.org, broonie@kernel.org, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, robh+dt@kernel.org, bgoswami@codeaurora.org Cc: gregkh@linuxfoundation.org, david.brown@linaro.org, mark.rutland@arm.com, lgirdwood@gmail.com, plai@codeaurora.org, tiwai@suse.com, perex@perex.cz, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, rohkumar@qti.qualcomm.com, spatakok@qti.qualcomm.com, Srinivas Kandagatla Subject: [PATCH v6 22/24] ASoC: qdsp6: dt-bindings: Add apq8096 machine bindings Date: Thu, 26 Apr 2018 10:46:04 +0100 Message-Id: <20180426094606.4775-23-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180426094606.4775-1-srinivas.kandagatla@linaro.org> References: <20180426094606.4775-1-srinivas.kandagatla@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Srinivas Kandagatla Add devicetree bindings documentation file for Qualcomm apq8096 sound card. Signed-off-by: Srinivas Kandagatla --- .../devicetree/bindings/sound/qcom,apq8096.txt | 109 +++++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,apq8096.txt -- 2.16.2 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/sound/qcom,apq8096.txt b/Documentation/devicetree/bindings/sound/qcom,apq8096.txt new file mode 100644 index 000000000000..aa54e49fc8a2 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/qcom,apq8096.txt @@ -0,0 +1,109 @@ +* Qualcomm Technologies APQ8096 ASoC sound card driver + +This binding describes the APQ8096 sound card, which uses qdsp for audio. + +- compatible: + Usage: required + Value type: + Definition: must be "qcom,apq8096-sndcard" + +- qcom,audio-routing: + Usage: Optional + Value type: + Definition: A list of the connections between audio components. + Each entry is a pair of strings, the first being the + connection's sink, the second being the connection's + source. Valid names could be power supplies, MicBias + of codec and the jacks on the board: + Valid names include: + + Board Connectors: + "Headphone Left" + "Headphone Right" + "Earphone" + "Line Out1" + "Line Out2" + "Line Out3" + "Line Out4" + "Analog Mic1" + "Analog Mic2" + "Analog Mic3" + "Analog Mic4" + "Analog Mic5" + "Analog Mic6" + "Digital Mic2" + "Digital Mic3" + + Audio pins and MicBias on WCD9335 Codec: + "MIC_BIAS1 + "MIC_BIAS2" + "MIC_BIAS3" + "MIC_BIAS4" + "AMIC1" + "AMIC2" + "AMIC3" + "AMIC4" + "AMIC5" + "AMIC6" + "AMIC6" + "DMIC1" + "DMIC2" + "DMIC3" += dailinks +Each subnode of sndcard represents either a dailink, and subnodes of each +dailinks would be cpu/codec/platform dais. + +- link-name: + Usage: required + Value type: + Definition: User friendly name for dai link + += CPU, PLATFORM, CODEC dais subnodes +- cpu: + Usage: required + Value type: + Definition: cpu dai sub-node + +- codec: + Usage: Optional + Value type: + Definition: codec dai sub-node + +- platform: + Usage: Optional + Value type: + Definition: platform dai sub-node + +- sound-dai: + Usage: required + Value type: + Definition: dai phandle/s and port of CPU/CODEC/PLATFORM node. + +Example: + +audio { + compatible = "qcom,apq8096-sndcard"; + qcom,model = "DB820c"; + + mm1-dai-link { + link-name = "MultiMedia1"; + cpu { + sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>; + }; + }; + + hdmi-dai-link { + link-name = "HDMI Playback"; + cpu { + sound-dai = <&q6afe HDMI_RX>; + }; + + platform { + sound-dai = <&q6adm>; + }; + + codec { + sound-dai = <&hdmi 0>; + }; + }; +};