Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5056139rwl; Mon, 3 Apr 2023 13:44:29 -0700 (PDT) X-Google-Smtp-Source: AKy350ZMfDTjWDe66oS6atY2tKzRTlU9CEU+rCtDva4VfMw1D3iPYOr6YaRGIxvC3zKf+80ejjy6 X-Received: by 2002:aa7:d94f:0:b0:502:5288:e37a with SMTP id l15-20020aa7d94f000000b005025288e37amr408704eds.6.1680554669063; Mon, 03 Apr 2023 13:44:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680554669; cv=none; d=google.com; s=arc-20160816; b=ky6gKCOlSMzyRDMVu+Hlm7PX574Sd4Uq324Tdbgwc7PO8hrF2bgeje7d+lM3lQ4wgr FyycTeeG9vRKaclBUwwuNEZ4Ig1OS61d2gsPRoq5axu6/jbVXNdkIcMpeDteXNRqcHgU cbHAmo7ie3yqYjeyKAETXBHaEV2biol9fZQRpFX8ICouV3EPiF6QK+wIuEfPQbyQ9Kb7 +Xf9ZRJ77gsfxTlNqqfPinruf73OFpDduvL0AUH/7edhR+NLRxwjpokX4ZS21FrBUIsC IH9bnbVy8NWighLt4l4vJ1TB2Vu802VjVysP470IbYO/LCoarduGiAl06cLZfcEF68pE iERw== 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=8W33znYIAl2DMyLncbJoqCopj/H6Dvst/McCNbNede4=; b=qaUUJ14BWwceWdVXSm+ATJVjSTb8Gk9OJYw7OzdEMIbCP3wJEPoTYcxRT0iYcaFUEQ cyEQtYXaLpe/2o8vbF/TqMcc9XIM0vjbPq2hY7NhefGdj2Z0RT7HN7x6TPA3QQhTA/yg TjtJexhtNPsh59ndpiDpTZIrA/PHUsk7ikMyplvi4KuXX4BRtFln5/3lCN24OOSMoptL AGuCVbLXqqGrmbS17/wQqMfAiJbdVAl8+jar2xXXGU5qK7EO5XF1KUuv9QXoy06/6H9y JAy2f4GVFBXSknq50F9Ep2BYdgKnSfpAHqbt/wUzbFxUeBUS9BQBujwrrNy/5lZQ4ZTi xrCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aqN6rHZL; 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 e25-20020a50ec99000000b004fb56076a23si8220862edr.12.2023.04.03.13.44.03; Mon, 03 Apr 2023 13:44:29 -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=@linaro.org header.s=google header.b=aqN6rHZL; 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 S233501AbjDCUjc (ORCPT + 99 others); Mon, 3 Apr 2023 16:39:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233252AbjDCUjZ (ORCPT ); Mon, 3 Apr 2023 16:39:25 -0400 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D703E7D for ; Mon, 3 Apr 2023 13:39:15 -0700 (PDT) Received: by mail-wr1-x433.google.com with SMTP id v1so30666261wrv.1 for ; Mon, 03 Apr 2023 13:39:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680554354; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=8W33znYIAl2DMyLncbJoqCopj/H6Dvst/McCNbNede4=; b=aqN6rHZLCar/09kDSX23dhRO9TE6+zp5ZBhXizjjLoiA2bJ8NgApcvuPz1q2WwsZrD 2kFRTjggRG1o9yQaYJuN8bOA10f3SiClaNt99XjI5bWqN7GyPlCf+JjsN7om6K3+lRHC v58+eBgq6Dy/iUV4YZOdWEWbPIpGUlaii/2QSbIuafUr9uJH1s2VaDHLv2xRug/yB69u KQ01ulzTWkt3yGK+I7CRag0Zo/a5tz/L7JFav860fGdUj9GK6wEJ4oxS9j0DANQmBL/E 8EDSid2M8ryO4aPHomrjVUF97O8amMTeBRrBai12ixdDITAsCMJ/honqoFEZjsXKi0jw Owug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680554354; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=8W33znYIAl2DMyLncbJoqCopj/H6Dvst/McCNbNede4=; b=4eqpbJLs2FTYkeDRuwEVcQxpr/om9gkZUIAhXJjdXtKa0tJcuSn6J7Nvl3cGKDahPl 342Se89Ez0tj4gFFElhaKp3GlDbRUOSuD4+JK/3RCiTIATUMFes3V4vzRsuooYXkuBof HE0lvkVO+GAGXV8dxyErSV6tam78Yf0uB3Sm0AiVxt1qEbDIbuddIcp5zxwmpzHjqADw W/C9UIjNArMmJ4Gepwi0HfmAsmWvfT6hwUaFRcbakLc8N7bcEmpZIgti5y9e4OVB4B+1 CjSLqffFyyKrTn+5MexCLk3BymLviwizI5xn8TguDZZSHlb1KKv++BOAXQFFwqO4E1CN bt/A== X-Gm-Message-State: AAQBX9c9zQgyMrPLdftulmXvfaSXhY65YBvY/ay3hl5PH57VHp4Vr9PI +iDbLCQ2+X0uSyHnobA1u2Nr5A== X-Received: by 2002:adf:fa4c:0:b0:2da:75c5:e127 with SMTP id y12-20020adffa4c000000b002da75c5e127mr25515578wrr.23.1680554353766; Mon, 03 Apr 2023 13:39:13 -0700 (PDT) Received: from linaro.org ([94.52.112.99]) by smtp.gmail.com with ESMTPSA id z6-20020a5d4d06000000b002e6d4ac31a3sm8183664wrt.72.2023.04.03.13.39.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Apr 2023 13:39:13 -0700 (PDT) Date: Mon, 3 Apr 2023 23:39:11 +0300 From: Abel Vesa To: Christophe JAILLET Cc: mturquette@baylibre.com, sboyd@kernel.org, abelvesa@kernel.org, peng.fan@nxp.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, heiko@sntech.de, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH v2 2/4] clk: imx: Remove values for mmask and nmask in struct clk_fractional_divider Message-ID: References: <187a2266c3a034a593a151d6e5e6b21118043b5d.1680423909.git.christophe.jaillet@wanadoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <187a2266c3a034a593a151d6e5e6b21118043b5d.1680423909.git.christophe.jaillet@wanadoo.fr> X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 23-04-02 11:42:05, Christophe JAILLET wrote: > Now that fractional_divider clk computes mmask and nmask when needed, there > is no more need to provide them explicitly anymore. > > Signed-off-by: Christophe JAILLET Reviewed-by: Abel Vesa > --- > drivers/clk/imx/clk-composite-7ulp.c | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/drivers/clk/imx/clk-composite-7ulp.c b/drivers/clk/imx/clk-composite-7ulp.c > index 4eedd45dbaa8..e208ddc51133 100644 > --- a/drivers/clk/imx/clk-composite-7ulp.c > +++ b/drivers/clk/imx/clk-composite-7ulp.c > @@ -19,10 +19,8 @@ > #define PCG_CGC_SHIFT 30 > #define PCG_FRAC_SHIFT 3 > #define PCG_FRAC_WIDTH 1 > -#define PCG_FRAC_MASK BIT(3) > #define PCG_PCD_SHIFT 0 > #define PCG_PCD_WIDTH 3 > -#define PCG_PCD_MASK 0x7 > > #define SW_RST BIT(28) > > @@ -102,10 +100,8 @@ static struct clk_hw *imx_ulp_clk_hw_composite(const char *name, > fd->reg = reg; > fd->mshift = PCG_FRAC_SHIFT; > fd->mwidth = PCG_FRAC_WIDTH; > - fd->mmask = PCG_FRAC_MASK; > fd->nshift = PCG_PCD_SHIFT; > fd->nwidth = PCG_PCD_WIDTH; > - fd->nmask = PCG_PCD_MASK; > fd->flags = CLK_FRAC_DIVIDER_ZERO_BASED; > if (has_swrst) > fd->lock = &imx_ccm_lock; > -- > 2.34.1 >