Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1225312rwd; Tue, 13 Jun 2023 06:35:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ74ViFxsJd0wRHxCwWVXKBnDy5cpoNWL9V08PjVXdOtLqUY0v+51yJDm9FV93MeGFiOREHX X-Received: by 2002:a05:6a20:7343:b0:107:35ed:28b5 with SMTP id v3-20020a056a20734300b0010735ed28b5mr15386624pzc.2.1686663319308; Tue, 13 Jun 2023 06:35:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686663319; cv=none; d=google.com; s=arc-20160816; b=W9Q3/tm9ygaqQMYPDIAyWEociMd+KvRFZ5XN98XYRgb9125zWh7L7YdtdxsMs4/UQ2 y3va8BvU5uZAPgfVFZXdIKRpWYhMuGjxpv0QM7JLVqFC6zc+tYFr2GrhQCZOs4y/fNDp VqqaCMxXbRdbDWZzUjYuw4fdIR4C1Xr3VHOyDfiPVPNnyfaNk9E7hrNgFpnh5i2lNtAd HxlXjyjH185Au39IWAJU8L6Kf0qCaGOG9IardATy0XL3Wvc8gWpnDqBs3cpCI46j0i4X 1TrWfaE8c9drMAEuit823K+C9DgXlCRn8rpI/iDSfk16PbOKeT9O4JcS2FmzvFqa9bQi DEkQ== 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:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=UhBYNPuW8adCTT9Igi1jCTMV9lLl1u6981Zie5OLaOI=; b=A1ZRk/bBLO2apeT1rWNOaqbZobm3bfTTdBtieaQxh/sfKiwBF/SRuKV/SLluxOo/Nc GxdlsXwRtLY7wmb7f4s7UDWY7aDgRY9G6t4vT9ysuzxZLAdLKZBSRmnNW8pUsqeINZ2a 6m5ERC+cjJ8t39KFwpl+AEFT6n8hJ6P0ivJqDgkkDp0968XwjbSG3FK3qLFu//cR6nmt oYdGorMsG+9TkFFu+48wn8FjSHkK1lGHajjzNF5s/Vn2O5FX0YbGmoJWQKCpSaK2wCUV qb4/NO8ftHlu6vlTqG1H7gSFjiSZBAf7j5k/z+Ua66EN6kCqvmoB+NBR6iuRg5u1BM6e Mpjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=J2nX+Lo1; 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=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id az9-20020a056a02004900b0053fbb2ddb4csi8913433pgb.36.2023.06.13.06.35.04; Tue, 13 Jun 2023 06:35:19 -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=@quicinc.com header.s=qcppdkim1 header.b=J2nX+Lo1; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242412AbjFMNQz (ORCPT + 99 others); Tue, 13 Jun 2023 09:16:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241000AbjFMNQx (ORCPT ); Tue, 13 Jun 2023 09:16:53 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CAFF196; Tue, 13 Jun 2023 06:16:52 -0700 (PDT) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35DAbVHs016390; Tue, 13 Jun 2023 13:16:28 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=UhBYNPuW8adCTT9Igi1jCTMV9lLl1u6981Zie5OLaOI=; b=J2nX+Lo1BgT9z0OCqNCrbCoGaYJJjGStqn5/M5aJpPairm3BdCcGyEMeCW/+HHkIfZls s7OBMMlN9YEWtfulcg4TcX/xOKCreD51N0xydR2LmL6OAHFzpADpA83IO1Qkh2/MUOXF i6RVzBu5pWUJF72noLCr7+UvuhNtoBjzSvC7sfLASvDfRqK5D6ePMAWQQvVebPA46Vr9 ItTlv7LXotFoSw/LGYq9c6lhU/4uGAkFn1JWwEtP/YLMr1Nrw1KTgNxR0gnAT+XZL5QS Xwcr4u+njWnnFHXZJ010SUrV1TiyA5P/wzQuR31fi267g1xJDT+m6DKAi+rQ0Yjv1sN9 1w== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3r6n0cgjs2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 13 Jun 2023 13:16:28 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 35DDGRua031912 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 13 Jun 2023 13:16:27 GMT Received: from [10.201.3.182] (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Tue, 13 Jun 2023 06:16:22 -0700 Message-ID: <410b0991-30b6-c87d-9b25-5f51f6c08671@quicinc.com> Date: Tue, 13 Jun 2023 18:46:18 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: [PATCH v4 2/8] clk: qcom: Add Global Clock controller (GCC) driver for IPQ5018 Content-Language: en-US To: Konrad Dybcio , , , , , , , , , , , , , , , , , References: <20230510134121.1232286-1-quic_srichara@quicinc.com> <20230510134121.1232286-3-quic_srichara@quicinc.com> <21a5642c-e6e5-9323-7db1-383a18616ac0@linaro.org> From: Sricharan Ramabadhran In-Reply-To: <21a5642c-e6e5-9323-7db1-383a18616ac0@linaro.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: foWbv2MnEtUydER2G_D9pmII8xoZErGo X-Proofpoint-ORIG-GUID: foWbv2MnEtUydER2G_D9pmII8xoZErGo X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-13_04,2023-06-12_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 lowpriorityscore=0 phishscore=0 spamscore=0 bulkscore=0 suspectscore=0 clxscore=1015 malwarescore=0 impostorscore=0 mlxscore=0 priorityscore=1501 mlxlogscore=962 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306130116 X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Hi Konrad, On 5/27/2023 12:47 AM, Konrad Dybcio wrote: > > > On 10.05.2023 15:41, Sricharan Ramabadhran wrote: >> Add support for the global clock controller found on IPQ5018 >> based devices. >> >> Co-developed-by: Varadarajan Narayanan >> Signed-off-by: Varadarajan Narayanan >> Co-developed-by: Gokul Sriram Palanisamy >> Signed-off-by: Gokul Sriram Palanisamy >> Signed-off-by: Sricharan Ramabadhran >> --- >> [v4] Fixed to use ARRAY_SIZE() wherever parent_data was used >> Changed GPL v2 to GPL as per comments >> >> drivers/clk/qcom/Kconfig | 10 +- >> drivers/clk/qcom/Makefile | 1 + >> drivers/clk/qcom/gcc-ipq5018.c | 3731 ++++++++++++++++++++++++++++++++ >> 3 files changed, 3740 insertions(+), 2 deletions(-) >> create mode 100644 drivers/clk/qcom/gcc-ipq5018.c >> > [...] > >> +struct clk_rcg2 lpass_axim_clk_src = { >> + .cmd_rcgr = 0x2E028, > Please use lowercase hex for non-macro-defines, all throughout the file. > ok. Will fix this in V10. > [...] > >> +static struct clk_rcg2 system_noc_bfdcd_clk_src = { > Drop clocks that are managed in RPM, they will conflict. > IPQ5018 does not have RPM. Regards, Sricharan