Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp417879pxb; Tue, 12 Apr 2022 05:04:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCXB1dRVJrpItrtSw+tU8B5ZenD9JB3WugS2z9wm50a3Cv8tmcTcYLtFZzaAcWmqhIZxxt X-Received: by 2002:a17:903:20c:b0:154:b58:d424 with SMTP id r12-20020a170903020c00b001540b58d424mr36150636plh.45.1649765082976; Tue, 12 Apr 2022 05:04:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649765082; cv=none; d=google.com; s=arc-20160816; b=xF3X3If4H0n3O5ff/uyiAO+rfkmcSjUl5YXuJVVRTwx6hPOHPt6Gn71bN7pod5p/zV h++cs/vOmBiQ1hE4d+XLQOyYkqyPyWUrQlS5eZy85m/7UJrKkqdtJJGfbFDxUOHWOrUG B/I084mmKn+Ul6GHMp29MV8b8wBU47janZj5qSOuiiMxV3IKADgOMckKHn6qgDf5W1/Z qzqF6ig9cGAT0oj1F/dKWWFx+DFmuDfrY3+U4hRwn8+fem9ozQH61XYVIkAsXexZKTMW F3iiAfUKOHRJbHEHckPceOCev2FxdjZA0L7zT8Y0R4wQ1hY+T0jpJLODsDFjFznOQFI0 UGZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Dv1F2lZuizWGR8Ze6LUP8lySZVBA0ydHMXhonzwLkxg=; b=LpuWIjq5mJBsVilSw0+tMdpzAus1j0sZc5H3VNZMCFju7zgrlUuXVMW8IwbuTyiHr3 7fB/OcYf8NCPKZR/72nxcSoytTisgQRVp7x0DnmFswcK2AU4D+Hsljok/0Q8KdiX/Wa/ aqCge3+HDR4ymg7wv5mV3FTxE9tPtOoIv9KK0qKo+ucu7+WcF7J/3EleN6MoOk5ZozkI Q/CmxBBgAjWlIx2AT0ouFYXwa7g0daW7EjRiB5oUPDanJYBVJlkDRmkRzSErZinBdvO7 sBne6n9asd5E8r82rMJF0dO/kV7KbutDX/bCg9ZM0V4/W0KKOJ8fjwyLBquSBlnPfdKd 7/HA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=K3WOWpuN; 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 c7-20020a631c47000000b0039cf81ebf5esi2443230pgm.114.2022.04.12.05.04.22; Tue, 12 Apr 2022 05:04:42 -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=K3WOWpuN; 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 S1349137AbiDKSeA (ORCPT + 99 others); Mon, 11 Apr 2022 14:34:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348874AbiDKSd7 (ORCPT ); Mon, 11 Apr 2022 14:33:59 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3312B132; Mon, 11 Apr 2022 11:31:44 -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 sin.source.kernel.org (Postfix) with ESMTPS id 8FA24CE19E5; Mon, 11 Apr 2022 18:31:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EDA17C385A4; Mon, 11 Apr 2022 18:31:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649701900; bh=gf6psStw1GAOWRBXxHx1fc7I0v5BTAOUapSwAlu8h6E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=K3WOWpuNioT3TzpcMRDQSdZMJ5c92D+8/VFQX71ML0cqHb+Lj1kBRD3KD4+nqHCPQ c+1loD+UqTB+kja9pII1I8ZzSNkX0wxpD4dyIEea+v6GE/x5LpcCmCHRgGOCvtRjr5 9mMxRwZqqP2Vv/42h7FPph8psR8ac8/s72WKU6bqm4cjFaoVME0/JBfg1nB3kHV7vD wa5tnh92Lcb/3l74vOLWDvaTObOvbirRK5LXIhOgc3Gus92zgDYCDDwsSnV/3g76GM +MeOPRiETT89wYw0r6MGtuN0EzdcU63tY89Fn3olX7jVdwUzWYDx82XpUY99kjqtjo yrtD52cD+VM6A== Date: Tue, 12 Apr 2022 00:01:35 +0530 From: Vinod Koul To: Bjorn Andersson Cc: Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] clk: qcom: add sc8280xp GCC driver Message-ID: References: <20220408224321.627126-1-bjorn.andersson@linaro.org> <20220408224321.627126-2-bjorn.andersson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220408224321.627126-2-bjorn.andersson@linaro.org> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On 08-04-22, 15:43, Bjorn Andersson wrote: > +static struct clk_branch gcc_aggre_ufs_card_axi_hw_ctl_clk = { > + .halt_reg = 0x750cc, > + .halt_check = BRANCH_HALT_VOTED, > + .hwcg_reg = 0x750cc, > + .hwcg_bit = 1, > + .clkr = { > + .enable_reg = 0x750cc, > + .enable_mask = BIT(1), > + .hw.init = &(struct clk_init_data){ > + .name = "gcc_aggre_ufs_card_axi_hw_ctl_clk", > + .parent_hws = (const struct clk_hw*[]){ > + &gcc_ufs_card_axi_clk_src.clkr.hw, > + }, > + .num_parents = 1, > + .flags = CLK_SET_RATE_PARENT, > + .ops = &clk_branch2_ops, /* XXX: clk_branch2_hw_ctl_ops */ I think comment should be removed (couple of them here) > +static struct clk_branch gcc_gpu_memnoc_gfx_clk = { > + .halt_reg = 0x71010, > + .halt_check = BRANCH_HALT_VOTED, > + .hwcg_reg = 0x71010, > + .hwcg_bit = 1, > + .clkr = { > + .enable_reg = 0x71010, > + .enable_mask = BIT(0), > + .hw.init = &(struct clk_init_data){ > + .name = "gcc_gpu_memnoc_gfx_clk", > +// .flags = CLK_DONT_HOLD_STATE, This need to be removed/updated -- ~Vinod