From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B0501C5475B for ; Wed, 6 Mar 2024 16:00:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:To:Subject:MIME-Version: Date:Message-ID:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=YHzzrZ+NmtCa85qcGNAkX0k7c4HGQJmj3u33FXs49To=; b=RQv5swGpRJ5oY3dn4w1CY2Uhu2 cafYLUMpPTfh5Z8l+N3dZNABQY7HiS+WaexIdNjmDG5OnYkdGkWs5HXtAKAbRe/dum9auN1ZFilJE 9JWFJH8TxMSEn0nYQ3dpa6lYhevz9JZOLPkZ8ykXrH6gxQbpAv9pALVnqmC8TfDVFZEKpeTOc+ujF +GD0S03WwDrefZ9dzaOJ+kWC0rplVc5A29r+TBMajItt7AeZuNvLMPtafYOVvpDUkvDL0PvBagu3p igvz8+SLzt95c+YuC/qV9NGCrP8z/mx6xj4734iGGr+lEPKSLLS3zbG3qrV/rbO1H84zgmqkUz+fK i180KRxA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rhth2-00000000t3b-1ZPQ; Wed, 06 Mar 2024 16:00:32 +0000 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rhtgr-00000000sxn-0P7I for linux-phy@lists.infradead.org; Wed, 06 Mar 2024 16:00:22 +0000 Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 426BdF6I001288; Wed, 6 Mar 2024 16:00:13 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:to:references:from :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=nZyllbOU13xl9EltbQjE41mNzT9p5phP/uuPsYOcmgU=; b=MY RvAxGFbwDxynPtTh2jcxgC0KcArobFe5Hx0Xh/uyehvLxb5YW873GsfCJOmu8roA tDfmcpt9nv5rAX6vh3Zy9sN+K0eqKThPHxMaNgiGLrOAHl90NwvW+N5LGAjoEKA7 IjSuMiPKh4ayBcQFH1faswOK41sOqeVqaW0vxySUVAiQYktzja4H0N6jrcK/ZJCs zdgx8uz2DLFR9avDueRZjE6SeBgZHg7LVIIqIZRcNxQXon5JnAb0tYX3XRRVIzBb fensyt9nhhveSrWxidYfVqwps+OQXEllm2CEMpqbFmq5e1gfgrRmJ76/cdmovsn6 dtBKuNo26x4U0yaWufyw== Received: from nasanppmta04.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3wpnfvgur7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 06 Mar 2024 16:00:13 +0000 (GMT) Received: from nasanex01c.na.qualcomm.com (nasanex01c.na.qualcomm.com [10.45.79.139]) by NASANPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 426G0CZb022707 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 6 Mar 2024 16:00:12 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; Wed, 6 Mar 2024 08:00:05 -0800 Message-ID: <0d0a2ed6-92f0-440e-b241-8036a4e0ebdc@quicinc.com> Date: Wed, 6 Mar 2024 21:30:02 +0530 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC 0/3] Enable firmware-managed USB resources on Qcom targets Content-Language: en-US To: Krzysztof Kozlowski , , , , , , , , , , , , , , , , , , , , , , References: <1709657858-8563-1-git-send-email-quic_sriramd@quicinc.com> <4d2501a7-d56d-4736-95d7-41556166859b@linaro.org> <1a47c20a-abda-4493-a8f0-ff7b4e144d9c@quicinc.com> From: Sriram Dash In-Reply-To: X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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-ORIG-GUID: ePNhhWULXCCmaqtzp7iI0p56VZqK-gbe X-Proofpoint-GUID: ePNhhWULXCCmaqtzp7iI0p56VZqK-gbe 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-06_10,2024-03-05_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 phishscore=0 clxscore=1015 bulkscore=0 malwarescore=0 mlxscore=0 impostorscore=0 adultscore=0 mlxlogscore=999 lowpriorityscore=0 spamscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2402120000 definitions=main-2403060128 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240306_080021_181340_C6CC5AB9 X-CRM114-Status: GOOD ( 15.95 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org On 3/6/2024 12:34 PM, Krzysztof Kozlowski wrote: > On 05/03/2024 19:04, Sriram Dash wrote: >> On 3/5/2024 10:42 PM, Krzysztof Kozlowski wrote: >>> On 05/03/2024 17:57, Sriram Dash wrote: >>>> Some target systems allow multiple resources to be managed by firmware. >>> >>> Which? Why this is so vague... >>> >> >> SA8775 will be using it as pilot. Will include the target name. >> >>>> On these targets, tasks related to clocks, regulators, resets, and >>>> interconnects can be delegated to the firmware, while the remaining >>>> responsibilities are handled by Linux. >>>> >>>> To support the management of partial resources in Linux and leave the rest >>>> to firmware, multiple power domains are introduced. Each power domain can >>>> manage one or more resources, depending on the specific use case. >>>> >>>> These power domains handle SCMI calls to the firmware, enabling the >>>> activation and deactivation of firmware-managed resources. >>>> >>>> The driver is responsible for managing multiple power domains and >>>> linking them to consumers as needed. Incase there is only single >>>> power domain, it is considered to be a standard GDSC hooked on to >>>> the qcom dt node which is read and assigned to device structure >>>> (by genpd framework) before the driver probe even begins. >>> >>> This will break the ABI. Sorry, come with an ABI stable solution. >>> >> >> The plan is to include multiple power-domains and fw-managed >> property or similar in the device tree and fw-managed property >> will be deciding if we need some resource management offloaded >> to firmware. So, OS is always in control here. The decision >> making will be done in the drivers. Also, there will be no >> separate vendor hooks. > > This does not answer ABI breakage. Also, I don't have a clue what are > "vendor hooks". > Apologies for the confusion, Krysztof. The bindings will depict whether the compatible will use clocks/ regulators, etc or not. Will take care in the next version on top of the scmi based dt solution. > Best regards, > Krzysztof > -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy