Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp1007336rwb; Fri, 13 Jan 2023 06:54:15 -0800 (PST) X-Google-Smtp-Source: AMrXdXsV+UP1DV9AW/zbhPj8aEx2htYASTFGsl6uMLU4QN1ZfptHm7HgKZ09tDwQ/1Usw1CwZS94 X-Received: by 2002:a17:903:2603:b0:192:a4d5:55b8 with SMTP id jd3-20020a170903260300b00192a4d555b8mr11723311plb.52.1673621655287; Fri, 13 Jan 2023 06:54:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673621655; cv=none; d=google.com; s=arc-20160816; b=IdHInkfBbl0e2CVbED3GpYpfmqYZ97L0B5FR+fFO1rgKiyu/9+PNKw57U3XUxQsq0z h4f1d6WkclbPyCWnE5H5zsCWPdxOpSUbVhAwRNsHMqb+CyngUehZ8VxYV7krVX0W0U3y kHgqEiYDm7rS8k1KNgOV992zX5gs9q4XkmxA3ik7gkAXq1I8/AAJQEoS9uTwXwwgopI2 7t6ri/cxGyvgWA3UXJSiCb7Wdc5jdLXd2qNFTbiQqzRWwe0BrhVEZ7bW0JN7Qmgy5muT c1nMGuvZLvdT08N+QCfbMg2Bnd3oG9ENjeMqnQ4IMwqt7GRpsLUwkk2/2T1ULopkpzau Sv3w== 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=OfrzdcPiy0Hdw6/iAuT57+/JJ2SqLT2P5GR8aVHlsBE=; b=Td4c65hfwwQ7EeuZCUBHL70WMRCHSc1ekDpPT1oHo2qnWizGn+qOka5UMiBnJYPdEw 83jm38cILu0xxbXkuusoFyqqa0Gp2tZeBywUcuhSU1i0ScmGU2h84rnsAP2UaZgQW9br W9YADoVaknZyyrLHyrcSvCn6uUhdjYYHJubQ+gl1Po4BX/C6d9T16aHTw2DBs9AMiDN5 7vCIkCz9HqsE56HfWH1n7NhZGQsmUE+mxiuE+ufXciHw+vLi/5Y9xVc2g3Cl5ZNxsfxL +RpaBFWc93AchIIMZ0QBKbZ391DY3vWE/BCZ22LCWKZnY31eZca906N0bu6cnmrOvk6d mTYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="F2cwr/7t"; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t13-20020a170902e84d00b001944c51f9d6si8130407plg.123.2023.01.13.06.54.08; Fri, 13 Jan 2023 06:54:15 -0800 (PST) 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=@linaro.org header.s=google header.b="F2cwr/7t"; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234606AbjAMOOW (ORCPT + 51 others); Fri, 13 Jan 2023 09:14:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230120AbjAMONK (ORCPT ); Fri, 13 Jan 2023 09:13:10 -0500 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 672EA84F8C for ; Fri, 13 Jan 2023 06:09:17 -0800 (PST) Received: by mail-lf1-x131.google.com with SMTP id j17so33314525lfr.3 for ; Fri, 13 Jan 2023 06:09:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=OfrzdcPiy0Hdw6/iAuT57+/JJ2SqLT2P5GR8aVHlsBE=; b=F2cwr/7t0vbK+L6PYtAxhaLvwsLRI0ZhLXwirF0roTu2m3XHYo7sWFuS3843dXxrTO MeFmV91b8shFyG5WPe+lj5TMjpJhUgudf5S98IiAdu/2TYtdAtecY2d/IXfWv2p3V93p /5itVkT9JUEPJQkx8yDUxajV5tzHZaHqTqV0b7C/4QZXj8xot1zV9N4OK+vQE13EcltN q2lo5KO+SUWayyM1X/vMdGPU+n17nBOC/yjcYUAiaWZ3IRYqrkuGGX68O+PMRJe5qhnV 9aiRXZMD5OvIWJfhPG1zpHlC8pelB93ZWH3QnOT2UpbSXh+EV+WfmUNiKae2V3O1ET9w nPUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=OfrzdcPiy0Hdw6/iAuT57+/JJ2SqLT2P5GR8aVHlsBE=; b=2sGEsbgzhyn9TdpJFw4wFyiZQXAZ/qSRZhndpOlZX+V6lrTMM5vHVX0CTebRxOZkID vsUeqFFIc5e0q8imo+vySaGC9Vx2k4ECJcwRfzoZ3qUFaeuvn+7aGMQzlapNhUX82VcE UBudlDLJS+Gkts08O0O6Qc/bfIXletSBTY6bw80R1rq9hqwjZmS8JW0Sq0qCQMhusCT3 vixOIrOqKIr2YAslkQj9Diq35HvGPN30QNrUa3DDrrA7yPM8IHg49lbgNHhrvKM+IajR C+6f0yJHynpWZPvwbq4Qnj7XLVQO0f57ACfPJpuLseLhcael6iC+2TBEVU9t7IuLJbdh O8Xw== X-Gm-Message-State: AFqh2koV+RJwUr4kK1UBhHxpSOq6Uzj1drvSQlRQggoT1ueSvn8qRdhr FAxTfgJwXTgs8SuVydWGF2pTIQ== X-Received: by 2002:a05:6512:1049:b0:4b6:edce:a192 with SMTP id c9-20020a056512104900b004b6edcea192mr26400332lfb.4.1673618955757; Fri, 13 Jan 2023 06:09:15 -0800 (PST) Received: from [192.168.1.101] (abym53.neoplus.adsl.tpnet.pl. [83.9.32.53]) by smtp.gmail.com with ESMTPSA id d23-20020a056512369700b004cc86bc8f22sm2389754lfs.90.2023.01.13.06.09.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 13 Jan 2023 06:09:12 -0800 (PST) Message-ID: <9bdf757d-1fa0-106f-eb77-7f2a8593213f@linaro.org> Date: Fri, 13 Jan 2023 15:09:02 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH 2/7] clk: qcom: Add Global Clock Controller driver for IPQ9574 Content-Language: en-US To: Devi Priya , agross@kernel.org, andersson@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, linus.walleij@linaro.org, catalin.marinas@arm.com, will@kernel.org, p.zabel@pengutronix.de, shawnguo@kernel.org, arnd@arndb.de, marcel.ziswiler@toradex.com, dmitry.baryshkov@linaro.org, nfraprado@collabora.com, broonie@kernel.org, tdas@codeaurora.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: quic_srichara@quicinc.com, quic_gokulsri@quicinc.com, quic_sjaganat@quicinc.com, quic_kathirav@quicinc.com, quic_arajkuma@quicinc.com, quic_anusha@quicinc.com, quic_poovendh@quicinc.com References: <20230110121316.24892-1-quic_devipriy@quicinc.com> <20230110121316.24892-3-quic_devipriy@quicinc.com> From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_HTTP,RCVD_IN_SORBS_SOCKS,SPF_HELO_NONE,SPF_PASS autolearn=no 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 On 13.01.2023 14:21, Devi Priya wrote: > > > On 1/10/2023 6:07 PM, Konrad Dybcio wrote: >> >> >> On 10.01.2023 13:13, devi priya wrote: >>> Add Global Clock Controller (GCC) driver for ipq9574 based devices >>> >>> Co-developed-by: Anusha Rao >>> Signed-off-by: Anusha Rao >>> Signed-off-by: devi priya >>> --- [...] >>> +static struct clk_branch gcc_blsp1_qup6_i2c_apps_clk = { >>> +    .halt_reg = 0x07024, >>> +    .clkr = { >>> +        .enable_reg = 0x07024, >>> +        .enable_mask = BIT(0), >>> +        .hw.init = &(struct clk_init_data) { >>> +            .name = "gcc_blsp1_qup6_i2c_apps_clk", >>> +            .parent_hws = (const struct clk_hw *[]) { >>> +                    &blsp1_qup6_i2c_apps_clk_src.clkr.hw }, >>> +            .num_parents = 1, >>> +            .flags = CLK_SET_RATE_PARENT | CLK_IGNORE_UNUSED, >> Sounds very much like a hack.. > Got it, will remove the clock entry as it is not being used in linux I'm not sure removing it is the best option, somebody might have a funky board where they use this particular QUP for I2C for whatever reason and then the clock would have to be re-added.. Thanks for addressing all of the review comments so thoroughly! Konrad