Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1370904pxk; Fri, 18 Sep 2020 10:35:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyC0/gHI5uhxWHR8Q8Syq5x59UC/D4wNfkHemx8mTphBklr9KKolK2w+wvBzmK/5pE03dPA X-Received: by 2002:a17:906:c1c3:: with SMTP id bw3mr36551391ejb.516.1600450546084; Fri, 18 Sep 2020 10:35:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600450546; cv=none; d=google.com; s=arc-20160816; b=T88ri5E+2RWsgBaR6+MX/vNfcl0aMqL1fgJKisixpZq+crndS9gy8S/RdgSliWH4sA 66VuJE4fJvI2+ASE8s/dwW6S+tQ7ukn+vurNLfQEorh0UQVrkzmjcppInDh6+Rm20Vwd Gbd+6Dc9owev6EltGaeCatgZQHV43iDbWe3zA83aHTgqDroGvVB4aFkfAulPdm/2ej/f opKHW7jlCLIob0/R1gFP32+NEjLioc1qUVM9Oodh9C3pzcsNBCrOnJFj6Io9GEq+7hqe XeEcMOUyH1RLwsjTdvUOBgeoz/GQTtoTbJ2L5hYuHxkZ56PBgxI2OynSaFy5kR++nyUT IuIg== 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=q2e9iINiXn4aOr/7k6nZrE8i9XGigJzoqBndAZHpgGE=; b=Hr9QKuocpvbWd6TdIb1mS7Svkx9NhMeQ15yH3uC8qNT9rNJk2qKANTzoJrs1KYbZ+l EE1hVBGRdubtf1hFhuZUIuv9472eU1/Xh0RoO2GJwIAAu3OHqLaQTiIKl5X8LKV5P+b0 8j+ynhy3WwLHRi7mrIGYltY9JAkXw6cu7KiLlEAAGI6tKxI4EIKFzan0H+qacWDJ6vpi ZIr+qjuXoljg6a6nhxI+pJciNTPiJtuvF/GD6L1xyYLLcnOAPvPOuDscB4YUXssrZUbt 4t6z4xldXPkkvsnYZr5nY06BiTxXRN3LCmVzv2hvRP548TAjBnqLLU8xruzD2JK7gYES L0Nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b="l/Kg1ZvP"; 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 n24si2612497eji.99.2020.09.18.10.35.22; Fri, 18 Sep 2020 10:35:46 -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="l/Kg1ZvP"; 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 S1726247AbgIRReY (ORCPT + 99 others); Fri, 18 Sep 2020 13:34:24 -0400 Received: from so254-54.mailgun.net ([198.61.254.54]:41518 "EHLO so254-54.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726115AbgIRReX (ORCPT ); Fri, 18 Sep 2020 13:34:23 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1600450463; h=Message-Id: Date: Subject: Cc: To: From: Sender; bh=q2e9iINiXn4aOr/7k6nZrE8i9XGigJzoqBndAZHpgGE=; b=l/Kg1ZvPuQfdctfLhaIIkEb0idWtn96kBr1SkzP76gD0CXCwOTGXjYtkz4OGkNQKatHzG4Co MFGoQAuR/VDC0117kLUWoii62qOnXIBnw1ea1WCO+udPMtFo9N/oh8UrJA8OKpeZqiBhJgTp v94EJNpyw3k/YP19k2j8duhSvEY= X-Mailgun-Sending-Ip: 198.61.254.54 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-n03.prod.us-east-1.postgun.com with SMTP id 5f64ef8b6fe64d5a7fcb3abe (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Fri, 18 Sep 2020 17:34:03 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 28489C433F1; Fri, 18 Sep 2020 17:34:03 +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 43923C433CA; Fri, 18 Sep 2020 17:33:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 43923C433CA 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 , V Sujith Kumar Reddy , Srinivasa Rao Mandadapu Subject: [PATCH v4] arm64: dts: qcom: sc7180: Add lpass cpu node for I2S driver Date: Fri, 18 Sep 2020 23:03:46 +0530 Message-Id: <1600450426-14063-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: V Sujith Kumar Reddy Signed-off-by: Srinivasa Rao Mandadapu --- Changes since v3: -- The typo error fix Changes since v2: -- The plement of lpass_cpu node is changed Changes since v1: -- Updated I2S pin control nodes with grouping common pin controls -- Updated lpass_cpu node with proper control names 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..427a4bf 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.