Skip to contentSkip to conversation

clk: mediatek: Add hardware dependency

PATCH Applied Jean Delvare 3 participants 3 messages Oct 14, 2016 – Oct 17, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clk: mediatek: Add hardware dependency

Only propose the mediatek clock drivers on this platform, unless build-testing.

Cc Shunli Wang <[email protected]>
Cc James Liao <[email protected]>
Cc Erin Lo <[email protected]>
Cc Matthias Brugger <[email protected]>
Cc Stephen Boyd <[email protected]>
Cc Michael Turquette <[email protected]>
---
 drivers/clk/mediatek/Kconfig |    2 ++
 1 file changed, 2 insertions(+)
drivers/clk/mediatek/Kconfig +2 -0
@@ -8,6 +8,7 @@ config COMMON_CLK_MEDIATEK
 
 config COMMON_CLK_MT8135
 	bool "Clock driver for Mediatek MT8135"
+	depends on ARCH_MEDIATEK || COMPILE_TEST
 	select COMMON_CLK_MEDIATEK
 	default ARCH_MEDIATEK
 	---help---
@@ -15,6 +16,7 @@ config COMMON_CLK_MT8135
 
 config COMMON_CLK_MT8173
 	bool "Clock driver for Mediatek MT8173"
+	depends on ARCH_MEDIATEK || COMPILE_TEST
 	select COMMON_CLK_MEDIATEK
 	default ARCH_MEDIATEK
 	---help---
Signature · 2 lines
Jean Delvare
SUSE L3 Support
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 27 lines · Jean Delvare

Only propose the mediatek clock drivers on this platform, unless build-testing.

Cc Shunli Wang <[email protected]>
Cc James Liao <[email protected]>
Cc Erin Lo <[email protected]>
Cc Matthias Brugger <[email protected]>
Cc Stephen Boyd <[email protected]>
Cc Michael Turquette <[email protected]>
---
 drivers/clk/mediatek/Kconfig |    2 ++
 1 file changed, 2 insertions(+)
drivers/clk/mediatek/Kconfig +1 -0
@@ -8,6 +8,7 @@ config COMMON_CLK_MEDIATEK
 
 config COMMON_CLK_MT8135
 	bool "Clock driver for Mediatek MT8135"
+	depends on ARCH_MEDIATEK || COMPILE_TEST
 	select COMMON_CLK_MEDIATEK
 	default ARCH_MEDIATEK
 	---help---

drivers/clk/mediatek/Kconfig config COMMON_CLK_MT8135 · line 22

Quoted 7 lines
drivers/clk/mediatek/Kconfig +1 -0
@@ -15,6 +16,7 @@ config COMMON_CLK_MT8135
 
 config COMMON_CLK_MT8173
 	bool "Clock driver for Mediatek MT8173"
+	depends on ARCH_MEDIATEK || COMPILE_TEST
 	select COMMON_CLK_MEDIATEK
 	default ARCH_MEDIATEK
 	---help---
Applied
#2 lore raw
In reply to Jean Delvare
Quoted 11 lines · Jean Delvare

Only propose the mediatek clock drivers on this platform, unless build-testing.

Cc Shunli Wang <[email protected]>
Cc James Liao <[email protected]>
Cc Erin Lo <[email protected]>
Cc Matthias Brugger <[email protected]>
Cc Stephen Boyd <[email protected]>
Cc Michael Turquette <[email protected]>

---

Applied to clk-fixes

Signature · 2 lines
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project