Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp5255146ioo; Wed, 1 Jun 2022 01:29:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxyPDVJwDZfptoO585cJo6/08qLePLQprilVNcc4BiA6JvcpHK2ndAaHq4uO2zr5FM0s2yq X-Received: by 2002:a17:90b:4b8d:b0:1e3:5147:6e63 with SMTP id lr13-20020a17090b4b8d00b001e351476e63mr4691221pjb.162.1654072194027; Wed, 01 Jun 2022 01:29:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654072194; cv=none; d=google.com; s=arc-20160816; b=clx6AIFTP/pPjolXHkz0zrsrB3F4hyfCHl8xmHqsVbqTUXPwSo977GFtEfJPMphh4J LVwVcdFzHvLB38WYZBpm0rsMXQxccdrmb+/gH7exl6Dfwnw7iJIIq58CjQeLz1P7uAyn qgLZ3fvvbc78R3AM/F0gF1Ffv+wp5G/GPTy03dZNzhFMp9GtnepusavBTXvkSejBrLVi iHU33xmqUkYi/jAF1UzmEpADysAAWnPuuxlWgiN+paNypTilli8k4taJsLDyleFjvVBz Qpe0cldnFED+PCUwyNFbuGHHmTSgpXBmk1CqloOHnUNQ5sIZJ9dvcdBzCg8U0Aer2wIJ CrcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:feedback-id:dkim-signature :dkim-signature; bh=OgiPG+U4zIk0Jt48BHpc6497AJSnBBy/ITnA0OSv0KQ=; b=pfym7CQujKiV8KOofdP+KFt2F/9B2kcZ+nOz7s4AX3vJ42u0MDwpLLQgghp2FqkZCH vesG2tYGlS+fLfarVip2yBtHwl0X8ix0fWxNqiYjXINVU5ImLpP6RuNJs8GqKF9lFvEH 2yPfPAnHsJYrdVufsAgE8F9Xi2DaC+njit0oVDBbhYarMtp0xXQmTYxacQjq+YNN89dR 19XInoRIOVFKiMA4emSUnzAdgB7v/i4Zp10CxXXNplzng9s4Lgj2HVGaR503qL2gdG1y 72AZFekCtTb4rl/vwWbCoJCamcb/YS4C2Mapb+t+rPZIOzR7YiTKEWhafElqzXP0OdQP m57Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (expired) header.i=@sholland.org header.b=jDNq31pf; dkim=neutral (expired) header.i=@messagingengine.com header.b="dT9ynzy/"; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ay1-20020a1709028b8100b0016231232bdesi1577970plb.128.2022.06.01.01.29.41; Wed, 01 Jun 2022 01:29:54 -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=neutral (expired) header.i=@sholland.org header.b=jDNq31pf; dkim=neutral (expired) header.i=@messagingengine.com header.b="dT9ynzy/"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243947AbiEaFRt (ORCPT + 99 others); Tue, 31 May 2022 01:17:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232815AbiEaFRr (ORCPT ); Tue, 31 May 2022 01:17:47 -0400 Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 442AE3F883; Mon, 30 May 2022 22:17:45 -0700 (PDT) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 1AB5A320097D; Tue, 31 May 2022 01:17:44 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 31 May 2022 01:17:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm2; t=1653974263; x=1654060663; bh=OgiPG+U4zIk0Jt48BHpc6497A JSnBBy/ITnA0OSv0KQ=; b=jDNq31pf9JIwx/Ez6zeDEd6l20nYTE6tSmtAofj1t ADUnPrKV8D8lHH3BcPQonnGR/XoKWk5OCtvCPgBNIFDlKm3dBgW4xDLiGwbj5xJN ZIOXrQOwDLeXgKu4pmRthvYBix6BtNJDDXLAxxdobv4BBReLvkNqpgna1XOW8JSM pNq8ujWqSyJyNorSxT/XXbHMEJfM/0w1qWgoak+o8du0bTYyC/1pXFyE6fU6m+50 lI1h6aJtX+STtvJNaDJPwbN/TOhg7z38gnSJJdo5jMpvWPIo6H9Y2DrQcyIjtL7P l9feJT/xmylLE1Z4Bwu8KJO8TGbnxkkVz6xk1tU/oZe+Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1653974263; x=1654060663; bh=OgiPG+U4zIk0Jt48BHpc6497AJSnBBy/ITn A0OSv0KQ=; b=dT9ynzy/BYuC0zOib12EdO8r4BqtZJobMQ4cONDsCd6uGw99ifF x7QKwhG4cSCPdxJonQWO5ylhNVPkcJv6tTJfemrZsb70NexpauR0E8gJ8onbyb8K uJa+jyX1oaT8Hcucv1TIfoJiWwSuFZQrpbXZEln25jpl/kgC45HjPP8Qj+jDrdBR XKJ7XXB7073TdtkC6AQbdrpwzdn1Cql6EqMWqnx4Nm4avuJ5rIlW7NwLU2Q94+oj nrLi2C5z+NDiryQRZfF5VN/IE7Ts2IIc09BOKpqRTAqOE4lCjbTPRmQvHw2yjaAS UwML7H84QbvPff/pcBK5muWazR2ZYNX//rw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrkeejgdelfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgvlhcu jfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtffrrg htthgvrhhnpeekveelhfejueelleetvdejvdeffeetgeelheeujeffhefgffefkeehhffh keekgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hsrghmuhgvlhesshhhohhllhgrnhgurdhorhhg X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 31 May 2022 01:17:42 -0400 (EDT) From: Samuel Holland To: Michael Turquette , Stephen Boyd Cc: Jernej Skrabec , Chen-Yu Tsai , Maxime Ripard , Samuel Holland , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] clk: fixed: Remove Allwinner A10 special-case logic Date: Tue, 31 May 2022 00:17:41 -0500 Message-Id: <20220531051742.43273-1-samuel@sholland.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, 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 This compatible is part of the legacy sunxi clock support, and has not been used since commit 6b48644b1d29 ("ARM: gr8: Convert to CCU") in October 2016. Since supporting this compatible adds some overhead to generic clock code, let's clean it up. Signed-off-by: Samuel Holland --- drivers/clk/clk-fixed-factor.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/drivers/clk/clk-fixed-factor.c b/drivers/clk/clk-fixed-factor.c index 54942d758ee6..e6b36247c16b 100644 --- a/drivers/clk/clk-fixed-factor.c +++ b/drivers/clk/clk-fixed-factor.c @@ -210,16 +210,10 @@ struct clk_hw *devm_clk_hw_register_fixed_factor(struct device *dev, EXPORT_SYMBOL_GPL(devm_clk_hw_register_fixed_factor); #ifdef CONFIG_OF -static const struct of_device_id set_rate_parent_matches[] = { - { .compatible = "allwinner,sun4i-a10-pll3-2x-clk" }, - { /* Sentinel */ }, -}; - static struct clk_hw *_of_fixed_factor_clk_setup(struct device_node *node) { struct clk_hw *hw; const char *clk_name = node->name; - unsigned long flags = 0; u32 div, mult; int ret; @@ -237,11 +231,8 @@ static struct clk_hw *_of_fixed_factor_clk_setup(struct device_node *node) of_property_read_string(node, "clock-output-names", &clk_name); - if (of_match_node(set_rate_parent_matches, node)) - flags |= CLK_SET_RATE_PARENT; - hw = __clk_hw_register_fixed_factor(NULL, node, clk_name, NULL, 0, - flags, mult, div, false); + 0, mult, div, false); if (IS_ERR(hw)) { /* * Clear OF_POPULATED flag so that clock registration can be -- 2.35.1