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 F227DC07E96 for ; Thu, 8 Jul 2021 16:17:49 +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 195B261876 for ; Thu, 8 Jul 2021 16:17:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 195B261876 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 50FEB831AC; Thu, 8 Jul 2021 18:17:47 +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="oOg2o81G"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8602F831B0; Thu, 8 Jul 2021 18:17:46 +0200 (CEST) Received: from mail-oo1-xc2c.google.com (mail-oo1-xc2c.google.com [IPv6:2607:f8b0:4864:20::c2c]) (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 7311C831AC for ; Thu, 8 Jul 2021 18:17:43 +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-oo1-xc2c.google.com with SMTP id o23-20020a4a2c170000b029025469ad0e4aso1513924ooo.0 for ; Thu, 08 Jul 2021 09:17:43 -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=QnS5G5l6iZL0iWR89OBU+aahgH1KEDsP9WGjszw5vN8=; b=oOg2o81GFi6wBzb/+iFtix6CWkvdZiKngx7cuwKOpupKgQFNz8sqm+2K7/CJMK5kdM r9SFzT87k+u3CVofudITQMT2KpZod8CrGODt2XWTZtRNGbypMFBBvezDFSGLKWii7En2 O5QgdAa7h4Ogza/QQHXGonaRFxpyTWdnYogP7sHrprbyHedLyTNTR61ZVkUpyuRWzEMG 34J25ulliK7uMjDTj7XDtmUFLsl26Lj7s3H92SPqgFltpf9M45l+viTQoM01CTYOnVqI xnDMqT24TgGjKn1QdvGdOrgiAZABAR5sHSXO1zrHes+xjedBgfJnHkShB3jvhExVbfxL xUbw== 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=QnS5G5l6iZL0iWR89OBU+aahgH1KEDsP9WGjszw5vN8=; b=o66ztHWR9IMJmpWjuPDFkskBPSB/358GPmNYX78Fq/kjklqijud/fu+3oJiJPM1dyX uwI56T+5d+hBka18ZLEslY7BhC7rNsPURF09ReJF5/cj5xeshZT2YsysMs1ZCA0CkJ/W TicMwr6NX0zgWYdl4v5CbYwXnI8NqrWebHM2bk2qbp6ZLPvqaDVfybnM0EoYTveMxNBE UDNsRIA+M+sqhDR74TP4SJTifdqaI9NzsnU14ANeis4uvHDuU2AAfO+xPBzJdbaaKYZl w09wEMj6ka/sMWU7GcUpXTCvH8tlLpmjaO1/YEoeOk4QxhExlmLKvKOa1UWCcCfZeMDT M83w== X-Gm-Message-State: AOAM530bouNFmTW7GnZxtJFlgQTfBOxepu0IPW/KJPTj7QUowRV6VQAA JKd76Y6OdeS3XBpH9ZV6lPygq2/CGA9Xm/90gqU= X-Google-Smtp-Source: ABdhPJyV90lJ5sf0lIAx6SKGG5bfmtGvvO53uXh1GMuxJUyBBjZJylFrRWZRECtbHYibKn7a4SP1C3IQt322m0LgVmM= X-Received: by 2002:a4a:8584:: with SMTP id t4mr22703636ooh.12.1625761060093; Thu, 08 Jul 2021 09:17:40 -0700 (PDT) MIME-Version: 1.0 References: <20210613084852.30868-1-elly.siew.chin.lim@intel.com> <20210613084852.30868-6-elly.siew.chin.lim@intel.com> In-Reply-To: <20210613084852.30868-6-elly.siew.chin.lim@intel.com> From: Ley Foon Tan Date: Fri, 9 Jul 2021 00:17:29 +0800 Message-ID: Subject: Re: [v3 05/17] drivers: clk: Add 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 clock manager driver for N5X. Provides clock initialization > and get_rate functions. > > Signed-off-by: Siew Chin Lim > > --- > v3: > - Use BIT() macro for CLKMGR_INTER_*_MASK macro > > v2: > - common.h need to be included before clock_manager.h > - Remove unnecessary comment : write 1 to clear > - Remove unnecessary () in the code > --- > drivers/clk/altera/Makefile | 3 +- > drivers/clk/altera/clk-n5x.c | 489 ++++++++++++++++++++++++++ > drivers/clk/altera/clk-n5x.h | 217 ++++++++++++ > include/dt-bindings/clock/n5x-clock.h | 71 ++++ > 4 files changed, 779 insertions(+), 1 deletion(-) > create mode 100644 drivers/clk/altera/clk-n5x.c > create mode 100644 drivers/clk/altera/clk-n5x.h > create mode 100644 include/dt-bindings/clock/n5x-clock.h Reviewed-by: Ley Foon Tan Regards Ley Foon