From patchwork Thu Feb 2 06:17:29 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: 51729 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp69269wrn; Wed, 1 Feb 2023 22:20:55 -0800 (PST) X-Google-Smtp-Source: AK7set/MeaEnXPwi2F1lTbXmENTafOvnjkp+kM7hwcEybbP36Hxu3EXqSASwjxNMIefbRXSWSceC X-Received: by 2002:aa7:d953:0:b0:499:9d31:8490 with SMTP id l19-20020aa7d953000000b004999d318490mr5016394eds.24.1675318855092; Wed, 01 Feb 2023 22:20:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675318855; cv=none; d=google.com; s=arc-20160816; b=dGFSKFNZZd8BKWNC3Nfr1kVc8KnQcmU2DYQqYyFDs0vyAr5XIK+uQOa4kXWvLdea1w oTIb/Ee4zPMv4+nMcSOnKHyosePBmYv+jImcpQ+fUM9koZxbciJRwCyPfvhXosNeEnAl fyE10918/ulGcAUirVM9/BHtiO+PK6s44uCBo8o8CH+KDajQD6uWYqdZYp4wHOEs1hFk aYlzNW2ryL1olQmSSM2MvGfPJELrRdOgUIz3g3Aq8SoH+YGvN9P6ef4IjBgPas+KlyNK KAVlAo4P9XIZHAYRhxI6q5/m1sJ1ayI9AFVNbbWZsleqXXcbiV5u936Y/66VkRkOVPM3 ZzUw== 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=0t4DkRmBU8s04mvzuwf9fSsFiunLL/TLXSZAIXq1v5hQ7q+M8E1o004J25uSH9tQcY jELYJ37xUHhgCLrOKIpAvSlAj4GI6y7GMf0L75e3TdyEYpMsDamnIiZxx9w1E++OILTQ gFzxW48PF+NYDXUylJK5oMciWNwc0enuzfD7Nm7skSGcT8FX6FbuTRxmt517Rknl/wP5 sSmW9wh3tBiRL7ezKlUcLlWIeAXOJYN8mft5q9294gl7i70LjCtk3klniOBbaa5e5xgE c3GV86w0+OMkf9zmw3ZDQTHxvQKYfk1D2E3kv8BlI96MOpTSZMj6qiTjQ/FVdOz0ffOi zL6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=oxmsK609; 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 g6-20020aa7d1c6000000b004a22c3f790asi16360370edp.322.2023.02.01.22.20.30; Wed, 01 Feb 2023 22:20:55 -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=oxmsK609; 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 S231137AbjBBGSM (ORCPT + 99 others); Thu, 2 Feb 2023 01:18:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229546AbjBBGSL (ORCPT ); Thu, 2 Feb 2023 01:18:11 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97738474ED; Wed, 1 Feb 2023 22:18:10 -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 3125e2ch027876; Thu, 2 Feb 2023 06:18:02 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=oxmsK609n8Cx0gfcfxho9ZeUHAnyS0wW8vwQr2qyGK0XKeDxZYndrdq1YgCcPWFXdaS9 BqY71z5vck6VryrlbJVcthTtPwXuF112AYb63AmfdXXFDIFYjlwLsTj8wWyYDifuj6GD Qgeq3642A2C6TJl4OrfISGozVHIMjhCSvm5DgpWzx7NrW1i4A3S/LJ0LkiIFV4qyH4by ntxHCQHH60MgKoC2bjmmLgdl/6Gxs5JW1yZfKwTZbKoqq3WhbnHljFHIewWTeik7I0Uf t2X+NBpsbJFK21BTTX4+etO73Y7QgtZDZwAD7Z6o5UH/l59Idp8G4871Hsl+7uF9h5tU Mg== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3nfkj5jdu2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 02 Feb 2023 06:18:01 +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 3126I1Bq000385 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 2 Feb 2023 06:18:01 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, 1 Feb 2023 22:17:55 -0800 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , , , , CC: Srinivasa Rao Mandadapu Subject: [PATCH v7 1/5] dt-bindings: clock: qcom,sc7280-lpasscc: Add qcom,adsp-pil-mode property Date: Thu, 2 Feb 2023 11:47:29 +0530 Message-ID: <1675318653-28352-2-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1675318653-28352-1-git-send-email-quic_srivasam@quicinc.com> References: <1675318653-28352-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-GUID: 11Yay3E70M1W6Lpx9MN7hZVF3eW8o9X7 X-Proofpoint-ORIG-GUID: 11Yay3E70M1W6Lpx9MN7hZVF3eW8o9X7 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-02-01_15,2023-01-31_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 impostorscore=0 lowpriorityscore=0 suspectscore=0 phishscore=0 mlxlogscore=999 spamscore=0 priorityscore=1501 bulkscore=0 malwarescore=0 clxscore=1011 adultscore=4 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302020058 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?1756699143451843943?= X-GMAIL-MSGID: =?utf-8?q?1756699143451843943?= 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>; }; ...