From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 258E1C64E7C for ; Wed, 2 Dec 2020 18:09:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BCF7422201 for ; Wed, 2 Dec 2020 18:09:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387863AbgLBSJP (ORCPT ); Wed, 2 Dec 2020 13:09:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387711AbgLBSJP (ORCPT ); Wed, 2 Dec 2020 13:09:15 -0500 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F2E27C061A4B for ; Wed, 2 Dec 2020 10:07:56 -0800 (PST) Received: by mail-wm1-x341.google.com with SMTP id f190so10873293wme.1 for ; Wed, 02 Dec 2020 10:07:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jZdt1XQOEk+ZY/4QVRoY/euZTi8U5G4IRCAkmQbGs68=; b=b1ZnkVrON3czjvAmME3sv+C1Q2DlMtLC018KTMqgiMzkOEiyoNgmxWx0O4MnKysUuq rJfMglKwVlNglsnW3WVyF8USxs7dvXQW/ncaDXSdM8xMNJe06BfHY3D9TN9sjuacF+VY XSP+/XGsDJg4G9Pkc89NUoDNYKVPpv7F+WZrZv6QqXWIpfNhqmu9s70iPPF3XSj7GX7q 6V9bTof7fjUqxln6UdRy4/zzAl4bUwXzL3h6JIHsy+8+d3s8FRoJmM/0Hv0Rfrp3mtii DYvLRcJNy5s80Y6sUMbb+Depks/OrHuEcis5NkGNcnwyfXOxUC+yY8F/4NBx2U9g3f05 LJaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jZdt1XQOEk+ZY/4QVRoY/euZTi8U5G4IRCAkmQbGs68=; b=st1keRkzQ3mI8FnnB/GCr3bLEfZ+vatvFP1OwSHL4XkQ1xwBThyXCleVHUXpYzrICq RIFVQB92p2L9qzCh6i41ned9+Xrg75VsNl1/iE4W4X8pYqzKov3oono8BPDA7OzpCtJ+ tUad6D6hAqXtPp1j9UtUiOY+MW1lPEGu8QCiygMEyBm8NEiE3SuWWWuscQB1vlL7ciYs sUga3iD2l34ciB3ISfr1JALdW6aq7a3xm7gA5IUKXeO7gNU/wwV/1Kioxcbj2KxiiJMG GezmoIbeQhkyM1+BI5zC/0MTj+EstRgC6gDTlRhcP6y/kjJa//2EUeIu+Zq/4EhF4bve SkVg== X-Gm-Message-State: AOAM530kyJhC2OB1Lu4Xc5I2D8CNNiVwXy8ZeVTIRsExktNQSfzrD+gh jyAnzbe7nbLiyCtQZiUxjwgXPQ== X-Google-Smtp-Source: ABdhPJxSGpBeUXOr+9w//0NOH2Tf2tOuLBRM6VP7bM7bPUVu4oWFO2vpp+O5rtcaKy21hEsR5aoOwg== X-Received: by 2002:a05:600c:255:: with SMTP id 21mr4382233wmj.69.1606932475722; Wed, 02 Dec 2020 10:07:55 -0800 (PST) Received: from srini-hackbox.lan (cpc86377-aztw32-2-0-cust226.18-1.cable.virginm.net. [92.233.226.227]) by smtp.gmail.com with ESMTPSA id a18sm3004404wrr.20.2020.12.02.10.07.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2020 10:07:54 -0800 (PST) From: Srinivas Kandagatla To: bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, agross@kernel.org, robh+dt@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla , Dmitry Baryshkov Subject: [PATCH v2 3/6] arm64: dts: qcom: sm8250: add lpass lpi pin controller node Date: Wed, 2 Dec 2020 18:07:38 +0000 Message-Id: <20201202180741.16386-4-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20201202180741.16386-1-srinivas.kandagatla@linaro.org> References: <20201202180741.16386-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add LPASS LPI pinctrl node required for Audio functionality on RB5. Signed-off-by: Srinivas Kandagatla Tested-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 84 ++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index cddbb53db193..ce8ae776160d 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -2607,6 +2607,90 @@ clock-names = "core", "audio", "bus"; }; + lpass_tlmm: pinctrl@33c0000{ + compatible = "qcom,sm8250-lpass-lpi-pinctrl"; + reg = <0 0x33c0000 0x0 0x20000>, + <0 0x3550000 0x0 0x10000>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&lpass_tlmm 0 0 14>; + + clocks = <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>; + clock-names = "core", "audio"; + + wsa_swr_active: wsa-swr-active-pins { + clk { + pins = "gpio10"; + function = "wsa_swr_clk"; + drive-strength = <2>; + slew-rate = <1>; + bias-disable; + }; + + data { + pins = "gpio11"; + function = "wsa_swr_data"; + drive-strength = <2>; + slew-rate = <1>; + bias-bus-hold; + + }; + }; + + wsa_swr_sleep: wsa-swr-sleep-pins { + clk { + pins = "gpio10"; + function = "wsa_swr_clk"; + drive-strength = <2>; + input-enable; + bias-pull-down; + }; + + data { + pins = "gpio11"; + function = "wsa_swr_data"; + drive-strength = <2>; + input-enable; + bias-pull-down; + + }; + }; + + dmic01_active: dmic01-active-pins { + clk { + pins = "gpio6"; + function = "dmic1_clk"; + drive-strength = <8>; + output-high; + }; + data { + pins = "gpio7"; + function = "dmic1_data"; + drive-strength = <8>; + input-enable; + }; + }; + + dmic01_sleep: dmic01-sleep-pins { + clk { + pins = "gpio6"; + function = "dmic1_clk"; + drive-strength = <2>; + bias-disable; + output-low; + }; + + data { + pins = "gpio7"; + function = "dmic1_data"; + drive-strength = <2>; + pull-down; + input-enable; + }; + }; + }; + adsp: remoteproc@17300000 { compatible = "qcom,sm8250-adsp-pas"; reg = <0 0x17300000 0 0x100>; -- 2.21.0