Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5249820rwl; Tue, 28 Mar 2023 19:19:30 -0700 (PDT) X-Google-Smtp-Source: AKy350ZChsqi+Vvn7oBFA44tfOcTGc7UQkx7TeGDW3h0715cjY/WXKNIm3GN5QVUuiYlQ/UYmkVg X-Received: by 2002:a17:906:5e0d:b0:932:f88c:c2ff with SMTP id n13-20020a1709065e0d00b00932f88cc2ffmr559598eju.34.1680056370243; Tue, 28 Mar 2023 19:19:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680056370; cv=none; d=google.com; s=arc-20160816; b=KCk2FMa3yFVSDOhfvH0+DwShYQ+6olY8oGeN6lhWVlcNocvLNWMux1fPPNzDtl/yrI WX5ixAtiMjBttXxPXFcx3+AXyPn/gbBB1RHPD4128o5kNuN8iqMDfOIPKRa5jjyXAhb+ q0HoJjC01LyHkCnkHnU1+IUKMeJTtACxjkdwPxg0zijIsuv2w54kra76MO25di5BQKkl +fZi8u4aIZSJtFo3Jz0e7+sR0XoUxHMTc3p6iLdkgwkloU/Z+XS1A+u1DFD9ph0wqHEB V7Ja25cWYJsM0awSm47ctVkrOBk6aIpa3vrdf1Eq1hGu1IjbIkqGcXEttF1UidxvtNpE H3oQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:date:to:cc:from:subject:references :in-reply-to:content-transfer-encoding:mime-version:message-id :dkim-signature; bh=/z0qNt2JSX+bcCO0Biw3PiV7mT7aayli83e+hjkLX9Q=; b=kp29PRIBELJNr3ohKnKPz5bDQesiUdc8Mq7S0JypNdxwdmgD67B5mNvO7UCMZ4BdM3 nI4U1uM3T5WvG0N0PGpHUTqCKG+fABBxqIMIlbkgDNJENv0wJ4IIR7ogINTHBuZgO1Z3 grnM0tOIDVLhqCNTyr67PHsq1Q9f+/a/Enzrlktm0xxZ/2+GSVGk5QpC9GpHpMOgN6v7 WRBvjx7H4RY6rK9aGaNxdpC8e9ZHii8dRHEFNHi4583jHuWZNrFpUknUn7obKeaTvBiU JFGBQDsRP9c8I3JRTmRIR52L6HSJp0tWwdtgQy6kwR1H4V3oF8mZPUtGl4UZox56cqq3 qv6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IJmMIO3U; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sd26-20020a1709076e1a00b0093dc4b82132si16423089ejc.968.2023.03.28.19.18.59; Tue, 28 Mar 2023 19:19:30 -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=@kernel.org header.s=k20201202 header.b=IJmMIO3U; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229651AbjC2CPV (ORCPT + 99 others); Tue, 28 Mar 2023 22:15:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229451AbjC2CPU (ORCPT ); Tue, 28 Mar 2023 22:15:20 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7D2D2D46; Tue, 28 Mar 2023 19:15:13 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 571D6B81088; Wed, 29 Mar 2023 02:15:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 135A3C433EF; Wed, 29 Mar 2023 02:15:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680056111; bh=mmaj+tYf3L24Jfgcy+JEgm6ISFS2CI7kguFMstQHqE0=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=IJmMIO3UosSjTvoqQNhEdIbe5ssCUtGU4td0tz1/bOyMjMkGF4+VtXT9Rg9baFN8R 7UHWQMknV+asmp4bajLNihXMn5zkg6SgwUlydPvkIVeOEClE6reA3IeILvmCIDmDlo zNxUkh65Nh1vBz6WTDIFJtAqRfzWNEUaLiemmyAS307GZxwv/1YZryiUcE2NCQIqfL saL+Cb+UBjurcPY/t21Pkfv1K2FFM/qP5QUqmo4XnuL1Q1u6H3fg0SJMmO+2BfXBSi w6URsWeq3UwyBw3Cou37UJv+rU8pzLffLSbvLLEa/KPDktg2IHlGdavBOFISNU0Ske sA/yItP0fV8Aw== Message-ID: <72286603300630b890705c99b42f05a4.sboyd@kernel.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20230328193632.226095-3-brgl@bgdev.pl> References: <20230328193632.226095-1-brgl@bgdev.pl> <20230328193632.226095-3-brgl@bgdev.pl> Subject: Re: [PATCH 2/7] clk: qcom: add the GPUCC driver for sa8775p From: Stephen Boyd Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, Shazad Hussain , Michael Turquette , Bartosz Golaszewski To: Andy Gross , Bartosz Golaszewski , Bjorn Andersson , Dmitry Baryshkov , Konrad Dybcio , Krzysztof Kozlowski , Rob Herring Date: Tue, 28 Mar 2023 19:15:08 -0700 User-Agent: alot/0.10 X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS 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 Quoting Bartosz Golaszewski (2023-03-28 12:36:27) > diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig > index 449bc8314d21..5e1919738aeb 100644 > --- a/drivers/clk/qcom/Kconfig > +++ b/drivers/clk/qcom/Kconfig > @@ -437,6 +437,14 @@ config SA_GCC_8775P > Say Y if you want to use peripheral devices such as UART, SPI, > I2C, USB, UFS, SDCC, etc. > =20 > +config SA_GPUCC_8775P > + tristate "SA8775P Graphics clock controller" > + select SA_GCC_8775P Should select QCOM_GDSC as well. > + help > + Support for the graphics clock controller on SA8775P devices. > + Say Y if you want to support graphics controller devices and > + functionality such as 3D graphics. > + > config SC_GCC_7180 > tristate "SC7180 Global Clock Controller" > select QCOM_GDSC > diff --git a/drivers/clk/qcom/gpucc-sa8775p.c b/drivers/clk/qcom/gpucc-sa= 8775p.c > new file mode 100644 > index 000000000000..46d73bd0199b > --- /dev/null > +++ b/drivers/clk/qcom/gpucc-sa8775p.c > @@ -0,0 +1,633 @@ > +// SPDX-License-Identifier: GPL-2.0-only > +/* > + * Copyright (c) 2021-2022, Qualcomm Innovation Center, Inc. All rights = reserved. > + * Copyright (c) 2023, Linaro Limited > + */ > + > +#include Is this include used? If not, remove it as this is a clk provider and not a clk consumer.