Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3507259rwb; Tue, 16 Aug 2022 04:26:55 -0700 (PDT) X-Google-Smtp-Source: AA6agR7WI1IWowr6yMKyjOohBkj6vGESaBCSyAFnf/+TlWja0CbYsN34Brl49NDIvA+uwU8m8Aqx X-Received: by 2002:a17:907:2ceb:b0:730:e0ce:34f1 with SMTP id hz11-20020a1709072ceb00b00730e0ce34f1mr12796427ejc.293.1660649215142; Tue, 16 Aug 2022 04:26:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660649215; cv=none; d=google.com; s=arc-20160816; b=kmzB/jZ7tRDuD3EraTUS+I1XDVMFDaV8h3S/qhzag0uqxcdXkr/Etv9iMNKqc5K8l6 8k+9/9QgXzsieeODVj6pha1jU3fQOjqxDd5BqpPDV0rqJ/Du56KYX4B69uZy4LX1aCHX hwDWYrxepVbqEgmVtvHDvPvde39V/JIVBgdlN8tPLfdOMNswU7BNmksxFvz5pN5icHQ6 Gd2YDQC8lhXSd44CgByj41jmKNGJCuCavS3VfjKDaJNW1XrLTVRmP1K0l0+KRJszbCm8 irJYaBk5kpDZp9XVmTkQtUyEY7y66GzI+2+27LPBOt62ePNg4KXdG0oIBNpwGkQpseD1 Aisg== 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=l+tIFk905R+cdNRGRHG3he8TeMJjuNU1aF1sos3nHJw=; b=QFLT5If/J5t94PzBjLCblZxAF21LvpQSSJdCOPpHiZEwnZg4por9siA8cfG07pbx7G gCF7aISBWh2ywu+2RwC2iZpV3SPqiYD8Awks2Lph5rWf7KcqPBcmueFo0EAxTSr0QuKP 7Zm3I9OvHqyzoMpkXV6mV0/TgyRSU1Uy19EVBml3wteBERgXI80+vyFQG7hcRhCEUEHg KmCbKp1rRFXxBoJ0Ay7AIQaazb5VJnMlP7WA9LHVoE9p6VMEtEEfjgJWG/XsCrUb6ZXD VqRlr+O5r3++wjAzSwI1Awiq48ls+LpZiTyDHlELvNlLt0FwElG3/hWG3gXe11NO6xT7 i3Vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Geecp6bO; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y13-20020a50bb0d000000b0043e1ac44b4dsi9824772ede.309.2022.08.16.04.26.29; Tue, 16 Aug 2022 04:26:55 -0700 (PDT) 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=Geecp6bO; 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 S235052AbiHPK7w (ORCPT + 99 others); Tue, 16 Aug 2022 06:59:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232582AbiHPK70 (ORCPT ); Tue, 16 Aug 2022 06:59:26 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F0A466A48; Tue, 16 Aug 2022 03:10:34 -0700 (PDT) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 27G6pUYD007950; Tue, 16 Aug 2022 10:10:30 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=l+tIFk905R+cdNRGRHG3he8TeMJjuNU1aF1sos3nHJw=; b=Geecp6bOTkt8kVzjccFjHPZ/Q5e0dDxS/YogNtaaX14T3BBYk8556iae9/wXtqWjn9Iq 2af41UTyYkaGL8IA/gjKOa92UdeINVGgYcz0iEJ9cIRRr3P+1FjlFUTBvn+QTOUAhDj4 OU0vaWbqlY+5t2h6yhL31dolfWLnbQKZE3qZj6Ai0nXywV8Az7PSCKnHgjbZCBQRt2Lp sMrlLFOiWj9/6NzKMiL7IE4/KI1SIf9qxdJBEkK4Ng5kO3nsJqKURDQmo4bV7R1Wweg0 fl6cpKbdTklxuwY7OewoeOVds1npTQp0tmNIvP5G9mAjKnz3qlGHFaYfEnMJmrK7GLnj /g== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3j06b9gjdj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 Aug 2022 10:10:30 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 27GAATUE025804 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 Aug 2022 10:10:29 GMT Received: from c-skakit-linux.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.22; Tue, 16 Aug 2022 03:10:26 -0700 From: Satya Priya To: Rob Herring , Bjorn Andersson CC: Douglas Anderson , Stephen Boyd , Andy Gross , , , , , , Subject: [RESEND PATCH V7 1/5] dt-bindings: clock: Add "qcom,adsp-pil-mode" property Date: Tue, 16 Aug 2022 15:40:00 +0530 Message-ID: <1660644604-6592-2-git-send-email-quic_c_skakit@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1660644604-6592-1-git-send-email-quic_c_skakit@quicinc.com> References: <1660644604-6592-1-git-send-email-quic_c_skakit@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain 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: sD-ctP7pReU8F950Wjn0W9ix6CGJxV1f X-Proofpoint-ORIG-GUID: sD-ctP7pReU8F950Wjn0W9ix6CGJxV1f X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-08-16_07,2022-08-16_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 lowpriorityscore=0 bulkscore=0 adultscore=4 impostorscore=0 mlxlogscore=999 phishscore=0 suspectscore=0 malwarescore=0 clxscore=1015 spamscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2208160039 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 When this property is set, the remoteproc is used to boot the LPASS and therefore lpass_q6ss_ahbm_clk and lpass_q6ss_ahbs_clk clocks would be used to bring LPASS out of reset and the rest of the lpass clocks would be controlled directly by the remoteproc. This is a cleanup done to handle overlap of regmap of lpasscc and lpass_aon blocks. Signed-off-by: Satya Priya Signed-off-by: Taniya Das Reviewed-by: Rob Herring Reviewed-by: Stephen Boyd --- Documentation/devicetree/bindings/clock/qcom,sc7280-lpasscc.yaml | 6 ++---- .../devicetree/bindings/clock/qcom,sc7280-lpasscorecc.yaml | 7 +++++++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/qcom,sc7280-lpasscc.yaml b/Documentation/devicetree/bindings/clock/qcom,sc7280-lpasscc.yaml index 47028d7..633887d 100644 --- a/Documentation/devicetree/bindings/clock/qcom,sc7280-lpasscc.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,sc7280-lpasscc.yaml @@ -36,13 +36,11 @@ properties: items: - description: LPASS qdsp6ss register - description: LPASS top-cc register - - description: LPASS cc register reg-names: items: - const: qdsp6ss - const: top_cc - - const: cc required: - compatible @@ -59,8 +57,8 @@ examples: #include clock-controller@3000000 { compatible = "qcom,sc7280-lpasscc"; - reg = <0x03000000 0x40>, <0x03c04000 0x4>, <0x03389000 0x24>; - reg-names = "qdsp6ss", "top_cc", "cc"; + reg = <0x03000000 0x40>, <0x03c04000 0x4>; + reg-names = "qdsp6ss", "top_cc"; clocks = <&gcc GCC_CFG_NOC_LPASS_CLK>; clock-names = "iface"; #clock-cells = <1>; diff --git a/Documentation/devicetree/bindings/clock/qcom,sc7280-lpasscorecc.yaml b/Documentation/devicetree/bindings/clock/qcom,sc7280-lpasscorecc.yaml index bad9135..5ccfb24 100644 --- a/Documentation/devicetree/bindings/clock/qcom,sc7280-lpasscorecc.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,sc7280-lpasscorecc.yaml @@ -41,6 +41,12 @@ properties: reg: maxItems: 1 + qcom,adsp-pil-mode: + description: + Indicates if the LPASS would be brought out of reset using + peripheral loader. + type: boolean + required: - compatible - reg @@ -165,6 +171,7 @@ examples: clocks = <&rpmhcc RPMH_CXO_CLK>, <&rpmhcc RPMH_CXO_CLK_A>, <&lpasscore LPASS_CORE_CC_CORE_CLK>; clock-names = "bi_tcxo", "bi_tcxo_ao","iface"; + qcom,adsp-pil-mode; #clock-cells = <1>; #power-domain-cells = <1>; }; -- 2.7.4