Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp4197383rwb; Mon, 16 Jan 2023 19:59:16 -0800 (PST) X-Google-Smtp-Source: AMrXdXvRPs6OWuRGQWeGodoNPOrjif0s3tid75Fa5awpGbk1NXW9OidNSXX0PGzLZOi/VdGjPfry X-Received: by 2002:a17:90a:4814:b0:229:4ec8:b8df with SMTP id a20-20020a17090a481400b002294ec8b8dfmr1024801pjh.37.1673927956558; Mon, 16 Jan 2023 19:59:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673927956; cv=none; d=google.com; s=arc-20160816; b=LPkE3wccCl03AfKyr4rW/0iEeZTM9pPw24VVDiIVkDBwi1C7QvN0TSNmWrBqqNaH7c HMY26taoFdzj9gEnpKlV+2zBI8gFZM2tf1ma1JMPpdzI3jGzGOKs6I2V7Gnmrenhvfc+ EIKvFE/TzTlc7fxUBEX6AOLSn5QlkuG4ORTEeC67mmhN9tPBEV00P43BjOHYVSP8q2Rd LTa05WzgWVQ1ZPoS6K8uTy57BWjigZJY/yv/3zCJVUyAvjG77chVTWr5L53S90gCfei8 awbbS0XgHLXrxwemvJfUw+QFPhpGGnXAYA7WXkYxT0OLiQFm4m4+oLvR5UY5tXadioc1 oKxQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=ci0ShutkyKqbRS5y4WPW5+YhID9YQTVWD129Yl/CGkY=; b=Phpnikhkz0/HP5j1eiBJuIgw9AnfmdSFJekrnNuSP9dTddgHiIhcujewwVgQToLJ4M rNfOa15YvSNVuOUvScgr1HFfHxqMz5kzJRlxDVGAGbXeADwNJpzZVqEy7AQgkr2GPIDD MIv+qIQcd+RiwCTZlo/mmzNpmZaNd7aaap9cJakwtJn3WGJXtcbDtAOUkm46uF9wb5Nb YY2mqRInVJV2urkz+231IKbXo6/JXEeq3vRn8qQGWHa21plgEOrWaYLxcGdhI/6WGvD2 i5Hq2T9y9iA1P1tc2wDnwqf5mkyxOVLhoWN1BXtMpQL0c4djHHYwTBBMQSuxqusZXryw jXcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=QjjequB+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i2-20020a17090ac40200b00219f65e19fcsi32940529pjt.170.2023.01.16.19.59.10; Mon, 16 Jan 2023 19:59:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=QjjequB+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235781AbjAQCuG (ORCPT + 49 others); Mon, 16 Jan 2023 21:50:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235591AbjAQCtt (ORCPT ); Mon, 16 Jan 2023 21:49:49 -0500 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE2CB3346C for ; Mon, 16 Jan 2023 18:42:56 -0800 (PST) Received: by mail-pl1-x635.google.com with SMTP id d3so32103036plr.10 for ; Mon, 16 Jan 2023 18:42:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ci0ShutkyKqbRS5y4WPW5+YhID9YQTVWD129Yl/CGkY=; b=QjjequB+bplNYxUEtGQzwSjo9+VvYNN/XhKvzZM0XlamFEbJs90Tth5t1TD3XAzRJz JIvQGcRMwo0hwiH373b81nt6gPyhXwCWqvWLp2DM1FxT/KdKXTIdLWTaU8ICEMu7xpQd 5sceRvnB1/uFx94inIZAolVq0Pu95Ag3afa4A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ci0ShutkyKqbRS5y4WPW5+YhID9YQTVWD129Yl/CGkY=; b=8GptYfj1VVQ9K91gGW/3Oa0my321NH1uC2GHgSeMpGK3d2Ih+8dRJP2+oZhkEl9Q3Q 2f6HFe6KnIb3C0CFG25vWV9QwYER1QkQgXv81irEmy26ZLvRG0pbaOB0NXCWD9ydkQfX zVGlCA1e5AIGk7KINCRbhT1GHuH+dKijZ08fC25pH33AHCrIB+n02ud6SEj2lrFTc92z yw81WcfIT+WVmzB0xqavcf5hdVcQXLkjbBOiz1ZERC57EEJOuMX8lw9L1dyvego+0DR7 wqymChUxkLhrHq1MwAyGVUDX9Z3mFRMxyi4qRPAzlvWG6JbiCk+rPAgE2cQZVbxI+IZi duLQ== X-Gm-Message-State: AFqh2kpWSklR75bvDYkudMnP8TdcvOwP5vF9xfcNddpRDCta3GjCn+RD s3oZk9kKNTmS9yE7/OCh+vSZxA== X-Received: by 2002:a17:902:7b85:b0:193:3bf7:40e6 with SMTP id w5-20020a1709027b8500b001933bf740e6mr735478pll.53.1673923364863; Mon, 16 Jan 2023 18:42:44 -0800 (PST) Received: from judyhsiao0523.c.googlers.com.com (21.160.199.104.bc.googleusercontent.com. [104.199.160.21]) by smtp.gmail.com with ESMTPSA id e2-20020a170902784200b0017d97d13b18sm19958534pln.65.2023.01.16.18.42.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Jan 2023 18:42:44 -0800 (PST) From: Judy Hsiao To: Andy Gross , Douglas Anderson , Matthias Kaehlcke Cc: linux-kernel@vger.kernel.org, Rob Herring , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, Bjorn Andersson , Judy Hsiao , Konrad Dybcio , Krzysztof Kozlowski Subject: [PATCH v3] arm64: dts: qcom: sc7280: add display port audio Date: Tue, 17 Jan 2023 02:42:36 +0000 Message-Id: <20230117024236.1442437-1-judyhsiao@chromium.org> X-Mailer: git-send-email 2.39.0.314.g84b9a713c41-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 1. Add DisplayPort sound node and lpass_cpu node. 2. Adjust the dai-link order to make the order to be consistent with sc7280-herobrine-audio-rt5682-3mic.dtsi. Signed-off-by: Judy Hsiao --- Changes in v3: - Add more detail in the commit message. Changes in v2: - Fix the commit message format. .../qcom/sc7280-herobrine-audio-rt5682.dtsi | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sc7280-herobrine-audio-rt5682.dtsi b/arch/arm64/boot/dts/qcom/sc7280-herobrine-audio-rt5682.dtsi index af685bc35e10..69e7aa7b2f6c 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-herobrine-audio-rt5682.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280-herobrine-audio-rt5682.dtsi @@ -33,9 +33,22 @@ codec { }; dai-link@1 { - link-name = "ALC5682"; + link-name = "DisplayPort"; reg = <1>; + cpu { + sound-dai = <&lpass_cpu LPASS_DP_RX>; + }; + + codec { + sound-dai = <&mdss_dp>; + }; + }; + + dai-link@2 { + link-name = "ALC5682"; + reg = <2>; + cpu { sound-dai = <&lpass_cpu MI2S_PRIMARY>; }; @@ -92,6 +105,10 @@ dai-link@1 { reg = ; qcom,playback-sd-lines = <0>; }; + + dai-link@5 { + reg = ; + }; }; /* PINCTRL - ADDITIONS TO NODES IN PARENT DEVICE TREE FILES */ -- 2.39.0.314.g84b9a713c41-goog