Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1191856pxk; Fri, 18 Sep 2020 06:19:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwctB6k7ROkP9I/y3F7lGcPPZaAMx+5M8jM27dToE6w09K4+vC5Bx2u3z8PAHL4x00h8hgh X-Received: by 2002:a17:906:8c1:: with SMTP id o1mr36985290eje.478.1600435195035; Fri, 18 Sep 2020 06:19:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600435195; cv=none; d=google.com; s=arc-20160816; b=F9B8Ny4xG0rd6OMLRoAnw/UenDubktfLxgGLntMlpcpPWYQD2pAunwZCpq9rjxpqLL MiXJgZ9Oh3csDLZ8dahFfSPGiP7ycKZa6p2tgUoJfcxOnPoxy8rPENz9rPXzkLN9VrAV Ii8Yp07mwWWjAE+mgcLEePFSIV15eQ6NoK99sGusM7jnWzmxJOuY3wv7ymPh0DY652fZ yqZEPvXmP7qKewy4Bkw1ctKHlHvsiCjjrGE5TFOT1sahVp9EXLyCwJczYXFQcYvuU0fB ZWyJU9Q7xmtYaeifs/XpchGFV3B3CsNQeRaUArKUNolOgNw+v66ufnbB3LsNiu8rpoHG VUMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from:dmarc-filter :dkim-signature; bh=exXqLcIyyzNmMUFnFIDJKq5vfsUN/0HP8/mCm+MXqcI=; b=P1gqzNATsYpP1QgPg1DB2gjyqYjLRGzRF8YFGSP18vY2KpTIzleXuudUUnJgRsF0M7 L1jtDV0kNhUMBD1zw0+Fe/Ma3LZx4yG+DIJyd6yRbX61kFqRx14yP61mLSEH9bXC0s4e 0YCahc6AOig4LdGA5rKFGD5WOEyuKJq7gC4A3dRdGVM9VVrnPTKor8ywiL53G8azCaVy 4tcbTtLgKi6BDhhxsejRp7FG3aNhkw2IrseGwZFYZkU9Y1iffpnK3u3Fv9P9VF1xebNM kCj+sLrztryu3l59XzTYR5jBtNH7Gp/HMEqN6XZ78VFciEQkWlpVhu31cfyWnmJgvVfk g2wQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=Pzfp0Juz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dg23si2203336edb.229.2020.09.18.06.19.30; Fri, 18 Sep 2020 06:19:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=Pzfp0Juz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726397AbgIRNSH (ORCPT + 99 others); Fri, 18 Sep 2020 09:18:07 -0400 Received: from m42-11.mailgun.net ([69.72.42.11]:57948 "EHLO m42-11.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726174AbgIRNSG (ORCPT ); Fri, 18 Sep 2020 09:18:06 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1600435086; h=Message-Id: Date: Subject: Cc: To: From: Sender; bh=exXqLcIyyzNmMUFnFIDJKq5vfsUN/0HP8/mCm+MXqcI=; b=Pzfp0JuzssHm9/KD8sk/j/IBCIKko7ePzxVJMhceHPwxEFV7l6w9rQnqujkMIaJH3MZyoadn zU6oHXrPtMSrl8ho2jMhVcTVwwyM6Krlu8hQXDF4IDE2UmHd+3jTlxtpWz9i1n5LyHIyTyAB yGIE6IQ6e1Jzo5VOjU/jTfbKb7o= X-Mailgun-Sending-Ip: 69.72.42.11 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n05.prod.us-east-1.postgun.com with SMTP id 5f64b3684398385e3052e431 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Fri, 18 Sep 2020 13:17:28 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 6311EC433CB; Fri, 18 Sep 2020 13:17:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from hyd-lnxbld210.qualcomm.com (unknown [202.46.22.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: srivasam) by smtp.codeaurora.org (Postfix) with ESMTPSA id 46698C433CA; Fri, 18 Sep 2020 13:17:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 46698C433CA Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=srivasam@codeaurora.org From: Srinivasa Rao Mandadapu To: agross@kernel.org, bjorn.andersson@linaro.org, robh+dt@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, rohitkr@codeaurora.org, srinivas.kandagatla@linaro.org Cc: Ajit Pandey , Cheng-Yi Chiang , Srinivasa Rao Mandadapu , V Sujith Kumar Reddy Subject: [PATCH v3] arm64: dts: qcom: sc7180: Add lpass cpu node for I2S driver Date: Fri, 18 Sep 2020 18:47:06 +0530 Message-Id: <1600435026-1876-1-git-send-email-srivasam@codeaurora.org> X-Mailer: git-send-email 2.7.4 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ajit Pandey Add the I2S controller node to sc7180 dtsi. Add pinmux for primary and secondary I2S. Signed-off-by: Ajit Pandey Signed-off-by: Cheng-Yi Chiang Signed-off-by: Srinivasa Rao Mandadapu Signed-off-by: V Sujith Kumar Reddy --- Changes since v1: -- Updated I2S pin control nodes with grouping common pin controls -- Updated lpass_cpu node with proper control names Changes since v2: -- The plement of lpass_cpu node is changed arch/arm64/boot/dts/qcom/sc7180.dtsi | 69 ++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index 6678f1e..59c39cf 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -1742,6 +1742,45 @@ }; }; + sec_mi2s_active: sec-mi2s-active { + pinmux { + pins = "gpio49", "gpio50", "gpio51"; + function = "mi2s_1"; + }; + + pinconf { + pins = "gpio49", "gpio50", "gpio51";; + drive-strength = <8>; + bias-pull-up; + }; + }; + + pri_mi2s_active: pri-mi2s-active { + pinmux { + pins = "gpio53", "gpio54", "gpio55", "gpio56"; + function = "mi2s_0"; + }; + + pinconf { + pins = "gpio53", "gpio54", "gpio55", "gpio56"; + drive-strength = <8>; + bias-pull-up; + }; + }; + + pri_mi2s_mclk_active: pri-mi2s-mclk-active { + pinmux { + pins = "gpio57"; + function = "lpass_ext"; + }; + + pinconf { + pins = "gpio57"; + drive-strength = <8>; + bias-pull-up; + }; + }; + sdc1_on: sdc1-on { pinconf-clk { pins = "sdc1_clk"; @@ -3389,6 +3428,36 @@ #power-domain-cells = <1>; }; + lpass_cpu: lpass@62f00000 { + compatible = "qcom,sc7180-lpass-cpu"; + + reg = <0 0x62f00000 0 0x29000>; + reg-names = "lpass-lpaif"; + + iommus = <&apps_smmu 0x1020 0>; + + power-domains = <&lpass_hm LPASS_CORE_HM_GDSCR>; + + clocks = <&gcc GCC_LPASS_CFG_NOC_SWAY_CLK>, + <&lpasscc LPASS_AUDIO_CORE_CORE_CLK>, + <&lpasscc LPASS_AUDIO_CORE_EXT_MCLK0_CLK>, + <&lpasscc LPASS_AUDIO_CORE_SYSNOC_MPORT_CORE_CLK>, + <&lpasscc LPASS_AUDIO_CORE_LPAIF_PRI_IBIT_CLK>, + <&lpasscc LPASS_AUDIO_CORE_LPAIF_SEC_IBIT_CLK>; + + clock-names = "pcnoc-sway-clk", "audio-core", + "mclk0", "pcnoc-mport-clk", + "mi2s-bit-clk0", "mi2s-bit-clk1"; + + + #sound-dai-cells = <1>; + #address-cells = <1>; + #size-cells = <0>; + + interrupts = ; + interrupt-names = "lpass-irq-lpaif"; + }; + lpass_hm: clock-controller@63000000 { compatible = "qcom,sc7180-lpasshm"; reg = <0 0x63000000 0 0x28>; -- Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc., is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.