From patchwork Wed Jan 4 16:21:35 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: 38987 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp5229936wrt; Wed, 4 Jan 2023 08:24:06 -0800 (PST) X-Google-Smtp-Source: AMrXdXtUy+Y3nCB6emG2z1209RqSdHMTu1Sf+AD9psSPrTS8l9UKoIq3PKYMUU5TAsZ4YrSQk338 X-Received: by 2002:aa7:d689:0:b0:461:7ae:c244 with SMTP id d9-20020aa7d689000000b0046107aec244mr41447668edr.35.1672849446210; Wed, 04 Jan 2023 08:24:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672849446; cv=none; d=google.com; s=arc-20160816; b=FYJoMKkfrpxpsTIEbcgBDX0OMH1TBvBJSzVafwsjGLut7u1+jDNpFG9w1zARlUQf9u 7DW86vWlTz3o1Ft1NLAd+BIYajf2XSp3lgqrXtG+an4/vomZa2mrKknMAf2HIUlqcpa/ bI5CDLYaD+5aOASc6ODpmv0NvK5KJVVa5+aekFg71ckS0dL13r7ZfASvqa7wsdEGOSTe hwKXcjT+fr7UC19IKSM4PZPC9aE09SgwtzbnkDMwklbHAqhGVaLDoiRuzCyZl/+cO6vT Ut99o7WvQR7Aiaj598YMIRJhkBx+P+a41/9+OjDVqu0voZWtLOIcsjQ8zoyH7netnzMB V1bg== 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=nLEGtR3xX/fAobQiHP8Fq1vCYtn2NPDHBpPXNLpRiNE=; b=hN4h4qN2DU4HXAiHeMQdu7iB/d6UZq+xEKgnlcA7Ytu0sFaQHRXLZl4AwiuYWBU4Eb Qcu1NbIipPu2xKjP3ubwicxt0Nsruihdb3JBZqIdXil0BIVmv5/1dgaUdcxsZ8HDAQr6 LOLs1ckdKC6QjI7NneyQ1HH9ukeJrO8w9aMsmIqjLKdcvNbZ0T094FLNoTo6DJH1HvTD UL3EZOtDgt9CghpHbCglFYuwG32jVSWH+Z/AHkdtw5V+58kxyFf2g4R1FW7Tqt7Oq84n lvOMlRDC4dIFc1IwwK9F+ZnA6yjobiiSBHB55EMzjya+1NcBI7mOEJzdYfou0ol/atKU bOog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Iv3wo3Xy; 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 e12-20020a056402088c00b00458d1c48708si28728728edy.303.2023.01.04.08.23.42; Wed, 04 Jan 2023 08:24:06 -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=Iv3wo3Xy; 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 S239517AbjADQXH (ORCPT + 99 others); Wed, 4 Jan 2023 11:23:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239634AbjADQWU (ORCPT ); Wed, 4 Jan 2023 11:22:20 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90BFC42E35; Wed, 4 Jan 2023 08:22:19 -0800 (PST) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 304Dx1q8031849; Wed, 4 Jan 2023 16:22:13 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=nLEGtR3xX/fAobQiHP8Fq1vCYtn2NPDHBpPXNLpRiNE=; b=Iv3wo3XylX48q4TlGKLgVnej6OplRG3tQovKik2nQwAcLtVoG2moRaUTFC8M4OYQzrdL ZXA/6Cx0f80s+LD5Xzm7wRBWcWiu4Og42FdqfkeeqeH6fjjiZngVRkRbtKdn5gC+F2XX gvOQEfXNLUKB+hflfrLDlqAsKtj4Yc0Zuzhpq5T9NyCoQbYIfE1VjbKcbhh/EjEXx0ZY wPk68VBm5GbHzYpPATdtWEe4Re+j87+WaowC/j56JCtLBJso4Vc+7kpy/lZeMdZ5RQ8S NXxPqPEuI8pMA5nae420af4BJq3qCIG4rFz01fHxau1Q9psRyRVqhRy/QoVdj0B8Kcpo Kg== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3mvsvvaagc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 04 Jan 2023 16:22:13 +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 304GMCJT005016 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 4 Jan 2023 16:22:12 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 08:22:07 -0800 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , , , , CC: Srinivasa Rao Mandadapu Subject: [RESEND v3 2/4] dt-bindings: clock: qcom,sc7280-lpasscc: Add resets for audioreach Date: Wed, 4 Jan 2023 21:51:35 +0530 Message-ID: <1672849297-3116-3-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1672849297-3116-1-git-send-email-quic_srivasam@quicinc.com> References: <1672849297-3116-1-git-send-email-quic_srivasam@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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: g4eTRnP9Y9GGRQuyiR98iUCzsP2c0HCg X-Proofpoint-GUID: g4eTRnP9Y9GGRQuyiR98iUCzsP2c0HCg 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 clxscore=1015 spamscore=0 lowpriorityscore=0 mlxscore=0 malwarescore=0 suspectscore=0 impostorscore=0 adultscore=0 bulkscore=0 mlxlogscore=999 priorityscore=1501 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301040136 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?1754109781066193577?= X-GMAIL-MSGID: =?utf-8?q?1754109781066193577?= Add support for LPASS audio clock gating for RX/TX/SWA core bus clocks for audioreach based SC7280 platforms. Signed-off-by: Srinivasa Rao Mandadapu Tested-by: Mohammad Rafi Shaik Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/clock/qcom,sc7280-lpasscc.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/qcom,sc7280-lpasscc.yaml b/Documentation/devicetree/bindings/clock/qcom,sc7280-lpasscc.yaml index 97c6bd9..054c496 100644 --- a/Documentation/devicetree/bindings/clock/qcom,sc7280-lpasscc.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,sc7280-lpasscc.yaml @@ -31,15 +31,20 @@ properties: '#clock-cells': const: 1 + '#reset-cells': + const: 1 + reg: items: - description: LPASS qdsp6ss register - description: LPASS top-cc register + - description: LPASS reset-cgcr register reg-names: items: - const: qdsp6ss - const: top_cc + - const: reset_cgcr qcom,adsp-pil-mode: description: @@ -62,11 +67,14 @@ examples: #include clock-controller@3000000 { compatible = "qcom,sc7280-lpasscc"; - reg = <0x03000000 0x40>, <0x03c04000 0x4>; - reg-names = "qdsp6ss", "top_cc"; + reg = <0x03000000 0x40>, + <0x03c04000 0x4>, + <0x032a9000 0x1000>; + reg-names = "qdsp6ss", "top_cc", "reset_cgcr"; clocks = <&gcc GCC_CFG_NOC_LPASS_CLK>; clock-names = "iface"; qcom,adsp-pil-mode; #clock-cells = <1>; + #reset-cells = <1>; }; ...