mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/3] ARCH_BCM2835 Kconfig changes
@ 2024-05-31 21:29 Florian Fainelli
  2024-05-31 21:29 ` [PATCH v2 1/3] mailbox: Make BCM2835_MBOX default to ARCH_BCM2835 Florian Fainelli
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Florian Fainelli @ 2024-05-31 21:29 UTC (permalink / raw)
  To: linux-kernel
  Cc: Florian Fainelli, Michael Turquette, Stephen Boyd, Jassi Brar,
	Bjorn Andersson, Maximilian Luz, Ard Biesheuvel, Johan Hovold,
	Michael S. Tsirkin, Sudeep Holla, Conor Dooley,
	Bartosz Golaszewski, open list:COMMON CLK FRAMEWORK,
	Stefan Wahren

This patch series updates a number of Kconfig entries such that enable
ARCH_BCM2835 guarantees that essential drivers are also enabled, saves a
lot of configuration and troubleshooting time for when they are not.

Changes in v2:

- used "default y" instead of "default ARCH_BCM2835" per Conor's
  suggestion
- added Stephen's ack to the clock driver

Florian Fainelli (3):
  mailbox: Make BCM2835_MBOX default to ARCH_BCM2835
  firmware: Default RASPBERRYPI_FIRMWARE to y
  clk: bcm: Make CLK_RASPBERRYPI default to RASPBERRYPI_FIRMWARE

 drivers/clk/bcm/Kconfig  | 1 +
 drivers/firmware/Kconfig | 1 +
 drivers/mailbox/Kconfig  | 1 +
 3 files changed, 3 insertions(+)

-- 
2.34.1


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

* [PATCH v2 1/3] mailbox: Make BCM2835_MBOX default to ARCH_BCM2835
  2024-05-31 21:29 [PATCH v2 0/3] ARCH_BCM2835 Kconfig changes Florian Fainelli
@ 2024-05-31 21:29 ` Florian Fainelli
  2024-05-31 21:29 ` [PATCH v2 2/3] firmware: Default RASPBERRYPI_FIRMWARE to y Florian Fainelli
  2024-05-31 21:29 ` [PATCH v2 3/3] clk: bcm: Make CLK_RASPBERRYPI default to RASPBERRYPI_FIRMWARE Florian Fainelli
  2 siblings, 0 replies; 4+ messages in thread
From: Florian Fainelli @ 2024-05-31 21:29 UTC (permalink / raw)
  To: linux-kernel
  Cc: Florian Fainelli, Michael Turquette, Stephen Boyd, Jassi Brar,
	Bjorn Andersson, Maximilian Luz, Ard Biesheuvel, Johan Hovold,
	Michael S. Tsirkin, Sudeep Holla, Conor Dooley,
	Bartosz Golaszewski, open list:COMMON CLK FRAMEWORK,
	Stefan Wahren

This driver is depended on by CONFIG_FIRMWARE_RASPBERRYPI which provides
a number of essential services, including but not limited to a Linux
common clock framework provider. Make sure that enable
CONFIG_ARCH_BCM2835 does enable the corresponding mailbox driver as
well.

Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
---
 drivers/mailbox/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mailbox/Kconfig b/drivers/mailbox/Kconfig
index 3b8842c4a340..b5108896dd72 100644
--- a/drivers/mailbox/Kconfig
+++ b/drivers/mailbox/Kconfig
@@ -112,6 +112,7 @@ config ALTERA_MBOX
 config BCM2835_MBOX
 	tristate "BCM2835 Mailbox"
 	depends on ARCH_BCM2835
+	default y
 	help
 	  An implementation of the BCM2385 Mailbox.  It is used to invoke
 	  the services of the Videocore. Say Y here if you want to use the
-- 
2.34.1


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

