From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (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 AD7AC1F37C5 for ; Thu, 8 May 2025 22:20:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746742815; cv=none; b=bbDkdY5olTmRYkVhNzqWpzMsjQrT2uTCRohMybl1ww2Z3ex/wFqrYA7Hq5vUOQ/jjWR8O080VaJ6Yy+XijTxWVD7uQXE0L+EHzyQn+7bReWDc6lKCRlYfXPC804qhof8YqQXX5PIUYiP/u/M0ThIBXpG2IIfSlQxW8TvvBpwA/8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746742815; 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=FYtw673F6npd9inG6uBOsvV9DGFFF0t1Pk89Fr2XG/v72sJHhlKs1zPa/nc+9scZ+hA2qD2zss8X/nrsKJSMTarg+r5BHoKFbBTkNigj1a0xZXQTf5eLwOqkI2/ZasvdbZg6/bRPFl/WMWzzLBWYQxyHA8VCbk1iNavtTRhbMjI= 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.48 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-f48.google.com with SMTP id 5b1f17b1804b1-43cebe06e9eso11208335e9.3 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=S/cyKUyrN5m8OyNleD3MuYcmLNnHbAhvZmSG3glKk6nw8xv3nz7qpNk1NOHh+5fOH0 m0JMANrUGPkjNePc1EmAV+jpSvlpXRLTkOFh9pcO1fvmJL6jFTxPSpZfGHZ/L9b50o/T +3cpgXmwMI6VPP31Xc2faYlSyQiK0umWfaCGEsElmIGm2SgIf6eQaTfqxNyZAGaYIanL c+VGUyDiIdt2rOIFfXnbkFbjvCKdAUsvY0GiC0UjR4ai9echDRQVr6l5vsAtwaU6RwQk O6oSjqos8SNfDNz9w1u43GViLMQP+z4VUy+YEdhV149eU1g82VFMerImHqTtL1zh4CBW voUQ== X-Forwarded-Encrypted: i=1; AJvYcCUhllNg1+Si4o4HTPIfNUSIHGfHMAbBJT1jAnCDooftWvyLxTumspi369CJhn47Cbxpz38hzwttFfQmVB9m@vger.kernel.org X-Gm-Message-State: AOJu0YwOqBN8a2SkMOEMOTdVICKYXzHNZY60F0bQsHft6DHhvv583MV0 2BPjSgW6HndbfND7ocJb7gU7Sq1YiQxpQLUJdIV6onxuxTafT1SM4ZNVgioH5Nc= X-Gm-Gg: ASbGncv+D9F1COkHd4r9+bV6Atu/NEmamdRemX/tMEizBSC3x2IXQzsFqCieFsb3yhI py0MbhkiGdZqemPlJUtB4VseKHyOimMzmD/gU7lcbMXeHcjrLoBI4ZlTsK+PEQVIr+s/95/cgyf tEalzBG9pC11peG6CSFKuJz/wHwW0c0F7IfdsbjSFyfkRt/MsbNIXpsg55MOVr4VILI/dsv6nYn Ubjr6ffEeHnLKkHLe7OPUp55voLySEk0ZlIcWFqpE+1iuafiq7R1wSCaj4oJ8hsmYSdeWfVtL4W EhW3emL5vFSgUZ4wV8hrbeh80EFgJ5uboIN7gU2u 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-arm-msm@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