Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp1774583ioo; Mon, 23 May 2022 03:04:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxsJmWbbSFGacy7KIDtpFDhdqwVgIG61/BL2lAT+ntkCw1xezbsUWhJtpZrWRPHofHrG3we X-Received: by 2002:a63:4d3:0:b0:3f5:f19a:a492 with SMTP id 202-20020a6304d3000000b003f5f19aa492mr19260008pge.353.1653300243443; Mon, 23 May 2022 03:04:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653300243; cv=none; d=google.com; s=arc-20160816; b=ju99koPsTGpf3EXfuVdGWFY5LcF9bh0ZkDwodwd3dDWcyfGqP8wNnKOkTOh2kIjZy5 UKwTXHkTsWgR+HeYpNSZjxb5Zapkx5XuyX+42nA4wUtsBt6THjL7eRkHT70pve6yh2y8 V8KMD5gDCa2EpFdiWmgp9Toi1Ze49tjxuPGiFxZMcDmGxEjchYZAHdRBM2+pRsVg4aUC Fn1QD7F4M/8CJQFHetyhuP2nIdWjWZam5f1I+M1TUY71dJ45USR0JdTvbVpf3nOV7Od7 M7EWxbY1CFWQ4yRX42f9i9HPKKxCgijs3qGBKQJ1qn0NFkYDlTtfghGmpqJdi1iMYDvA 1FOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=H8dvUUQPrPiU5MNJ9HOR3T88IT8EbdlK5lILf5Y1wJA=; b=Tei07YjoYjVuYlcSuOLQG6c5RMvxXLpow471fAM0TiTCKkF4A4bYt4zPxhCMT4zZ4g z2V0LPQjBgnBVBKFob5npmhR+iU4CIuuxrjyK80qFgjUFMk/pjffHKNnThJx0yQazUCb iEFPS1kLh/M0k+Od2lqTuN/j9aRqsiK315yTrIQQr2lAUaSqf7Zz1b6fmtvNWLrmXnoF iwB+/j9MnStk8qjYTMrbdZzql3+DZkFObxAaGpEIvuLQMN8FUwjZWhzFXoHdaDAXq9E3 fz9t6KAP1JEA3YNK4ZUzAcPGMB5LuzJkKta9o0Rxkn4X5gfygHE/v5eixQig8l4JeUhV eEag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=jtKsQA8Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id h127-20020a636c85000000b003c232c574c8si9753552pgc.342.2022.05.23.03.04.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 May 2022 03:04:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=jtKsQA8Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A9BC4656F; Mon, 23 May 2022 03:01:33 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233707AbiEWKBT (ORCPT + 99 others); Mon, 23 May 2022 06:01:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233664AbiEWKBR (ORCPT ); Mon, 23 May 2022 06:01:17 -0400 Received: from alexa-out-sd-02.qualcomm.com (alexa-out-sd-02.qualcomm.com [199.106.114.39]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E477E63; Mon, 23 May 2022 03:01:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1653300076; x=1684836076; h=from:to:cc:subject:date:message-id:mime-version; bh=H8dvUUQPrPiU5MNJ9HOR3T88IT8EbdlK5lILf5Y1wJA=; b=jtKsQA8QpG8cabEwoDLQAAILIlphWouYLAX1i+JjmSo6A1WMorF5L/IN uF1ENm9zz2IRlIaSrrNadJzBGUrpFqXLYyOVg9ANnZ/sA13bud4Zuo5pu wP9Bz3TkX3/YL+reN0d4+N2PJuAelJmFuNXLSO4eqSSadZYejmLfp/wbx c=; Received: from unknown (HELO ironmsg05-sd.qualcomm.com) ([10.53.140.145]) by alexa-out-sd-02.qualcomm.com with ESMTP; 23 May 2022 03:01:16 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg05-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 May 2022 03:01:15 -0700 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Mon, 23 May 2022 03:01:15 -0700 Received: from hu-tdas-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.22; Mon, 23 May 2022 03:01:12 -0700 From: Taniya Das To: Rob Herring , Bjorn Andersson CC: Douglas Anderson , Stephen Boyd , Andy Gross , , , , Taniya Das Subject: [PATCH v5] arm64: dts: qcom: sc7280: Add lpasscore & lpassaudio clock controllers Date: Mon, 23 May 2022 15:30:58 +0530 Message-ID: <20220523100058.26241-1-quic_tdas@quicinc.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain 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-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Add the low pass audio clock controller device nodes. Keep the lpasscc clock node disabled and enabled for lpass pil based devices. Signed-off-by: Taniya Das --- [v5] * Update the lpasscore phandle as 'lpass_core' for consistency. [v4] * Mark lpasscc[lpasscc@3000000] device node as "disabled". [v3] * Fix unwanted extra spaces in reg property. * Fix lpass_aon node clock phandle <&lpasscc> to <&lpasscore> arch/arm64/boot/dts/qcom/sc7280.dtsi | 44 ++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index f0b64be63c21..2c5be0266d38 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -8,6 +8,8 @@ #include #include #include +#include +#include #include #include #include @@ -1978,6 +1980,48 @@ clocks = <&gcc GCC_CFG_NOC_LPASS_CLK>; clock-names = "iface"; #clock-cells = <1>; + status = "disabled"; + }; + + lpass_audiocc: clock-controller@3300000 { + compatible = "qcom,sc7280-lpassaudiocc"; + reg = <0 0x03300000 0 0x30000>; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&lpass_aon LPASS_AON_CC_MAIN_RCG_CLK_SRC>; + clock-names = "bi_tcxo", "lpass_aon_cc_main_rcg_clk_src"; + power-domains = <&lpass_aon LPASS_AON_CC_LPASS_AUDIO_HM_GDSC>; + #clock-cells = <1>; + #power-domain-cells = <1>; + }; + + lpass_aon: clock-controller@3380000 { + compatible = "qcom,sc7280-lpassaoncc"; + reg = <0 0x03380000 0 0x30000>; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&rpmhcc RPMH_CXO_CLK_A>, + <&lpass_core LPASS_CORE_CC_CORE_CLK>; + clock-names = "bi_tcxo", "bi_tcxo_ao", "iface"; + #clock-cells = <1>; + #power-domain-cells = <1>; + }; + + lpass_core: clock-controller@3900000 { + compatible = "qcom,sc7280-lpasscorecc"; + reg = <0 0x03900000 0 0x50000>; + clocks = <&rpmhcc RPMH_CXO_CLK>; + clock-names = "bi_tcxo"; + power-domains = <&lpass_hm LPASS_CORE_CC_LPASS_CORE_HM_GDSC>; + #clock-cells = <1>; + #power-domain-cells = <1>; + }; + + lpass_hm: clock-controller@3c00000 { + compatible = "qcom,sc7280-lpasshm"; + reg = <0 0x3c00000 0 0x28>; + clocks = <&rpmhcc RPMH_CXO_CLK>; + clock-names = "bi_tcxo"; + #clock-cells = <1>; + #power-domain-cells = <1>; }; lpass_ag_noc: interconnect@3c40000 { -- 2.17.1