Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2998841pxb; Thu, 10 Feb 2022 09:55:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJz7QK6YHbVYygsu1dFoVvKWR2C5r2v/0w9Zm3UeZmnhbuBD1i4yCamJyN9qOrqn8EsESMii X-Received: by 2002:a05:6a00:178d:: with SMTP id s13mr8572151pfg.47.1644515720638; Thu, 10 Feb 2022 09:55:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644515720; cv=none; d=google.com; s=arc-20160816; b=crBgwV7YPkkod2DhiFGd3SMX5MdGKBCIQRXBW8DInGXe35GgSDrAVj968/qN40dbOf tPIgk7/pBjzyTDhHC/YCjNfkD2udp8hSYD563kJ51tX+lyXJnuqh+NplAmpXjraFteKq cioewdkUWq5MpQEEE9jeO5TGpkHQomvtum+EERVRhvOnJl1Ie0jpGDRdL//rLksAWgtX Kjk9LZwxEGNTE3462BkXHxyia+RtK21yzCSbQx39PeCNG1HLVbWyUf9NQYedORsOovwX yHpW6F+Eloa1UlnjoWgGuJqYyVD9Anu2Ek1Mg6JYeHaMkR1jWMbvC8bHWwl2XzyhmB3H xsxA== 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=PqI7BX+q/FiTPutrhWnZnXJPfIzp6aM2ZwkwoyDQ5pA=; b=QW2+ImrFb9IdDg1GMo/BaY+2yfNuFkT4cnuaDpTSlVv4lxaf+pfOrz2rM2JAp7V2Ej ucDOU/LcXdOu8+6eVRMiNAsmrLumRc802DerCrtY9gINo2ooxfXhT9D3ZhqtfYViyfzi 2htis6xVZO0hLSU3r1wyojHJfzrBaK4QwsPnGS4y/W/4eK75T/s3OmP5uA1SqLF8EaKU YNpgqYBjmEPUOyZbtGpmA9+vJnGcIBxUWbWLiCESx2oY8amW3TzVZvnenPgVDvGwUfod 7rKP4jzZ21hRPvUCPt64x30jRgIoc7MvVDl6BO6KNc6PsK/bQS/yD/IbkoUYRgOl2y+N rYyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=S83nlki1; 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 k11si21058766pff.339.2022.02.10.09.55.08; Thu, 10 Feb 2022 09:55:20 -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=S83nlki1; 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 S243260AbiBJOwT (ORCPT + 99 others); Thu, 10 Feb 2022 09:52:19 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:39654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243251AbiBJOwQ (ORCPT ); Thu, 10 Feb 2022 09:52:16 -0500 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81EA1EBE; Thu, 10 Feb 2022 06:52:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1644504737; x=1676040737; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=PqI7BX+q/FiTPutrhWnZnXJPfIzp6aM2ZwkwoyDQ5pA=; b=S83nlki1VBObMYabkUZaqmYiTgdQoB/C/aQ1L0/s741I/W5emtJx8ND7 PZcLMPe4utyZVUpny+qb+bq2lN4lke25Lx7GXKvBATVGsQRwGc30D4n1r y3ZI1Tbvho3r9DPreEBybkAM5ABCvHQBFPznBrGgFHS33eUG8uW85pmKw Y=; Received: from ironmsg-lv-alpha.qualcomm.com ([10.47.202.13]) by alexa-out.qualcomm.com with ESMTP; 10 Feb 2022 06:52:17 -0800 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; 10 Feb 2022 06:52:16 -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, 10 Feb 2022 06:52:16 -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; Thu, 10 Feb 2022 06:52:12 -0800 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , CC: Srinivasa Rao Mandadapu , "Venkata Prasad Potturu" Subject: [PATCH v3 2/2] arm64: dts: qcom: sc7280: add lpass lpi pin controller node Date: Thu, 10 Feb 2022 20:21:50 +0530 Message-ID: <1644504710-944-3-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1644504710-944-1-git-send-email-quic_srivasam@quicinc.com> References: <1644504710-944-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=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 LPASS LPI pinctrl node required for Audio functionality on 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.dtsi | 147 +++++++++++++++++++++++++++++++++++ 1 file changed, 147 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index 503d461..dac2b47 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -1751,6 +1751,153 @@ qcom,bcm-voters = <&apps_bcm_voter>; }; + lpass_tlmm: pinctrl@33c0000 { + compatible = "qcom,sc7280-lpass-lpi-pinctrl"; + reg = <0 0x33c0000 0x0 0x20000>, + <0 0x3550000 0x0 0x10000>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&lpass_tlmm 0 0 15>; + + #clock-cells = <1>; + + dmic01_active: dmic01-active { + clk { + pins = "gpio6"; + function = "dmic1_clk"; + drive-strength = <8>; + output-high; + }; + + data { + pins = "gpio7"; + function = "dmic1_data"; + drive-strength = <8>; + }; + }; + + dmic01_sleep: dmic01-sleep { + clk { + pins = "gpio6"; + function = "dmic1_clk"; + drive-strength = <2>; + bias-disable; + output-low; + }; + + data { + pins = "gpio7"; + function = "dmic1_data"; + drive-strength = <2>; + pull-down; + }; + }; + + dmic23_active: dmic02-active { + clk { + pins = "gpio8"; + function = "dmic2_clk"; + drive-strength = <8>; + output-high; + }; + + data { + pins = "gpio9"; + function = "dmic2_data"; + drive-strength = <8>; + }; + }; + + dmic23_sleep: dmic02-sleep { + clk { + pins = "gpio8"; + function = "dmic2_clk"; + drive-strength = <2>; + bias-disable; + output-low; + }; + + data { + pins = "gpio9"; + function = "dmic2_data"; + drive-strength = <2>; + pull-down; + }; + }; + + rx_swr_active: rx-swr-active { + clk { + pins = "gpio3"; + function = "swr_rx_clk"; + drive-strength = <2>; + slew-rate = <1>; + bias-disable; + }; + + data { + pins = "gpio4", "gpio5"; + function = "swr_rx_data"; + drive-strength = <2>; + slew-rate = <1>; + bias-bus-hold; + }; + }; + + rx_swr_sleep: rx-swr-sleep { + clk { + pins = "gpio3"; + function = "swr_rx_clk"; + drive-strength = <2>; + input-enable; + bias-pull-down; + }; + + data { + pins = "gpio4", "gpio5"; + function = "swr_rx_data"; + drive-strength = <2>; + input-enable; + bias-pull-down; + }; + }; + + tx_swr_active: tx-swr-active { + clk { + pins = "gpio0"; + function = "swr_tx_clk"; + drive-strength = <2>; + slew-rate = <1>; + bias-disable; + }; + + data { + pins = "gpio1", "gpio2", "gpio14"; + function = "swr_tx_data"; + drive-strength = <2>; + slew-rate = <1>; + bias-bus-hold; + }; + }; + + tx_swr_sleep: tx-swr-sleep { + clk { + pins = "gpio0"; + function = "swr_tx_clk"; + drive-strength = <2>; + input-enable; + bias-pull-down; + }; + + data { + pins = "gpio1", "gpio2", "gpio14"; + function = "swr_tx_data"; + drive-strength = <2>; + input-enable; + bias-bus-hold; + }; + }; + }; + gpu: gpu@3d00000 { compatible = "qcom,adreno-635.0", "qcom,adreno"; reg = <0 0x03d00000 0 0x40000>, -- 2.7.4