Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1674945pxb; Wed, 9 Feb 2022 01:53:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJyZJQXVcILvfbmV2HAsKSK+qXaiJl8qFnQdk3TiUHLN489eQFLnAI/hTfjuHAbp1EoIPYhZ X-Received: by 2002:a17:90b:4a83:: with SMTP id lp3mr2458538pjb.35.1644400396473; Wed, 09 Feb 2022 01:53:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644400396; cv=none; d=google.com; s=arc-20160816; b=ud7QphZrY6dRACUFXKa2BiNwK+rSZ+5ObTbdKLgbFWuXk21crZeQT87R4MIadAixHP 0K/ymzVoY86mRIDXK3f2O9+Z6upN5fdeqHKgQDnz5xl+Z2207e7/60j6jqMfNPHcTKhb 55pvQVT2ey7B6UyGz8R4fX5Qp/lxWeAbBupwAKsU8qBLGu272NslpcIGPCgQL36L4Sbc BPbyAWDeVmzq0WgE1t2+o3nMJDXElWeQ+eNJjWQ24t9jK89uGl+r7AWGzMSozToFnRwA Z3atCgg2ss/6ovzAwvFaGruR0jAhqoeKokAlFo+u7fuPg6GGBftD0WF4OVzdcMtWB6pO WB/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=40L17z1hVZaJzNlebR2WYgcAZBEqUhNi3RANKgIqJOs=; b=E8KYw66sS0r7qa7DVw6RN9YVwllAtx1aFVFkrYh5BYqPTfx8bpYu605rkj416j9wJc qsv1rOQD13rHz5/V1EciRMWM79kQ+bl4rhIV7a3svQZOFRfwVB91InfmAHMRE8+5iFeY dIqBea3+TTV9xH0KE1Hg5QhxLaPS5ehBHbeLQEJ9kkK+AIgvXP2kyZX5hJtOrMOa4cai 0rGC+DK3pDJaHb1212kMhVYiOTF8nrpFu15E0CRsHN71TjvklF9qjPQrg9eLadNNOlRj B6msQHQfKHhl9vDV1tV2sFFp1OF+P2LtLL0hZ0i7R8uXVk9WFC+ZqrpTdHCwphedDlBY qkSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=jKry3Yfk; 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 p4si15458178pgn.760.2022.02.09.01.53.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 01:53:16 -0800 (PST) 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=jKry3Yfk; 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 E4149E076B7F; Wed, 9 Feb 2022 01:09:34 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1380730AbiBHPgl (ORCPT + 99 others); Tue, 8 Feb 2022 10:36:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377107AbiBHPgj (ORCPT ); Tue, 8 Feb 2022 10:36:39 -0500 X-Greylist: delayed 122 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 08 Feb 2022 07:36:38 PST Received: from alexa-out-sd-01.qualcomm.com (alexa-out-sd-01.qualcomm.com [199.106.114.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BCCAC061576; Tue, 8 Feb 2022 07:36:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1644334598; x=1675870598; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=40L17z1hVZaJzNlebR2WYgcAZBEqUhNi3RANKgIqJOs=; b=jKry3YfkdAPAsljgUAjf9ALAsE8ny82I9jnxne2nwInnCF3l95OSBSyD tbPcS0FGzZeCLRwSObKFgPUHLOMV0+up2PUko05Fcg5ToL6JB8M0KpBWU fQtAJpyK4PqPhRWlVz+KF2LlqPOwf7BXEhXAYlwN2miizwlB92p2VbFGi A=; Received: from unknown (HELO ironmsg02-sd.qualcomm.com) ([10.53.140.142]) by alexa-out-sd-01.qualcomm.com with ESMTP; 08 Feb 2022 07:34:35 -0800 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg02-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Feb 2022 07:34:34 -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; Tue, 8 Feb 2022 07:34:34 -0800 Received: from hu-srivasam-hyd.qualcomm.com (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; Tue, 8 Feb 2022 07:34:30 -0800 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , CC: Srinivasa Rao Mandadapu , "Venkata Prasad Potturu" Subject: [PATCH v2 1/3] arm64: dts: qcom: sc7280: Add pinmux for I2S speaker and Headset Date: Tue, 8 Feb 2022 21:04:12 +0530 Message-ID: <1644334454-16719-2-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1644334454-16719-1-git-send-email-quic_srivasam@quicinc.com> References: <1644334454-16719-1-git-send-email-quic_srivasam@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain 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=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Add AMP enable node and pinmux 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 | 40 ++++++++++++++++++++++++++++++++ arch/arm64/boot/dts/qcom/sc7280.dtsi | 40 ++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi index d623d71..c7d6c46 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi @@ -436,6 +436,39 @@ qcom,drive-strength = <3>; }; }; +&pri_mi2s_data0 { + drive-strength = <6>; +}; + +&pri_mi2s_data1 { + drive-strength = <6>; +}; + +&pri_mi2s_mclk { + drive-strength = <6>; +}; + +&pri_mi2s_sclk { + drive-strength = <6>; +}; + +&pri_mi2s_ws { + drive-strength = <6>; +}; + +&sec_mi2s_data0 { + drive-strength = <6>; + bias-disable; +}; + +&sec_mi2s_sclk { + drive-strength = <6>; + bias-disable; +}; + +&sec_mi2s_ws { + drive-strength = <6>; +}; &qspi_cs0 { bias-disable; @@ -491,6 +524,13 @@ }; &tlmm { + amp_en: amp-en { + pins = "gpio63"; + function = "gpio"; + bias-disable; + drive-strength = <2>; + }; + nvme_pwren: nvme-pwren { function = "gpio"; }; diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index 937c2e0..76e73e9 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -3461,6 +3461,46 @@ }; }; + pri_mi2s_data0: pri-mi2s-data0 { + pins = "gpio98"; + function = "mi2s0_data0"; + }; + + pri_mi2s_data1: pri-mi2s-data1 { + pins = "gpio99"; + function = "mi2s0_data1"; + }; + + pri_mi2s_mclk: pri-mi2s-mclk { + pins = "gpio96"; + function = "pri_mi2s"; + }; + + pri_mi2s_sclk: pri-mi2s-sclk { + pins = "gpio97"; + function = "mi2s0_sck"; + }; + + pri_mi2s_ws: pri-mi2s-ws { + pins = "gpio100"; + function = "mi2s0_ws"; + }; + + sec_mi2s_data0: sec-mi2s-data0 { + pins = "gpio107"; + function = "mi2s1_data0"; + }; + + sec_mi2s_sclk: sec-mi2s-sclk { + pins = "gpio106"; + function = "mi2s1_sck"; + }; + + sec_mi2s_ws: sec-mi2s-ws { + pins = "gpio108"; + function = "mi2s1_ws"; + }; + qup_uart8_cts: qup-uart8-cts { pins = "gpio32"; function = "qup10"; -- 2.7.4