From patchwork Mon Apr 17 12:58:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 673981 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F1D41C77B7E for ; Mon, 17 Apr 2023 13:03:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231349AbjDQND1 (ORCPT ); Mon, 17 Apr 2023 09:03:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55422 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231310AbjDQNDN (ORCPT ); Mon, 17 Apr 2023 09:03:13 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E553210271 for ; Mon, 17 Apr 2023 06:00:03 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-3f167d2941fso14209105e9.1 for ; Mon, 17 Apr 2023 06:00:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20221208.gappssmtp.com; s=20221208; t=1681736331; x=1684328331; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=2RxXk1daPTunKtbomjZDgpJNAfBR2cR6YhtK/lfK/SI=; b=MeOycZq3LbAiiK3Hm2X8W/COut++E+vIWCEtvBYWqenlv06pENIoUEQ6eZ6XufizqW c/IUnFjRoZx5Kh82hO7Xb381qBmCtD21juS/Cn6w9ecwglVp7oxZxnrxZgrAsHXfY5mq LsbgdBUI6g4cT8tuQ4BuoGShKwzaZHdQAN572xT4bEYp3Zv/NWTBfcPQt3eskP1WndI5 CEtCP+Rbp5ZtWjKRW0C4RuUH4MzyDkUCOz7gR2lkgp8wcTU3qmjGf2PtjYRYrM92zFh3 BOv7X6WX4W6YYSyUtOXlnJHuFSZHzniNJLbwbpw8imneTfm1K28gj68ULqVXsmNC0nRA qRDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681736331; x=1684328331; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2RxXk1daPTunKtbomjZDgpJNAfBR2cR6YhtK/lfK/SI=; b=bqDEQg05M8pnoQGT2jP27Am52fSM6/K1lLLimaPPQxHXg32LRfURitmO8jtdap99Ov pxlCJS+u82XUooZIpu5hpoeZc6XYXKnvr4yZlB1qnEKHBpFz8cpZ69z/AmAvg+lmzBGB wnbct6b3lNDr1F7KcPBtiNUYo4PtuB26kMmvfIIQ2JuKcKcXPHHswlsi+77nxcmxPSWD cqo/SPWouf1FdkfXFEAzPM9UE9xN7zDBrLq6ut/iqD0EIRY/A7DCYhrALf99G/8CMJMj dIpKDigrziMwlz616F0kIDmw6k7YKLGQBnHF47oZMeVnK9iVPDzHm+zNsS84R9rRYShl +QkQ== X-Gm-Message-State: AAQBX9fLLotkhX+XXOiCefy8/Gphz0QUyG4cB1ivKm5MOgElOrNjaSbp d/PSF/R9JxtGb93jy3k4qLIZHg== X-Google-Smtp-Source: AKy350aIVyNEBXkF1ad22KkjaB+EJlqbxjIr7CC8RxeYXKgwbn0e9AW2osiEulawxfmdhVqRDcIOWw== X-Received: by 2002:a5d:5152:0:b0:2db:11f3:f7ee with SMTP id u18-20020a5d5152000000b002db11f3f7eemr4584684wrt.63.1681736331398; Mon, 17 Apr 2023 05:58:51 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:374a:ffae:fd26:4893]) by smtp.gmail.com with ESMTPSA id v21-20020a05600c471500b003ef5bb63f13sm15557546wmo.10.2023.04.17.05.58.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Apr 2023 05:58:51 -0700 (PDT) From: Bartosz Golaszewski To: Sebastian Reichel , Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , Catalin Marinas , Will Deacon , Arnd Bergmann Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Bartosz Golaszewski Subject: [PATCH v4 3/5] arm64: dts: qcom: sa8775p: add the GPU clock controller node Date: Mon, 17 Apr 2023 14:58:42 +0200 Message-Id: <20230417125844.400782-4-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230417125844.400782-1-brgl@bgdev.pl> References: <20230417125844.400782-1-brgl@bgdev.pl> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Bartosz Golaszewski Add the GPUCC node for sa8775p platforms. Signed-off-by: Bartosz Golaszewski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sa8775p.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi index a23175352a20..191b510b5a1a 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi @@ -591,6 +591,20 @@ tcsr_mutex: hwlock@1f40000 { #hwlock-cells = <1>; }; + gpucc: clock-controller@3d90000 { + compatible = "qcom,sa8775p-gpucc"; + reg = <0x0 0x03d90000 0x0 0xa000>; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&gcc GCC_GPU_GPLL0_CLK_SRC>, + <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>; + clock-names = "bi_tcxo", + "gcc_gpu_gpll0_clk_src", + "gcc_gpu_gpll0_div_clk_src"; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; + pdc: interrupt-controller@b220000 { compatible = "qcom,sa8775p-pdc", "qcom,pdc"; reg = <0x0 0x0b220000 0x0 0x30000>,