Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3709668rdg; Wed, 18 Oct 2023 03:58:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG6DFvYixa3cQ5peN7PAVJw0JClYIyu8I+qLkBGXwm9aOHa50evhNh0DDdmUt/KwNa+uw7s X-Received: by 2002:a05:6359:1a95:b0:166:d4d1:88c0 with SMTP id rv21-20020a0563591a9500b00166d4d188c0mr4877504rwb.22.1697626733942; Wed, 18 Oct 2023 03:58:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697626733; cv=none; d=google.com; s=arc-20160816; b=Eoq1w3sYf4oaGYMxBFrI86GjfOZvkY41m9jHHLSLFmCv6zr2niC1PCs60uxMmKJ6Th 45b/TwDTKXT5E6qQg8dofvJsJt+Llu3ZPFAPFUKZ53reNGrmLMDx7Uxqdcz3xe7naUbE ce5Z8R5UKQSSEltrEHQUuwv0jTRhuO7gddDXLyw2/5j2GL3wsxbL7+tdczUX7dC6wQWW hDycRi390XwGpbdsr79jWIH3XUfWkdr9pN5tzolZJXjwfM30KyQ5ZIjpGBkttPNHkn5x AxOLz5E5SFi3cRG8HrFvq3Ewcp1BbszoWkkOS9JhjLpU0+S6gbdEidmL68paP4Dn70dR u48g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=4vkQKvJML8wn2+HrI9TYl1IsbWBqKkY1/P/UoPqJVfg=; fh=PrcBbXenKMOt+vIenIqSWEEx/sf2SyeItdQbpRD0+Ac=; b=EPu/n86K//qPYWexfjyu70gHiNYxTVhMOXkFcivUl1b7NgGm6qQBrqMnKw6thNMcgb rQD5lW5gGTfLwADGdnh70eNjrRbxRjkhfh1JCbbSVTC/Tp+2XIlDzv+hw9f4zCHAXo2D 33DWfDC25L0vfoCg/G9KjvLLuO/Tvz4T23d8Lr96qcYILENrwufErqB0YLJ+2MunSbuE /kZXdBMkC1XwTlML4zzsVESwD2cQw59pf8mcx8Z9COVG5nPxpWpJFAgBy81MLyZYzd0T uAAFbdxLob4O14X3bsPiWRlqFh0k8Z3GDICf+Qi826jQStam6r0eJyp62g5r+JoPVAqG +LmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=OrbLMqn8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id x5-20020a626305000000b0068fdb060072si3572035pfb.341.2023.10.18.03.58.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 03:58:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=OrbLMqn8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id BD380809FA44; Wed, 18 Oct 2023 03:58:50 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230310AbjJRK62 (ORCPT + 99 others); Wed, 18 Oct 2023 06:58:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230110AbjJRK6K (ORCPT ); Wed, 18 Oct 2023 06:58:10 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2D8AB0; Wed, 18 Oct 2023 03:58:00 -0700 (PDT) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39I8AGg2019114; Wed, 18 Oct 2023 10:57:56 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=4vkQKvJML8wn2+HrI9TYl1IsbWBqKkY1/P/UoPqJVfg=; b=OrbLMqn8vTBKwwVe9AX6LzJNauX/sNt0mmDZZQiI3HmZVWdgwELSIOjBhE4iiDYjEooZ hDJfhMWGbZW97DKzoPIOnB4ULXvY6fQ4tUWeROPrpfZKnnxFdREL9KwMg9ljJbXimfYC K0CMSEPfzRRfxSAHhHPajsnI1FAP3jvyZAnx1wSBVJ8Psi8W3oabaJkQIApBTRc+q6Gm wHblQHq0GQaZ0JRl7GzUZv2vCJfq0TaNIEkEIq/m2lf49qSXH8MvxX3v+q+nDBwQzTeF XfJobKMQ3MffqclogUDAfVwG6GVQ9WUM8R9j5UhcXogCIPuQ+SkKi0U6EhHqxb5nyy4+ /A== Received: from nasanppmta04.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3tt9kjrk9c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 18 Oct 2023 10:57:56 +0000 Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 39IAvsjE003972 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 18 Oct 2023 10:57:54 GMT Received: from [10.216.39.143] (10.80.80.8) by nasanex01a.na.qualcomm.com (10.52.223.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.39; Wed, 18 Oct 2023 03:57:49 -0700 Message-ID: <97067546-784c-bb42-fe1c-14348b70e65f@quicinc.com> Date: Wed, 18 Oct 2023 16:27:46 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: [PATCH V2 3/4] clk: qcom: Add ECPRICC driver support for QDU1000 and QRU1000 Content-Language: en-US To: Stephen Boyd , Andy Gross , "Bjorn Andersson" , Conor Dooley , "Konrad Dybcio" , Krzysztof Kozlowski , Michael Turquette , Rob Herring CC: Taniya Das , , , , , Ajit Pandey , Jagadeesh Kona References: <20231011090028.1706653-1-quic_imrashai@quicinc.com> <20231011090028.1706653-4-quic_imrashai@quicinc.com> From: Imran Shaik In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01a.na.qualcomm.com (10.52.223.231) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: gEnBrIkB-tinfmWw9eSpK4V1vzp9JFgi X-Proofpoint-GUID: gEnBrIkB-tinfmWw9eSpK4V1vzp9JFgi X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-18_09,2023-10-18_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 suspectscore=0 phishscore=0 mlxlogscore=665 spamscore=0 mlxscore=0 adultscore=0 clxscore=1015 lowpriorityscore=0 bulkscore=0 malwarescore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310180090 X-Spam-Status: No, score=-4.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,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 fry.vger.email 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 (fry.vger.email [0.0.0.0]); Wed, 18 Oct 2023 03:58:51 -0700 (PDT) On 10/13/2023 1:49 AM, Stephen Boyd wrote: > 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. >> >> +config QDU_ECPRICC_1000 >> + tristate "QDU1000/QRU1000 ECPRI Clock Controller" > > This needs a 'depends on ARM64 || COMPILE_TEST' type of line here. > Sure, will add this in the next series. >> + 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/ecpricc-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? > Yes, will remove of.h and use mod_devicetable.h in the next series. Thanks, Imran >> +#include >> +#include >> +