From patchwork Wed Apr 18 15:31:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 133652 Delivered-To: patch@linaro.org Received: by 10.46.66.142 with SMTP id h14csp36851ljf; Wed, 18 Apr 2018 08:37:26 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+FFCH4e0opxbnDOLbiMZg7KCfY2oBSi/2+HZmeyJ/AjUCu6t4b887vDRL1ApDd9h9sk8e2 X-Received: by 10.99.4.88 with SMTP id 85mr2156023pge.156.1524065845844; Wed, 18 Apr 2018 08:37:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524065845; cv=none; d=google.com; s=arc-20160816; b=WzPSkKUVm1J/7ops420st2lFQdemDU7iRDvVJ9/TBTvIMmGSVN+ei/MzEK0jmgR+p/ XATR8He9bhbxjGz/WYwQAH/VokZNBP9actZsK7A8RstiIZjRQRAZ3y8p0FTTvSHxi3eO wIrKFi/kYF+54HnHhZen6qTH5A9/TUaHQndr0p0N39nrbcNVSmPwYgXW+TjTEPx8kM4W eHPBmQRDrwmHc66LwSZmCg4mqnzREr/+O2Qnr0u82qjEfWYbKcNvLF0u04xyHXKB4dk0 g+ttSH0dTK4FM5k4J7sElHmfQ/6c563968vAuyGuc/JesIY1r9+5Oxkndkf0Z8ohfWJZ A5Kg== 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=XaHBWgy3j0+Y7G9ortinpn5q73PgbiSR1+PZ2JymhGQ=; b=wE3Podr/NDdhLoIgQK1HK3B20Yovs7Fu023p4Vyc0zj0L0wsBiIjkbmtygSIRXicgY yrzx6NHK9mGCPj4QPina2VwVCU8/+0VLWm8hSJAeFuP2XpiUMxvu1Nqlon0hd7LiUX8z /jmuun0nQ9IIc22pOMg1BfvhAUqHfvLX5COxmO4pYLsCk1f/lIEqz9Ffn6wuMJev+HN6 1ET/bGRbwKXJJK2BaSSa/Ytn98UkNc9Um/w211A457vdglNdXnZPIVnqw5Kf5F1w6/cQ SgSl9VE1GMl7XhtynC1Vtm9/R9pYneJIjU/EoyfHndrJYWU0juR74yTOV4MML40E3Xpo myTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hFVRCNeL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (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 q9si1200699pgp.669.2018.04.18.08.37.22; Wed, 18 Apr 2018 08:37:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hFVRCNeL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753924AbeDRPhF (ORCPT + 29 others); Wed, 18 Apr 2018 11:37:05 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:40306 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753690AbeDRPgZ (ORCPT ); Wed, 18 Apr 2018 11:36:25 -0400 Received: by mail-wr0-f194.google.com with SMTP id v60-v6so6043386wrc.7 for ; Wed, 18 Apr 2018 08:36:25 -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=XaHBWgy3j0+Y7G9ortinpn5q73PgbiSR1+PZ2JymhGQ=; b=hFVRCNeL5sqNeiR5Oao5/CS7Vqvdm7+ZBRv7YN3wZZpTvd3emOS8KS3nvgbJNrMKY5 HJUZHv1PrgLXfyLRdaT9FP3+xm7/vILUMyyTbA++CSEUNQzVAVavjXltSByPukTSgtqh IJjbwT+n2AW6sIThJk4lcAtE3mHW/4NJVe29E= 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=XaHBWgy3j0+Y7G9ortinpn5q73PgbiSR1+PZ2JymhGQ=; b=ticKxBU6z9DaJOVtHQs5RoXy18aSdldkFeByCLNdjwpKdRXJ/r6GGhaOqYWu871KsO U6ikn5fbgiAZWYJxglkmyvM4KGbdZDMPWiAiU632gyyw035m9Ri+UZ4umGw89wJwDZf7 pAstMjXOu4zfiNNiaH5pBsv/vaQkdEjGuR/fXABLLcTfCx+9xWCK1DG43kbk2XR/aiDV tBOLeIemlREiBqi/lPcZ4TzjdDd1yLw7oEzRPBbLOD6tGu7mq8RivE5v9qTshbyg6/4r ggetqcgadt+DzGPkNfRrwCBKaCNGPk++726L82Y2oDGq1MkiWcxkAkLoWbeHHGmsyvyP 8+HQ== X-Gm-Message-State: ALQs6tAGjA3NLrXALXbPd1WaBFQrp/nxeGzaI7CBB/9ZiR+eh+WCjGV5 C/9XTmgkVrZAubuNN9V26xPtXg== X-Received: by 2002:adf:b2f4:: with SMTP id g107-v6mr2076983wrd.205.1524065784367; Wed, 18 Apr 2018 08:36:24 -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 x67sm2529314wma.23.2018.04.18.08.36.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 18 Apr 2018 08:36:23 -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 Cc: gregkh@linuxfoundation.org, david.brown@linaro.org, mark.rutland@arm.com, lgirdwood@gmail.com, plai@codeaurora.org, bgoswami@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 v5 21/23] ASoC: qdsp6: dt-bindings: Add apq8096 machine bindings Date: Wed, 18 Apr 2018 16:31:55 +0100 Message-Id: <20180418153157.1960-22-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180418153157.1960-1-srinivas.kandagatla@linaro.org> References: <20180418153157.1960-1-srinivas.kandagatla@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 | 76 ++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,apq8096.txt -- 2.16.2 diff --git a/Documentation/devicetree/bindings/sound/qcom,apq8096.txt b/Documentation/devicetree/bindings/sound/qcom,apq8096.txt new file mode 100644 index 000000000000..37e23d926b95 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/qcom,apq8096.txt @@ -0,0 +1,76 @@ +* 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: + += 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>; + }; + }; +};