From patchwork Tue Apr 11 12:59:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 81953 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2578091vqo; Tue, 11 Apr 2023 06:32:37 -0700 (PDT) X-Google-Smtp-Source: AKy350aYYRbNnfqVQMvdAX8qyb+zVfyJtioUQ2umnMxbL5m8y0/btQ7XgUaQvICMJT60KQj6q47q X-Received: by 2002:a17:907:a0d:b0:94a:4e86:31bc with SMTP id bb13-20020a1709070a0d00b0094a4e8631bcmr8949008ejc.13.1681219957412; Tue, 11 Apr 2023 06:32:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681219957; cv=none; d=google.com; s=arc-20160816; b=Bjr0OEcH78ulkAQ4g7vsrvnziiMgx2Iacue9AYQEPLS26o1UGSVO0XwSd8oJHkfHU4 DjhFJsPglYDm+E39KYj+3y2+zJUiKtiYvjAnp3NgVOBdP65JSV8DcPPcc7YyNjs6lcjZ haUipLxqmdNg2FOUfN3oSOKDoNsso6dt29J9xdLCLcPPP8eguW7lVsuf3ApZ25cWe3aX WfEMcc8fTKf/OiZdd3Mjz3cAsJMlxd5Jt4aXfT4LAOu7BlGK9My2BQKG5OE3DrypzPVZ wvJbSe5Gku85wDH0Evp3aCtwDy8MzWbw1RtkAq0Zurqo5utEVZgIGlppOz0VyPSz/Cyn w4Nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=2RxXk1daPTunKtbomjZDgpJNAfBR2cR6YhtK/lfK/SI=; b=qR7dI1MrIbwS4Jx8HVUzI8hyGl4YG9p0LZcfqg0mSHJGXA76GAJlXqFCliNEsgAbW3 RiD0Q7wbsUL+iOZf4EZdW8Gt2FWQcfS+TOORIY/Yr8rztj1v1IFMRhj6fUA/jOZOYs4X +dVelwpkTIP2gopE2xWkqXPPMuwvE4sl95vprZvuVQKPVOo10HSL8aVM6kSz3G76RMMK +a7oXZ/UNGpp1bubj5ahcNjbsESoEl4tTmVicfvoBb222MXZMzKfG1VlLvbUg7d/XM5W /jztxMKDHVzP4CQRtjovq4Jmmpj/MmMFVObgnd4RK9WZ2JKVMpRBOfnkDuNCEd27G1Qa g46A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=jkNhgbAq; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q7-20020a170906770700b008d0a9a403f8si1493566ejm.796.2023.04.11.06.32.12; Tue, 11 Apr 2023 06:32:37 -0700 (PDT) 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=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=jkNhgbAq; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230234AbjDKM7o (ORCPT + 99 others); Tue, 11 Apr 2023 08:59:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230179AbjDKM7c (ORCPT ); Tue, 11 Apr 2023 08:59:32 -0400 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1AB1D4C2F for ; Tue, 11 Apr 2023 05:59:21 -0700 (PDT) Received: by mail-wm1-x32c.google.com with SMTP id m8so18191394wmq.5 for ; Tue, 11 Apr 2023 05:59:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1681217960; 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=jkNhgbAqj8TzggObBJHle31q6oTTOf6YNouhVEYNpiAFkPPJUDhi13yN2zkBMTkbCb Jd5LL4XnPSRxsSDR69wQwpMJgD4zo34dsiqtuEAPt4NiF2NT8t/t7DCs99RsrV+B6dS6 5XiY/o/CZc+jl2jpa03WzBu9VUtl5mHZTBkr2+XDyGBBUdMDrxh8TWrj+MjV5qD6VCxA XbQaYuCghyZbRe+1pp9Zjjh2rkBoR2uj7oMsy3rtP21ly1JHx3AbPkhmLGsIinwE6795 Oozk32Misl05fmnPFUTsf3I1UAbdm/7vd8B8DNMN5DXqVFhGJ4vh6P5BmQZnX4a9AP3W h0ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681217960; 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=3NYwXwQmTlUIMqPVbwwZqCmz7EvUikKfOy3qgUHodKocsPdk0dBsz8Jbumv/Ug7Dg3 CTpqz9P8AWuffXdNtVK+96yV9fVoK1l6VydtQMakvy9Z4cLT8ntKwY94bkxu7UeoIhcj iX+rQikksgsvjfxwHbCfjKaV51/4bFtVzGXK1x6PX/QpWUG1RgHtYi+7Adueinzb8kL/ 0bpOUt1+8W0XksN+F9jGSS+XsJ/2XJxcvgZm/1uHLgrMHRAeTNZzyIybtHlELT5SRFm8 4V+Zof/3qlzSQ+85sc2GBZomy1h2Ygw0EfSwfRVvOsEZ8/PbA4ckliZ/8iV+v39AsVw8 xZPA== X-Gm-Message-State: AAQBX9dX4RjlRjvpAQBJv3voI4vSes1LQu7Q58AhhDc32OgFhnDNDcqU JsXklmuQNtle+Sbz7NLef/T53g== X-Received: by 2002:a05:600c:4e44:b0:3ed:de03:7f0a with SMTP id e4-20020a05600c4e4400b003edde037f0amr9427917wmq.10.1681217960343; Tue, 11 Apr 2023 05:59:20 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:a099:fc1d:c99a:bfc3]) by smtp.gmail.com with ESMTPSA id e24-20020a05600c219800b003eae73f0fc1sm16944591wme.18.2023.04.11.05.59.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Apr 2023 05:59:19 -0700 (PDT) From: Bartosz Golaszewski To: Bjorn Andersson , Andy Gross , Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Will Deacon , Robin Murphy , Joerg Roedel , Catalin Marinas , Arnd Bergmann Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, Bartosz Golaszewski Subject: [PATCH v3 5/7] arm64: dts: qcom: sa8775p: add the GPU clock controller node Date: Tue, 11 Apr 2023 14:59:08 +0200 Message-Id: <20230411125910.401075-6-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230411125910.401075-1-brgl@bgdev.pl> References: <20230411125910.401075-1-brgl@bgdev.pl> MIME-Version: 1.0 X-Spam-Status: No, score=0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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?1762886898416969626?= X-GMAIL-MSGID: =?utf-8?q?1762886898416969626?= 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>,