From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BFC9C12D1F1 for ; Tue, 10 Feb 2026 06:13:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770704014; cv=none; b=Zo+bLYJGWaLX4u/V8XudHwPtGhUJJikOuM21kZjZcvvO8pOENQxeXY3M1rFvO6RbChBF17namsKahsAy8vT1iOvZ+JLKldG9ClOI7DJzEQ1Ke0yBgoh7xqFYy8GuoHXb2NyGJhg0KNB9RTNBESt2m56SrDvBnGwUWfzH5Juzdf8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770704014; c=relaxed/simple; bh=nXCMpFTrI3ZJYVQLFXEjLFfUGYhPOqDzW9nx1Mn9XjU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=M9ePCU5B9ixhQ1p75nv7MXyX16r5t2ejZLe8y1m75WKYBKk+yHMPl7LYOnG01iaQvTN2mtW7DEsaCYxVgkYIkAXgBBVXqxFKdqzF5oXhKkG2n4I+XMsWE8ykNFjMMVH+iEO63L20cS+nLyM9GgM3WUQxnTunx5NJrjHLCD9o9qc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=SuCok88b; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=jvB83u4h; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="SuCok88b"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="jvB83u4h" Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 619MmSUb1419571 for ; Tue, 10 Feb 2026 06:13:32 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= RuOnaW4i3RT/c+k/Lu/x636WkCp+Sl3bNHYZivSjaA8=; b=SuCok88b8BhMc160 xZ44NkgdcFNLvqpw0GJ8b7kqi1jmiNqJ4hpkGKGmgAPecGDOKHjNIKixSB6ZDSLM dijgIN1OTfF/b295936OEK7UIhip+Z7qglokgLBz9vm7zHnt3YrTONXdMu4do1vs MNO+/Ns3VeuEjDYOUa0x43yCHUAS4Nr36gIlWt37/rmZJmB6KKe5h2xCwaPxw91D ptGbE+wqOLOZJv8dBtfOzciOMd4Dp/pGuwmB9lf3gaY7Gp8xx9jeQYwCCkFEydxj WgIzPi5HxtEiOKHe/9SXQm+XLmjzhw8PyBZwKvHidEEcy2qXVM8p50sqtf0qOKKx ANSdFw== Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4c7rpvs6e1-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 10 Feb 2026 06:13:32 +0000 (GMT) Received: by mail-pj1-f71.google.com with SMTP id 98e67ed59e1d1-354c7febaefso1007049a91.3 for ; Mon, 09 Feb 2026 22:13:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1770704012; x=1771308812; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=RuOnaW4i3RT/c+k/Lu/x636WkCp+Sl3bNHYZivSjaA8=; b=jvB83u4h2gcr6nCI26wXxSFIH/NbWM0U/i2b10qkak7UKwEOMxIE+Ve4XAF70iW94J fVF+7kuNXSsYkfNVzkNOEsFLRM5Cu2DeCl9n6bYPf7GQrw+2lDKvl1BaGg8rEdaxSlGi cE2zhFVzO6QStkji11JXkDmRm9jo2Z9AQq+qsxA0ERxZJQ8NYg1SYEIzL/qAFYXrdQ2t Q87m/IxerS5UTwn8NGr73uYoDYbd2tSgiAABc5RzALIkeytDqeHhJUvVuv1bqfkVWNBr aDgqQ8pwk8L9OaKke+h1L967vMvZU8+aC3bsabbOweOC6ZvcJyo7hYl43cMCBSv+Kf2a 3Ixg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770704012; x=1771308812; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RuOnaW4i3RT/c+k/Lu/x636WkCp+Sl3bNHYZivSjaA8=; b=smwWdtZwvmQ+BoRkIH9ICx25X230F3eG3Yh0oGXtxfRtw0UtHNbQSHkJGQa4qSjQv2 Se4DUkygHJaaiy7DPiitwicTfhH6sg9jOL8W/tzQccmDP1/t+Bhhg+926zKi/l1mQy82 XN/+1wcTEKpNjS5/D9ISQE4QmZ3IV4Bvo2HHtcZ3jzdjroP0Iwmzv1WID64dP71FpAbO 0NwANocFeiDczy8TDdCYgs04AtQ1MyeUSZrVhxOj/aPeGmlCVlmhTH7v9fVYPix19CYw e+y1HR2b9Rgivt4DJa1uiXmT090P2MN11MN4N07UyEM9RHYJknTwAhMaZiq6dkKYTr8Q AbFQ== X-Forwarded-Encrypted: i=1; AJvYcCUCCFHOHziG+gyjW3bSFAWZLSrXDyQNVx044VKwUn5nRbLRWPYK5us5uVuaqwxv6W9qRFs6sd+KzJehi64=@vger.kernel.org X-Gm-Message-State: AOJu0YyUvnc1WSKAvSgVTrqdl0k0vCYuNd59YwGSZkyHoPY8S8deeZO3 AlbRr3j+16GXgn+pJBsW+KE9slvAJ3ymuezM+OovuHnEFthak2UjbH+m7a0LXYl9yxwprMPiVUZ quER66X2j5wDggAYtK0SwOI9Vf0zqDxPH6QuPncEEjERzI2xYHUcqj/O+X69v7nmuUJc= X-Gm-Gg: AZuq6aJUFOVIZVws44gQQgJTzvbG+y+l1A79TLZfEZhtBTueNSwqmLUtCVo3zfmnkRy o5FZU494hvAk4h/V8F/i3PxfklnGpQSIzhnZE4VitfbMNUilKyEqT7z0BJhy9ba17rzYbkrlBP8 faPK0VpLEZYEvNchhb3tsyKMPfYdL39V7nmZigLp1zXdodhw047/YhnEHnfhUhNSt8VfhhOIhLG soibvx4ucGqw0rz+eCAF2ginxReDrOVGj+XFmqvZXFaROXZ7uKb3lnQXMDoOQdl1d4pW3I3cNj1 QLl/PSUVtPiF7uMfWiK75u6+sfRiqSrMbMxTZUfqQFXypnBigArzYybqgS3guswGvB8L76+M1rC m9MWVLcJqRl/1a1P9iY/ozXLVIV+9aCXsjsvJvestaInK1DqvSKutVOB30KNc X-Received: by 2002:a17:90b:5587:b0:354:9b26:cdf8 with SMTP id 98e67ed59e1d1-354b3c6da9bmr11130738a91.10.1770704011680; Mon, 09 Feb 2026 22:13:31 -0800 (PST) X-Received: by 2002:a17:90b:5587:b0:354:9b26:cdf8 with SMTP id 98e67ed59e1d1-354b3c6da9bmr11130721a91.10.1770704011219; Mon, 09 Feb 2026 22:13:31 -0800 (PST) Received: from [10.218.21.154] ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3566292c488sm1460480a91.0.2026.02.09.22.13.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 09 Feb 2026 22:13:30 -0800 (PST) Message-ID: <69c44a59-eae4-4288-829d-26c69c8211b1@oss.qualcomm.com> Date: Tue, 10 Feb 2026 11:43:27 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 1/2] soc: qcom: pd-mapper: Add support for SA8775P To: Dmitry Baryshkov Cc: Bjorn Andersson , Konrad Dybcio , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org References: <20260209112947.930853-1-mohammad.rafi.shaik@oss.qualcomm.com> <20260209112947.930853-2-mohammad.rafi.shaik@oss.qualcomm.com> Content-Language: en-US From: Mohammad Rafi Shaik In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMjEwMDA1MCBTYWx0ZWRfX+U2llMvbRfw1 jne20QJoJXXH9a+hpvJ1Niho37EnEGuacV8sl9VVsVU1yqR9TBW+KwxBwH+M5qfDMygqoNqml8l /Ggbvj3wD7BBShdt4RuZKuZbTI5b2YGddD2h+UP2rg/aU4M1MawdoX5b9ytpE970V8cK+uTi7kQ jbDbfwyVgLo/gfUDHjDTT+Wr28ZLZutToQwLLZTb3M3TG0quQX7cA7/UpmES1R/J8jSNVnwbL81 7Y0kmil4XnOgopNWToxwR5YM24sDuV2HiWFlIgSLVFeXyU9SjywrO1sdHgdXot6khfZT2RZ2Vp+ yO/R+4PR5Uc0Vf6BhpmXyY+kFUwbYmYiXaPb1pDDYZJHa4EQmnUwG6L/X+cMIYCXhx6wdiSTZSn 26ohQHd1wqtr/s/833dFUHczE4vp3G3HmitFaX1MFYacvRncdEIRnd6iXmrp17LjBukausNJsGr NQvb2Qdayo4l7yBfWuA== X-Authority-Analysis: v=2.4 cv=KKZXzVFo c=1 sm=1 tr=0 ts=698acc8c cx=c_pps a=UNFcQwm+pnOIJct1K4W+Mw==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=IkcTkHD0fZMA:10 a=HzLeVaNsDn8A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=Mpw57Om8IfrbqaoTuvik:22 a=GgsMoib0sEa3-_RKJdDe:22 a=EUspDBNiAAAA:8 a=P917XNYOx0a1woFaCPcA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=uKXjsCUrEbL0IQVhDsJ9:22 X-Proofpoint-ORIG-GUID: fxEHYp1NAu-krAuHld_of7zwsdXvgEmH X-Proofpoint-GUID: fxEHYp1NAu-krAuHld_of7zwsdXvgEmH X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-02-09_01,2026-02-09_04,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 lowpriorityscore=0 suspectscore=0 impostorscore=0 spamscore=0 adultscore=0 malwarescore=0 priorityscore=1501 phishscore=0 clxscore=1015 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2601150000 definitions=main-2602100050 On 2/9/2026 7:48 PM, Dmitry Baryshkov wrote: > On Mon, Feb 09, 2026 at 07:09:06PM +0530, Mohammad Rafi Shaik wrote: >> >> >> On 2/9/2026 6:10 PM, Dmitry Baryshkov wrote: >>> On Mon, Feb 09, 2026 at 04:59:46PM +0530, Mohammad Rafi Shaik wrote: >>>> Add support for the Qualcomm SA8775P SoC to the protection >>>> domain mapper. SA8775P share the same protection domain >>>> configuration as SC8280XP with an additional gpdsp domain, >>>> except for charger_pd. >>>> >>>> Add an entry to the kernel, to avoid the need for userspace >>>> to provide this service. >>>> >>>> Signed-off-by: Mohammad Rafi Shaik >>>> --- >>>> drivers/soc/qcom/qcom_pd_mapper.c | 22 ++++++++++++++++++++++ >>>> 1 file changed, 22 insertions(+) >>>> >>>> diff --git a/drivers/soc/qcom/qcom_pd_mapper.c b/drivers/soc/qcom/qcom_pd_mapper.c >>>> index 1bcbe6968..8b899ec7f 100644 >>>> --- a/drivers/soc/qcom/qcom_pd_mapper.c >>>> +++ b/drivers/soc/qcom/qcom_pd_mapper.c >>>> @@ -305,6 +305,18 @@ static const struct qcom_pdm_domain_data cdsp_root_pd = { >>>> .services = { NULL }, >>>> }; >>>> +static const struct qcom_pdm_domain_data gpdsp_root_pd = { >>>> + .domain = "msm/gpdsp/root_pd", >>>> + .instance_id = 192, >>>> + .services = { NULL }, >>>> +}; >>>> + >>>> +static const struct qcom_pdm_domain_data gpdsp1_root_pd = { >>>> + .domain = "msm/gpdsp1/root_pd", >>>> + .instance_id = 241, >>>> + .services = { NULL }, >>>> +}; >>>> + >>>> static const struct qcom_pdm_domain_data slpi_root_pd = { >>>> .domain = "msm/slpi/root_pd", >>>> .instance_id = 90, >>>> @@ -401,6 +413,15 @@ static const struct qcom_pdm_domain_data *qcs404_domains[] = { >>>> NULL, >>>> }; >>>> +static const struct qcom_pdm_domain_data *sa8775p_domains[] = { >>>> + &adsp_audio_pd, >>>> + &adsp_root_pd, >>>> + &cdsp_root_pd, >>> >>> Is there no separate PD for CDSP1? What is the difference between CDSP >>> and CDSP1? >>> >> >> Yes, there is no dedicated PD entry for CDSP1 in the linux‑firmware, >> >> In the device tree, there is no functional change in CDSP, only the base >> address is different. > > So, you can ask this question internally. > ACK, Sure, will check and get back. Thanks, Rafi. >> >> Thanks & Regards, >> Rafi. >> >>>> + &gpdsp_root_pd, >>>> + &gpdsp1_root_pd, >>>> + NULL, >>>> +}; >>>> + >>>> static const struct qcom_pdm_domain_data *sc7180_domains[] = { >>>> &adsp_audio_pd, >>>> &adsp_root_pd_pdr, >>>> @@ -572,6 +593,7 @@ static const struct of_device_id qcom_pdm_domains[] __maybe_unused = { >>>> { .compatible = "qcom,qcm2290", .data = qcm2290_domains, }, >>>> { .compatible = "qcom,qcm6490", .data = sc7280_domains, }, >>>> { .compatible = "qcom,qcs404", .data = qcs404_domains, }, >>>> + { .compatible = "qcom,sa8775p", .data = sa8775p_domains, }, >>>> { .compatible = "qcom,sc7180", .data = sc7180_domains, }, >>>> { .compatible = "qcom,sc7280", .data = sc7280_domains, }, >>>> { .compatible = "qcom,sc8180x", .data = sc8180x_domains, }, >>>> -- >>>> 2.34.1 >>>> >>> >> >