Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp870692pxb; Fri, 22 Apr 2022 13:05:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyTezeTwjv7X8QfZLvyY2e0/JpN/P/biTETnYQpVpXAxsRB7jgm6IFHB2hG3IJNzx6ZXp8c X-Received: by 2002:a63:e04a:0:b0:39f:ea06:e203 with SMTP id n10-20020a63e04a000000b0039fea06e203mr5381741pgj.146.1650657927386; Fri, 22 Apr 2022 13:05:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650657927; cv=none; d=google.com; s=arc-20160816; b=TOaBh5RNgNVQFSbcB8bPkecpUSrvGUi6u4agk5vU2Z3EQFOO0b7hPmrEbTxIRKdEMx 7jkTDhgXCDuWIb6919tuVf0GIQ+sM7q+cCQ0rBMcEQBeuAQkLs1IRIpTOzWnIT3aVtr2 FHQVPDUZuO7/CUrqOGaQp6dimeQuvEJaQCnpAFLNvX+s+C2gpbtPLkp7N0h7P+wzcVgz TxkEAU/Fe8VjwKYhxzKRhvyU9CH3kBMaFKNh+Oj3VD/xD4WYsvQfhMjztQSBiVSn0kxE Pk3Zzsof09T9ATY2KRboSCdZoBCNB1uVAg4zrYFTY60V+2wyUVEQGBzr39sYpG/3594D 9kkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=WkdhlTGKvN68SlRLMJdx437G/wIo/jBpfIeJhDG0Jck=; b=qZ+lNMTv0pImDyAXwrqwQIvMpt48ZX+pLnvWSv8UlgP8RTFcfxy1hO9ERBqZQUNpCD LBvDjG+xWyQwG1DDGKUt4PmcpoC1/b2NBgnpgsKt8fZiTXJdNarfJG7a8eyvTmlXDpxv gVIBYS5Y3CgSen/Yq+vxfxkLAB97H2I/sBfS+VfEvDfSYKIZSCD21xuxOMt44JAmNJ5n lQUGmb1TTaNjaJxvE6UqvtHXocARcexNHR960WvYpg1dTOeK8U7xi7XXUmLBcxl1K9/b hchIIcbuG6mruZ83zeZ4SamnD+b9OHbHZqSoPCUWOAvLESU7typLmuil/i9JyOkJPHhR pUPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=g39jc98K; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id s11-20020a170902b18b00b00156a6b13c1esi8543277plr.187.2022.04.22.13.05.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 13:05:27 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=g39jc98K; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1EBC51472E3; Fri, 22 Apr 2022 12:03:08 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231695AbiDUQdy (ORCPT + 99 others); Thu, 21 Apr 2022 12:33:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1390650AbiDUQdl (ORCPT ); Thu, 21 Apr 2022 12:33:41 -0400 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 7002D48E4D for ; Thu, 21 Apr 2022 09:28:53 -0700 (PDT) Received: by mail-pj1-x102d.google.com with SMTP id bx5so5414736pjb.3 for ; Thu, 21 Apr 2022 09:28:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=WkdhlTGKvN68SlRLMJdx437G/wIo/jBpfIeJhDG0Jck=; b=g39jc98KyMqzeT74PT79TxjVzfhAFziSDBuq3v+ZuzvRsVporGEnbMVsRQ1b6C3o5X 54Vr2jaUQIApND2TCOlwd7uaPlyoPFPRpa5ytuI8OzdU9IqVVanwrl/aFYoyA6qIC44R 2rrP+NXlVDCcuyelWumY9NhKgwTvxPswO/qAo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=WkdhlTGKvN68SlRLMJdx437G/wIo/jBpfIeJhDG0Jck=; b=bVKkH8MawpiZdTvfrBvuzKMLwKSLdGRZkIn9lab8iDAehegHSXp2X6zuhUWQn+6bxo IBf4FP2QotDRO/XfEAfClYV5eREHqvYy3ysyeJhkfOZ4lQK6sQMLqjXN06jt0hhdLv+E NTGNk1dZLeGSMqccg1jFoswwBdNU0eSlkMSBxpoa0gIL3n6Jn3EK1QFAfDDZyO1I3gKu ZRp2e4vJrpFpg+e395EJqm9W/RaeTFZzKcIffMKO4/0DXVGjNSZLO9Efv/5foW7Ka0FS BqQQJRRLB4pcCkV/0udbV4I1zbO5xMp7HMLoRMaHWMJCqMxU08ymaOQGPTe+xME5GjqY bm1w== X-Gm-Message-State: AOAM531iq+Gw/p+orBqD1gAyb4faF4rDJWty8990smBTtQ3q7H9Wmudy bsBHuK6H4NhOouAFHefJHPhPCQ== X-Received: by 2002:a17:902:8306:b0:158:2d58:a36a with SMTP id bd6-20020a170902830600b001582d58a36amr82271plb.55.1650558533004; Thu, 21 Apr 2022 09:28:53 -0700 (PDT) Received: from localhost ([2620:15c:202:201:d426:5807:a72:7b27]) by smtp.gmail.com with UTF8SMTPSA id h13-20020a056a00230d00b004f427ffd485sm26982254pfh.143.2022.04.21.09.28.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 21 Apr 2022 09:28:52 -0700 (PDT) Date: Thu, 21 Apr 2022 09:28:50 -0700 From: Matthias Kaehlcke To: Srinivasa Rao Mandadapu Cc: agross@kernel.org, bjorn.andersson@linaro.org, robh+dt@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, quic_rohkumar@quicinc.com, srinivas.kandagatla@linaro.org, dianders@chromium.org, swboyd@chromium.org, judyhsiao@chromium.org, Venkata Prasad Potturu Subject: Re: [PATCH v9 03/12] arm64: dts: qcom: sc7280: Enable digital codecs and soundwire for CRD 3.0/3.1 Message-ID: References: <1650552459-21077-1-git-send-email-quic_srivasam@quicinc.com> <1650552459-21077-4-git-send-email-quic_srivasam@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1650552459-21077-4-git-send-email-quic_srivasam@quicinc.com> X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE autolearn=unavailable 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 On Thu, Apr 21, 2022 at 08:17:30PM +0530, Srinivasa Rao Mandadapu wrote: > Enable rx, tx and va macro codecs and soundwire nodes for > CRD rev5 (aka CRD 3.0/3.1) boards. > > Signed-off-by: Srinivasa Rao Mandadapu > Co-developed-by: Venkata Prasad Potturu > Signed-off-by: Venkata Prasad Potturu > --- > arch/arm64/boot/dts/qcom/sc7280-herobrine-crd.dts | 35 +++++++++++++++++++++++ > 1 file changed, 35 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sc7280-herobrine-crd.dts b/arch/arm64/boot/dts/qcom/sc7280-herobrine-crd.dts > index fd6eadc..d0794f2 100644 > --- a/arch/arm64/boot/dts/qcom/sc7280-herobrine-crd.dts > +++ b/arch/arm64/boot/dts/qcom/sc7280-herobrine-crd.dts > @@ -69,6 +69,19 @@ ap_ts_pen_1v8: &i2c13 { > }; > }; > > +&lpass_rx_macro { > + status = "okay"; > +}; > + > +&lpass_tx_macro { > + status = "okay"; > +}; > + > +&lpass_va_macro { > + status = "okay"; > + vdd-micb-supply = <&vreg_bob>; > +}; > + > /* For nvme */ > &pcie1 { > status = "okay"; > @@ -89,6 +102,28 @@ ap_ts_pen_1v8: &i2c13 { > status = "okay"; > }; > > +&swr0 { > + status = "okay"; > + > + wcd_rx: codec@0,4 { > + compatible = "sdw20217010d00"; > + reg = <0 4>; > + #sound-dai-cells = <1>; > + qcom,rx-port-mapping = <1 2 3 4 5>; > + }; > +}; > + > +&swr1 { > + status = "okay"; > + > + wcd_tx: codec@0,3 { > + compatible = "sdw20217010d00"; > + reg = <0 3>; > + #sound-dai-cells = <1>; > + qcom,tx-port-mapping = <1 2 3 4>; > + }; > +}; The wcd9385 is on the qcard, so the wcd_tx/rx nodes should probably be added to sc7280-qcard.dtsi, and the CRD DT would only set 'status'.