linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] lightning mountain: Add architecture dependency
@ 2020-05-07 11:36 Geert Uytterhoeven
  2020-05-07 11:36 ` [PATCH 1/2] pinctrl: equilibrium: " Geert Uytterhoeven
  2020-05-07 11:36 ` [PATCH 2/2] phy: intel-lgm-emmc: " Geert Uytterhoeven
  0 siblings, 2 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2020-05-07 11:36 UTC (permalink / raw)
  To: Linus Walleij, Kishon Vijay Abraham I,
	Ramuthevar Vadivel Murugan, Rahul Tanwar, Andy Shevchenko
  Cc: Arnd Bergmann, linux-gpio, linux-kernel, Geert Uytterhoeven

	Hi all,

The Intel Equilibrium pin controller and eMMC PHY are only present on Intel
Lightning Mountain SoCs.  This series adds architecture dependencies to the
corresponding config symbols, to avoid asking the user about them when
configuring a kernel for a non-x86 architecture.
    
All patches in this series are independent.

Thanks for your comments!

Geert Uytterhoeven (2):
  pinctrl: equilibrium: Add architecture dependency
  phy: intel-lgm-emmc: Add architecture dependency

 drivers/phy/intel/Kconfig | 1 +
 drivers/pinctrl/Kconfig   | 1 +
 2 files changed, 2 insertions(+)

-- 
2.17.1

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] pinctrl: equilibrium: Add architecture dependency
  2020-05-07 11:36 [PATCH 0/2] lightning mountain: Add architecture dependency Geert Uytterhoeven
@ 2020-05-07 11:36 ` Geert Uytterhoeven
  2020-05-16  9:22   ` Linus Walleij
  2020-05-07 11:36 ` [PATCH 2/2] phy: intel-lgm-emmc: " Geert Uytterhoeven
  1 sibling, 1 reply; 4+ messages in thread
From: Geert Uytterhoeven @ 2020-05-07 11:36 UTC (permalink / raw)
  To: Linus Walleij, Kishon Vijay Abraham I,
	Ramuthevar Vadivel Murugan, Rahul Tanwar, Andy Shevchenko
  Cc: Arnd Bergmann, linux-gpio, linux-kernel, Geert Uytterhoeven

The Equilibrium pin controller is only present on Intel Lightning
Mountain SoCs.  Add an architecture dependency to the
PINCTRL_EQUILIBRIUM config symbol, to avoid asking the user about it
when configuring a kernel for a non-x86 architecture.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/pinctrl/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index bed67c08a0892240..85b644a6c74db92d 100644
--- a/drivers/pinctrl/Kconfig
+++ b/drivers/pinctrl/Kconfig
@@ -443,6 +443,7 @@ config PINCTRL_TB10X
 config PINCTRL_EQUILIBRIUM
 	tristate "Generic pinctrl and GPIO driver for Intel Lightning Mountain SoC"
 	depends on OF && HAS_IOMEM
+	depends on X86 || COMPILE_TEST
 	select PINMUX
 	select PINCONF
 	select GPIOLIB
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] phy: intel-lgm-emmc: Add architecture dependency
  2020-05-07 11:36 [PATCH 0/2] lightning mountain: Add architecture dependency Geert Uytterhoeven
  2020-05-07 11:36 ` [PATCH 1/2] pinctrl: equilibrium: " Geert Uytterhoeven
@ 2020-05-07 11:36 ` Geert Uytterhoeven
  1 sibling, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2020-05-07 11:36 UTC (permalink / raw)
  To: Linus Walleij, Kishon Vijay Abraham I,
	Ramuthevar Vadivel Murugan, Rahul Tanwar, Andy Shevchenko
  Cc: Arnd Bergmann, linux-gpio, linux-kernel, Geert Uytterhoeven

The Intel eMMC PHY is only present on Intel Lightning Mountain SoCs.
Add an architecture dependency to the PHY_INTEL_EMMC config symbol, to
avoid asking the user about it when configuring a kernel for a non-x86
architecture.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/phy/intel/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/phy/intel/Kconfig b/drivers/phy/intel/Kconfig
index 4ea6a8897cd7c9e1..e6320a94ddb11321 100644
--- a/drivers/phy/intel/Kconfig
+++ b/drivers/phy/intel/Kconfig
@@ -4,6 +4,7 @@
 #
 config PHY_INTEL_EMMC
 	tristate "Intel EMMC PHY driver"
+	depends on X86 || COMPILE_TEST
 	select GENERIC_PHY
 	help
 	  Enable this to support the Intel EMMC PHY
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] pinctrl: equilibrium: Add architecture dependency
  2020-05-07 11:36 ` [PATCH 1/2] pinctrl: equilibrium: " Geert Uytterhoeven
@ 2020-05-16  9:22   ` Linus Walleij
  0 siblings, 0 replies; 4+ messages in thread
From: Linus Walleij @ 2020-05-16  9:22 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Kishon Vijay Abraham I, Ramuthevar Vadivel Murugan, Rahul Tanwar,
	Andy Shevchenko, Arnd Bergmann, open list:GPIO SUBSYSTEM,
	linux-kernel

On Thu, May 7, 2020 at 1:36 PM Geert Uytterhoeven
<geert+renesas@glider.be> wrote:

> The Equilibrium pin controller is only present on Intel Lightning
> Mountain SoCs.  Add an architecture dependency to the
> PINCTRL_EQUILIBRIUM config symbol, to avoid asking the user about it
> when configuring a kernel for a non-x86 architecture.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Patch applied.

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-05-16  9:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-07 11:36 [PATCH 0/2] lightning mountain: Add architecture dependency Geert Uytterhoeven
2020-05-07 11:36 ` [PATCH 1/2] pinctrl: equilibrium: " Geert Uytterhoeven
2020-05-16  9:22   ` Linus Walleij
2020-05-07 11:36 ` [PATCH 2/2] phy: intel-lgm-emmc: " Geert Uytterhoeven

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).