Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3351837pxj; Mon, 7 Jun 2021 08:33:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzb88aQLJYo2IAVNXDeEq+54k3vLVHMnH4N4iXAoEqixldnFN7YPv6hLKdpD+j5fX058G/T X-Received: by 2002:a17:906:af95:: with SMTP id mj21mr18716901ejb.25.1623080029668; Mon, 07 Jun 2021 08:33:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623080029; cv=none; d=google.com; s=arc-20160816; b=n2Kys8+gIWV9ro18YCghC+XSQkly9jgjHUBPw6+YQNJOWVAbGO7YXmGhligmywqgdH vw/BWXCputrhhNnxBV8VOub3JKOCeFbZmhKt6paqJ8NXdoKdc9YGYMlzg3Xd5GFZ1vjw dFhnzypwqT2WVM0WBVHKiUTu9qJr+qLyjcw4J5tIQ4fbnTsU1CTJhGqRV82inTuuneK5 L3YJN8dcQB8jbNjzg6ME1lk793HDH/6M5QuW/HewWHxlkpltP4alT+wsvOqwSdwEKIf/ ubpN2pyygwHxQapGcztcTncsA8OCq8+CKfhlx+JDGAXGpf46+e/70GYuNWkpfFhjhbEO EcrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=lzk4lCLmAXbNCfDcTx4wmKLjACEaxBk+nh7dbPXaa38=; b=fwlRMnGwhWevSztNz+mlmXJYhv42pO5h74kkY07p/2pgkdRHjOTKJWwLIoy+6HoRal Qb634oKgUitZ350AmKwyKS4W/Qg8rFgCxCamqWXWW9WBfHKY+fMloYkZg5jxu9V66fNK gmB33INi+RlATqv2kAcXoTXe4N1ISAVhIgTfGr33cVzt8SsLgGHlVvApxtUOXuKoJMtg EHERHkc3p/IsW2Leni4L1IF0XM1rdHgp1eEd+RbQ52bP5dtU2anm6tqJvchS+KlufhZS szNFLvlVhsQpBwLdZndcNqN1fC6/Ytwp42Y1HtiHiWxC7mSO4kQ+D009Lf6xPwPkDJiS BL8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UDhiFSqx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id m26si14549198edp.313.2021.06.07.08.33.27; Mon, 07 Jun 2021 08:33:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UDhiFSqx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S230226AbhFGPc2 (ORCPT + 99 others); Mon, 7 Jun 2021 11:32:28 -0400 Received: from mail-wr1-f50.google.com ([209.85.221.50]:46753 "EHLO mail-wr1-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231356AbhFGPcT (ORCPT ); Mon, 7 Jun 2021 11:32:19 -0400 Received: by mail-wr1-f50.google.com with SMTP id a11so16235775wrt.13 for ; Mon, 07 Jun 2021 08:30:16 -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 :mime-version:content-transfer-encoding; bh=lzk4lCLmAXbNCfDcTx4wmKLjACEaxBk+nh7dbPXaa38=; b=UDhiFSqxE1s5YjiU15JeFLbAqZTe5nrAp1XpGXbX3+6iigSEPtlXwzTkvntFfFKvUR CpBxINqcZhWT0UC1sfuoxFLEQRwISz4l/4Eiv4J3HFKjSN8JJTn4d+7SZ+3azQAoxnVh AxmwdoO+fl8Jq+VPXz37aaoKN8tzydm2SBo7HzVGMsl3tfb/UdJ2T/cO8q4jTYYecott QCPxHQ2SW6oWTs0oL1nM8oi6jOmXMtoR1gvlZD4nbeLwiSh5fXpXltWklGS9irK9lX/V WZlzDpgHayq+NoLyEkq675dzef9ZyF/MhtS5y3zUcKPzpZTzxk2P59ioGDKB2+5D2dfy cTIA== 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:mime-version:content-transfer-encoding; bh=lzk4lCLmAXbNCfDcTx4wmKLjACEaxBk+nh7dbPXaa38=; b=SZ04JDYgQ4LNVtYnS08hCouOJqQeH/ojIEJFxeHi9TQpgu0TiL2Z25bVg0I4zOcH7h 25EebQ8qlDA10o18iV0AcVEz8dWtLmzDg1dPgTOIHc0VFRFWu0ZDIl9d6a5opNp7j/aK UJoaUxP2XAjX0/i8O/nVYKpIJnZRSpRpxuKGA1UVBzExlwGbY1Ip3G23MPWrza3UekCV k8mkvus0l35TyLP3Y/pWDSqceVyg+ESum5YcK1Rij82IS+NizHtDt4L6oSQmkwT2r+Ek aE9EffXxzKOlu4D9WMwaH5uNZPQkvT8P8YhFQyUsbTy5jOoGazXkvMZs1i+Yo45jOQOf uv2A== X-Gm-Message-State: AOAM532js7QQGEEGOVoyjhaaSeiwFgXKkFyozIebT/DblNQCOZQWIRZ1 O00G/1eNXI9Kw0Dp2Q9Hnzn7rg== X-Received: by 2002:a05:6000:18a8:: with SMTP id b8mr17320018wri.208.1623079755937; Mon, 07 Jun 2021 08:29:15 -0700 (PDT) Received: from srini-hackbox.lan (cpc86377-aztw32-2-0-cust226.18-1.cable.virginm.net. [92.233.226.227]) by smtp.gmail.com with ESMTPSA id q3sm16370170wrr.43.2021.06.07.08.29.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Jun 2021 08:29:15 -0700 (PDT) From: Srinivas Kandagatla To: bjorn.andersson@linaro.org, broonie@kernel.org Cc: plai@codeaurora.org, tiwai@suse.de, robh@kernel.org, devicetree@vger.kernel.org, perex@perex.cz, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, lgirdwood@gmail.com, bgoswami@codeaurora.org, Srinivas Kandagatla Subject: [RFC PATCH 12/13] ASoC: qcom: dt-bindings: add audioreach soundcard compatibles Date: Mon, 7 Jun 2021 16:28:35 +0100 Message-Id: <20210607152836.17154-13-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20210607152836.17154-1-srinivas.kandagatla@linaro.org> References: <20210607152836.17154-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add compatible strings for AudioReach DSP firmware based soundcards. Signed-off-by: Srinivas Kandagatla --- .../bindings/sound/qcom,sm8250.yaml | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml b/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml index 72ad9ab91832..551f4fe04749 100644 --- a/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml @@ -18,6 +18,8 @@ properties: oneOf: - const: qcom,sm8250-sndcard - const: qcom,qrb5165-rb5-sndcard + - const: qcom,sm8250-audioreach-sndcard + - const: qcom,qrb5165-rb5-audioreach-sndcard audio-routing: $ref: /schemas/types.yaml#/definitions/non-unique-string-array @@ -157,3 +159,44 @@ examples: }; }; }; +#--------------------------- +# AudioReach based dai links +#--------------------------- + - | + #include + sound { + compatible = "qcom,qrb5165-rb5-audioreach-sndcard"; + model = "Qualcomm-qrb5165-RB5-WSA8815-Speakers-DMIC0"; + audio-routing = "SpkrLeft IN", "WSA_SPK1 OUT", + "SpkrRight IN", "WSA_SPK2 OUT"; + + wsa-dai-link { + link-name = "WSA Playback"; + cpu { + sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>; + }; + + platform { + sound-dai = <&q6apm>; + }; + + codec { + sound-dai = <&left_spkr>, <&right_spkr>, <&swr0 0>, <&wsamacro>; + }; + }; + + va-dai-link { + link-name = "VA Capture"; + cpu { + sound-dai = <&q6apmbedai VA_CODEC_DMA_TX_0>; + }; + + platform { + sound-dai = <&q6apm>; + }; + + codec { + sound-dai = <&vamacro 0>; + }; + }; + } -- 2.21.0