Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp5682644rwb; Tue, 17 Jan 2023 17:30:55 -0800 (PST) X-Google-Smtp-Source: AMrXdXu+gmLiuOZpdNNja23ICv+PidcLGzeKxUDBx9GOXTIcnChKQryyCcNAHeAbdPQOFQd3YedZ X-Received: by 2002:a05:6402:4cd:b0:46c:8544:42be with SMTP id n13-20020a05640204cd00b0046c854442bemr5108017edw.5.1674005454925; Tue, 17 Jan 2023 17:30:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674005454; cv=none; d=google.com; s=arc-20160816; b=M73DYo572Q4tAwscBdmBFMRQQGJHXpt5fb8MivJqej8AnICK7+/AB34NvNyTVr7Ern qKvZttASAT0Dz1MRvQD+mVSWvw+4dtj7FuPepiwr+Ap1Ex2ZRDbpW4dWG0uw39NRDD9S w67TJb7PLKjhMegoai44nCO6KzA/g/gEXF2lp6+pSVNUbNhD22EApQZRgUevn9Xnk1xj FZybzrmiG06B6Fu9k9/V8596Al0F26NG4aiixXyXtuzITPWNw+RJZFSDvMSywoalEi1y m8MJeuxPi4uoZEd1HqaKCNBNVJHUkENUyUA5xKVeaxtDSrzF7jwIubqPRRnv70NjqTpw MrQw== 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=yM0/ZgSXnPriP0s8Td7ncf1X5xesw5ro9ypu77r/PK0=; b=O73NK37uk/znVolVWrVFx8RBwjWvHxK792pFUxYSH+ONV5fDmZNTQp8S3BrKQeJmWp GGA61dEBA3WNwu8JMUPPcIqmspfozz+1zlNONf4CmDKyP3lFKwYohkiePVkupuntwCci o6jQDF0onAPGYVjcW2lXlAE9h/DC9ddh8FkL/5LCC3+JUARk7XmUTNUo34cLHqHbTa2+ 7bT9WEsOLWybyvMn1J2RcRPSG3AkB/HHZyi0u++9/vcfHwN31kmC5GAorkEW7dS8NqJT o25t7B+gKkCN7pa7kKqk6JsTEAO0WBxQDWnoyaMhtIswYnJbwkFgqN7miNKOsF8+nUcn DATQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=BV117Kzh; 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 z1-20020a05640235c100b0049e2dbaeb16si5653014edc.570.2023.01.17.17.30.43; Tue, 17 Jan 2023 17:30:54 -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=BV117Kzh; 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 S229605AbjARBVa (ORCPT + 46 others); Tue, 17 Jan 2023 20:21:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229550AbjARBVO (ORCPT ); Tue, 17 Jan 2023 20:21:14 -0500 Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9841135BC for ; Tue, 17 Jan 2023 17:19:02 -0800 (PST) Received: by mail-pj1-x102d.google.com with SMTP id x2-20020a17090a46c200b002295ca9855aso741788pjg.2 for ; Tue, 17 Jan 2023 17:19:02 -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=yM0/ZgSXnPriP0s8Td7ncf1X5xesw5ro9ypu77r/PK0=; b=BV117Kzh2UJo/RZBiMP4OXZU4kXp8mdi48JKZJMLPFMihgNhZzPzqYbkUzLWDXY6Lb vAf8PqLlTxrCEba2lMkeotanIM/+dubx70HNK40Jd1vYL16+29poPIqIo6w0Ih6RcmFC UzNMr/URPmE2+wiXJ+R2ECli2yQmt5dzyAjUk= 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=yM0/ZgSXnPriP0s8Td7ncf1X5xesw5ro9ypu77r/PK0=; b=U5PMGFVFJAVTPuUI6IJkALdlvOt9PZn5E0/mk9IL9hVM99pFHFD81JWbNOAgvcMF3m YuSAf3rQ6yga7Gj60AXz766BBNK9+cEHfFDvNp5fXJOzxhpd6ylRUePgPXo7udXdNAJR 9qrnrf6DOymzOUPn4vBP5SZI2xIFObIrNvUt4GW17B1SM6XMaxRVr+ySsXRu4H/su00w nAdTloSXRFLElvrrT3JEbhx3XnJX79ZDdUz9364ghb8GxcoHXPksfwHL9slfTce4JCA0 pSgWhDejAFSe2z/ZZto00OtYGd5P39y7iZyGII0YNGTONB8K/9hhQtroqZsFcP94px9E RSOQ== X-Gm-Message-State: AFqh2ko16pLh0GEQb9WfM6HHU0aw3NLTt7slieBnoUF8V5NX3yVB3gH0 yU3byscPFATisCJq5EVsDieM7w== X-Received: by 2002:a05:6a20:b925:b0:9d:efbf:8156 with SMTP id fe37-20020a056a20b92500b0009defbf8156mr28765714pzb.31.1674004742127; Tue, 17 Jan 2023 17:19:02 -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 b3-20020a63d803000000b00477bfac06b7sm18014600pgh.34.2023.01.17.17.18.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Jan 2023 17:19:01 -0800 (PST) From: Judy Hsiao To: Andy Gross , Douglas Anderson , Matthias Kaehlcke Cc: Rob Herring , linux-arm-msm@vger.kernel.org, Bjorn Andersson , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Judy Hsiao , Konrad Dybcio , Krzysztof Kozlowski Subject: [PATCH v4] arm64: dts: qcom: sc7280: add DP audio to herobrine rt5682 1-mic dtsi Date: Wed, 18 Jan 2023 01:18:53 +0000 Message-Id: <20230118011853.1614566-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 Reviewed-by: Douglas Anderson --- Changes in v4: - Fix the subject. 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