Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp594814lqs; Tue, 5 Mar 2024 10:25:47 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWcJ1qukXIftVnhR7XBg+DL9rINH9SNTgk/W5BBr8h1vbbwM70U151uGvsf+pxLa3izgP68gUTW1YKAyAccriMD3r6yXUWMZLRZmFXzTg== X-Google-Smtp-Source: AGHT+IHKPU6+yciOUegXaqbQ9gc9tqJ0AX9N+VygCL0RBRF/55RpuCj1rHi3A2vnlULWhGofEdW7 X-Received: by 2002:a17:903:181:b0:1db:d586:b2d with SMTP id z1-20020a170903018100b001dbd5860b2dmr2925824plg.18.1709663146880; Tue, 05 Mar 2024 10:25:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709663146; cv=pass; d=google.com; s=arc-20160816; b=VAnpmZ8nNytARvh8P6nJE1xmaLEjYy4lV7azc61/lG7GpYUsFVMJepXvyZ9dyUOy0I TVwAN8jZ9bQLwdbrFmTpu3tWUm+4PbYB42hDYuxP3JDRBJE6vFX9pX8gngPO/pGrnDiK xIFczw1plSKPsACYroEjuG3FsMxTeSKhY3HajSBuM0QRMMrWx4vyBU+PqWJn+RnI+ohZ gZJS26i28lbaDyvVJ9xYS8AfXujyHCHM6Zhs3/qViR/479fYfRgXj6QF316oKbOGkUwE YuHukVquySJoq5tz+ioGXbQgrAlXZ4oipoLEGiVHW7pRuHXEt3jv6C2EAuHZ+NFwOE31 D5tw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:references:to:from :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=2kl5tMFEKrj+g3qzJ7Yn8a+ESpyaPJUxELxULpjiqso=; fh=H4Z4zvi/d9HBWTP6bsPdC5x5QoqOC2SqoedMqVnfYUA=; b=XkqKe5ceCGkyv7SFTduXMKuWHBxWQkxh00wY0hWEd7WbYIV0SqqGSifwacNo33gYCd gnXYDk/wmQ1be4E4ST9094NC5NuKr6TdBKt+6V3QxQ3DdmsdbzgflmEcpaKE2XxX2EWR bGeQG1FkU24TY93I8EUiWtiszOmWAPFMvASM6vlbNhAkouupe8Mnv6SeHtcqXgJ8cjIx M6uX2aJfbkcMzEpLZpvgzi8X4CjXJOTKFwhx7ImbR80MAJwstm9vQGAceHqlhbNmIy0h oLLGGAv8GPVUiTBaGz7qUNC/sjTI5GhO4ge4O3k8tmbyhWqlpg9uoHhKHdupEk3jsDBK jTpQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=pix2Nnie; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-92823-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-92823-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id m18-20020a170902f65200b001dbf6a7e767si10599408plg.59.2024.03.05.10.25.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 10:25:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-92823-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=pix2Nnie; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-92823-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-92823-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 8C95A285D47 for ; Tue, 5 Mar 2024 18:25:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DD2421AACF; Tue, 5 Mar 2024 18:25:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="pix2Nnie" 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 7BA4A1AAAE; Tue, 5 Mar 2024 18:25:30 +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=1709663132; cv=none; b=S0cIfbt8KMJC+0mIJMR0PcaglxAXg76lqL23c5lDo2gvZerQTmpdHI4Ff2cRfoctLqfjZsQ9RqAeDJk7SyeNMz5t5o3m/HIJKSnF2K1EV+2HAqrsmYA4gtK1G9RYvhktfpqER2R2/LOHwQvB6fDVK+ssouhQfeW3m1TjUF9BzEk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709663132; c=relaxed/simple; bh=f5eWXg8q9+04983HKC25i0B2Cij6OAJzv1WgCCfc3eo=; h=Message-ID:Date:MIME-Version:Subject:From:To:References: In-Reply-To:Content-Type; b=HVfjWBm/VjDfUeHaXI5kB21YVbDA00c8vmTg9l0gJh5m8ZPxAEpYADhgZI1RRhFk/Ywwr/MzvhgZzYvEmj4OpYZRt9F+LSGfH0N3pncsSj1hPE8f9I12UVf+gB0P2RwmsIPdw1jRYC+4+AKyvEyYo45HWWCfRItrkqduZR2q3dA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=pix2Nnie; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 425Fm2T2030069; Tue, 5 Mar 2024 18:25:17 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:from:to:references :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=2kl5tMFEKrj+g3qzJ7Yn8a+ESpyaPJUxELxULpjiqso=; b=pi x2NniezncgxxR80ZzKSp058LQQKAD4JPUS2xx8OeytsP9oRnA3vOLAcFttNHaQfO newmEnUbCBHrZVR3+aCdbeGFXeY9dd+rpuju75EkGWYWRyOGfq5PbuoqQ4Vnp5/l s50wej/d7nt0mOw53pXJkZ/x/wNEZVJbhrKV866EXYlj+QpCzNh1kXlowe1U1U2c zPje5nmBIb2MBftKHDwlOHhgDmJp4cDhBD6oySJHZIp1sgDFkj9LONTEdpWx7K2w oRFwV9UB14ZTtWIx1R55e+qGb0VneRlBqZC9taPwsAlMTSs0hfc732B/AnCVEZEj svPMN2CNW9c4x0KN3L2A== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3wp6bv8cps-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 05 Mar 2024 18:25:16 +0000 (GMT) Received: from nasanex01c.na.qualcomm.com (nasanex01c.na.qualcomm.com [10.45.79.139]) by NASANPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 425IPFLH009942 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 5 Mar 2024 18:25:15 GMT Received: from [10.216.51.173] (10.80.80.8) by nasanex01c.na.qualcomm.com (10.45.79.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Tue, 5 Mar 2024 10:25:08 -0800 Message-ID: Date: Tue, 5 Mar 2024 23:55:04 +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: [RFC 3/3] arm64: dts: qcom: sa8775p-ride: Enable support for firmware managed resources Content-Language: en-US From: Sriram Dash To: Krzysztof Kozlowski , , , , , , , , , , , , , , , , , , , , , , References: <1709657858-8563-1-git-send-email-quic_sriramd@quicinc.com> <1709657858-8563-4-git-send-email-quic_sriramd@quicinc.com> <399555e8-d8fa-46b7-8b15-3d3a4a30809b@quicinc.com> In-Reply-To: <399555e8-d8fa-46b7-8b15-3d3a4a30809b@quicinc.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01c.na.qualcomm.com (10.45.79.139) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: Fg58HcmEETQqSWqLAm75O0fTg6deT8lC X-Proofpoint-ORIG-GUID: Fg58HcmEETQqSWqLAm75O0fTg6deT8lC X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-05_15,2024-03-05_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 phishscore=0 mlxscore=0 bulkscore=0 suspectscore=0 priorityscore=1501 adultscore=0 malwarescore=0 mlxlogscore=999 impostorscore=0 clxscore=1015 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2402120000 definitions=main-2403050147 On 3/5/2024 11:33 PM, Sriram Dash wrote: > On 3/5/2024 10:38 PM, Krzysztof Kozlowski wrote: >> On 05/03/2024 17:57, Sriram Dash wrote: >>> Establish the channel and domain mapping for the power domains to >>> connect >>> with firmware, enabling the firmware to handle the assigned resources. >>> Since these delegated resources will remain invisible to the operating >>> system, ensure that any references to them are removed. >>> >>> Signed-off-by: Sriram Dash >>> --- >>>   arch/arm64/boot/dts/qcom/sa8775p-ride.dts | 96 >>> +++++++++++++++++++++++++------ >>>   1 file changed, 77 insertions(+), 19 deletions(-) >> >> Do not mix DTS patches with submissions to netdev or USB. >> >> Please put it inside your internal guides, so you will not be repeating >> this over and over. >> > > Sure. Will take care. Thanks. > >>> >>> diff --git a/arch/arm64/boot/dts/qcom/sa8775p-ride.dts >>> b/arch/arm64/boot/dts/qcom/sa8775p-ride.dts >>> index 26ad05b..b6c9cac 100644 >>> --- a/arch/arm64/boot/dts/qcom/sa8775p-ride.dts >>> +++ b/arch/arm64/boot/dts/qcom/sa8775p-ride.dts >>> @@ -764,8 +764,18 @@ >>>   }; >>>   &usb_0 { >>> -    pinctrl-names = "default"; >>> -    pinctrl-0 = <&usb0_en_state>; >>> +    /delete-property/ clocks; >>> +    /delete-property/ clock-names; >>> +    /delete-property/ assigned-clocks; >>> +    /delete-property/ assigned-clock-rates; >>> +    /delete-property/ required-opps; >>> +    /delete-property/ resets; >>> +    /delete-property/ interconnects; >>> +    /delete-property/ interconnect-names; >>> + >>> +    power-domains = , ; >> >> This wasn't even tested. >> > > This is tested with the specific power domains in place > of . SCMI interface is used for the power domains. > >> Best regards, >> Krzysztof >>