From patchwork Wed Jan 4 15:58:10 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: 38984 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp5219113wrt; Wed, 4 Jan 2023 08:04:30 -0800 (PST) X-Google-Smtp-Source: AMrXdXuFmtFglknR5C6j2qwcmPss4uqWtvXbaRkCHTv/QWg2U42VY7Hury3HNwj4kytZ/GixdeLO X-Received: by 2002:a05:6a21:32a1:b0:aa:6efd:1883 with SMTP id yt33-20020a056a2132a100b000aa6efd1883mr78307880pzb.37.1672848269817; Wed, 04 Jan 2023 08:04:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672848269; cv=none; d=google.com; s=arc-20160816; b=0qoA+m5IZN9Bqb2NJn7OU3MuZJnpkOi8VItNfe6DpwNHRmVmJyNPBKM0Rx4roPGLL5 2qqeBceyF1Szz2yBf/e6aInoE2I0K6OdgpCvcfD8ibOGKVbz146kCy4H8kwnVl5Nevdt zd4XKRferpMrmaRdjq4KFytbdbqK50DrZ0XVYWjFBxKuy71Ow4GZyZVgP4eID0rrFEk+ kAG5fG6lTnshMbdLUr7PscuXOp8FeS1Vyyo/cQPGWNyLuXA6z6gBlR8KHZ9s2EiBTh3S wabHpoXKET1vfr+bBbwho9vsQF26cHSmLEwi6i6F7g9PPqEaaWWp2kgYJvmBZ5xVu8Lu BXyQ== 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=0tcJEpaHO4t6P91SaeYDrJ8fWWJNJjZX9nNe9JeDE4tfBd+qlupGAa7U5TVWK8Pn+W KXemb+Q0Buvowa1tq2VoCTK5sQrPrVIizb8buHHDVHqRfZ5XMzccbcDZO+21LO1cV3uZ bIK7U3MCqrW+dE2HsNHEVj+afuJO+voTL/Q3GbqiYr7WcdizEUxY3pBbhLQV+FJGRn5E /ePcRCokREK/W277XR9EyvNDElAKkjdyBA+v/2ceDJl1Sn6a72n6K7PpKAIw9qv8f17t 4SCW/RWNiNeq1vQsmevCMZb3wpToUSWXOHImcEOrWl+EYIo9iNOWSpIA8ixaWInPm9O5 7lRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Ord1RF83; 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 h6-20020a170902f7c600b00192757cc437si26795553plw.92.2023.01.04.08.04.07; Wed, 04 Jan 2023 08:04:29 -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=Ord1RF83; 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 S239774AbjADP7V (ORCPT + 99 others); Wed, 4 Jan 2023 10:59:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239738AbjADP6t (ORCPT ); Wed, 4 Jan 2023 10:58:49 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6DFBCBD8; Wed, 4 Jan 2023 07:58:47 -0800 (PST) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 304FR83F012000; Wed, 4 Jan 2023 15:58:41 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=Ord1RF83Cv1gZh5tvmw3Ntlboa+dOd0sL9AR8CN9Pgbylz5aKq4skr+cHrdsCG56kjox Sb1cX0RhT7hT6OVKiiivhV7aDbdovRmxMRVdXyaI66Gg5IU6r/DCBKNYnzEBEdXs5WSC 8YtcoOXwWJaibJ27fa2lTrAnO3HP8WhicN8WUlKf/AOFl6XhI25RHCQxlyovv7GOodyt EimFDXSd6FS58cLQW16p9OXXniTsRMuizWXy7IvUZb9d2dVJAvvC/yk9r/TbiBMjK1FY XLwvU1IVHCxXAwTo2qVAXtbb9TWdISx8UIyub1ynaaZWsKXLfCjEvieaXnxbVw81JGxz kg== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3mvsvgt506-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 04 Jan 2023 15:58:40 +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 304Fwe9x012337 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 4 Jan 2023 15:58:40 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 07:58:35 -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:28:10 +0530 Message-ID: <1672847892-25154-3-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1672847892-25154-1-git-send-email-quic_srivasam@quicinc.com> References: <1672847892-25154-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: FK1BXC5ZN5pn1fDYzwLESHUO5cFw_1fy X-Proofpoint-ORIG-GUID: FK1BXC5ZN5pn1fDYzwLESHUO5cFw_1fy 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 mlxlogscore=999 priorityscore=1501 adultscore=0 bulkscore=0 spamscore=0 phishscore=0 lowpriorityscore=0 impostorscore=0 suspectscore=0 mlxscore=0 malwarescore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301040132 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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?1754108547161057197?= X-GMAIL-MSGID: =?utf-8?q?1754108547161057197?= 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 --- .../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>; }; ...