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=-13.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,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 3A081C07E96 for ; Thu, 8 Jul 2021 16:19:22 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4B06E61407 for ; Thu, 8 Jul 2021 16:19:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4B06E61407 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AB9DD831B0; Thu, 8 Jul 2021 18:19:19 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="YBgBtlBU"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3E302831B8; Thu, 8 Jul 2021 18:19:18 +0200 (CEST) Received: from mail-ot1-x333.google.com (mail-ot1-x333.google.com [IPv6:2607:f8b0:4864:20::333]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 4605E831AC for ; Thu, 8 Jul 2021 18:19:14 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=lftan.linux@gmail.com Received: by mail-ot1-x333.google.com with SMTP id j10-20020a05683015cab02904b568e08dccso193219otr.4 for ; Thu, 08 Jul 2021 09:19:14 -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=y8iWp9SUcbyksvAe/jwPYLocyPPufrQtyh/COdnc8vo=; b=YBgBtlBUP725HVi4XSdrHAdwffOm1ud+rFxYxoM6mrfKWTRXMBcvbZXzZDkZ6h8Nn4 cbeVMazuLmX9mZbcNsUBtt2xJJ0xF4+uppLIZygEPyCjBbtULDi2RlcMXgkZRKprTxJf AIevfCZNH1hp1zbi8DJewz/8Q54kn/KUOOasTztjMZ69L1eFfLwtSWvCdK2Xu1SEC2gr wVzxsmuxDVj7x/gdKNHbY8dDeina4gJupoS+cjXdNRITYGxoWCWLimYAZN3NWnffk/Zv PtuubKWpkb1m14NY+0JScBUso+tU/DvGpsUmjSXoqozv5H9ocCo7CqUk9WT252fTkwxD 5l3w== 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=y8iWp9SUcbyksvAe/jwPYLocyPPufrQtyh/COdnc8vo=; b=s9904fWXaGoWEr1Oj29WMd+wugCD6Po6xdGNauD/CUtjWObKTeUyh7wQw/pI5yQXKY mZEX11AAXdxAXGhtiVjYnfZF/PaylVnzvr1FaJ5p8NwRnggQj4a3G7omhvZ2LDSUxppM 334qT/rSOosGSf6zGZ4pwexS+dSGFEnHZZ5NI6otgoXR/usBER5D99OE9Yxjss3GqBur GHDBgllLs0xgTcQLCuYlj+NF3w72505mB4nW0XjBn/sY35KvDA2wrj4LPC4ail6V4lqO uYSJPum9zMK/kPd9JJbxFWU33ivbIbuGJ0E40qAVCedddtgMAKY80Ty/eumWcEc2DMHf ugBQ== X-Gm-Message-State: AOAM532/M/suHEjQ8f7nhAJOJ1cyj1PFAC+vxnetsIa9bDHu/y+6GUoK BLKMK9P6BORLtPLFzZHVpIJrys1WH6mVJzH7dMI= X-Google-Smtp-Source: ABdhPJz+abIPUf2YPeiMIDn+3qbwxAuuFPZ3+QvblELsHD4qgpnHkXkd96zwWQmhNsh5DpJZyverOiYBSnWUqfxW+sM= X-Received: by 2002:a9d:2ae9:: with SMTP id e96mr8481484otb.267.1625761152873; Thu, 08 Jul 2021 09:19:12 -0700 (PDT) MIME-Version: 1.0 References: <20210613084852.30868-1-elly.siew.chin.lim@intel.com> <20210613084852.30868-8-elly.siew.chin.lim@intel.com> In-Reply-To: <20210613084852.30868-8-elly.siew.chin.lim@intel.com> From: Ley Foon Tan Date: Fri, 9 Jul 2021 00:19:02 +0800 Message-ID: Subject: Re: [v3 07/17] drivers: clk: Add memory clock driver for Intel N5X device To: Siew Chin Lim Cc: ZY - u-boot , Marek Vasut , Simon Goldschmidt , Tien Fong Chee , Dalon Westergreen , Simon Glass , Yau Wai Gan Content-Type: text/plain; charset="UTF-8" X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean On Sun, Jun 13, 2021 at 4:49 PM Siew Chin Lim wrote: > > Add memory clock manager driver for N5X. Provides memory clock > initialization and enable functions. > > Signed-off-by: Siew Chin Lim > > --- > v3: > - Use BIT() and GENMASK() macro for all *MASK macro > > v2: > - common.h need to be included before clock_manager.h > - For consistency, use small letter fo 0x0c and 0x1c in macros > --- > drivers/clk/altera/Makefile | 1 + > drivers/clk/altera/clk-mem-n5x.c | 136 +++++++++++++++++++++++++++++++ > drivers/clk/altera/clk-mem-n5x.h | 84 +++++++++++++++++++ > 3 files changed, 221 insertions(+) > create mode 100644 drivers/clk/altera/clk-mem-n5x.c > create mode 100644 drivers/clk/altera/clk-mem-n5x.h > Reviewed-by: Ley Foon Tan Regards Ley Foon