From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BDACD221260 for ; Thu, 8 May 2025 22:20:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746742814; cv=none; b=BVBDczZGXmlIQkoD/0L4kEjwcksdo9rehHFdKOl/tTBnNyrk+t4Tv/aQvCshqdRKTD3pD/78WUlG0QasdyxHmU5O+I9nk+Rl8hAX61tVGuSPtSt/GREhPGh2Myyw9vAlRqm0HlmLy5IoYTbZwdwwrnjc4ZQhYN5/MunjRbYJVTk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746742814; c=relaxed/simple; bh=8jVG2Y4+gQ8pZk3n45eHG1gfNLG0R+Q+iYY7hvNL6OU=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=Tm2e5xxKlTB6PR5ibvsbD1SCzZ+ZSv0zxfDrXQi6VqcRSuCVM4d9hmU5Zh1TBJP38RQQnSd5rbNDBvC6+UuysSuUzilnwYZ/+SA99Q9AIXzaI6Sh9V7tbCdmW1K8kNXryG6o08DxCg+5p48LXX83Kg5dGWCvIlKlZNBr/zhr+rk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=XTZR0Nfg; arc=none smtp.client-ip=209.85.128.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="XTZR0Nfg" Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-43edecbfb46so11445535e9.0 for ; Thu, 08 May 2025 15:20:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1746742811; x=1747347611; darn=vger.kernel.org; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=9qeTG18LlcwANY+r6vVAi8oKprRlbWWzGEVKGSZnnmg=; b=XTZR0NfgNFLjNDLO4QHqQWcluIGl5H+DYsSAEyl42rFy4WG6o/upybvrWyltHh6Ved Mw02/x3HaQEk9oZQohtddVqT5p0lz4uTJW531LYoDYGWPQhRAVveAZp1J0TZZtoAtb+E r5jsrrjsSz41juDr4KqurtA2NP2RdwrVo/WnoOysRekbE6+yQ6yjZb4IBOdUqllA0msJ Wmslh41RGg0d6rn6D7IbcyGxEG6AoNAcPwRft+zQItpzf13Hv33zzA29faNAjRrIhWB9 BeHnpn8h8ORf2jO3+vTC0/Yq6/10A8RosLj2k+YsLV6tZTE4B6sZLEUW7IfPJlQXoKrP yELg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746742811; x=1747347611; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=9qeTG18LlcwANY+r6vVAi8oKprRlbWWzGEVKGSZnnmg=; b=rrIRvPBrq+3o+MjY5PU17V6Ankt1ib/0OTglngKWd6OE5cXI78+R/jzRBAh8COvNKB eHXQh/Jf8EwshGmP9oTzMHYRGDM5ytk2s79jPQwBEjcUlNCRgl+C+FdZFX3JD3gYpnk4 1ogxyC6mUf7XbBLnvHNz253VZ9yE+MrwEj7lrZVEutk80PY82jvNvCDHiUNpz5xcXKLb 5gvczzv3KF+R+FMy59iBgU4lU00MjV1iVwJrjQXfzas3btJbvRyt6l2+vzD7M2RoG7u/ KVQ8P7r6a4IpbIf3bH4E0xYV27w5dA4d2bObzZxKnJJOftA0SBhAdV3w4G6uJLnUTrgW JRcA== X-Forwarded-Encrypted: i=1; AJvYcCVjJq0y1uOzUQuRJS2ihe8sKJPKpacgj3RoHx+BU6I/9npLqESsji2e4etEmVnFsM6GILeGWi2VY5ZPSmw=@vger.kernel.org X-Gm-Message-State: AOJu0Yw3E4MGMHqM57eoVEzw0Gb+bD1xrIREM7yq1dV4ojk+fbvWSgWJ S0oWpLM4Doqn71sY4pUQMFYkoDv8rEnd/8Zdz0Yrvg18k3pSrfG1fo+mZLe/Xi0= X-Gm-Gg: ASbGncvBweu8OZOzMj2MIhqTUUe5xMVATtrrZmDW86IOCfieyaUCHoYElRUhIshNjE7 wu9ZwOo4GSc379xVqnWpXVfoarn8m4at1iYpsG+3eCY5YO9t0FiraUIYU5Ywya1yhwgVdMoIUyn ILRPTc3OxpHbPYOMwMdMvycDmtIGDbbxFPsZnpJ6a3ETUMTlnqtABYYPbSx1Snm04haXbs/Oj5d h+lScsJDGV3fMw9pd2Gk746DOF+qmmPJrg2NEY61RcJhkxtnXfGewkWYDC8vIzCp37hEoBCF3XR aDTkpH8NiTNcCBQDGvDdMOwnTalX798zgpotBvv4 X-Google-Smtp-Source: AGHT+IFNJ7Gi970i7bPc0iWkD5GHmhHRZeXN9OkzflaFGz8KLIOBP4AoxOK+OI9a1TIMzF17BR9SKQ== X-Received: by 2002:a05:600c:609a:b0:43c:eeee:b706 with SMTP id 5b1f17b1804b1-442d6dd246dmr8546325e9.24.1746742811044; Thu, 08 May 2025 15:20:11 -0700 (PDT) Received: from localhost ([2.216.7.124]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-442cd34bd79sm50210065e9.23.2025.05.08.15.20.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 08 May 2025 15:20:10 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Thu, 08 May 2025 23:20:08 +0100 Message-Id: Cc: , , , , , , , Subject: Re: [PATCH] arm64: dts: qcom: sm8750: Add adsp fastrpc support From: "Alexey Klimov" To: "Konrad Dybcio" , , , X-Mailer: aerc 0.20.0 References: <20250502011539.739937-1-alexey.klimov@linaro.org> <10f69da3-6f94-4249-a8f3-459dc48fa5e1@oss.qualcomm.com> In-Reply-To: <10f69da3-6f94-4249-a8f3-459dc48fa5e1@oss.qualcomm.com> On Fri May 2, 2025 at 10:38 AM BST, Konrad Dybcio wrote: > On 5/2/25 3:15 AM, Alexey Klimov wrote: >> While at this, also add required memory region for fastrpc. >>=20 >> Tested on sm8750-mtp device with adsprpdcd. >>=20 >> Cc: Ekansh Gupta >> Cc: Srinivas Kandagatla >> Cc: Krzysztof Kozlowski >> Signed-off-by: Alexey Klimov >> --- >> arch/arm64/boot/dts/qcom/sm8750.dtsi | 70 ++++++++++++++++++++++++++++ >> 1 file changed, 70 insertions(+) >>=20 >> diff --git a/arch/arm64/boot/dts/qcom/sm8750.dtsi b/arch/arm64/boot/dts/= qcom/sm8750.dtsi >> index 149d2ed17641..48ee66125a89 100644 >> --- a/arch/arm64/boot/dts/qcom/sm8750.dtsi >> +++ b/arch/arm64/boot/dts/qcom/sm8750.dtsi >> @@ -7,6 +7,7 @@ >> #include >> #include >> #include >> +#include >> #include >> #include >> #include >> @@ -523,6 +524,14 @@ llcc_lpi_mem: llcc-lpi@ff800000 { >> reg =3D <0x0 0xff800000 0x0 0x800000>; >> no-map; >> }; >> + >> + adsp_rpc_remote_heap_mem: adsp-rpc-remote-heap { >> + compatible =3D "shared-dma-pool"; >> + alloc-ranges =3D <0x0 0x00000000 0x0 0xffffffff>; >> + alignment =3D <0x0 0x400000>; >> + size =3D <0x0 0xc00000>; >> + reusable; >> + }; >> }; >> =20 >> smp2p-adsp { >> @@ -2237,6 +2246,67 @@ q6prmcc: clock-controller { >> }; >> }; >> }; >> + >> + fastrpc { >> + compatible =3D "qcom,fastrpc"; >> + qcom,glink-channels =3D "fastrpcglink-apps-dsp"; >> + label =3D "adsp"; >> + memory-region =3D <&adsp_rpc_remote_heap_mem>; > > IIUC the driver only considers this on the sensor DSP Memory region is required for audio protection domain + adsprpdcd as far as= I know. Thanks, Alexey