Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1089463pxb; Fri, 22 Apr 2022 19:15:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzy+a5O60SfReOj4CZ57CXrBgfZCZtxxv//PwCMTKxwFV5Ovaw6HqJebpYIrh5Xt2gF81i7 X-Received: by 2002:a63:4c52:0:b0:398:db25:d2b8 with SMTP id m18-20020a634c52000000b00398db25d2b8mr6438809pgl.432.1650680120015; Fri, 22 Apr 2022 19:15:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650680120; cv=none; d=google.com; s=arc-20160816; b=1DWP692MdZK5VMlFsfz/ax35AN0Ub7O5YmUsAMb0VWvlupbpXppR9LZbCMKc5xFa2U Z8gaPKtWO7wdiSkTDU4kJDBYpU3xjeMU4Dfku4omrPAjp/LNbB4/TmIP9DN7ooDY9Rf/ ICNzr99f3ZVy734eCrWJf+LuJGBlOl/ZQsbPpQzpp8wt8fFZe0BK0XYCu0kAniqY5Q32 8he1VXvie3uF1aH7iSDizE1A9Wi1rvwwoB890KaxZprEu01/ManuVsvUJPh797/HmhMD RJSzOAJarhl0tqCCP2AQx+FFi/zgoDzCTpYO37pdsKcHA2p7GijCdaq9WNGJT3gtxXWN x4XA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=V8TuL2WpXkjALc23oDzfRGX/LDrk3de6fU1D5kTZYu8=; b=jzfLQ8QwMiXiqMpURuml/pakuYp0GmFWVQun0p7/mjFNuDeOMGIaRYC+D8MBUDlG+m 7Uh/+BSSi1Fz57JKwfi52Q8GHOpcjPr5HvGiqOgU9fDWQQA1NMV+yi5/tahu57Q6c/cF pwxjqRZeYNSYskfzf9CGaleLvgSdLyb8FzBUGwXbXSGCwcy84WjngSUvXTXE+KC/G7mp HeCs7fvCPl4r9JxYnpZ89/caj8NNgLxcbwa+WOf7nGJWCG6PsMvn7CKak78xWhKyFM/b fkqN8axkR15TgUUmu/XXOt77Baxj9lq6k+HNJZr0XRB3trpyVFBHxlD507SYpenVVX0C hfqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=B0+BnFaC; 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 h21-20020a631215000000b0039da2c7eaf9si8930067pgl.452.2022.04.22.19.15.03; Fri, 22 Apr 2022 19:15:20 -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=B0+BnFaC; 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 S231705AbiDWB4y (ORCPT + 99 others); Fri, 22 Apr 2022 21:56:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230032AbiDWB4v (ORCPT ); Fri, 22 Apr 2022 21:56:51 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A318E4B; Fri, 22 Apr 2022 18:53:57 -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 ams.source.kernel.org (Postfix) with ESMTPS id CCE54B83240; Sat, 23 Apr 2022 01:53:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6558BC385A0; Sat, 23 Apr 2022 01:53:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650678834; bh=ebt/+pYOKnE58SDIUycCnkf6NKohTZ1uBIKku+9SzJk=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=B0+BnFaCe7LZwAulDY/wiY16VxCNnDc+ZPewt5nh5+cttZCxC4UUop9VKFaR6iW5g Q9chqlVr9CscKelfl5wPi7ZB/vKMUgQMB8RhA/RZZM71UlJ6MHMfQVQY9ziht2BMjA lHsjnySFwPRpLpODCXMeJztF9/9n9RW5OkPThSlfasjTvFJ6wXyRPdk4+t+ehFLqkl vrP+ceGMwoe9C87cQ5GrNUxastRAlFKWnOugOdThyF8GRSR8vdd2cY4SpnCLOxmS9n QdX2Je50IfO0eUOkoLiF8MBHecsl30s8d8JRW1n/RUEYKs85rGyIMAroNfjacsLOD1 hZtQTBGLaBdDA== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20220422230013.1332993-2-bjorn.andersson@linaro.org> References: <20220422230013.1332993-1-bjorn.andersson@linaro.org> <20220422230013.1332993-2-bjorn.andersson@linaro.org> Subject: Re: [PATCH v2 2/2] clk: qcom: add sc8280xp GCC driver From: Stephen Boyd Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org To: Bjorn Andersson , Krzysztof Kozlowski , Michael Turquette , Rob Herring Date: Fri, 22 Apr 2022 18:53:52 -0700 User-Agent: alot/0.10 Message-Id: <20220423015354.6558BC385A0@smtp.kernel.org> X-Spam-Status: No, score=-7.7 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 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 Quoting Bjorn Andersson (2022-04-22 16:00:13) > diff --git a/drivers/clk/qcom/gcc-sc8280xp.c b/drivers/clk/qcom/gcc-sc828= 0xp.c > new file mode 100644 > index 000000000000..16bfe62efca2 > --- /dev/null > +++ b/drivers/clk/qcom/gcc-sc8280xp.c > @@ -0,0 +1,7451 @@ [...] > +static struct clk_branch gcc_video_vcodec_throttle_clk =3D { > + .halt_reg =3D 0x28020, > + .halt_check =3D BRANCH_HALT_SKIP, > + .hwcg_reg =3D 0x28020, > + .hwcg_bit =3D 1, > + .clkr =3D { > + .enable_reg =3D 0x28020, > + .enable_mask =3D BIT(0), > + .hw.init =3D &(struct clk_init_data){ The clk_init_data can be const too, right? > + .name =3D "gcc_video_vcodec_throttle_clk", > + .ops =3D &clk_branch2_ops, > + }, > + }, > +};