From patchwork Wed Oct 2 02:20:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Klimov X-Patchwork-Id: 833998 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 20FEDCEF17A for ; Tue, 8 Oct 2024 14:21:48 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 07BD1B60; Tue, 8 Oct 2024 16:21:36 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 07BD1B60 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1728397306; bh=/4OzswiX65Sc0g0+jbX5ZOydAN10emdJ5kCChBhnLgc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=NyxQJFgzDbIDejXEYiKVCVtx5Zbm2VnhEZsmqahZGelIzBGJQ+6C3hNHj93EdTnmE H8KqDhpkHsh3wrTQM0oRs6rMa7SomzrdbuYMtHqgqE5d8JrOBuRwkMN3cd9NfTTg// 16ohcLo4ocLgCrybJyqsaR2Vsy0L5Ts1lFkNxk/k= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 9DF97F805FA; Tue, 8 Oct 2024 16:20:48 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 64621F80600; Tue, 8 Oct 2024 16:20:48 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id BAA6EF80517; Wed, 2 Oct 2024 04:20:23 +0200 (CEST) Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id F18CDF80104 for ; Wed, 2 Oct 2024 04:20:21 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz F18CDF80104 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=kimSBLao Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-a7a843bef98so893328466b.2 for ; Tue, 01 Oct 2024 19:20:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1727835621; x=1728440421; darn=alsa-project.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=qULz6qGLbMOUjMR5vVv1AH2Pj+Ui9tcw2zEInfPNef0=; b=kimSBLaoQl7gVdBVrGZc8fGEASyij2M35n63AEBQKs7yc81L5kr6ukBquIRkTpml20 blFbkPsICDW0XitlT/fEmz5L5JRmv3XMhMhPBy2FoIJ8euouYqmAacvM+vC/uPUDakwt HkYAnBDF420n9UR/JIUWigdnmc7IkWmJigZuq6KrAwfdmGjtpzhUtyYvSTpUS9FfmwYa qStGP0Ahm7GEEKIK9ve/FmxbQpsm+3zQO7AQl+x3/y4Lryw15lRnQiLyD+ks0OOCRGpY loEGLmrzGXkAKd/H7Q5vsqhybfMWS8ZJgq1vz1AxgQvjPtoQlQpYhii99dILZuWGrRi4 9A7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727835621; x=1728440421; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qULz6qGLbMOUjMR5vVv1AH2Pj+Ui9tcw2zEInfPNef0=; b=pZAH7FdTYpDSHNBkKniwKnrmkSuqDMR3QdB1t1/OQ0TwJNzugVnC6InKiPslKmZMxP tkjf2pBZGMLChXeeUwKgLkz/Tfmn1w5C1T45WF96gERO8JJ/Qnnxi84god44ncZqJmkH jdphFPdNISr64AAOVXc0rqtt2JDQOLuF90EUeepdjZUg9m9TjWe8/Avxwmef2leMMBHr RvYZdSACbiplrVrKWhZ6YgGeceSulNf9NVoyTKHaPU7Aslr2MFP58tmV8rbe/aMgdHlS bc1FW+oxVWFSwiLA5tWO2NvZiBskrphI0UTCGHQvd22hj/oE+oqZc91ugjyp1tFeXj+Z j6Ew== X-Forwarded-Encrypted: i=1; AJvYcCUt/RhMJzqJVk1MAPZDkB7X/gp7B0ucH7aRu61dfwgD42vA4nUoFFTfqeecBenAWOp8uuNUeR8pWSDB@alsa-project.org X-Gm-Message-State: AOJu0YxLPxjkL5ImyYUwGB1C7OsGnSeKaui7Kx3T07Yui9VPBcLeOiFa /gc7vPCtwo2xkxXTD1QEtXuAcrnA5NZfQP10+eS+fmTn0qlO9XPpt83hhWP9Bys= X-Google-Smtp-Source: AGHT+IGE1xKkXbjGlYr68N6L4QY5x/jSLWNeq4c/fQ8oGKGTVtK4Gvl9c5GnBJX1hBRWwC0HCq1myA== X-Received: by 2002:a17:907:25cb:b0:a8d:2e3a:5303 with SMTP id a640c23a62f3a-a98f8295ed5mr139129766b.39.1727835620710; Tue, 01 Oct 2024 19:20:20 -0700 (PDT) Received: from localhost.localdomain ([2.125.184.148]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a93c2945f2esm787518866b.117.2024.10.01.19.20.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Oct 2024 19:20:19 -0700 (PDT) From: Alexey Klimov To: linux-sound@vger.kernel.org, srinivas.kandagatla@linaro.org, bgoswami@quicinc.com, lgirdwood@gmail.com, broonie@kernel.org Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, perex@perex.cz, tiwai@suse.com, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, elder@linaro.org, dmitry.baryshkov@linaro.org, krzysztof.kozlowski@linaro.org, caleb.connolly@linaro.org, linux-kernel@vger.kernel.org, a39.skl@gmail.com, alexey.klimov@linaro.org Subject: [PATCH v2 1/7] ASoC: dt-bindings: qcom,sm8250: add qrb4210-rb2-sndcard Date: Wed, 2 Oct 2024 03:20:09 +0100 Message-ID: <20241002022015.867031-2-alexey.klimov@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241002022015.867031-1-alexey.klimov@linaro.org> References: <20241002022015.867031-1-alexey.klimov@linaro.org> MIME-Version: 1.0 X-MailFrom: alexey.klimov@linaro.org X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1 Message-ID-Hash: JXAAPKHLMLIFYUB3XDQNBTQGUEQBEJRV X-Message-ID-Hash: JXAAPKHLMLIFYUB3XDQNBTQGUEQBEJRV X-Mailman-Approved-At: Tue, 08 Oct 2024 14:20:35 +0000 X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Add adsp-backed soundcard compatible for QRB4210 RB2 platform, which as of now looks fully compatible with SM8250. Signed-off-by: Alexey Klimov --- Documentation/devicetree/bindings/sound/qcom,sm8250.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml b/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml index 1d3acdc0c733..2e2e01493a5f 100644 --- a/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,sm8250.yaml @@ -30,6 +30,7 @@ properties: - qcom,apq8096-sndcard - qcom,qcm6490-idp-sndcard - qcom,qcs6490-rb3gen2-sndcard + - qcom,qrb4210-rb2-sndcard - qcom,qrb5165-rb5-sndcard - qcom,sc7180-qdsp6-sndcard - qcom,sc8280xp-sndcard From patchwork Wed Oct 2 02:20:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Klimov X-Patchwork-Id: 833628 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B1721CEF17C for ; Tue, 8 Oct 2024 14:22:03 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 9B401828; Tue, 8 Oct 2024 16:21:51 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 9B401828 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1728397321; bh=h+nCwsYfs5sYx3LuwElbokrzjS36O6h6OKiN8mmmqqo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=lOvIJKNtByIhzDDaB4aJ1xTEtaBpRgrmCfJnEZju5uZLd+YRHnGl/TkVERUyFaW2c AijEA7fzX5UilD4fHkZNhETb+zlG9Q5Q1SSrA5IACbEaiZSJu8ZDhbI8VwjSrqIaDv 69omfqPq6dG/X0tpbW8q+29vokOxqSDLuHh+J5KE= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 5F91EF8061C; Tue, 8 Oct 2024 16:20:53 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 6B40EF80618; Tue, 8 Oct 2024 16:20:52 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 20834F8057A; Wed, 2 Oct 2024 04:20:25 +0200 (CEST) Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 5AB3EF8001E for ; Wed, 2 Oct 2024 04:20:23 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 5AB3EF8001E Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=yJ2frU3s Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-5c42f406e29so8514157a12.2 for ; Tue, 01 Oct 2024 19:20:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1727835622; x=1728440422; darn=alsa-project.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=n9xIAfbz7fjBNidtmDjZcASh4YKSIa46CQvlQ26gYQA=; b=yJ2frU3shbOCLOxvXqZpIcdpd2tasfSRDCGmc8Zv7mZZ+Dre81RpQhgN4XZyLkLBKc c40TEtfa1z8uW3dgAc4/EwIM/YTJgStyUPBf77I6MRYltwPpRWtgWVGCqTqk7B39rS8W rllUrT/PwvaAsQkyCZxKgHSkNvLdw1Qx4ADPdb2vfg042rVNnZ4ZmnUnL8w7HPHxgRuO 6HJ4c2d3fYW6GLIp5hphauEgccsj/htMdx71ovU7LxAf7dBNrPbKN4ijv5kK2aNWkx8h PO4Aey/srggjMPqxCjgjwEnt3dZ9fo/+HvAZWetqJ68wg5RR/PVb8tpc5IBOUbFAamie z66g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727835622; x=1728440422; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=n9xIAfbz7fjBNidtmDjZcASh4YKSIa46CQvlQ26gYQA=; b=PUBjrbGiKA5LTfd4uwOMQJA4we0GDZ3Ap/Eqn9hNrKRr1uP1yaBXz8xb3+qRH6dHEg qefNnYwgjfO0+tqL0iZbqWm9/RWRIsxti8hYnVHO/9ojJe2FVjEcIFaEurn70hhXUOBl lv/ebGL/IY138IGlbA4ADnFUBUoVvKjM9PhCDCTR5tORHEkR/65JPB7n6Ze8di3qD/Fm 4U73UyIeLjYNYsaTmUzzdgzelgh2YbltXKACCHgtmr6SVe3A29Qsjbjkv4Cygcy7QV+2 b4Phm98w5GqssOgwCKcnzmPbmWTPrlaf6DKFhcSeBBg+WgUjTqglTw4QVIw4dGYKwoft 8mNQ== X-Forwarded-Encrypted: i=1; AJvYcCV0Cr7CUvXRpYbJlBQBoGq96WekmgeKht0FlRENvqVxgKpc0k0rbDtf3osDesXH2j77JU8F/GG84U0m@alsa-project.org X-Gm-Message-State: AOJu0Yw+yzetKPrDLjuCLrJApuxMx7NmFotHTXX0l38aI3EG7cp2i3FM WwQ768wjQuHha3G4dAw3J56+xkqZtsb5io2no1yBcq3FltoGzS0Ekb7N38wdZxo= X-Google-Smtp-Source: AGHT+IFLmq+2mwLJhF5wcOOkF3bdVL/ltt9sQiXECke/uv9VIlvSNZdfCfyEy1s8dICY8l0J/ILy0A== X-Received: by 2002:a17:907:268c:b0:a86:82e2:8c6d with SMTP id a640c23a62f3a-a98f839d3ccmr130606766b.62.1727835622420; Tue, 01 Oct 2024 19:20:22 -0700 (PDT) Received: from localhost.localdomain ([2.125.184.148]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a93c2945f2esm787518866b.117.2024.10.01.19.20.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Oct 2024 19:20:21 -0700 (PDT) From: Alexey Klimov To: linux-sound@vger.kernel.org, srinivas.kandagatla@linaro.org, bgoswami@quicinc.com, lgirdwood@gmail.com, broonie@kernel.org Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, perex@perex.cz, tiwai@suse.com, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, elder@linaro.org, dmitry.baryshkov@linaro.org, krzysztof.kozlowski@linaro.org, caleb.connolly@linaro.org, linux-kernel@vger.kernel.org, a39.skl@gmail.com, alexey.klimov@linaro.org Subject: [PATCH v2 2/7] ASoC: qcom: sm8250: add qrb4210-rb2-sndcard compatible string Date: Wed, 2 Oct 2024 03:20:10 +0100 Message-ID: <20241002022015.867031-3-alexey.klimov@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241002022015.867031-1-alexey.klimov@linaro.org> References: <20241002022015.867031-1-alexey.klimov@linaro.org> MIME-Version: 1.0 X-MailFrom: alexey.klimov@linaro.org X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1 Message-ID-Hash: 62C5PGWGNFLDIRU3LTNNAEJMABPYWYRN X-Message-ID-Hash: 62C5PGWGNFLDIRU3LTNNAEJMABPYWYRN X-Mailman-Approved-At: Tue, 08 Oct 2024 14:20:35 +0000 X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Add "qcom,qrb4210-rb2-sndcard" to the list of recognizable devices. Signed-off-by: Alexey Klimov Reviewed-by: Dmitry Baryshkov --- sound/soc/qcom/sm8250.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/qcom/sm8250.c b/sound/soc/qcom/sm8250.c index 274bab28209a..19adadedc88a 100644 --- a/sound/soc/qcom/sm8250.c +++ b/sound/soc/qcom/sm8250.c @@ -174,6 +174,7 @@ static int sm8250_platform_probe(struct platform_device *pdev) static const struct of_device_id snd_sm8250_dt_match[] = { {.compatible = "qcom,sm8250-sndcard"}, + {.compatible = "qcom,qrb4210-rb2-sndcard"}, {.compatible = "qcom,qrb5165-rb5-sndcard"}, {} }; From patchwork Wed Oct 2 02:20:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Klimov X-Patchwork-Id: 833997 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BD92FCEF17C for ; Tue, 8 Oct 2024 14:22:21 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id F2F70825; Tue, 8 Oct 2024 16:22:09 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz F2F70825 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1728397340; bh=LOfadXrLg7ZRoN+A8CWVlfI8ytsXadkatDmRlJNEVAg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=jpw5y4LMeUsGGUp70NAI7F6C68XmiS2b7hm9Sjp8KswVVzOBIRZPfRqvJuLHpja1U UxqNXztP1OJBCgYXbXTPhNPbVhSL3hMlQtASlbiG7caEtn/EaHt6SdPSowujMg80yT sMw4iUiFpG7iVzevs3JZbz2PvagytZxXxX99Zx8I= Received: by alsa1.perex.cz (Postfix, from userid 50401) id C57ADF80623; Tue, 8 Oct 2024 16:20:58 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 50AD0F80635; Tue, 8 Oct 2024 16:20:58 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id EDC0EF8059F; Wed, 2 Oct 2024 04:20:27 +0200 (CEST) Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 3BBF6F8057A for ; Wed, 2 Oct 2024 04:20:25 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 3BBF6F8057A Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=D7GanSzY Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-5c42f406e29so8514187a12.2 for ; Tue, 01 Oct 2024 19:20:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1727835625; x=1728440425; darn=alsa-project.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=OCYOTM8/0Ug4V9lj8bQNm7elnTCjMFp7xXGYdHTDU3c=; b=D7GanSzY/jcO78RqTyrbiJpvPzwuJBA/n77Um+VD9RDBOtp05W3LhDeGh2GsXijxlh ggZlcJ66kd5lxHqESj6mBnXaUaqUR8gWSl1nEyo2ltWMnRrQd4rEGUWhfnPsATM1C5w0 Z1xHWzbrUxnyIz3UchGwmQmGWBSLSeDtS928spmkcJmkP5ATUdzuUIJf/CFf5oDIoM20 d8gZ7ikdcy8GFP2BcYI1doLrHgdvseoKanmsdIuOkRq62dvWE4W6N/VSSp2JDTwGC3rc SUz2zTHOQug5fcfr7YA+2pm7DiCqTB1rFJ31LtSvjM6Km/K9PX3EeD7q1Uc0T1pwfX74 nXaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727835625; x=1728440425; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OCYOTM8/0Ug4V9lj8bQNm7elnTCjMFp7xXGYdHTDU3c=; b=wceVcsb+oqJD/7Symqv4qeKLASGUIQofBaixArtkvS2okjIErDc9cqG/XCMlzbwFQm Pp2c4NElXXL94i6MF2g+WklP8QmDONQiABn+lxcxc4E1t7DEkfex9Lp8VT5Y4W4e4PoY Yh1HSyrbnFcQFlDSDq3jI7WM6khnYST/GjpzBfuFcws4KIbwMf2ixi5XWh3mSmOX+Zn0 tqZhZPuLws+Y086m5rj1nmPMwHacssn8NE7/OO+eBqYaFFCwm0mRJQD1YjUVH7YDGNt9 9UPhRakXr49tMLL1ujxRGfirlWZMdQa0vwk2jOj0a/QhTdC8C09cxkhmtKkkqOXJ0Ugr EWTA== X-Forwarded-Encrypted: i=1; AJvYcCW9i6HCL4FsdsJkf1WuqYi9ptli4U/6PTJnucJJyhcU9bzmBIrQMw5m7fd/E0HA1YLkB6+St9yXXSlW@alsa-project.org X-Gm-Message-State: AOJu0YxQ+GwGMZPF+Dib0tqV1QoXfE1nxBDEWElo/gv+OW31gHX5Kxku E+fysKyjAR9H4ac9WDdJ/fKonO98vjKkVmfeZW3NRMaBPi2t9QcfUa+Hys8oiMU= X-Google-Smtp-Source: AGHT+IG+Q/gURHat1q3AUvb0+GovkmpG4ajTJTbVyAEb1VAT3Jst29VyqLUHNkKFUyiefEeDXTOUcg== X-Received: by 2002:a17:906:99c5:b0:a7a:9144:e256 with SMTP id a640c23a62f3a-a98f8213366mr125224866b.6.1727835624893; Tue, 01 Oct 2024 19:20:24 -0700 (PDT) Received: from localhost.localdomain ([2.125.184.148]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a93c2945f2esm787518866b.117.2024.10.01.19.20.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Oct 2024 19:20:23 -0700 (PDT) From: Alexey Klimov To: linux-sound@vger.kernel.org, srinivas.kandagatla@linaro.org, bgoswami@quicinc.com, lgirdwood@gmail.com, broonie@kernel.org Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, perex@perex.cz, tiwai@suse.com, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, elder@linaro.org, dmitry.baryshkov@linaro.org, krzysztof.kozlowski@linaro.org, caleb.connolly@linaro.org, linux-kernel@vger.kernel.org, a39.skl@gmail.com, alexey.klimov@linaro.org Subject: [PATCH v2 3/7] ASoC: qcom: sm8250: add handling of secondary MI2S clock Date: Wed, 2 Oct 2024 03:20:11 +0100 Message-ID: <20241002022015.867031-4-alexey.klimov@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241002022015.867031-1-alexey.klimov@linaro.org> References: <20241002022015.867031-1-alexey.klimov@linaro.org> MIME-Version: 1.0 X-MailFrom: alexey.klimov@linaro.org X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1 Message-ID-Hash: OPRJ5YDSVRCUE7YV22B4R5K3XC7OVWKC X-Message-ID-Hash: OPRJ5YDSVRCUE7YV22B4R5K3XC7OVWKC X-Mailman-Approved-At: Tue, 08 Oct 2024 14:20:35 +0000 X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Add handling of clock related to secondary MI2S_RX in sm8250_snd_startup(). Signed-off-by: Alexey Klimov --- sound/soc/qcom/sm8250.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sound/soc/qcom/sm8250.c b/sound/soc/qcom/sm8250.c index 19adadedc88a..8776c35a98df 100644 --- a/sound/soc/qcom/sm8250.c +++ b/sound/soc/qcom/sm8250.c @@ -63,6 +63,14 @@ static int sm8250_snd_startup(struct snd_pcm_substream *substream) snd_soc_dai_set_fmt(cpu_dai, fmt); snd_soc_dai_set_fmt(codec_dai, codec_dai_fmt); break; + case SECONDARY_MI2S_RX: + codec_dai_fmt |= SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_I2S; + snd_soc_dai_set_sysclk(cpu_dai, + Q6AFE_LPASS_CLK_ID_SEC_MI2S_IBIT, + MI2S_BCLK_RATE, SNDRV_PCM_STREAM_PLAYBACK); + snd_soc_dai_set_fmt(cpu_dai, fmt); + snd_soc_dai_set_fmt(codec_dai, codec_dai_fmt); + break; case TERTIARY_MI2S_RX: codec_dai_fmt |= SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_I2S; snd_soc_dai_set_sysclk(cpu_dai, From patchwork Wed Oct 2 02:20:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Klimov X-Patchwork-Id: 833627 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8902ECEF17A for ; Tue, 8 Oct 2024 14:22:40 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id C3B72850; Tue, 8 Oct 2024 16:22:28 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C3B72850 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1728397358; bh=KJ/XBCfRYMGGmoGw6pT+HzGpgHNM0HqU+ZU6WmeHwTA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=K5GHlh5Ca6qEmSNOV3TSKZ9rB37UeXYYov4P1lDdrc66IM2L+ERjK2vIaMnmX5Njp xjh9wi4D4XbjWztCx13PBSutbPDVfG/XLr4IXSSey72UmhUl/c/kAZ6B9sDWCyciMY ZLOjHLF5nCI0FHv3LVgtNJ3mf5C9QkwBngvK/kR8= Received: by alsa1.perex.cz (Postfix, from userid 50401) id AFB92F80688; Tue, 8 Oct 2024 16:21:02 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 30434F8068D; Tue, 8 Oct 2024 16:21:02 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 8D729F80536; Wed, 2 Oct 2024 04:20:30 +0200 (CEST) Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id C3C3BF8001E for ; Wed, 2 Oct 2024 04:20:28 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz C3C3BF8001E Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=eWz0kp9n Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-a8a6d1766a7so106980166b.3 for ; Tue, 01 Oct 2024 19:20:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1727835627; x=1728440427; darn=alsa-project.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=O6tt3oG2r1wMqarycN8kg/XqfelGZiLqlb3bl/K/iuU=; b=eWz0kp9nzzMqC1uPZpRUmvBq6/tX32XoJh5RdCfwpBzhM4u8yzif1FT5MgARmhyX9j CaD9/NPBsFuLzfeibQbUbrntLQy2e+ypHE8BrrFwyQHbRZjGzyA1t6DOsgc8zdIeNRwW ObSNXB4//HfWLyZgBh7XF65CqU/OKN3TQj9V4GL4UB7stNuK5A6dsRlyQB2o2EuZM9eo W97zTg64ghAzkyR/YniwLBSH61HEMchV/+FbUMHQsIGLoj9MicfRUF1oxpwleDJU0nR8 N/lkp5XExTOTr76LXmJ8f0v6+ZLoUmcTzL3papF6I326VGzA8PotuB0B+rj9HAd1J6fN g8pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727835627; x=1728440427; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=O6tt3oG2r1wMqarycN8kg/XqfelGZiLqlb3bl/K/iuU=; b=Xo0Of7lqo5I5P4B+YwCSX9PdaCs9hAAij+MDyCVcavtgpXBwNtUVruyShqT7gPK6pv 05QVG1JEmFEJ/hXsyblj6Kg9cBCIUdS/D2jZOb+kRNlZ5w6uG8q0FDgt64DRkw+EzXMx x4sr1Q/VdnYmbNSso+sjieKHCmYtVuiufklIRatNb3Mo8ZrNSId33XW+3p9wNwSml9YF Jl2oJqSfYstNkXPnYViZYbHnF3X1csphQz8O2hC8sS2K0kRMEWFTR9wui4AyT4hGmINO CMMMGG+xBD3uYvQfTjVYBENFFWMMwmbX9DJiEc0sX5bLKPrQ0lcApU3I1oJoP2CxTfEL HFBQ== X-Forwarded-Encrypted: i=1; AJvYcCVrpn4Rukr5B2yfLPvpQg2KEEvUWoD8PKVxYOSYz7LorCQiO8D3YpeFepw97UPnjzPSZ4q7ebj6QrbU@alsa-project.org X-Gm-Message-State: AOJu0Yya2Pm/8wUgV5GuR8/HdUGxkVve6dzj7TBHrEHwNTm9KKJ/tl3T wm79EuC1v3auIwgL0UszaA14bvnUIjIj/NNU11j/PbDN5h4FCC9FeSi117+i9hM= X-Google-Smtp-Source: AGHT+IF7DSxO6S/zg0dV87J7CmDUxTyQGbSW2llz09R6q945EHLqQDNzRVtWVZkaJVui3r1JoBLxgg== X-Received: by 2002:a17:907:848:b0:a7a:b4bd:d0eb with SMTP id a640c23a62f3a-a98f823904amr119175766b.24.1727835627397; Tue, 01 Oct 2024 19:20:27 -0700 (PDT) Received: from localhost.localdomain ([2.125.184.148]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a93c2945f2esm787518866b.117.2024.10.01.19.20.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Oct 2024 19:20:26 -0700 (PDT) From: Alexey Klimov To: linux-sound@vger.kernel.org, srinivas.kandagatla@linaro.org, bgoswami@quicinc.com, lgirdwood@gmail.com, broonie@kernel.org Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, perex@perex.cz, tiwai@suse.com, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, elder@linaro.org, dmitry.baryshkov@linaro.org, krzysztof.kozlowski@linaro.org, caleb.connolly@linaro.org, linux-kernel@vger.kernel.org, a39.skl@gmail.com, alexey.klimov@linaro.org Subject: [PATCH v2 4/7] arm64: dts: qcom: sm6115: add apr and its services Date: Wed, 2 Oct 2024 03:20:12 +0100 Message-ID: <20241002022015.867031-5-alexey.klimov@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241002022015.867031-1-alexey.klimov@linaro.org> References: <20241002022015.867031-1-alexey.klimov@linaro.org> MIME-Version: 1.0 X-MailFrom: alexey.klimov@linaro.org X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1 Message-ID-Hash: YOJ7PDBUEXVOH63GI7PNIWLL3KQVUOYC X-Message-ID-Hash: YOJ7PDBUEXVOH63GI7PNIWLL3KQVUOYC X-Mailman-Approved-At: Tue, 08 Oct 2024 14:20:35 +0000 X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Add apr (asynchronous packet router) node and its associated services required to enable audio on QRB4210 RB2 platform. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Alexey Klimov --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 72 ++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index 41216cc319d6..b211a49982d6 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -14,6 +14,8 @@ #include #include #include +#include +#include #include / { @@ -2701,6 +2703,76 @@ glink-edge { qcom,remote-pid = <2>; mboxes = <&apcs_glb 8>; + apr { + compatible = "qcom,apr-v2"; + qcom,glink-channels = "apr_audio_svc"; + qcom,domain = ; + #address-cells = <1>; + #size-cells = <0>; + + service@3 { + reg = ; + compatible = "qcom,q6core"; + qcom,protection-domain = "avs/audio", + "msm/adsp/audio_pd"; + }; + + q6afe: service@4 { + compatible = "qcom,q6afe"; + reg = ; + qcom,protection-domain = "avs/audio", + "msm/adsp/audio_pd"; + q6afedai: dais { + compatible = "qcom,q6afe-dais"; + #address-cells = <1>; + #size-cells = <0>; + #sound-dai-cells = <1>; + }; + + q6afecc: clock-controller { + compatible = "qcom,q6afe-clocks"; + #clock-cells = <2>; + }; + }; + + q6asm: service@7 { + compatible = "qcom,q6asm"; + reg = ; + qcom,protection-domain = "avs/audio", + "msm/adsp/audio_pd"; + q6asmdai: dais { + compatible = "qcom,q6asm-dais"; + #address-cells = <1>; + #size-cells = <0>; + #sound-dai-cells = <1>; + iommus = <&apps_smmu 0x1c1 0x0>; + + dai@0 { + reg = ; + }; + + dai@1 { + reg = ; + }; + + dai@2 { + reg = ; + }; + }; + }; + + q6adm: service@8 { + compatible = "qcom,q6adm"; + reg = ; + qcom,protection-domain = "avs/audio", + "msm/adsp/audio_pd"; + q6routing: routing { + compatible = "qcom,q6adm-routing"; + #sound-dai-cells = <0>; + }; + }; + }; + fastrpc { compatible = "qcom,fastrpc"; qcom,glink-channels = "fastrpcglink-apps-dsp"; From patchwork Wed Oct 2 02:20:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Klimov X-Patchwork-Id: 833996 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A2D25CEF17C for ; Tue, 8 Oct 2024 14:22:55 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id EE609828; Tue, 8 Oct 2024 16:22:43 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz EE609828 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1728397374; bh=ric+SLdIOtDdMn/bjY4ZV6JUUhcdjPFI79OUCHUnDgs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=RMZV2RbhF6yv5x6GuFDvZ9Ah7pry4gQsK6DuYPjKWUKQzInfOGcL5wX3NzCkb7RTv 9Lz32wL8a6YOXT1VsxvblJLUxWLLZK2MY7cRhm7gHk+z8zQqBTn2QOA6EoL1PhLGDu ogGGCWkQmdY9tBP7k5ulwyxH0PSm6HhOwAzY/89A= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 8726DF80698; Tue, 8 Oct 2024 16:21:05 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 4B880F8069F; Tue, 8 Oct 2024 16:21:05 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 06E1CF80508; Wed, 2 Oct 2024 04:20:32 +0200 (CEST) Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 5D50BF8001E for ; Wed, 2 Oct 2024 04:20:29 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 5D50BF8001E Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=vZMoUZGH Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-a86e9db75b9so1140355566b.1 for ; Tue, 01 Oct 2024 19:20:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1727835629; x=1728440429; darn=alsa-project.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=LIw3pjujevMfYCBuBjwX4+AVabirKPTZ9D57CaVG3PI=; b=vZMoUZGHXliC3Fic1lac6q/SiuCN7fCZwxRf6syY7R1Zh2uRjhS8/X+ohX/UEH+DGo c+d4gYECNIRMSdZWHR10TaQ3HxDO0cekxYKrgY/P+3mNod2p/0Qo29FTVo8WzSFiHbI8 1BetKE73vVM1snbVPoH/pGGfEV3Ebjlvwvzd+qr53Y/8bMHA0FKcCCDA6srCxQfRYQWK wRZ3z8HoEXAE4Hu1LqjhDsmaSjDDDZNjPNbC0VJLsWhcuTOkdG82d3m5h98pCNKWTPdv WudwmvUfyRvRsQ8QHNxvB3liZFlE4Q6M3+JUS4Bn0EKa8uig/rZ7UR3+z+A7paUSTbxs AYxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727835629; x=1728440429; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LIw3pjujevMfYCBuBjwX4+AVabirKPTZ9D57CaVG3PI=; b=GuwoDSqzDQfCbQCwA6YQ6pRI232LritxQXxrd0CCBu1YIi4a6TJ7ZZYGXpITK4hwmW t8D7YGiBzXoliSRq9jvtIb3S0keJdZr/ZQqMGQunImU3f/cpwS7kAqxNu9GY2LCUARVt Vwx2aMLOy0pQunCBlM/lydoPs14sVqR9bU4vbpr0kmh1DkmB6wzm5CdWlvtvP04tIZDm KGkF5WbABk86AAaasbzkgYWls+BCTm2Kfi05IGN5ivQQIAXIg9YHMA6rS7ygYH+iD3XO F55yaLfcOzb96JbxmC7nziK4Bo6Bgnhsm1sPpWDb/BQkvrJPy+BC5TQLbGCcA0vFw722 vMCA== X-Forwarded-Encrypted: i=1; AJvYcCXDegl+phNUJOxE/WmWv1eD4NYYYKpVOqp2M3JoVzmtkoFKlzIZWumr/9h+LTRHk88mwxanZI0b3c1W@alsa-project.org X-Gm-Message-State: AOJu0YwH7UFgwowtiE8uOBN563PJRfrYe27Uky7xgYFGA1lYvBy5dQGJ AMoZvwisndb8mtZe1PlNILloha33aYwek/zbdSsLm+2Ea+TIDbmqmUxnIovuakA= X-Google-Smtp-Source: AGHT+IEVv1yZPyk7AlihJhG5VqeeKRdBXm8rwVDjskcD7VkJNBZU1ibp+Au9f/NNatFh5EVKsuyquQ== X-Received: by 2002:a17:907:7da0:b0:a80:f358:5d55 with SMTP id a640c23a62f3a-a98f824f579mr132293266b.33.1727835629204; Tue, 01 Oct 2024 19:20:29 -0700 (PDT) Received: from localhost.localdomain ([2.125.184.148]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a93c2945f2esm787518866b.117.2024.10.01.19.20.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Oct 2024 19:20:28 -0700 (PDT) From: Alexey Klimov To: linux-sound@vger.kernel.org, srinivas.kandagatla@linaro.org, bgoswami@quicinc.com, lgirdwood@gmail.com, broonie@kernel.org Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, perex@perex.cz, tiwai@suse.com, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, elder@linaro.org, dmitry.baryshkov@linaro.org, krzysztof.kozlowski@linaro.org, caleb.connolly@linaro.org, linux-kernel@vger.kernel.org, a39.skl@gmail.com, alexey.klimov@linaro.org Subject: [PATCH v2 5/7] arm64: dts: qcom: sm4250: add LPASS LPI pin controller Date: Wed, 2 Oct 2024 03:20:13 +0100 Message-ID: <20241002022015.867031-6-alexey.klimov@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241002022015.867031-1-alexey.klimov@linaro.org> References: <20241002022015.867031-1-alexey.klimov@linaro.org> MIME-Version: 1.0 X-MailFrom: alexey.klimov@linaro.org X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1 Message-ID-Hash: WKQ7MTGFJECKWVOSKRR6VQHNGNJJHW4R X-Message-ID-Hash: WKQ7MTGFJECKWVOSKRR6VQHNGNJJHW4R X-Mailman-Approved-At: Tue, 08 Oct 2024 14:20:35 +0000 X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Add the Low Power Audio SubSystem Low Power Island (LPASS LPI) pin controller device node required for audio subsystem on Qualcomm QRB4210 RB2. Signed-off-by: Alexey Klimov --- arch/arm64/boot/dts/qcom/sm4250.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm4250.dtsi b/arch/arm64/boot/dts/qcom/sm4250.dtsi index c5add8f44fc0..37c0e963e739 100644 --- a/arch/arm64/boot/dts/qcom/sm4250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm4250.dtsi @@ -3,6 +3,7 @@ * Copyright (c) 2021, Iskren Chernev */ +#include #include "sm6115.dtsi" &CPU0 { @@ -36,3 +37,18 @@ &CPU6 { &CPU7 { compatible = "qcom,kryo240"; }; + +&soc { + lpass_tlmm: pinctrl@a7c0000 { + compatible = "qcom,sm4250-lpass-lpi-pinctrl"; + reg = <0x0 0xa7c0000 0x0 0x20000>, + <0x0 0xa950000 0x0 0x10000>; + + clocks = <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>; + clock-names = "audio"; + + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&lpass_tlmm 0 0 26>; + }; +}; From patchwork Wed Oct 2 02:20:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Klimov X-Patchwork-Id: 833626 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3E97BCEF17C for ; Tue, 8 Oct 2024 14:23:12 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 493EB851; Tue, 8 Oct 2024 16:23:00 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 493EB851 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1728397390; bh=VK3mA+AhP1mrvIRSe3pu3j8qw4QKvKCuPM781iHQdpE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=BT9eJ09uPQM589/6OH7yvoBequIBuPWrUhPA3mGP8R82kzKgMHCHpedUmTArPnSV0 b9clIsAV4ajX0gN7dp+C5HJiNK6YmVF/yr1H0MbZ9oaKqGS/iXOLNnJxMNK8oBLBUo hC5dcpldqpIX88T4tXUk3WflBpb0W1oCo2uN0cQ8= Received: by alsa1.perex.cz (Postfix, from userid 50401) id CE907F806BA; Tue, 8 Oct 2024 16:21:10 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id C630BF806C0; Tue, 8 Oct 2024 16:21:09 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id AE768F80536; Wed, 2 Oct 2024 04:20:35 +0200 (CEST) Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id F1A2FF80518 for ; Wed, 2 Oct 2024 04:20:33 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz F1A2FF80518 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=vBvIAva5 Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-a8d6ac24a3bso71592266b.1 for ; Tue, 01 Oct 2024 19:20:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1727835633; x=1728440433; darn=alsa-project.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=MzwSX8KKGAPRaj5lljRiy6wNpS+zMVuqbW0wkWepzfk=; b=vBvIAva5u+61WwZ9GLIkccCk4LsquA5h/aeQJcGyHyNStLFPKF9AdTjkClR43e5a/r oz1u7aji/1wpLZnejzOeDd1tsRjdHhsf9FYo6GwYgAGl0mPnq7zZAhAV41nj2WUTCQsZ bXOLhBR1mVlBdafaL1kvUF01FEvJ2ZN7RTbD2DS3VTJk3OpI0ndptO3aJimCKzJCEmQy fK8SrWVmjwAvEFBGIplj5Okxkdj3vD5WxK5QsUPnEJx6hOodqKasXYTLlUwT0fdK13/d W3FB1jdQ1tsSoVs88JUYMoIzz5k7+YQ7jSvt0YIHq//x2Y/DXcEqJ9HnA3W2Z/CP8eQz vdag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727835633; x=1728440433; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MzwSX8KKGAPRaj5lljRiy6wNpS+zMVuqbW0wkWepzfk=; b=kcguX3/eMDKsPTt0tS2X0NBTf5f1cDPni8PCdKYrjone+1WsZGjv3H/S6bCLKlzw01 TsruJ3Chwgui6CtzibfcNuEVkkHHm6qcgIyvuM6XOLY2MAsTv79E7SH+007UpabZsuPF 8iMTMn2sRKfwHdCbu0PKi+0ZSKKXqRl6JdlqrrkWFetfyIUafyB21bEpd4eKBu9EI3AE AKB6arXWqA4A9UTpecU6gainbBVDZZyFgJLoyquJpqWkNtH8DbobTozYE248jSEH1V8A KJuvf1d6xtstNw6rA2cXxSbXi7B82BxZSA11OrrXxSCJLa8u3CRKsAAdxO3Zw9n4ljfE su8g== X-Forwarded-Encrypted: i=1; AJvYcCUnEOWl8AMWgvbV2YdJUI66tpq20kOssEAigkxC+ZU8EO9mgj7Y/sNV9GCYuGn9gWq7KajfZc7rWM6g@alsa-project.org X-Gm-Message-State: AOJu0YwppaxZj4J2jewB+QAKK057U6N+RTfGHYyZDh6aZzz3SH13XWbI P+LZjmRPU7oJSJH7W4k9nkUWB6R8hPZPzqvwOblmNj8Tj2xJnIHrQC9OoR4LCs8= X-Google-Smtp-Source: AGHT+IGZ5ivi7b3Y/1bXAvJ8gbbuRZ08q/qwpCO5zK4rpaNumj2OK1NNdOIgEbMH7T44U5eW8iMtBQ== X-Received: by 2002:a17:907:3ea8:b0:a8d:2bc7:6331 with SMTP id a640c23a62f3a-a967c0b46bemr535600666b.27.1727835632904; Tue, 01 Oct 2024 19:20:32 -0700 (PDT) Received: from localhost.localdomain ([2.125.184.148]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a93c2945f2esm787518866b.117.2024.10.01.19.20.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Oct 2024 19:20:31 -0700 (PDT) From: Alexey Klimov To: linux-sound@vger.kernel.org, srinivas.kandagatla@linaro.org, bgoswami@quicinc.com, lgirdwood@gmail.com, broonie@kernel.org Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, perex@perex.cz, tiwai@suse.com, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, elder@linaro.org, dmitry.baryshkov@linaro.org, krzysztof.kozlowski@linaro.org, caleb.connolly@linaro.org, linux-kernel@vger.kernel.org, a39.skl@gmail.com, alexey.klimov@linaro.org Subject: [PATCH v2 6/7] arm64: dts: qcom: qrb4210-rb2: add description of lpi_i2s2 pins Date: Wed, 2 Oct 2024 03:20:14 +0100 Message-ID: <20241002022015.867031-7-alexey.klimov@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241002022015.867031-1-alexey.klimov@linaro.org> References: <20241002022015.867031-1-alexey.klimov@linaro.org> MIME-Version: 1.0 X-MailFrom: alexey.klimov@linaro.org X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1 Message-ID-Hash: TGK64LXFIL7JCXTI2CWAGTHRQ3ZDUE54 X-Message-ID-Hash: TGK64LXFIL7JCXTI2CWAGTHRQ3ZDUE54 X-Mailman-Approved-At: Tue, 08 Oct 2024 14:20:36 +0000 X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: This is required to enable to HDMI audio playback on QRB4210 RB2 board. Signed-off-by: Alexey Klimov --- arch/arm64/boot/dts/qcom/qrb4210-rb2.dts | 36 ++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts b/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts index 1888d99d398b..7731681688d5 100644 --- a/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts +++ b/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts @@ -634,6 +634,42 @@ sdc2_card_det_n: sd-card-det-n-state { }; }; +&lpass_tlmm { + lpi_i2s2_active: lpi-i2s2-active-state { + sck-pin { + pins = "gpio10"; + function = "i2s2_clk"; + bias-disable; + drive-strength = <8>; + output-high; + }; + + ws-pins { + pins = "gpio11"; + function = "i2s2_ws"; + bias-disable; + drive-strength = <8>; + output-high; + }; + + data-pins { + pins = "gpio12"; + function = "i2s2_data"; + bias-disable; + drive-strength = <8>; + output-high; + }; + + ext-mclk1 { + pins = "gpio18"; + function = "ext_mclk1_a"; + bias-disable; + drive-strength = <16>; + output-high; + }; + }; +}; + &uart3 { interrupts-extended = <&intc GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>, <&tlmm 11 IRQ_TYPE_LEVEL_HIGH>; From patchwork Wed Oct 2 02:20:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Klimov X-Patchwork-Id: 833995 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 212E5CEF17C for ; Tue, 8 Oct 2024 14:23:29 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 5533E826; Tue, 8 Oct 2024 16:23:17 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 5533E826 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1728397407; bh=ULS7v19diYZOA4yWMObow1IhNGxKdw920LDv9hjWWKc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=lO8YtY0PJHsoxlEYHVJaUyqZtxh12nTM7wbirhMR9GfURBPXiau6uPge++1FoAbWg ezqbFLnV2vFkpG4U13CG80pDUYbfhFCgrd+1bjIJ7IgGehc8yFAxJycNNGsVNgDUqV 8DO4hVehu5yO/9aPd9FrkF0LmXPv2CcI8OqntT10= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 5C5AFF806DF; Tue, 8 Oct 2024 16:21:13 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 7F6C8F806CE; Tue, 8 Oct 2024 16:21:13 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 9C26CF80517; Wed, 2 Oct 2024 04:20:38 +0200 (CEST) Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id CA97DF800C9 for ; Wed, 2 Oct 2024 04:20:36 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz CA97DF800C9 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=E5/6wvL0 Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-a7a843bef98so893348166b.2 for ; Tue, 01 Oct 2024 19:20:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1727835636; x=1728440436; darn=alsa-project.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=W/fecHAusQTSWcNvNWVR1JO2nQmW0cI1ww9wmHUrbrs=; b=E5/6wvL09CWQgQb1zmqa2X1hXsBM0NrrMPwAPYGTYuyMSPz/+ufB8JQ+nyjnvVAIc+ Sy3ENOTT4uF8hLzQhH+GoMGA0kQsbaE3NQhvhmh2G22RBiswUXjclcxpKLzUvrxe7V48 HvswAn9H60VFNk++qWML88WwLxPGmaSxnvDZrEUHoXB+JAvZhhdL+n4pK02tLPA+IiTl vpV2tTkdi69xmoYIeJ0moofcdA3tt6SF4ShyHkOueMz/t0CcWKQcWqtyJJ/gYaio/hNs M8uEnIZPTgrTKIzmqNk0Z+4tMPy92xNgcXXnyLlcIMJKoiUeclOZVmMtis6wKBu4c3Cd 6nPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727835636; x=1728440436; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=W/fecHAusQTSWcNvNWVR1JO2nQmW0cI1ww9wmHUrbrs=; b=CwmyTpGxyjBIbl9R3wK0+60G9ySnmAiARWKzxT0rE4JiY1vR3UnrY20/g/mDBjqjss vJtFFcSgUQd3K/+hv5N40WIwSHGWXaGTIr49bFA+aTHdRMQ+inPKjzzxiH4Ewl5fPuxH b23YYnYtMWRxOxR0arbPBtqS7ismrY/w5F2fY4IgmbP0JTCdFo3reqr5bMBq2o+FRlSq Bo5N8iiYg0627v1V7H5sAFy0fo772LR/84jlMPT5DQGnPR7z1qCIv9o4mKU6pc1id/aE ly3ZEDkI0Io6VRrIAOBaogRvx7gjfkqDXQR38Ud1CdK7FrpOE3j0CQyJ+fjrjtiJsA0N XtDg== X-Forwarded-Encrypted: i=1; AJvYcCXbo2tUmnPR0OOSpRpI/0DONg1DsxCYcmva6c17GIT0KThh94A1cRjzg/Q6PEEVFEN+C3W97+d2WVUP@alsa-project.org X-Gm-Message-State: AOJu0YxS8nKzLskCEU00y1W8n+nuBWKdF3bEHobKe1aT6u/3qNgzmFK3 wY2Jlu6ZM3O5eyTuAUxkVsr0JS3KW7PPHfq0kboezfdZo4fJtmsalDoiYDlp8w4= X-Google-Smtp-Source: AGHT+IGSWbnUX5pepZAtcaQL9h+8bQ2G+ar2GaP4ub1B1kbGdQfmXR5BpalUGXI74HFkbN9vCYhdIQ== X-Received: by 2002:a17:907:6e92:b0:a86:79a2:ab15 with SMTP id a640c23a62f3a-a98f83d7a73mr142020366b.40.1727835635620; Tue, 01 Oct 2024 19:20:35 -0700 (PDT) Received: from localhost.localdomain ([2.125.184.148]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a93c2945f2esm787518866b.117.2024.10.01.19.20.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Oct 2024 19:20:34 -0700 (PDT) From: Alexey Klimov To: linux-sound@vger.kernel.org, srinivas.kandagatla@linaro.org, bgoswami@quicinc.com, lgirdwood@gmail.com, broonie@kernel.org Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, perex@perex.cz, tiwai@suse.com, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, elder@linaro.org, dmitry.baryshkov@linaro.org, krzysztof.kozlowski@linaro.org, caleb.connolly@linaro.org, linux-kernel@vger.kernel.org, a39.skl@gmail.com, alexey.klimov@linaro.org Subject: [PATCH v2 7/7] arm64: dts: qcom: qrb4210-rb2: add HDMI audio playback support Date: Wed, 2 Oct 2024 03:20:15 +0100 Message-ID: <20241002022015.867031-8-alexey.klimov@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241002022015.867031-1-alexey.klimov@linaro.org> References: <20241002022015.867031-1-alexey.klimov@linaro.org> MIME-Version: 1.0 X-MailFrom: alexey.klimov@linaro.org X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1 Message-ID-Hash: 4TEEDEGUQ6MUMILOP5A7QEWEPHEJ3HG3 X-Message-ID-Hash: 4TEEDEGUQ6MUMILOP5A7QEWEPHEJ3HG3 X-Mailman-Approved-At: Tue, 08 Oct 2024 14:20:36 +0000 X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Add sound node and dsp-related piece to enable HDMI audio playback support on Qualcomm QRB4210 RB2 board. That is the only sound output supported for now. Signed-off-by: Alexey Klimov --- arch/arm64/boot/dts/qcom/qrb4210-rb2.dts | 55 ++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts b/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts index 7731681688d5..b8bc4452ca48 100644 --- a/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts +++ b/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts @@ -6,6 +6,8 @@ /dts-v1/; #include +#include +#include #include #include "sm4250.dtsi" #include "pm6125.dtsi" @@ -103,6 +105,51 @@ led-wlan { }; }; + sound { + compatible = "qcom,qrb4210-rb2-sndcard"; + pinctrl-0 = <&lpi_i2s2_active>; + pinctrl-names = "default"; + model = "Qualcomm-RB2-WSA8815-Speakers-DMIC0"; + audio-routing = "MM_DL1", "MultiMedia1 Playback", + "MM_DL2", "MultiMedia2 Playback"; + + mm1-dai-link { + link-name = "MultiMedia1"; + cpu { + sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>; + }; + }; + + mm2-dai-link { + link-name = "MultiMedia2"; + cpu { + sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA2>; + }; + }; + + mm3-dai-link { + link-name = "MultiMedia3"; + cpu { + sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA3>; + }; + }; + + hdmi-dai-link { + link-name = "HDMI Playback"; + cpu { + sound-dai = <&q6afedai SECONDARY_MI2S_RX>; + }; + + platform { + sound-dai = <&q6routing>; + }; + + codec { + sound-dai = <<9611_codec 0>; + }; + }; + }; + vreg_hdmi_out_1p2: regulator-hdmi-out-1p2 { compatible = "regulator-fixed"; regulator-name = "VREG_HDMI_OUT_1P2"; @@ -318,6 +365,14 @@ &pon_resin { status = "okay"; }; +/* SECONDARY I2S Uses 1 I2S SD Lines for audio on LT9611 HDMI Bridge */ +&q6afedai { + dai@20 { + reg = ; + qcom,sd-lines = <0>; + }; +}; + &qupv3_id_0 { status = "okay"; };