Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1623160pxp; Thu, 17 Mar 2022 12:59:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAofoqBnbXujxwWcSNwkcb2gNGEqRMli6koJ43bSK8mBMz845fqSfnDR+GBJPxLO50W1+O X-Received: by 2002:a63:d306:0:b0:34e:4330:efea with SMTP id b6-20020a63d306000000b0034e4330efeamr5054764pgg.174.1647547142060; Thu, 17 Mar 2022 12:59:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647547142; cv=none; d=google.com; s=arc-20160816; b=xS+seUNuuv9ehVEDUCjOoP1+Gum+9qXy/XTbImEXjqJnTgQijYXC3VCBBNoEslRcyI w7zcNHTTtDZH47BaThLwFZMFbsfv+PSxayOf0kmrlfwTesPZCTAGfmYpz6L3OVPLITtT mz1HRl+4RVbHTvo3/Un17Hxx+6o4UKQTQMLOUbl4iVUpL/v8FcyQHbJ0m1ngvBWQDOzX FPk22YTAzxUrhNHR4RhTQOIGvnloHbueKROR+MrfuJ9u3s+ffjTTswxgk6XLTGO06ghI PP7AHtflWmv8HBh6vCg6uWpD+fpegC8SttSv6HeIu3bi6rVbQGAFLpuLk/Nd8jeKx+TX ZHSA== 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=FcBB1+3+lMsOh58E4INKQpJ2vlCgcLKpVX3Q+GYuxqQ=; b=IlXf2xS/2MQL2MiZM64/v4aVY+6LWzN+TnM00AbN6lF06eR7wEm6Aceg9XgYhjDgSw OIPxkvr42GfBOPk7GlcluNqqCwrjCIzpYnYrtJCAJQHfDk2biFzgVlresqhbNxfRWGZy dUvaW7QtQ+gHEZWvs2PBWNf7rUrHGE0v73RaZkpbmoE1bkwHF3+s13h3CmyRX/e1qs60 44RB3/c9uoj0tShZCuw8g6VOsd+LtW0Nidrp6DINSjkyDuHvCTUdeuEeHD6VX1q72/vq J0Li1m3XaaGt8Jh165eYwJVKlqFYKm7qNW3rfR3mrrV0ePEGorrJAU4LTKfo5oshTdf5 AbeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b="mS/ROxdc"; 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 h3-20020a628303000000b004fa6c99c476si288183pfe.106.2022.03.17.12.59.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Mar 2022 12:59:02 -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="mS/ROxdc"; 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 A6B0C280EDE; Thu, 17 Mar 2022 12:52:26 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235159AbiCQOiv (ORCPT + 99 others); Thu, 17 Mar 2022 10:38:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235147AbiCQOis (ORCPT ); Thu, 17 Mar 2022 10:38:48 -0400 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 266671D66DF; Thu, 17 Mar 2022 07:37:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1647527852; x=1679063852; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=FcBB1+3+lMsOh58E4INKQpJ2vlCgcLKpVX3Q+GYuxqQ=; b=mS/ROxdcwElOu/TR5fDWodn6iy8tnOdaVEFNdMHIK7lTnUH1wy7FtmEv 6RO3IghkYlQLH2GEguqDaEdWHBgcYOR6mt+qgp56owm+exuc2065P8odS 7grnvmVU0zk0lYk5FyQvNkbiQ7NcyaHeHkVR9tJ8kHhzb3P41pjbEyUap M=; Received: from unknown (HELO ironmsg-SD-alpha.qualcomm.com) ([10.53.140.30]) by alexa-out-sd-01.qualcomm.com with ESMTP; 17 Mar 2022 07:37:32 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg-SD-alpha.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Mar 2022 07:37:31 -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; Thu, 17 Mar 2022 07:37:31 -0700 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.986.22; Thu, 17 Mar 2022 07:37:27 -0700 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , CC: Srinivasa Rao Mandadapu , "Venkata Prasad Potturu" Subject: [PATCH v4 2/3] arm64: dts: qcom: sc7280: Add pinmux for I2S speaker and Headset Date: Thu, 17 Mar 2022 20:07:04 +0530 Message-ID: <1647527825-7493-3-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1647527825-7493-1-git-send-email-quic_srivasam@quicinc.com> References: <1647527825-7493-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: nasanex01a.na.qualcomm.com (10.52.223.231) 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 | 41 ++++++++++++++++++++++++++++++++ arch/arm64/boot/dts/qcom/sc7280.dtsi | 41 ++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi index 688fa95..39c9f9b 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi @@ -375,6 +375,26 @@ drive-strength = <2>; }; +&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>; +}; + &qspi_cs0 { bias-disable; }; @@ -462,7 +482,28 @@ drive-strength = <10>; }; +&sec_mi2s_data0 { + drive-strength = <6>; + bias-disable; +}; + +&sec_mi2s_sclk { + drive-strength = <6>; + bias-disable; +}; + +&sec_mi2s_ws { + drive-strength = <6>; +}; + &tlmm { + amp_en: amp-en { + pins = "gpio63"; + function = "gpio"; + bias-pull-down; + drive-strength = <2>; + }; + bt_en: bt-en { pins = "gpio85"; function = "gpio"; diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index c07765d..acea8ab 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -3563,6 +3563,31 @@ function = "pcie1_clkreqn"; }; + 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"; + }; + qspi_clk: qspi-clk { pins = "gpio14"; function = "qspi_clk"; @@ -4297,6 +4322,22 @@ drive-strength = <2>; bias-bus-hold; }; + + 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"; + }; + }; imem@146a5000 { -- 2.7.4