Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp232870rwb; Fri, 2 Sep 2022 13:10:40 -0700 (PDT) X-Google-Smtp-Source: AA6agR4ceQb53IE4PhSX9gigwE5RB+Xi8PGhpTOQGBsP9Cm4ZSGakx/63lNAUXTC2vOJ2PaOrSi2 X-Received: by 2002:a17:903:1c5:b0:173:43b9:78f7 with SMTP id e5-20020a17090301c500b0017343b978f7mr37333061plh.81.1662149439714; Fri, 02 Sep 2022 13:10:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662149439; cv=none; d=google.com; s=arc-20160816; b=x10RmCY5xZkSpP8wCY4RZHyIX4Zrf10MTRNGExd3qdxxmoypsh5OX/2yBGg2vM70Te S6u4u1eCtcw+YPRftOGXiMW6BbhnrUJwQFXyLCQ5ur2c+pRGBsddWR6evagwimNtYBxC S7jKnmGdZ5o8I0yhdUPQvEPTbZAhx49i5+xZ2i19p1DjXBZhuuJISH6tmzWfaCJUnPHX r0PhlINuurh6WYh5jR6KK6lHXwXo1UxzXzvTwPaawgeLdlukPnTcMlMlu5cfSGidhjg0 S4sTBCEpRjplMigvYsvM6DWmkgW9b/1ByccCeYv3mj7JYDCJE75virduTVW/X0lwvvOE PIbA== 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=T/yia6VscjVg9lKFE0AZwhYiMtREgLkGPOBsdI4ZOMw=; b=of4klpoJnk+0mKRsfguYkgi9pQStxVM57SJdfyCw4F/zEoydOX/aDlLp+3rpPgLnt9 0J4FNerHfAQR9PqNKbR9XbkzMnY7KZI4nhsVHPVatjrwTp6OylUNU/Ic7DP2E6AWJnOz rph4lz4chzJYXAhHCKe1Uur1P+f/EMGT5tfMh7ZR1nqEq6bPbSSxLtm5ik4KF9X7oWyQ KsEvg0Xk8LDsklW3y0nIDMxP/h3AV6/K4sq6a0SD9EnOR++8PrYc+yd9LWXfBiVgs1qd vUrowApWPxbElgHFNWe9JCYSyg4nIG+N9aTiC8Sz1+K6EBf1o4Kgswwa+0nM4Q9572gs jT7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eGWa7bKH; 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 np6-20020a17090b4c4600b001fb4727fff3si8841798pjb.107.2022.09.02.13.10.26; Fri, 02 Sep 2022 13:10:39 -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=eGWa7bKH; 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 S230344AbiIBTf7 (ORCPT + 99 others); Fri, 2 Sep 2022 15:35:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230335AbiIBTfz (ORCPT ); Fri, 2 Sep 2022 15:35:55 -0400 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 822BAD87E0 for ; Fri, 2 Sep 2022 12:35:52 -0700 (PDT) Received: by mail-wr1-x42e.google.com with SMTP id bp20so3036569wrb.9 for ; Fri, 02 Sep 2022 12:35:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date; bh=T/yia6VscjVg9lKFE0AZwhYiMtREgLkGPOBsdI4ZOMw=; b=eGWa7bKHYl2Nz+WSVKuek/89mZFFJO04byxlX4ef3ZKdyHmKWjt8V5HSKcA0SO7+BB 8sezSC+tip0hoL50+gA90+17rq34nljG+JylbfYIKC+nCrl1fT6LgBNdgmplZ2D9lNBC IwHbGwqnNi1xacWEei/qzP0xdhqkWKCCn4bIjVN7jo0NdhIl9k14RIjZ0nrDGt+et9L0 y6sca1h7IsgXoN8sxmQC7+yBhJshVjbRPyOUVHVxPtqr59bhFTeVfz7djyNGg+GFbBZK l3aN7WN82xLn4ziGTpSlSE1WY94+QS3ju9Rl+kqUDrV4xYe+Sb9ez1o4Urx941zb/tTQ yvjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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; bh=T/yia6VscjVg9lKFE0AZwhYiMtREgLkGPOBsdI4ZOMw=; b=glCRLDOXzx/vaB2HmB23SkxfVrocmMQd1Mdiih5468AKEcQCeqAAChBcLvEYjvvS+X +QwTCNPAsdyWoL1/6gtwrpw9rIYcGGnx0zhDdjn/e5ajoPny45J6cTvZwdrfNmPxPuvz 72GCNaVQwImc9RQg9gmXmE+601olUQ8K/aCF7MVxLXlhhaMFDC54soKJWAjqsi8tnlcp VKcjjCAPN5IiOXNwDd3H8Kkg1QzgPvf/e/5CmbT2qZRwublYqJsSC/s59prZcdLlCeMl 5yHA6v/wO4LsoVoFYYH3LLtQjz02TflJj31074nyEbZb3txB1LnDkrEewOcaxAVSdhT1 zYhQ== X-Gm-Message-State: ACgBeo2PJ3lk3zYyYboWD2z6ud9KBN2b/TncFVQIIgkENASJINeCcndd SnQN8jMBRySa1S/9EY/4EnWJXg== X-Received: by 2002:adf:f592:0:b0:225:2f5e:6a99 with SMTP id f18-20020adff592000000b002252f5e6a99mr19302290wro.593.1662147350584; Fri, 02 Sep 2022 12:35:50 -0700 (PDT) Received: from linaro.org ([94.52.112.99]) by smtp.gmail.com with ESMTPSA id bg15-20020a05600c3c8f00b003a4f08495b7sm10552034wmb.34.2022.09.02.12.35.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Sep 2022 12:35:49 -0700 (PDT) Date: Fri, 2 Sep 2022 22:35:46 +0300 From: Abel Vesa To: "Peng Fan (OSS)" Cc: abelvesa@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan Subject: Re: [PATCH V3 0/8] clk: imx93: new gate API and composite update Message-ID: References: <20220830033137.4149542-1-peng.fan@oss.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220830033137.4149542-1-peng.fan@oss.nxp.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 22-08-30 11:31:29, Peng Fan (OSS) wrote: > From: Peng Fan > > > V3: > Add R-b > Drop of_match_ptr in patch 2, so I drop Abel's R-b in this patch. > > V2: > Add A-b from Rob > Add a new patch 2 reported by intel test robot > Use Abel's new address for sending mail > > The current clk driver use gate API as i.MX8M*, the gate2 API use 0x3 as > val/mask, however i.MX93 LPCG DIRECT use BIT0 as on/off gate. So clk > disable unused actually not gate off the LPCG clocks. > And i.MX93 has AUTHEN feature, so add a new API to support i.MX93 clk gate. > > i.MX93 CCM ROOT has slice busy check bit when updating register value, add > check. CCM ROOT also has AUTHEN whitelist, so add DID check. > > Besides the gate/composite update, add MU[X] and SAI IPG clk in this > patchset > > This patchset has got reviewed in NXP internal, so I keep R-b tag here. > For those that have some change compared with downstream, R-b tag dropped. Applied all, except patch no. 2. Will wait for Stephen to pick that one up since it is a fix and so it might need to go through his clk/fixes. If not, I'll apply it to my tree along with the others. > > Peng Fan (8): > dt-bindings: clock: imx93-clock: add more MU/SAI clocks > clk: imx93: drop of_match_ptr > clk: imx: clk-composite-93: check slice busy > clk: imx: clk-composite-93: check white_list > clk: imx: add i.MX93 clk gate > clk: imx93: switch to use new clk gate API > clk: imx93: add MU1/2 clock > clk: imx93: add SAI IPG clk > > drivers/clk/imx/Makefile | 2 +- > drivers/clk/imx/clk-composite-93.c | 171 +++++++++++++++++++- > drivers/clk/imx/clk-gate-93.c | 199 ++++++++++++++++++++++++ > drivers/clk/imx/clk-imx93.c | 32 ++-- > drivers/clk/imx/clk.h | 9 +- > include/dt-bindings/clock/imx93-clock.h | 9 +- > 6 files changed, 402 insertions(+), 20 deletions(-) > create mode 100644 drivers/clk/imx/clk-gate-93.c > > -- > 2.37.1 >