Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3432424pxu; Mon, 30 Nov 2020 03:06:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJySJbDTMjX+mJdI1ZSBTmmuBh1ekx3mjcIiTvS2WZb2wMCRIO9IfRwmIsbwI6R1UEaTUmVG X-Received: by 2002:a17:906:3883:: with SMTP id q3mr3859936ejd.160.1606734404818; Mon, 30 Nov 2020 03:06:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606734404; cv=none; d=google.com; s=arc-20160816; b=QBP0fSxzzH8Tk0xamRYvs+AazzItTYO4ZgfVAxZJPU7sgh5ILdiqy47jCnq9mYbynW TCOstscAJJvnaiZslouZyj4mBX+ru44D5CmpA6JgXlwsQSo7XTi+vAH1hF25RtXAqgWR 1VWQfB2OYASnamsb7ZJxyAvPKrBLFvVLXn89WuTdREIpEb8aVeXlru0pOGmLi/DFvagQ lW9sdJM1iU+grps/JJElD4VAVlaHk+8qNHAOHRkGZM64YLc/Kwv+t06jSO40DGnsNeCA wBmVaymWb5/L2a4pRIcdDo4zVx5eqwDyAo227+YtMXYXdHlrh+LS42cJRihr3VShwOrj gIdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=GVA/a06QRaXa5UUbFhiaFdgC4CC6v0BqUoUGNrRgXR0=; b=GHAX5Qm+a2jbBYeg2OU8UdPsUVUqNprOEK6bGlrJjiUVk+XbYeR5Ca2/p+o/T9tE5s SJjqIiwW66IZwGlDskXztjZ+nBMJ3BA6h9Ns8z/dE3T05tF6TgYfyeBWInVcFDHzP5BX g4RVtY5xhO1zLv29XB+e93k9yiW9ALX6wJizTX2DEvA1JK12xKinrdYCF68I56T80yys fx72ZNFQY8MHQJEqEG9GgmhtxpXambHF+umx/8K1XXVhDXXPB2CQamk+04Vnw7YjrTLQ ScNlbpdoAyzYnvpDN9Yxc1uD6dAn4JozKpBZshv5AiX29bW4qnu3DcPE6JkziycKH0T7 xtLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gf1sV6Jd; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q18si13458468eji.696.2020.11.30.03.06.22; Mon, 30 Nov 2020 03:06:44 -0800 (PST) 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=pass header.i=@linaro.org header.s=google header.b=gf1sV6Jd; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387479AbgK3LDO (ORCPT + 99 others); Mon, 30 Nov 2020 06:03:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728924AbgK3LDN (ORCPT ); Mon, 30 Nov 2020 06:03:13 -0500 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74E3CC0613D4 for ; Mon, 30 Nov 2020 03:02:27 -0800 (PST) Received: by mail-wr1-x442.google.com with SMTP id 23so15576414wrc.8 for ; Mon, 30 Nov 2020 03:02:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=GVA/a06QRaXa5UUbFhiaFdgC4CC6v0BqUoUGNrRgXR0=; b=gf1sV6Jdnp0Ez0iXo7JOX6AmaLUkjXUth37Aatk0rPwIpGbjGhb+gdzyAmT1/O/o0b zBdyHSV8RmldNeao1x9pwHOvB++AzS/36BtDFchPtEClUHn8M/rbAyUGOP+oPAWlygju hYK0HA7eH3VZZ02OXGyXdfLc/KKSdGavKVtWIloNPP7f7LMq0p0zMf81Rt1lEYmJ9EgU xKox6cIwIz1J0T39Q9eSJrEsZTJc2dby/2cnnAwtKER8ArLLQOnNQu96zDtQLHnT6g6y /MIiWTxTu56ylJE2LblOlk84zKjWwbgIL45Hf9Csk599Mk9hP72Xj18aLK2eevWpDxtg 102A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=GVA/a06QRaXa5UUbFhiaFdgC4CC6v0BqUoUGNrRgXR0=; b=sXtxMkMM7+W5mTNjVMx7ETqauhIZ7J8L5XFUTKMYaEZQsUmBdGOXNbUGtjevZHML8G ZAeTsCgYk+AAbmYmiVI4QGFmnnAH7rcCSPFugBbaMujesp6uaAR5yimPF38RyIBjJ96/ kF1cdfWdOpfpt0BCQpJDpMKhTFxyZkI7fuB2JERAHBiMxbi/q0jn1TmfYnMV2tA3IlHR hjLW92oWFs/HGWXXbNSRzKwZUuJWHq6ch4uE7700rglD4sPJQNw3+RLvCr8uK+ko557/ MAgMfxwnuCTO8+JAqX9ouv+4MHo2u5fDK16pAINPGyaXNfjxD0nJCUUWyfFC37gU1MoF fhbA== X-Gm-Message-State: AOAM533DP3fgFCxlJ3ePW0hj9iGHLsO9fA3l1MUUSgd9HsBIeAej1xko /Nn8tpw+dQr8d4ESaP2CJpbeKQ== X-Received: by 2002:adf:f888:: with SMTP id u8mr27083831wrp.381.1606734145961; Mon, 30 Nov 2020 03:02:25 -0800 (PST) Received: from [192.168.86.34] (cpc86377-aztw32-2-0-cust226.18-1.cable.virginm.net. [92.233.226.227]) by smtp.googlemail.com with ESMTPSA id f16sm23036731wmh.7.2020.11.30.03.02.24 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Nov 2020 03:02:25 -0800 (PST) Subject: Re: [PATCH v4] arm64: dts: qcom: sc7180: Add lpass cpu node for I2S driver To: Srinivasa Rao Mandadapu , 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 Cc: Ajit Pandey , Cheng-Yi Chiang , V Sujith Kumar Reddy References: <1600450426-14063-1-git-send-email-srivasam@codeaurora.org> From: Srinivas Kandagatla Message-ID: Date: Mon, 30 Nov 2020 11:02:23 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <1600450426-14063-1-git-send-email-srivasam@codeaurora.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18/09/2020 18:33, Srinivasa Rao Mandadapu wrote: > 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 > --- Reviewed-by: Srinivas Kandagatla > 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>; >