Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp549307rdg; Thu, 12 Oct 2023 13:19:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGCvzSk3cOb2OdShlk586dmrZSNwu7IsfUT6geuVsPvCFd2m0gTKOUxa41XvkGZPU4qN6pv X-Received: by 2002:a17:902:a404:b0:1b8:90bd:d157 with SMTP id p4-20020a170902a40400b001b890bdd157mr21838438plq.26.1697141998930; Thu, 12 Oct 2023 13:19:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697141998; cv=none; d=google.com; s=arc-20160816; b=vgJjK97s4+5w+3knnjr/Wwqrf7UecSOJItalzvDKj17J2DGnX/SAQGG9XsWBRS38n7 OhXych9RKxGTCo7FvgvEYnRb+pYEfqKetb6YaDkO19EPkkluuQNHi4mDfqADEOxdbzW6 3JYTMZtd3lAWt3IzruLJr5ewI3ftD7pZ3KEDNMViwutK9f/j1E43AhhoYwobO8vwmKCE OS/gArny+7L9Z/LQkjyGxxngX31cyw9B2faTEFO6m0iFqpVv3tBrKwFbW07aUk92veZT RbSOVl11zkIr3g4+3G/o0GNAvZmyOzRqcEFFj9P6n05N7HV9VYqz/dvve4OeTlNkvDBH s2GQ== 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=OgXcMEGy6fgINCNjqSCZBGa18zvGcqoDw4QUyhXVidg=; fh=4DTDp4dhOpPZMHhcQ5OVSkSXKC3IgLpnoet50AkPszk=; b=dBuuZzIDI6yH+mesQ3K5bWQJiZcQI3dt8lJuyEtzDrRZH/TnA7/Tj6+HuA4cjpwVSr sYhWci5Uw4B6jJY6fx/UKNcsjUAzu6xcBMc1OunK69o2D6/taL872ftOXmCDRA1k9TpY PccGsqiGAoyz7SWG9pkdDJFoe8uNizjNzuOTVrmqGSFWJOVLVeY8f99G5jhpprA8LCpl ekLgynnSTsImT2mAo7L0IhA6V9u+iWZv3AvkDQVYwvMi/VEP8WI6uxBzhaFQCvRQezq8 ks+jtfILohG21T6SOkLKH3b1uOY2kX3EQyG31Wi4XPRVOp3ImkPfUqdkvJbxnORziHdG FTSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kDq3ZB8Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id u13-20020a170902e80d00b001c71eb782c0si3018044plg.464.2023.10.12.13.19.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 13:19:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kDq3ZB8Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id E4E8782E53F0; Thu, 12 Oct 2023 13:19:57 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1442679AbjJLUTz (ORCPT + 99 others); Thu, 12 Oct 2023 16:19:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347375AbjJLUTy (ORCPT ); Thu, 12 Oct 2023 16:19:54 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CBCB2BB; Thu, 12 Oct 2023 13:19:53 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5B5FFC433C7; Thu, 12 Oct 2023 20:19:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697141993; bh=1w9tmt3+s2Cw6gjksSzd4+LnjhCxmFxThwc7u2OEO40=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=kDq3ZB8Yzrdfi+09U4iPx/0bycBidEiPLQhB7JjcFFAK8Lbgbq+204TE0qvE0geMr IsLBuwR4c/WMDO5N5RAsg4OwdhtqKcHRsQ/ch7SUm/v/QrnYfC+KMXKdv8LwaCdqIf YfqSm5JzU6xvlezsAlTmUU5rs7GMV+ZS6pO2E7ARPfLJvdvjF2zo6xvewp3k8v/vha t52xxy8238rabB9uRmFSyXq/rf0gs7cbOsWYlGx03wowKIHVH2XYIZrEtmQmL5FLZ8 g39uxc13xMEDPWCyLbIwgSCJVRN24EnK2g8Vj+79UP8F8ZZCSnAyEJNs3xOKti/7Id ZPRkOzWbppIEw== Message-ID: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20231011090028.1706653-4-quic_imrashai@quicinc.com> References: <20231011090028.1706653-1-quic_imrashai@quicinc.com> <20231011090028.1706653-4-quic_imrashai@quicinc.com> Subject: Re: [PATCH V2 3/4] clk: qcom: Add ECPRICC driver support for QDU1000 and QRU1000 From: Stephen Boyd Cc: Taniya Das , Imran Shaik , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Ajit Pandey , Jagadeesh Kona To: Andy Gross , Bjorn Andersson , Conor Dooley , Imran Shaik , Konrad Dybcio , Krzysztof Kozlowski , Michael Turquette , Rob Herring Date: Thu, 12 Oct 2023 13:19:51 -0700 User-Agent: alot/0.10 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 12 Oct 2023 13:19:58 -0700 (PDT) Quoting Imran Shaik (2023-10-11 02:00:27) > diff --git a/drivers/clk/qcom/Kconfig b/drivers/clk/qcom/Kconfig > index 3194c8beb06d..60a981ff2bac 100644 > --- a/drivers/clk/qcom/Kconfig > +++ b/drivers/clk/qcom/Kconfig > @@ -667,6 +667,14 @@ config QDU_GCC_1000 > QRU1000 devices. Say Y if you want to use peripheral > devices such as UART, SPI, I2C, USB, SD, PCIe, etc. > =20 > +config QDU_ECPRICC_1000 > + tristate "QDU1000/QRU1000 ECPRI Clock Controller" This needs a 'depends on ARM64 || COMPILE_TEST' type of line here. > + select QDU_GCC_1000 > + help > + Support for the ECPRI clock controller on QDU1000 and > + QRU1000 devices. Say Y if you want to support the ECPRI > + clock controller functionality such as Ethernet. > + > config SDM_GCC_845 > tristate "SDM845/SDM670 Global Clock Controller" > depends on ARM64 || COMPILE_TEST > diff --git a/drivers/clk/qcom/ecpricc-qdu1000.c b/drivers/clk/qcom/ecpric= c-qdu1000.c > new file mode 100644 > index 000000000000..e26912f3dd39 > --- /dev/null > +++ b/drivers/clk/qcom/ecpricc-qdu1000.c > @@ -0,0 +1,2466 @@ > +// SPDX-License-Identifier: GPL-2.0-only > +/* > + * Copyright (c) 2022-2023, Qualcomm Innovation Center, Inc. All rights = reserved. > + */ > + > +#include > +#include > +#include What is the of.h include for? Did you mean mod_devicetable.h instead of of_device_id? > +#include > +#include > +