Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1496987pxb; Fri, 26 Feb 2021 12:16:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJwAtjvRtNHoMy9QvbaJ0BR3lJDXVSo1o0HlEqwJKtnFQ867SCjmda857tkd/5JjhSJQBQur X-Received: by 2002:a17:906:1fc7:: with SMTP id e7mr5120273ejt.202.1614370583591; Fri, 26 Feb 2021 12:16:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614370583; cv=none; d=google.com; s=arc-20160816; b=BGcrqVSbd4AszA0bjlATh7dYav6Tch08EFNtfYsdUUpyUeejwqGdAh3tjiZpYDP9J4 g9QMq1hZdDJmfPnsHB4TQAXLmlISq5LHqABnnmD5/IbF0yl4v5UU8D+xbglQ8GIcbk6d sQ8WimmMfER9uyy3udj+0U2vpdCqt14Sr+lFXs0iCDlaKGkteNDJnIlkjiPwx5W/Cl2j dZVVuMtWigAq+8laVfu8XIJ7tHPyg9T7AZQwmhVUN1+Ocdar8vMSWBUEiiGCbShfu5z5 GGs1acPEL6QlroLcgVtCnwYbc8argfMtUCxiEXbTTI58wTkTtw2cQz8iOdpBd8zNmApz FV8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=Vy/SRKKiCPUaBmRzMiua/aHSZlZ5LkECtewqRK4akAI=; b=UykE1DPN+hz/lUaP/IxDf9y3T4QRydE+zDQ1t5gRZ2hvISbhEByZBsV0PWJdI7aZPw ali26VTG9j9dI+Urqxhluqc8AkM0b6LtzV0uirdznylBb/YEr3e9l3vQceWA2Vvc6OZc IlKF4ONnudOgJrwB0GXdgDWQUOsH4jqvPo0uKQiGlaUxJ0UJRbFnRtYyN+xSg4sOFtyZ AQ3Ntyk6sbUaBUiC5pZ+XwhIcTppj9qHNt9tp0KrrsgBWD0bmSXM6/NcRLDBNBI5D5xK jsM9tyXDhaPDMLYQbudzBmeZFCAFKXJPYhWS+rE/1Qo6i2OeGYHGAQwawy/DpfLvjwGN MccA== ARC-Authentication-Results: i=1; mx.google.com; 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 k1si6566706ejp.193.2021.02.26.12.16.01; Fri, 26 Feb 2021 12:16:23 -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; 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 S231162AbhBZUNB (ORCPT + 99 others); Fri, 26 Feb 2021 15:13:01 -0500 Received: from m-r1.th.seeweb.it ([5.144.164.170]:41907 "EHLO m-r1.th.seeweb.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230350AbhBZUJR (ORCPT ); Fri, 26 Feb 2021 15:09:17 -0500 Received: from localhost.localdomain (abab236.neoplus.adsl.tpnet.pl [83.6.165.236]) by m-r1.th.seeweb.it (Postfix) with ESMTPA id 436611FAF2; Fri, 26 Feb 2021 21:05:54 +0100 (CET) From: Konrad Dybcio To: phone-devel@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, martin.botka@somainline.org, angelogioacchino.delregno@somainline.org, marijn.suijten@somainline.org, Konrad Dybcio , Andy Gross , Bjorn Andersson , Amit Kucheria , Zhang Rui , Daniel Lezcano , Rob Herring , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 18/41] arm64: dts: qcom: sdm630: Add ADSP remoteproc configuration Date: Fri, 26 Feb 2021 21:03:48 +0100 Message-Id: <20210226200414.167762-19-konrad.dybcio@somainline.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210226200414.167762-1-konrad.dybcio@somainline.org> References: <20210226200414.167762-1-konrad.dybcio@somainline.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Configure the ADSP remote processor and add a simple sound{} node to make way for future development. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 83 ++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi index 08e499229396..f6abb2e79407 100644 --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi @@ -10,6 +10,7 @@ #include #include #include +#include / { interrupt-parent = <&intc>; @@ -521,6 +522,9 @@ modem_smp2p_in: slave-kernel { }; }; + sound: sound { + }; + thermal-zones { aoss-thermal { polling-delay-passive = <250>; @@ -1885,6 +1889,85 @@ mmss_smmu: iommu@cd00000 { status = "disabled"; }; + adsp_pil: remoteproc@15700000 { + compatible = "qcom,sdm660-adsp-pil"; + reg = <0x15700000 0x4040>; + + interrupts-extended = + <&intc GIC_SPI 162 IRQ_TYPE_EDGE_RISING>, + <&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, + <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, + <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, + <&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "wdog", "fatal", "ready", + "handover", "stop-ack"; + + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>; + clock-names = "xo"; + + memory-region = <&adsp_region>; + power-domains = <&rpmpd SDM660_VDDCX>; + power-domain-names = "cx"; + + qcom,smem-states = <&adsp_smp2p_out 0>; + qcom,smem-state-names = "stop"; + + glink-edge { + interrupts = ; + + label = "lpass"; + mboxes = <&apcs_glb 9>; + qcom,remote-pid = <2>; + #address-cells = <1>; + #size-cells = <0>; + + apr { + compatible = "qcom,apr-v2"; + qcom,glink-channels = "apr_audio_svc"; + qcom,apr-domain = ; + #address-cells = <1>; + #size-cells = <0>; + + q6core { + reg = ; + compatible = "qcom,q6core"; + }; + + q6afe: apr-service@4 { + compatible = "qcom,q6afe"; + reg = ; + q6afedai: dais { + compatible = "qcom,q6afe-dais"; + #address-cells = <1>; + #size-cells = <0>; + #sound-dai-cells = <1>; + }; + }; + + q6asm: apr-service@7 { + compatible = "qcom,q6asm"; + reg = ; + q6asmdai: dais { + compatible = "qcom,q6asm-dais"; + #address-cells = <1>; + #size-cells = <0>; + #sound-dai-cells = <1>; + iommus = <&lpass_smmu 1>; + }; + }; + + q6adm: apr-service@8 { + compatible = "qcom,q6adm"; + reg = ; + q6routing: routing { + compatible = "qcom,q6adm-routing"; + #sound-dai-cells = <0>; + }; + }; + }; + }; + }; + gnoc: interconnect@17900000 { compatible = "qcom,sdm660-gnoc"; reg = <0x17900000 0xe000>; -- 2.30.1