Received: by 2002:a05:6a10:3150:0:0:0:0 with SMTP id m16csp3147173pxc; Tue, 12 Apr 2022 14:55:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxIWd6khl0WUxSutCo3cmkjGwmkXyy4ic8RZmpLDgfh7RxKs8Hkha/o9HB+nIacViMt6hZC X-Received: by 2002:a17:902:70c1:b0:156:16c0:dc7b with SMTP id l1-20020a17090270c100b0015616c0dc7bmr40068363plt.85.1649800503843; Tue, 12 Apr 2022 14:55:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649800503; cv=none; d=google.com; s=arc-20160816; b=Rran6TR/paI65sk3DHocDKzZR7maL6i4fr+USxq9mxR0tpX9LxBV3jGyFwUys2SMqc LlPSUf2gZ510zc30j0qgHtpB4b04d772r8pGsVAoBasvDaVPcWhR+MyORQiFX1gqYvzP xwYA6AqGJsePo7OVrgAV3Z86arTr8wNeNfge29/TgcPPld/riNu59hxgqkVwqydwIgCp oOH+XOdSVDvEd6GTpBmp3iDJ9g7z4pZzxJuVDgnPCQPCSyA3iVX/xACiaRJMfJ+mCmWe 5vs8v/vMIl5kr7LXXWD/vGSk6uRlhPo5fVTQ5A6yPuTWo+DkVqtOzI+CqCR7xEUexQpy uCFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=VU3GYKC59IivdJ9+i6NONjh2iSY8jUOMPiFKqTo6hzU=; b=wHKeHeAK8/H5Bf40BhMUec9ZOrcnkryObZi9ExNBjpfZAjvgtkZqomDnBVGL47lwuN 56MitFNfLpnypkK7XGmYx/2qYBG/JZHVNdkTm20awu7TULnOOz/Y/J1O0p5X5IkXUSNP p2Abz/W8EU3b0+Q8llClCt3GnaZ363Zj8us08xSZEtSSN1ezAkGnOws76a9q7Cg2A0ty 0t4J6fcfs4HJEcu/4gMazpMz3+xD2/Jl4ZJCYBacT7qlby3uTf4HFNvUGWioYzN0+P/4 t+zavhphUS7OxGIrE1TyxjM1PDf/ttWwPIs6uwMlQfBPhFAf0AiobHFh+LxEzqBirj9x KRfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=Rzvmeg95; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id bk11-20020a056a02028b00b00398989698d4si3514457pgb.647.2022.04.12.14.55.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 14:55:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=Rzvmeg95; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 699CE12343D; Tue, 12 Apr 2022 13:48:33 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356702AbiDLOpc (ORCPT + 99 others); Tue, 12 Apr 2022 10:45:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234174AbiDLOpa (ORCPT ); Tue, 12 Apr 2022 10:45:30 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F01A911155; Tue, 12 Apr 2022 07:43:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1649774593; x=1681310593; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=VU3GYKC59IivdJ9+i6NONjh2iSY8jUOMPiFKqTo6hzU=; b=Rzvmeg95ykqg6JI5xHE6gsxCdYTwxAfi3BGBBugpEwAR7IQja0Vbi9+k o8X7w6FJ93i15Z/5Rr3RAiBnqdpYI1869DSsD+sBKOHCcFHnPeWrvOXml B0Y5fA2kjjxvaL36i2ch6LQnBK8g4mKQYgKbJxZkMQaA4Eo6NOQ8+rX/0 w=; Received: from ironmsg-lv-alpha.qualcomm.com ([10.47.202.13]) by alexa-out.qualcomm.com with ESMTP; 12 Apr 2022 07:43:12 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg-lv-alpha.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Apr 2022 07:43:12 -0700 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.986.22; Tue, 12 Apr 2022 07:43:11 -0700 Received: from [10.216.28.9] (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.986.22; Tue, 12 Apr 2022 07:43:08 -0700 Message-ID: <50953847-3c7f-ce2e-3447-87ba1893a976@quicinc.com> Date: Tue, 12 Apr 2022 20:13:04 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: [PATCH v8 1/2] arm64: dts: qcom: sc7280: Add pinmux for I2S speaker and Headset Content-Language: en-US To: Bjorn Andersson CC: , , , , , , , , , , Venkata Prasad Potturu References: <1649769281-12458-1-git-send-email-quic_srivasam@quicinc.com> <1649769281-12458-2-git-send-email-quic_srivasam@quicinc.com> From: Srinivasa Rao Mandadapu Organization: Qualcomm In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE 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 4/12/2022 8:03 PM, Bjorn Andersson wrote: Thanks for your time Bjorn!!! > On Tue 12 Apr 08:14 CDT 2022, Srinivasa Rao Mandadapu wrote: > >> Add pinmux nodes for primary and secondary I2S for SC7280 based platforms. >> >> Signed-off-by: Srinivasa Rao Mandadapu >> Co-developed-by: Venkata Prasad Potturu >> Signed-off-by: Venkata Prasad Potturu >> --- >> arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 14 +++++++++++ >> arch/arm64/boot/dts/qcom/sc7280.dtsi | 40 ++++++++++++++++++++++++++++++++ >> 2 files changed, 54 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi >> index ecbf2b8..1fc94b5 100644 >> --- a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi >> +++ b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi >> @@ -359,6 +359,20 @@ >> bias-disable; >> }; >> >> +&mi2s1_data0 { >> + drive-strength = <6>; >> + bias-disable; >> +}; >> + >> +&mi2s1_sclk { >> + drive-strength = <6>; >> + bias-disable; >> +}; >> + >> +&mi2s1_ws { >> + drive-strength = <6>; >> +}; >> + >> &pm7325_gpios { >> key_vol_up_default: key-vol-up-default { >> pins = "gpio6"; >> diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi >> index f0b64be..6e6cfeda 100644 >> --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi >> +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi >> @@ -3522,6 +3522,46 @@ >> function = "edp_hot"; >> }; >> >> + mi2s0_data0: mi2s0-data0 { > Are these ever going to be selected individually, or could this be: > > mi2s0_state: mi2s0-state { > data0 { > ...; > }; > > data1 { > ...; > }; > > mclk { > ...; > }; > > etc > }; > > mi2s1-state { > ...; > }; > > And then a single pinctrl-0 = <&mi2c0_state>; > > Regards, > Bjorn We are not selecting individually. Actually we were following the same, but Doug Anderson suggested this way of handling in 1st version of patches. So changed accordingly. > >> + pins = "gpio98"; >> + function = "mi2s0_data0"; >> + }; >> + >> + mi2s0_data1: mi2s0-data1 { >> + pins = "gpio99"; >> + function = "mi2s0_data1"; >> + }; >> + >> + mi2s0_mclk: mi2s0-mclk { >> + pins = "gpio96"; >> + function = "pri_mi2s"; >> + }; >> + >> + mi2s0_sclk: mi2s0-sclk { >> + pins = "gpio97"; >> + function = "mi2s0_sck"; >> + }; >> + >> + mi2s0_ws: mi2s0-ws { >> + pins = "gpio100"; >> + function = "mi2s0_ws"; >> + }; >> + >> + mi2s1_data0: mi2s1-data0 { >> + pins = "gpio107"; >> + function = "mi2s1_data0"; >> + }; >> + >> + mi2s1_sclk: mi2s1-sclk { >> + pins = "gpio106"; >> + function = "mi2s1_sck"; >> + }; >> + >> + mi2s1_ws: mi2s1-ws { >> + pins = "gpio108"; >> + function = "mi2s1_ws"; >> + }; >> + >> pcie1_clkreq_n: pcie1-clkreq-n { >> pins = "gpio79"; >> function = "pcie1_clkreqn"; >> -- >> 2.7.4 >>