Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp3409164pxb; Fri, 4 Feb 2022 08:00:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJxN7O/K6VFaKGQkSezGxBX8/evmBROHnKTsBuRpJ9a65McheGqgd2kivoYFJVQCX850cgiA X-Received: by 2002:a17:907:3e8b:: with SMTP id hs11mr3094344ejc.757.1643990458770; Fri, 04 Feb 2022 08:00:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643990458; cv=none; d=google.com; s=arc-20160816; b=PPtZrD2OB03wMoBO8rzfg8/syQiYe4KZvlWG+mxYazJBky3e6ttIE4QOSzli4Ic0Wq o33bwRFOmgoiYGuCailL0Ku/MQruk8sb+sO3qK3Kb2Zd9PfoWbKcQowyf/Z+/oEwAAay HhPErcQAiuqbrb8pU5csMOnJMznXEsqAddVk9FaJd6gCL1KUFIiHrD4oj7lxLcaIcKGO U4v1AByWVuhO9YFRLa0ysEINcifySLyvV3q2hadF/cGBwJ/6u7XF095oJtfe3j1z60Wf 5IZ/n5+SCZJLLFGYE6HgL1YBSP5Awgy7AtqcJUBqTio4Q/yYnZdyowduxrvSPKYKIubZ NhKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:cc:to:subject:dkim-signature; bh=iLYjfVRgu/NMwL/2Yx8B9HPwPGlUwYPeqGsyIpO3CrM=; b=sGYF2+cZ413lSR4PNqT5Tg3moo4QHo4bOH1jPxyMKRvmZb3xOqV+Vnbg4QoTS8LojR /W86Boks1OU6IEJW3ndS3HaS364x+pA0zMt7/SWPizL6sqX10CjLhQWLxvQuX8W2BaEf x1JxCBuLWo66fYRYLUSzNheUHfQwzHW25AxlsfD51zLEe2H2I4vhDPoqdqbt1aj/cHXS 7Jwoc6BwfvqeWYZXn1gW4xUsYksWZNyWFumBvO38mxngvZt9W3Fqej+aCd3Vk4te73pK FDal12Omx5Xp6Snm0MRNXLU/OkwzVHP+dmCA7p71rSt8SUIwxuk6j78gpUU/8/4FAWXD 8MIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=xTUAnPkn; 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=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oz9si1473976ejc.814.2022.02.04.08.00.30; Fri, 04 Feb 2022 08:00:58 -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=@quicinc.com header.s=qcdkim header.b=xTUAnPkn; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240375AbiBCKnX (ORCPT + 99 others); Thu, 3 Feb 2022 05:43:23 -0500 Received: from alexa-out.qualcomm.com ([129.46.98.28]:39433 "EHLO alexa-out.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240403AbiBCKnU (ORCPT ); Thu, 3 Feb 2022 05:43:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1643885000; x=1675421000; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=iLYjfVRgu/NMwL/2Yx8B9HPwPGlUwYPeqGsyIpO3CrM=; b=xTUAnPknjwj3zoD2k4zh0uELkBW1J4I8Jvjp07hSBlrOPOchSGtIZWu4 eMuE3vuZ2F/7Wi5FO3JXmQCCwcsCTUQMzL745B1c+EEPnRuyecrYus5c3 MA3U+TbEZ/Ql9G7bMPH13gWGXoLZqGiuV6moc7ccWNenTHAi/SK9Z+RM6 c=; Received: from ironmsg09-lv.qualcomm.com ([10.47.202.153]) by alexa-out.qualcomm.com with ESMTP; 03 Feb 2022 02:43:20 -0800 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg09-lv.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Feb 2022 02:43:19 -0800 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.922.19; Thu, 3 Feb 2022 02:43:19 -0800 Received: from [10.216.62.64] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.922.19; Thu, 3 Feb 2022 02:43:14 -0800 Subject: Re: [PATCH v2 1/3] arm64: dts: qcom: sc7280: Add nodes for va tx and rx macros and external codecs To: Vincent Knecht , , , , , , , , , , , CC: Venkata Prasad Potturu References: <1641208380-15510-1-git-send-email-quic_srivasam@quicinc.com> <1641208380-15510-2-git-send-email-quic_srivasam@quicinc.com> From: Srinivasa Rao Mandadapu Organization: Qualcomm Message-ID: Date: Thu, 3 Feb 2022 16:13:11 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/5/2022 3:53 AM, Vincent Knecht wrote: Thanks for Your team Vincent!!! > Le lundi 03 janvier 2022 à 16:42 +0530, Srinivasa Rao Mandadapu a écrit : >> SC7280 has VA, TX and RX macros with SoundWire Controllers to attach with >> codecs like WCD938x, max98360a using soundwire masters and i2s bus. >> Add these nodes for sc7280 based platforms audio use case. >> Add tlmm gpio property in wcd938x node for switching CTIA/OMTP Headset. >> >> Signed-off-by: Srinivasa Rao Mandadapu >> Co-developed-by: Venkata Prasad Potturu >> Signed-off-by: Venkata Prasad Potturu >> --- >>  arch/arm64/boot/dts/qcom/sc7280-crd.dts  |   4 ++ >>  arch/arm64/boot/dts/qcom/sc7280-idp.dtsi |  52 ++++++++++++++ >>  arch/arm64/boot/dts/qcom/sc7280.dtsi     | 113 +++++++++++++++++++++++++++++++ >>  3 files changed, 169 insertions(+) > [...] > > >> diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi >> index ddeb508..94614c9 100644 >> --- a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi >> +++ b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi >> @@ -636,3 +636,55 @@ >>                 bias-pull-up; >>         }; >>  }; >> + >> +&swr0 { >> +       wcd_rx: wcd938x-rx{ > Space before brace... Okay. > >> +               compatible = "sdw20217010d00"; >> +               reg = <0 4>; >> +               #sound-dai-cells = <1>; >> +               qcom,rx-port-mapping = <1 2 3 4 5>; >> +       }; >> +}; >> + >> +&swr1 { >> +       wcd_tx: wcd938x-tx{ > Ditto... Okay. > >> +               compatible = "sdw20217010d00"; >> +               reg = <0 3>; >> +               #sound-dai-cells = <1>; >> +               qcom,tx-port-mapping = <1 2 3 4>; >> +       }; >> +}; >> + >> +&soc { >> +       max98360a: audio-codec-0 { >> +               compatible = "maxim,max98360a"; >> +               pinctrl-names = "default"; >> +               pinctrl-0 = <&_en>; >> +               sdmode-gpios = <&tlmm 63 GPIO_ACTIVE_HIGH>; >> +               #sound-dai-cells = <0>; >> +       }; >> + >> +       wcd938x: codec { >> +               compatible = "qcom,wcd9380-codec"; >> +               #sound-dai-cells = <1>; >> + >> +               reset-gpios = <&tlmm 83 0>; > GPIO_ACTIVE_HIGH ? Okay. Will change accordingly. >