Message ID | 20201012181345.338661-6-seanga2@gmail.com |
---|---|
State | Superseded |
Delegated to: | Andes |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=sWoGLZ94; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4C96Lp3V0hz9sT6 for <incoming@patchwork.ozlabs.org>; Tue, 13 Oct 2020 05:16:18 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4F9EE82556; Mon, 12 Oct 2020 20:15: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="sWoGLZ94"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1F76482543; Mon, 12 Oct 2020 20:15:16 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qv1-xf41.google.com (mail-qv1-xf41.google.com [IPv6:2607:f8b0:4864:20::f41]) (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 A0C7B824B6 for <u-boot@lists.denx.de>; Mon, 12 Oct 2020 20:15:13 +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=seanga2@gmail.com Received: by mail-qv1-xf41.google.com with SMTP id de3so8790543qvb.5 for <u-boot@lists.denx.de>; Mon, 12 Oct 2020 11:15:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=rpS6J61jP1b1B3/MkRDbotBQ/y+mhR5vNO1s87rLQdg=; b=sWoGLZ94vtVPSjm8tPXdSFkEOYMQKiy/nvBQaMi+Z0mQXZmYc/wa9nsYQdDKztjMfB AlaaQgU3L271rGo9aX1Enovtm5NK+X2hgm+IDKMGeGeNUf8Dl/Mdkt87o33Rs9RPqaI3 6hHiUiBl73cok9HO3OGbUtrHfnXRwjVuP18kSuje562q44nryP27drMG9tH4urCoEq1Z U4kooYnMyzENyPDPGvXMGJrNvF81rwM1YslhYMlVKuYdmkazJY+BbW/GtReL2Blplbt6 7RRIgoGDCSblGUK9wNjCcgCyBiL1hHgIHZ7otymKV1mJhpnw8jEh3rD4e2+XZLCggN+f 9Upw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=rpS6J61jP1b1B3/MkRDbotBQ/y+mhR5vNO1s87rLQdg=; b=YG2maAZd0grfNPm0ISbjEKfUFM49wpAul9WkV8TaG6OxCG/GdbvSCgVp/TQtWIK1NR VAh/xaNtvbV0bbIWaR16C937WLp2PjRs39Wu+KO86+6k81aFRD3vgQ71JGosR7PchtB8 ve57brvJU1URfbkGYsdM9Q+MAYoIioDQj66ctu8TODe4C5muyPxUZo2E4AZzL7bgwi1O hQyn6qsfeUBt5mC0y5wmDOwssbLFPFVVDhbrS+rFhyv6EKEKGu6sY/dtV4c0rIXMqAEd SNCM2GgaCooUYv8zQgyj3Rvp5QiSFouEWJdyKgbxFAJBIMDS+xyiVB4ltSgXeSUetqk/ CmgA== X-Gm-Message-State: AOAM5335ajHa1zgezprLXD099Rje7LWSwfjd1w19Qn6Wwyj1LeRt1pCA 8OPCZyyvwn5TSBD3otEZa7+dbV7syUrClQ== X-Google-Smtp-Source: ABdhPJwvuxyaL1Nu2eP3XOnWnvIs7rycJ9qZNrUSyYhJFxRhyZ6fZ0Gqql7ISw1a/yarcouVGbHccw== X-Received: by 2002:a0c:9d46:: with SMTP id n6mr2776978qvf.22.1602526512229; Mon, 12 Oct 2020 11:15:12 -0700 (PDT) Received: from godwin.fios-router.home (pool-108-51-35-162.washdc.fios.verizon.net. [108.51.35.162]) by smtp.gmail.com with ESMTPSA id t3sm12968651qtq.24.2020.10.12.11.15.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Oct 2020 11:15:11 -0700 (PDT) From: Sean Anderson <seanga2@gmail.com> To: u-boot@lists.denx.de Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>, Rick Chen <rickchen36@gmail.com>, Bin Meng <bmeng.cn@gmail.com>, Sean Anderson <seanga2@gmail.com>, Damien Le Moal <Damien.LeMoal@wdc.com> Subject: [PATCH v2 05/16] clk: k210: Move the clint clock to under aclk Date: Mon, 12 Oct 2020 14:13:34 -0400 Message-Id: <20201012181345.338661-6-seanga2@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201012181345.338661-1-seanga2@gmail.com> References: <20201012181345.338661-1-seanga2@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean |
Series |
riscv: k210: Enable use of AI ram bank
|
expand
|
diff --git a/drivers/clk/kendryte/clk.c b/drivers/clk/kendryte/clk.c index 88a997e80b..28e21d0bf9 100644 --- a/drivers/clk/kendryte/clk.c +++ b/drivers/clk/kendryte/clk.c @@ -625,7 +625,7 @@ static int k210_clk_probe(struct udevice *dev) /* The MTIME register in CLINT runs at one 50th the CPU clock speed */ clk_dm(K210_CLK_CLINT, - clk_register_fixed_factor(NULL, "clint", "cpu", 0, 1, 50)); + clk_register_fixed_factor(NULL, "clint", "aclk", 0, 1, 50)); return 0; }
No other (real) clocks have the cpu clock as their parent; instead they are children of aclk. Move the clint clock under aclk to match them. Signed-off-by: Sean Anderson <seanga2@gmail.com> --- Changes in v2: - New drivers/clk/kendryte/clk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)