From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,UNWANTED_LANGUAGE_BODY,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 033D5C4708F for ; Wed, 2 Jun 2021 01:51:31 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B5E3B613C5 for ; Wed, 2 Jun 2021 01:51:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B5E3B613C5 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Message-ID:Date:To:Cc:From:Subject: References:In-Reply-To:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=SM0NB+10okBr33f2DLfSUAftyISMpjH5ZlI5g4rm6es=; b=fjnv3mOEc0EP8w VFHbyx59OFBswx/FFm23Onf6LNXSbVE4Qy7UJHz+FpaojExEMKY78Ca25nidZMR3C2CoFImeKX9os TBrxmXtVLSDER8XkLX1n+ZfZMY40Bj4Qi0i+qPEHjQiRQgyhq0MBQa3scJJvOiOYHM4gr4/K3+x59 uPFBD5M1wyeAUn2yRsJK0eARho9EmTs40Fh3yZEZGRcwhWJscrCJCRSBr/G7xG2WKhr31ZvuAyMMg 3nVtyEJuA19OyRwNVGubG0Xeupl+cb3+WMAdxhnNkVMar0dMOvPuUzZkCQo3kmwMsvfl970B5b7yi EdvD5Jpb39bzNN6to/SA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1loG1M-001WmH-71; Wed, 02 Jun 2021 01:50:12 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1loG1J-001Wlm-22 for linux-arm-kernel@lists.infradead.org; Wed, 02 Jun 2021 01:50:10 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 924BB613C5; Wed, 2 Jun 2021 01:50:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1622598608; bh=QEXBABBddJQHkiD30zUYBfXYfySP/tA8d7kXCCfAwxY=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=RXoeSGL7J9yi8W/2qRywWCCmeSbYr6VaKmumaKVkrz1E/fnynpAgyPZrtM//xowim upevPlvhl+Cw7NLCDy3wB31otd+bQLIugPaFSn/q45dl+Yuvsg9jioDGKgU2hPsHLz 7E/f9OHTqyyoIrbw8yj4JTsRrkrEu/zrbR5B+ya5mlNKr2xzXtdnn0CtbYHs+pZE+X WHRdE31f91B7eHxhwQX+Ld6FJDulFYSPypVZYGKMQPrDnRSEvysJjpsKjsliod3zIe ZDUwIcJzOCtK1f07SC0NDx4VJyQHAUzUBfznwY8UEUMx6O7xeAYuf9azr8/OAI+UcE 6z5uuwuWA3Bxg== MIME-Version: 1.0 In-Reply-To: <20210423033334.3317992-6-aisheng.dong@nxp.com> References: <20210423033334.3317992-1-aisheng.dong@nxp.com> <20210423033334.3317992-6-aisheng.dong@nxp.com> Subject: Re: [PATCH 6/6] clk: imx8qm: add clock valid resource checking From: Stephen Boyd Cc: dongas86@gmail.com, kernel@pengutronix.de, shawnguo@kernel.org, linux-imx@nxp.com, abel.vesa@nxp.com, Dong Aisheng To: Dong Aisheng , linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org Date: Tue, 01 Jun 2021 18:50:06 -0700 Message-ID: <162259860630.4130789.2941110953953498194@swboyd.mtv.corp.google.com> User-Agent: alot/0.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210601_185009_139710_968F9A01 X-CRM114-Status: UNSURE ( 9.62 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Quoting Dong Aisheng (2021-04-22 20:33:34) > diff --git a/drivers/clk/imx/clk-imx8qm-rsrc.c b/drivers/clk/imx/clk-imx8qm-rsrc.c > new file mode 100644 > index 000000000000..183a071cbf20 > --- /dev/null > +++ b/drivers/clk/imx/clk-imx8qm-rsrc.c > @@ -0,0 +1,116 @@ > +// SPDX-License-Identifier: GPL-2.0+ > +/* > + * Copyright 2019-2021 NXP > + * Dong Aisheng > + */ > + > +#include > + > +#include "clk-scu.h" > + > +/* Keep sorted in the ascending order */ > +static u32 imx8qm_clk_scu_rsrc_table[] = { const? > + IMX_SC_R_A53, _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel