Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp250641lqb; Tue, 28 May 2024 14:35:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWP5Cmfy/ZhJTjFtn+E1gG1MjBnxftt8+K9r3C7FIZeB5hjr1lpCV3OrUZZ7+oGAPI8w0rhnk1Z1QYagqdJoiXJaReg1uzRxMmG/xIZ/Q== X-Google-Smtp-Source: AGHT+IHdYkRFSRgWrA0IVl0dxT4GpfhKkYGSj8XK/u28NNcnSFyWZU0723CCoG99q9du+NPxzHhK X-Received: by 2002:a19:6912:0:b0:51d:998e:e0c1 with SMTP id 2adb3069b0e04-5296410ad52mr9031649e87.13.1716932128749; Tue, 28 May 2024 14:35:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716932128; cv=pass; d=google.com; s=arc-20160816; b=igEVXnc+8AZ3FJbLJNzD5n3cvHLwB4AVG9wBlcBqSbsDB3qmbFHHJwj/VAh4yQ4SRk 6lcmz8qQEfdCC0xzGi+IdXL32YhNbDXlOWZ53NInu3MdTrGzTbcY6S/euquf/2n/GqKm O+V70Y6LUtJzCEvkLp7JdvI6oupn5DYNP7X63yydtW+V4/1ijfDp07qMOoLLM9Jbe4I+ Vtrnhwxb0+FIZdZoU0c/y7Hu1hGWm/tA5nQIiGqenRVDf2I9IIxN3p2HtD2+Pu2m3yXc gh0OCryPZ8mwifHWRkD5u2moXPQEQja0Cm5KaIvXDJWrmlYCA5915uPS/IE3M3JLBoTL ujIQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=7TA4oOMYaqrcZzc7eSOgXWKb9tVi3DKC1TznPtnp1iY=; fh=HM9oXyp4OVZFzbFYHVciKFuuapHH4VrCkFOj4/gwQ10=; b=c9AozmpwD8yl4xJlxPqOwJ8QKValN4+/wqqR/FMXOAbYpgChDU9A9YA3pmvFcTvf9p pd4m/L8L3ZXbZlTIleXjRKO6rP4se51ODNHkpQ89iJiRhAIk8H1cFS3hOcEw5hvRYskM KHHABEwBdwuX9YQcov1PlhJrXy0vT7SSWvjt2Vl2Fz8WrNxzecrboKnJUqlAenOe+ntE ZJiuxPt5KWWHnHC4RkAws76DeJ1CeQeCsaKNfKWWGfqVPNXllg2rsnOrtQiZVsqy4/Um 2KrYczUGK3mWATJ7cdNeQn1lySWYvTlFre/Ro4ZeB3aohvbEGm5jYQnonmuilGwSkKJn 5TZA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oeU4xdkR; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-193123-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193123-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a62e487d1d5si306840966b.24.2024.05.28.14.35.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 14:35:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-193123-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oeU4xdkR; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-193123-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193123-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 750CD1F26C35 for ; Tue, 28 May 2024 21:35:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D9EA417BB2C; Tue, 28 May 2024 21:35:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="oeU4xdkR" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EC5BF17B4FA; Tue, 28 May 2024 21:35:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716932119; cv=none; b=h3Y7+YmkgL3bOOA9kvM1/fR1etxkHuEeCxOkBrVjPvWjq19Z10vqnIV9TjrzdOXIcdgmBmmYTkvB8sfVBbCUK2hCbDbI+6XdlkVCcfYzuv2fkqxa5BbPJ0Ksm+7LW4+H5sWyLz7KYfpz+X6tHJq/ueMUQdpa9tf/SRF5jAdjKtw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716932119; c=relaxed/simple; bh=TTH6TAAHwNlQVXAyaogzfwBqkN2ZRzQ1G1pQrDnBJck=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=aeXVN7Ij9eTczx8gKgJKkJhw9Bg4owjBXNNwT62ZXCO+81hSxxmVhy0zI61H5KSsz2owPW++lfM+me+ND92wJQ7cyTIyQA8P3CkOvamgVbCjgrqf659E8xCo9VrNGMfEQtFWf8b4pv/XLQcfbNtVZPa/7f6eus1vVS6Pz9uqWFA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=oeU4xdkR; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 912C7C3277B; Tue, 28 May 2024 21:35:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716932118; bh=TTH6TAAHwNlQVXAyaogzfwBqkN2ZRzQ1G1pQrDnBJck=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=oeU4xdkRJ3X0RbaYEe79r7B1TPu84xeNqYBWKsrZxaMGxOC4XE9s7C/4kRLbJ0Aj0 XEchBORaoDtvvgb/RDIptSSPBfgAUX9UqhFd0E3frxQikLwi35DH0omy5OuCWh3TAH 0AxyXUmioNEpY0e4njH2E969CC7mvkf7YrMRz95tLZcaFXhwbXHiR7zMbvzgeX27SE fB12XzBMONchtmgAdH5sX+VDItHOlyPPDiv+A3Xcwre/07lWvk5CoQ9Cy2ojvuTg8u dkHdk9P65p7TglO/ZnmRyItggxNKVv+eGGzavQ/HF3CKHFhc/2EZ1Fp/fqch2jBKqw su59ULvI41eOw== Date: Tue, 28 May 2024 16:35:15 -0500 From: Bjorn Andersson To: Luca Weiss Cc: cros-qcom-dts-watchers@chromium.org, Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Srinivasa Rao Mandadapu , Mohammad Rafi Shaik , ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH DNM 2/2] arm64: dts: qcom: qcm6490-fairphone-fp5: Add DisplayPort sound support Message-ID: References: <20240510-sc7280-apr-v1-0-e9eabda05f85@fairphone.com> <20240510-sc7280-apr-v1-2-e9eabda05f85@fairphone.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240510-sc7280-apr-v1-2-e9eabda05f85@fairphone.com> On Fri, May 10, 2024 at 02:27:09PM GMT, Luca Weiss wrote: > Add the required nodes for sound playback via a connected external > display (DisplayPort over USB-C). > > Signed-off-by: Luca Weiss > --- > Depends on a bunch of patches upstream doing bringup of Display (DSI), > DisplayPort, GPU, and then finally audio could land. But we're blocked > on DPU 1:1:1 topology for all of that unfortunately. > > And also machine driver for sound just exists a bit hackily. Thanks for sharing this, Luca. Can you please resubmit this once it's ready to be merged, so that I don't need to keep track of it? Regards, Bjorn > --- > arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 36 ++++++++++++++++++++++ > 1 file changed, 36 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts b/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts > index 05bbf1da5cb8..2bbbcaeff95e 100644 > --- a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts > +++ b/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts > @@ -14,6 +14,8 @@ > #include > #include > #include > +#include > +#include > #include "sc7280.dtsi" > #include "pm7250b.dtsi" > #include "pm7325.dtsi" > @@ -774,6 +776,12 @@ &pon_resin { > status = "okay"; > }; > > +&q6afedai { > + dai@104 { > + reg = ; > + }; > +}; > + > &qup_spi13_cs { > drive-strength = <6>; > bias-disable; > @@ -847,6 +855,34 @@ &sdhc_2 { > status = "okay"; > }; > > +&sound { > + compatible = "fairphone,fp5-sndcard"; > + model = "Fairphone 5"; > + > + mm1-dai-link { > + link-name = "MultiMedia1"; > + cpu { > + sound-dai = <&q6asmdai MSM_FRONTEND_DAI_MULTIMEDIA1>; > + }; > + }; > + > + displayport-rx-dai-link { > + link-name = "DisplayPort Playback"; > + > + cpu { > + sound-dai = <&q6afedai DISPLAY_PORT_RX>; > + }; > + > + platform { > + sound-dai = <&q6routing>; > + }; > + > + codec { > + sound-dai = <&mdss_dp>; > + }; > + }; > +}; > + > &spi13 { > status = "okay"; > > > -- > 2.45.0 >