From patchwork Wed Jan 4 13:29:12 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: 38929 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp5145567wrt; Wed, 4 Jan 2023 05:34:17 -0800 (PST) X-Google-Smtp-Source: AMrXdXu7hzgxTXBKV6Os7qMBYmwhsS1ahoetGwzWQp2FzCPu1DnoU3/LgYcksMGpyOOu88hyYlk+ X-Received: by 2002:aa7:ccc2:0:b0:477:8ab8:43e0 with SMTP id y2-20020aa7ccc2000000b004778ab843e0mr40694468edt.2.1672839256785; Wed, 04 Jan 2023 05:34:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672839256; cv=none; d=google.com; s=arc-20160816; b=Y2I2mEdLwERDRJH9rEU5zX49zCobHGGmwWzkaCESRp/VeATio4wFU0BG6uDP1xK077 pA+YMvAy16XFh7Nc4Eq2D5n49NwJgaiw4yt1n9QBkjqRpQoIzhwv7epSIL+3cU9TF8kb wG+vHC4IYw7IXfJJxz97Pbctwclzr2+yAdDUD83Ijs/WkIR5H3aHWp3y8BjxsF2n+Zep plA5JDSo/SVHi062E8MxgN9cfkk2x7Za95QbUDHfot6OaOzuoCDySHMvCBlKqHBqHepu 8zFdlzjNRTyU0nWK2p3Ic9wLTg2In9v0IN6if7Ghmoj1NimmS+HXGrI8Owi+kgj3DMh/ Es+A== 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=qVxLVNi1vjauSf0iGsvDfnimrpo5LpqH79zwOIt7/GY=; b=kbxqkz+i0vuMNmiOd5vz3wY23HioY78KwoKz1F4+Ue0//tHVmbyYwq2gI/9b5E83p8 XQGZY/cZZxgjSfn7xPNxsW1YgmNNB3vHHdmL0arasQ+1e2AmESLwJykTf/3+YRCks2ue PqFW0S9ItYF52B/XqDi2NxRJzYR3XDfKqImRrwDRYoWd2UJ7774CKocRMDBtMu0AKs/X B9d1mMhzl6lp8+T2oZS+jabGON5v2TyBYe7AXZ1pzMJ+bUSTVOJ4pvY7UxA4lpIJn/Vt 5hLrfQpmUsIc5+Qz+EcUnlcbk9whibCkbnDE9PirvPNBYKnV5Y2Kdb+6yMDGlqUt51BP 6Xwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=PLECV1xk; 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 c17-20020a05640227d100b0046b84bb563bsi32331591ede.464.2023.01.04.05.33.51; Wed, 04 Jan 2023 05:34:16 -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=PLECV1xk; 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 S239264AbjADNck (ORCPT + 99 others); Wed, 4 Jan 2023 08:32:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239378AbjADNbe (ORCPT ); Wed, 4 Jan 2023 08:31:34 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1DB986598; Wed, 4 Jan 2023 05:29:44 -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 304C2XI8005046; Wed, 4 Jan 2023 13:29:38 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=qVxLVNi1vjauSf0iGsvDfnimrpo5LpqH79zwOIt7/GY=; b=PLECV1xkzKzLGSpt8JUye6iuuHY6AfXobF+YlwZrqI7Km7ajT0hJ9RE75or1Isg4C+kI vDGhVhC1PQAPJNPXOG0nGTwwEkq9GFXDuxMDauqyN5ddusLqVqC2Kg1q17eA56nWeroG LPmwYcnn/d9pfU5eQICb7wZZ4tiD3yqs1qHptTtMV6WyBBJfDUCEltTNyaEpRd3ybSCs rSVjzZQSuM929LPI7SPmr13TwN8n2uUFkR4YKkk4XrlFOWu6Ipil3WNeQ7z5xJEwY4VH m4yHc7TsbQhRoH7l9RmuPr3g05dtjOu8bhu+rPu2HUMxHEZImG0ZdVUr40HI1f8XPd2b Pw== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3mvsvwt0q8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 04 Jan 2023 13:29:38 +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 304DTasa005660 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 4 Jan 2023 13:29:36 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; Wed, 4 Jan 2023 05:29:31 -0800 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , , , , CC: Srinivasa Rao Mandadapu Subject: [PATCH v3 1/4] dt-bindings: clock: qcom,sc7280-lpasscc: Add qcom,adsp-pil-mode property Date: Wed, 4 Jan 2023 18:59:12 +0530 Message-ID: <1672838955-7759-2-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1672838955-7759-1-git-send-email-quic_srivasam@quicinc.com> References: <1672838955-7759-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-GUID: AJZHsfQdua3cR68m-0oLf1Mk9lvAvy0L X-Proofpoint-ORIG-GUID: AJZHsfQdua3cR68m-0oLf1Mk9lvAvy0L X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2023-01-04_07,2023-01-04_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 spamscore=0 mlxlogscore=999 phishscore=0 clxscore=1015 malwarescore=0 impostorscore=0 lowpriorityscore=0 suspectscore=0 mlxscore=0 adultscore=13 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301040113 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 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?1754099096531919549?= X-GMAIL-MSGID: =?utf-8?q?1754099096531919549?= 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 Tested-by: Mohammad Rafi Shaik --- 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>; }; ...