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=-5.7 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no 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 C2ED6C07E94 for ; Fri, 4 Jun 2021 07:14: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 92FE561418 for ; Fri, 4 Jun 2021 07:14:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 92FE561418 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com 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:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=63iX8v4zlghNgGCQLuRgVr4/Oq/4tauTj7Nhh3PiNDY=; b=UaR30snspCMX+K Y/p2d1SMRUne/sJIVLVDTz77XrO1OFhHzfLIWg1sZnYlfcLHX7Z4+H1J7xFkQdi4PD8pTrbLaZLDI ipvZ0DvA5m4awgc+odARgspGQIT+ZSkwWIP0QAlWBbm52H/Q5RO8r9E1lM75mDYZRWjxWKWxgNgkt iVbH+8LfXYtpEmXn3i2ASU84doYZhNx72P6a8msB1Pmpnq0vmUca1OL/UjOncsjtRKBYDKJZvyFlB yikKMSdRVBJHq196+eARj761uEOwewf3mPe14W9IX/G0c/08eSiYih02v/vcoNPPJKCKN/5/244zy WyEPaXbO4ud23AzAXo6g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lp40Q-00BygG-2C; Fri, 04 Jun 2021 07:12:35 +0000 Received: from mail-oi1-f173.google.com ([209.85.167.173]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lp3uM-00BvbJ-D5 for linux-arm-kernel@lists.infradead.org; Fri, 04 Jun 2021 07:06:21 +0000 Received: by mail-oi1-f173.google.com with SMTP id u11so8880055oiv.1 for ; Fri, 04 Jun 2021 00:06:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=g23kQxyNH+1pVEh10Lql32+hESaS42Cp71JBStHlLKc=; b=Zaon7wTWKilI5hiieFDpjCX6SuxKHY3xbqZwhiXBNFTtx1T6m/6Q1/1l9n+fk4IKhD y3tgEk0o3XX7C33iNzZq+T3c+frnO+WwK5uwn833DfIML+kEymnwDJZzbRvAHq8rolOC s6syFtPiDM5GY/B17EAloQqdIn+yns3HvfLMKvtSrkHV/sC+FPeqfNW57Av9CfsvjGvr dszRhucOomQ3UDNuR9g/ySxZo9qL3qVO8wnNtb+g1Y3sLl3DktcLF93wBDd5ke3g1+rJ HxSENNDHyLHoBPTXHaxGCn7HhyMFR7lKdd257FEEPrsWSm2Y+/VdLqQSiUVWVXYLIl8+ ikHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=g23kQxyNH+1pVEh10Lql32+hESaS42Cp71JBStHlLKc=; b=n3mEqbPIbwus9/a3MBW7HuPJ4Y5XwGq161gK/t/T/yyjdwewjm1sUCKBTQd+WuhcfA MfeYv4dqJGK8xUZLJUxTt99joKAUnudacvXwSnPlGREH/HLI+2AARmKceuWBQTfLRc8q 0aR1r9HQXrm0S6hmpqVHp5XD5Zxxocyj+jyKETvvy0NzCFCueI3L8XmBZvi79F2S8WEY WUgHqZyVXKxFuGCzRS0E0G8yQYfhNJb4SfzNl8vX+ZjWLeECuLqSDsCb+UYaewyXnxyf FpecaAbFsBh8xOk7VKNEFSigCLX7wm9ZYierPe7hRnxUv5k36sv7aPE8RcuHLx51R5fT GpJA== X-Gm-Message-State: AOAM530Ma1XUeGTfEt1ZQyAZ8JqtuElemZchBDFRK2rbQQA6Y0kZsd0J eQijmrhamnQYGGspRCwFfG/ctKkX8+fpCq3e09o= X-Google-Smtp-Source: ABdhPJw9tLMuekRQM/MfAWVNlA8VEhl0zN0caxBz6I86IvVtrANxXtgqYLSDDL1MW2RiZR2UIl7UkX7CBn7QNKO6Zzg= X-Received: by 2002:a05:6808:1304:: with SMTP id y4mr10264681oiv.20.1622790315670; Fri, 04 Jun 2021 00:05:15 -0700 (PDT) MIME-Version: 1.0 References: <20210423033334.3317992-1-aisheng.dong@nxp.com> <20210423033334.3317992-6-aisheng.dong@nxp.com> <162259860630.4130789.2941110953953498194@swboyd.mtv.corp.google.com> In-Reply-To: From: Dong Aisheng Date: Fri, 4 Jun 2021 15:04:03 +0800 Message-ID: Subject: Re: [PATCH 6/6] clk: imx8qm: add clock valid resource checking To: Abel Vesa Cc: Stephen Boyd , Dong Aisheng , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , linux-clk , Sascha Hauer , Shawn Guo , dl-linux-imx X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210604_000618_497835_A286E766 X-CRM114-Status: GOOD ( 15.19 ) 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 On Fri, Jun 4, 2021 at 2:46 PM Abel Vesa wrote: > > On 21-06-01 18:50:06, Stephen Boyd wrote: > > 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? Stephen, Thanks for pointing this out > > > > Aisheng, no need to resend, I'll fold that in. Thanks Regards Aisheng > > > > + IMX_SC_R_A53, _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel