Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2972587pxu; Mon, 7 Dec 2020 23:21:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJwjRhGNZQj1YnVfFMhHGJUteSw9F7/CsCwieRq84j1ZAErv6Qq60LFcycfzKyxvBfEcPwa4 X-Received: by 2002:a17:906:d101:: with SMTP id b1mr22337572ejz.80.1607412107746; Mon, 07 Dec 2020 23:21:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607412107; cv=none; d=google.com; s=arc-20160816; b=fLArrYqBlS6EZsUExn8yVFqDx6U2cn6QwWs74cHRCFBq3DOY/Dj8mUUhZp6VKjcml+ xNI/3yJzfbgS1seG6DOqIhxdFw7D1WIDEHf6mpInFAbNbppSb/BBNaj+Zoc5AnyK/gdF e/5A4zSvQDFLuPl38Z1KYO2NJu09RW0YpNZb6Ij60w2wIwHiXPdQXpce2WSXpV3JL/wP 3ZZ84gbto5nyQGnavRHMyujgSUo+piT/VyBbwPL4AxVvfUsspNTTVYRqwP+tH759A/Nj hcY0unSdskoeUrRZrryfkefDPdasd6TuzaRfpAMvrPqKv/Mp10eJ1uLLmfRKP7gsh3xd NpbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=jUzLpOLCCQxDI0oXwDQj4vn2ea5xlcrxx/Uo+2NUKPY=; b=M9E1bNz1EaUu/C2WttJ8sr2gse/K2oUCVbzr99sJNNkXsdd+RjqbYXc6jAS0oig/eV dCVfW7gBcO3LHZ2UQQWZUg8d8e4V7NZQ9A7b97uj7ycEJ3w5qVDQAFd3E0M4YIpkTicV JHfj3p8D+tr9A45Sx587OixAz3Wp8W8FkbW49ZGiwAFsLCwei4+fImIlB5tqFyx5VDnm HBo/HT1oahRvJRccTDzTGdEpywAYwdI+bKYEERpkV0ZS2ysdY6fXe8c/mIVDyo+BFuor DxBZUYcCtVkdYL+WDlXFtvtaYZpALddszPoMs5BTsULfQ5r8BWUdIc3up1H0NhRiK8c3 Y6rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=Aazs3T1N; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w9si7704093ejj.45.2020.12.07.23.21.25; Mon, 07 Dec 2020 23:21:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=Aazs3T1N; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726896AbgLHHP7 (ORCPT + 99 others); Tue, 8 Dec 2020 02:15:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725877AbgLHHP7 (ORCPT ); Tue, 8 Dec 2020 02:15:59 -0500 Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE918C0617A7 for ; Mon, 7 Dec 2020 23:14:44 -0800 (PST) Received: by mail-pg1-x542.google.com with SMTP id o5so11373766pgm.10 for ; Mon, 07 Dec 2020 23:14:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jUzLpOLCCQxDI0oXwDQj4vn2ea5xlcrxx/Uo+2NUKPY=; b=Aazs3T1N2ed8oyUqwgz37G5mtv5J4uDEZyGnu9nTT9p6akotV1DW6qXNnntO9L9dgT qvw3m53PKFjisUI+UQIMspRNBBFk/G0iLopeyx7n1XjLH08COMup271lYqwh2jWY1qf6 FlYl4m95B7EcNZ8KkCo8ORLU3Lojm0QqWJzT1SbJDhingXKlQe0XuYz7chsJLnKJX2vJ S86x8qON/NIDP2pa5xawGZGujWLOjpRVlNfAMq6ZCa5ZH032XpPqhZ5/4TZPubvEoXkm 2RayuYwPoVj6KNwBlBupqJxxzcwokVuLMJu3FtlHRBqS8Vmqy64iWhBnA6XKF5KPvobI VnWw== 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=jUzLpOLCCQxDI0oXwDQj4vn2ea5xlcrxx/Uo+2NUKPY=; b=X3fwX2jUZy5z2NpeGPYKeFkzTjZCQCkFohAAAUG9zr3aMnU9QBOxjg1zn3t2pAf/2l 6qYWizn0P9TfUKAa1fzRcbQ2Rach/Kgcf4EJf8rkd9DjqrqVYoy7bG2Hp77uyf5ajMRj WuEZbxSy0vEQS6EfCAFYJejuK4J//B/gBkfjWDdRysW+yblszB3iU9FRJND8BilK4fvY Z0koDt7YZLRf2bbTNNiwOkSMU7mkZhG47aQdI3RQMuqCx9MJ45/PTMeJnB21MJ5W27PJ GEQHM+vt/wJvx9f+AxG2yqoRVauQZPG9107zzSU5VwIf7riSeNzOFHi2QRRSB+UL2RZB s5yg== X-Gm-Message-State: AOAM530UrSow93693g6OgM/hLEvwCueOy4PzdBPXI8RMdk6RrR+6SOKk 5lgSRplyua1ajt4OsbX8fK6Ron89IpwMp68a X-Received: by 2002:a63:c644:: with SMTP id x4mr21854083pgg.421.1607411684422; Mon, 07 Dec 2020 23:14:44 -0800 (PST) Received: from hsinchu02.internal.sifive.com (114-34-229-221.HINET-IP.hinet.net. [114.34.229.221]) by smtp.gmail.com with ESMTPSA id gp17sm1801318pjb.0.2020.12.07.23.14.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Dec 2020 23:14:43 -0800 (PST) From: Zong Li To: paul.walmsley@sifive.com, palmer@dabbelt.com, sboyd@kernel.org, schwab@linux-m68k.org, pragnesh.patel@openfive.com, aou@eecs.berkeley.edu, mturquette@baylibre.com, yash.shah@sifive.com, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-riscv@lists.infradead.org Cc: Zong Li , Palmer Dabbelt , Pragnesh Patel Subject: [PATCH v6 2/5] clk: sifive: Use common name for prci configuration Date: Tue, 8 Dec 2020 15:14:29 +0800 Message-Id: <20201208071432.55583-3-zong.li@sifive.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201208071432.55583-1-zong.li@sifive.com> References: <20201208071432.55583-1-zong.li@sifive.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use generic name CLK_SIFIVE_PRCI instead of CLK_SIFIVE_FU540_PRCI. This patch is prepared for fu740 support. Signed-off-by: Zong Li Reviewed-by: Palmer Dabbelt Acked-by: Palmer Dabbelt Reviewed-by: Pragnesh Patel --- arch/riscv/Kconfig.socs | 2 +- drivers/clk/sifive/Kconfig | 6 +++--- drivers/clk/sifive/Makefile | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs index 8a55f6156661..3284d5c291be 100644 --- a/arch/riscv/Kconfig.socs +++ b/arch/riscv/Kconfig.socs @@ -5,7 +5,7 @@ config SOC_SIFIVE select SERIAL_SIFIVE if TTY select SERIAL_SIFIVE_CONSOLE if TTY select CLK_SIFIVE - select CLK_SIFIVE_FU540_PRCI + select CLK_SIFIVE_PRCI select SIFIVE_PLIC help This enables support for SiFive SoC platform hardware. diff --git a/drivers/clk/sifive/Kconfig b/drivers/clk/sifive/Kconfig index f3b4eb9cb0f5..ab48cf7e0105 100644 --- a/drivers/clk/sifive/Kconfig +++ b/drivers/clk/sifive/Kconfig @@ -8,12 +8,12 @@ menuconfig CLK_SIFIVE if CLK_SIFIVE -config CLK_SIFIVE_FU540_PRCI - bool "PRCI driver for SiFive FU540 SoCs" +config CLK_SIFIVE_PRCI + bool "PRCI driver for SiFive SoCs" select CLK_ANALOGBITS_WRPLL_CLN28HPC help Supports the Power Reset Clock interface (PRCI) IP block found in - FU540 SoCs. If this kernel is meant to run on a SiFive FU540 SoC, + FU540 SoCs. If this kernel is meant to run on a SiFive FU540 SoC, enable this driver. endif diff --git a/drivers/clk/sifive/Makefile b/drivers/clk/sifive/Makefile index 627effe2ece1..fe3e2cb4c4d8 100644 --- a/drivers/clk/sifive/Makefile +++ b/drivers/clk/sifive/Makefile @@ -1,4 +1,4 @@ # SPDX-License-Identifier: GPL-2.0-only obj-y += sifive-prci.o -obj-$(CONFIG_CLK_SIFIVE_FU540_PRCI) += fu540-prci.o +obj-$(CONFIG_CLK_SIFIVE_PRCI) += fu540-prci.o -- 2.29.2