From: Elaine Zhang <zhangqing@rock-chips.com>
To: mturquette@baylibre.com, sboyd@kernel.org,
kever.yang@rock-chips.com, zhangqing@rock-chips.com,
heiko@sntech.de, robh+dt@kernel.org,
krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-clk@vger.kernel.org, linux-rockchip@lists.infradead.org,
linux-kernel@vger.kernel.org, huangtao@rock-chips.com,
xxx@rock-chips.com, xf@rock-chips.com
Subject: [PATCH v1 8/8] clk: rockchip: fix the clk config to support module build
Date: Mon, 18 Sep 2023 15:31:51 +0800 [thread overview]
Message-ID: <20230918073151.7660-9-zhangqing@rock-chips.com> (raw)
In-Reply-To: <20230918073151.7660-1-zhangqing@rock-chips.com>
Mark COMMON_CLK_ROCKCHIP\CONFIG_CLK_RK3399\CONFIG_CLK_RK3568\
CONFIG_CLK_RK3588 to "tristate",
to support building Rk3399\Rk3568\Rk3588 SoC clock driver as module.
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
---
drivers/clk/rockchip/Kconfig | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/clk/rockchip/Kconfig b/drivers/clk/rockchip/Kconfig
index 9aad86925cd2..8574c2f6ecf6 100644
--- a/drivers/clk/rockchip/Kconfig
+++ b/drivers/clk/rockchip/Kconfig
@@ -2,7 +2,7 @@
# common clock support for ROCKCHIP SoC family.
config COMMON_CLK_ROCKCHIP
- bool "Rockchip clock controller common support"
+ tristate "Rockchip clock controller common support"
depends on ARCH_ROCKCHIP
default ARCH_ROCKCHIP
help
@@ -87,21 +87,21 @@ config CLK_RK3368
Build the driver for RK3368 Clock Driver.
config CLK_RK3399
- bool "Rockchip RK3399 clock controller support"
+ tristate "Rockchip RK3399 clock controller support"
depends on ARM64 || COMPILE_TEST
default y
help
Build the driver for RK3399 Clock Driver.
config CLK_RK3568
- bool "Rockchip RK3568 clock controller support"
+ tristate "Rockchip RK3568 clock controller support"
depends on ARM64 || COMPILE_TEST
default y
help
Build the driver for RK3568 Clock Driver.
config CLK_RK3588
- bool "Rockchip RK3588 clock controller support"
+ tristate "Rockchip RK3588 clock controller support"
depends on ARM64 || COMPILE_TEST
default y
help
--
2.17.1
prev parent reply other threads:[~2023-09-18 7:44 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-18 7:31 [PATCH v1 0/8] clk: rockchip: Support module build Elaine Zhang
2023-09-18 7:31 ` [PATCH v1 1/8] clk: clk-fractional-divider: Export clk_fractional_divider_general_approximation API Elaine Zhang
2023-09-18 7:31 ` [PATCH v1 2/8] clk: rockchip: drop use of rockchip_clk_protect_critical() Elaine Zhang
2023-09-18 7:31 ` [PATCH v1 3/8] dt-bindings: clock: rk3188: Add binding id for ACLK_CPU_PRE Elaine Zhang
2023-09-18 12:16 ` Krzysztof Kozlowski
2023-09-18 7:31 ` [PATCH v1 4/8] clk: rockchip: Avoid __clk_lookup() calls Elaine Zhang
2023-09-18 13:32 ` kernel test robot
2023-09-18 17:07 ` kernel test robot
2023-09-18 7:31 ` [PATCH v1 5/8] clk: rockchip: rk3399: Support module build Elaine Zhang
2023-09-18 7:31 ` [PATCH v1 6/8] clk: rockchip: rk3568: " Elaine Zhang
2023-09-18 7:31 ` [PATCH v1 7/8] clk: rockchip: rk3588: " Elaine Zhang
2023-09-18 7:31 ` Elaine Zhang [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230918073151.7660-9-zhangqing@rock-chips.com \
--to=zhangqing@rock-chips.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=heiko@sntech.de \
--cc=huangtao@rock-chips.com \
--cc=kever.yang@rock-chips.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=mturquette@baylibre.com \
--cc=robh+dt@kernel.org \
--cc=sboyd@kernel.org \
--cc=xf@rock-chips.com \
--cc=xxx@rock-chips.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).