From patchwork Sat Jan 21 17:32:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivasa Rao Mandadapu X-Patchwork-Id: 46849 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp817002wrn; Sat, 21 Jan 2023 09:35:30 -0800 (PST) X-Google-Smtp-Source: AMrXdXvzZkDIzWlpYqJ35YlWlgEkUkOGHkFK0jaX8GoVpSQQCRmFkgr70XeKD/7P71PKQ6S4Y7vE X-Received: by 2002:a17:90b:4b92:b0:229:f4e1:d4b1 with SMTP id lr18-20020a17090b4b9200b00229f4e1d4b1mr9675986pjb.22.1674322530637; Sat, 21 Jan 2023 09:35:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674322530; cv=none; d=google.com; s=arc-20160816; b=qFfrz7FU0P+tM1Z/fMXPnv6AQ22T5aL6K3VCJN/0QBKhaushAjnWDajuTP7YYWov79 y8kdy/MnUpnSMj+2RmGg5xWsVLIFNmsmIVpiqdX/IUWWpAUx+SRGZ4drJ3ZoLcbZu7lD +Pn7x0lRT1w6cJSEfEklp/RHv02UClgTg/Hqyp8OAN4SRssHPLtg/SDlpevcnWGr1QA3 XfY6j0M5HWuaLu3/PMQ/wmQ6X+eFiRw0QNJo4CL0sg6PifbEmWlMIVyPtNSk0EdC8r8V W0TXNhxUR2BslqGGdiNhb5F/Ph0Va1AoLlHTltNrUG9xSuNj1b5LVGzvAZ5tKQXQhbaZ 58kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=ZCAf8mISwyoplwQVcb17wI/dTTbJ8iCf1Y6jy5rmUYo=; b=QdXxIbetKWGpZuukWFS5uEqG8+V1FxvEHcMXhT1vp4PrHAWVM7J4PCfLcXZUgtd7DO ILs+FN8TITRNE3rldcNr3B5jnqSQKNOu9QEd0VUe3WHitw8kVCOncx0/vEuzoVByNrRA maouJT4fK4e6z1VkZObz//D6ePjcH2Nr5OLFjXkvNtOpK2N65R8v3H/Ss8I8NT9BjM6+ cQGuwnZdiWMLhvaA3YLB05DNzV/vlwm+oEXABJwc/ZfpL/vzgtBtNMSAIGelgk+6gsJf +9omkgBD0XLetOIXolSyLfwlD84sxqrde1ImUvpE8i8XLptdDlTwO+MK/3Z3z8O3N372 oy2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=iuFB82V8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u11-20020a63234b000000b004a68aefb7adsi46052194pgm.215.2023.01.21.09.35.18; Sat, 21 Jan 2023 09:35:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=iuFB82V8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230018AbjAUReE (ORCPT + 99 others); Sat, 21 Jan 2023 12:34:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230011AbjAUReC (ORCPT ); Sat, 21 Jan 2023 12:34:02 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1187B2312D; Sat, 21 Jan 2023 09:34:02 -0800 (PST) Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30LHTjmn026698; Sat, 21 Jan 2023 17:33:50 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=qcppdkim1; bh=ZCAf8mISwyoplwQVcb17wI/dTTbJ8iCf1Y6jy5rmUYo=; b=iuFB82V8OChSCkWX5BkFHGrbFUiDi1N83aSecKAauOe7HiXYrOH5EJESkLLkWGWFsGt3 36WzcLFp90cslEaFs+nt7/w3vre6LNgHnhv/eLMoDgkjIpzyM4VfZw7cvOrpIUIQyTxX kwhMxDgMyJGWDQ5aHYhRQKGU1WEkzgM3JEFMBtotKoJ6sbFqRAsCqc2bMrr99k1aW2fV qbBn/Q9rKPjnGNxB5TyM/JQGC+Ucm7SBGYbjJHPjMypWi3IcxfT1Rox0+BxyK2brFNa1 fmCD9/W3InBgNK1m+y1p48JNtWaoDGbwAtKGIJ7zBjRhDZC3EH8nyPO4AaSD+56nOdiu 2w== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3n89fr8nr4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 21 Jan 2023 17:33:50 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 30LHXnLn021657 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 21 Jan 2023 17:33:49 GMT Received: from hu-srivasam-hyd.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Sat, 21 Jan 2023 09:33:44 -0800 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , , , , CC: Srinivasa Rao Mandadapu Subject: [RESEND v5 1/6] dt-bindings: clock: qcom,sc7280-lpasscc: Add qcom,adsp-pil-mode property Date: Sat, 21 Jan 2023 23:02:15 +0530 Message-ID: <1674322340-25882-2-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1674322340-25882-1-git-send-email-quic_srivasam@quicinc.com> References: <1674322340-25882-1-git-send-email-quic_srivasam@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: gIb1ldkl0h_xGZMyiO1wz65zaa2-pBOi X-Proofpoint-GUID: gIb1ldkl0h_xGZMyiO1wz65zaa2-pBOi X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-01-21_11,2023-01-20_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 lowpriorityscore=0 phishscore=0 malwarescore=0 suspectscore=0 adultscore=13 impostorscore=0 priorityscore=1501 spamscore=0 bulkscore=0 mlxscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301210168 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755654421645173406?= X-GMAIL-MSGID: =?utf-8?q?1755654421645173406?= When this property is set, the remoteproc is used to boot the LPASS and therefore qdsp6ss clocks would be used to bring LPASS out of reset, hence they are directly controlled by the remoteproc. This is a cleanup done to handle overlap of regmap of lpasscc and adsp remoteproc blocks. Signed-off-by: Srinivasa Rao Mandadapu Reviewed-by: Krzysztof Kozlowski Reviewed-by: Stephen Boyd --- Documentation/devicetree/bindings/clock/qcom,sc7280-lpasscc.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/qcom,sc7280-lpasscc.yaml b/Documentation/devicetree/bindings/clock/qcom,sc7280-lpasscc.yaml index 6151fde..97c6bd9 100644 --- a/Documentation/devicetree/bindings/clock/qcom,sc7280-lpasscc.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,sc7280-lpasscc.yaml @@ -41,6 +41,12 @@ properties: - const: qdsp6ss - const: top_cc + qcom,adsp-pil-mode: + description: + Indicates if the LPASS would be brought out of reset using + remoteproc peripheral loader. + type: boolean + required: - compatible - reg @@ -60,6 +66,7 @@ examples: reg-names = "qdsp6ss", "top_cc"; clocks = <&gcc GCC_CFG_NOC_LPASS_CLK>; clock-names = "iface"; + qcom,adsp-pil-mode; #clock-cells = <1>; }; ...