* [PATCH v2 2/3] firmware: Default RASPBERRYPI_FIRMWARE to y
  2024-05-31 21:29 [PATCH v2 0/3] ARCH_BCM2835 Kconfig changes Florian Fainelli
  2024-05-31 21:29 ` [PATCH v2 1/3] mailbox: Make BCM2835_MBOX default to ARCH_BCM2835 Florian Fainelli
@ 2024-05-31 21:29 ` Florian Fainelli
  2024-05-31 21:29 ` [PATCH v2 3/3] clk: bcm: Make CLK_RASPBERRYPI default to RASPBERRYPI_FIRMWARE Florian Fainelli
  2 siblings, 0 replies; 4+ messages in thread
From: Florian Fainelli @ 2024-05-31 21:29 UTC (permalink / raw)
  To: linux-kernel
  Cc: Florian Fainelli, Michael Turquette, Stephen Boyd, Jassi Brar,
	Bjorn Andersson, Maximilian Luz, Ard Biesheuvel, Johan Hovold,
	Michael S. Tsirkin, Sudeep Holla, Conor Dooley,
	Bartosz Golaszewski, open list:COMMON CLK FRAMEWORK,
	Stefan Wahren

The firmware driver provides the communication interface for a number of
other essential drivers, including a clock provider. Having it the
default when enabling CONFIG_ARCH_BCM2835 ensures that we have a
provider for essential system functions.

Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
---
 drivers/firmware/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/firmware/Kconfig b/drivers/firmware/Kconfig
index 71d8b26c4103..964f6c45c446 100644
--- a/drivers/firmware/Kconfig
+++ b/drivers/firmware/Kconfig
@@ -116,6 +116,7 @@ config ISCSI_IBFT
 config RASPBERRYPI_FIRMWARE
 	tristate "Raspberry Pi Firmware Driver"
 	depends on BCM2835_MBOX
+	default y
 	help
 	  This option enables support for communicating with the firmware on the
 	  Raspberry Pi.
-- 
2.34.1


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

* [PATCH v2 3/3] clk: bcm: Make CLK_RASPBERRYPI default to RASPBERRYPI_FIRMWARE
  2024-05-31 21:29 [PATCH v2 0/3] ARCH_BCM2835 Kconfig changes Florian Fainelli
  2024-05-31 21:29 ` [PATCH v2 1/3] mailbox: Make BCM2835_MBOX default to ARCH_BCM2835 Florian Fainelli
  2024-05-31 21:29 ` [PATCH v2 2/3] firmware: Default RASPBERRYPI_FIRMWARE to y Florian Fainelli
@ 2024-05-31 21:29 ` Florian Fainelli
  2 siblings, 0 replies; 4+ messages in thread
From: Florian Fainelli @ 2024-05-31 21:29 UTC (permalink / raw)
  To: linux-kernel
  Cc: Florian Fainelli, Stephen Boyd, Michael Turquette, Jassi Brar,
	Bjorn Andersson, Maximilian Luz, Ard Biesheuvel, Johan Hovold,
	Michael S. Tsirkin, Sudeep Holla, Conor Dooley,
	Bartosz Golaszewski, open list:COMMON CLK FRAMEWORK,
	Stefan Wahren

The clock driver is essential in providing clocks for UARTs and other
peripherals, make it enabled by default.

Acked-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
---
 drivers/clk/bcm/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/bcm/Kconfig b/drivers/clk/bcm/Kconfig
index a972d763eb77..1b7d799bc7e3 100644
--- a/drivers/clk/bcm/Kconfig
+++ b/drivers/clk/bcm/Kconfig
@@ -106,6 +106,7 @@ config CLK_BCM_SR
 config CLK_RASPBERRYPI
 	tristate "Raspberry Pi firmware based clock support"
 	depends on RASPBERRYPI_FIRMWARE || (COMPILE_TEST && !RASPBERRYPI_FIRMWARE)
+	default y
 	help
 	  Enable common clock framework support for Raspberry Pi's firmware
 	  dependent clocks
-- 
2.34.1


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

end of thread, other threads:[~2024-05-31 21:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-31 21:29 [PATCH v2 0/3] ARCH_BCM2835 Kconfig changes Florian Fainelli
2024-05-31 21:29 ` [PATCH v2 1/3] mailbox: Make BCM2835_MBOX default to ARCH_BCM2835 Florian Fainelli
2024-05-31 21:29 ` [PATCH v2 2/3] firmware: Default RASPBERRYPI_FIRMWARE to y Florian Fainelli
2024-05-31 21:29 ` [PATCH v2 3/3] clk: bcm: Make CLK_RASPBERRYPI default to RASPBERRYPI_FIRMWARE Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®