All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hector Martin <marcan@marcan.st>
To: Sven Peter <sven@svenpeter.dev>,
	 Alyssa Rosenzweig <alyssa@rosenzweig.io>,
	 Jassi Brar <jassisinghbrar@gmail.com>,
	Janne Grunau <j@jannau.net>
Cc: linux-kernel@vger.kernel.org, asahi@lists.linux.dev,
	 linux-arm-kernel@lists.infradead.org,
	Hector Martin <marcan@marcan.st>
Subject: [PATCH 5/5] soc: apple: mailbox: Rename config symbol to APPLE_MAILBOX
Date: Tue, 28 Mar 2023 22:14:18 +0900	[thread overview]
Message-ID: <20230328-soc-mailbox-v1-5-3953814532fd@marcan.st> (raw)
In-Reply-To: <20230328-soc-mailbox-v1-0-3953814532fd@marcan.st>

With the original owner of APPLE_MAILBOX removed, let's rename the new
APPLE_MBOX to the old name. This avoids .config churn for downstream
users, and leaves us with an identical config symbol and module name as
before.

Signed-off-by: Hector Martin <marcan@marcan.st>
---
 drivers/soc/apple/Kconfig  | 5 ++---
 drivers/soc/apple/Makefile | 2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/drivers/soc/apple/Kconfig b/drivers/soc/apple/Kconfig
index d0e29bbd8c6f..c5203c388bf4 100644
--- a/drivers/soc/apple/Kconfig
+++ b/drivers/soc/apple/Kconfig
@@ -17,11 +17,10 @@ config APPLE_PMGR_PWRSTATE
 	  controls for SoC devices. This driver manages them through the
 	  generic power domain framework, and also provides reset support.
 
-config APPLE_MBOX
+config APPLE_MAILBOX
 	tristate "Apple SoC mailboxes"
 	depends on PM
 	depends on ARCH_APPLE || (64BIT && COMPILE_TEST)
-	depends on !APPLE_MAILBOX
 	default ARCH_APPLE
 	help
 	  Apple SoCs have various co-processors required for certain
@@ -33,7 +32,7 @@ config APPLE_MBOX
 
 config APPLE_RTKIT
 	tristate "Apple RTKit co-processor IPC protocol"
-	depends on APPLE_MBOX
+	depends on APPLE_MAILBOX
 	depends on ARCH_APPLE || COMPILE_TEST
 	default ARCH_APPLE
 	help
diff --git a/drivers/soc/apple/Makefile b/drivers/soc/apple/Makefile
index e52edf6a73da..20feee6f3943 100644
--- a/drivers/soc/apple/Makefile
+++ b/drivers/soc/apple/Makefile
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0-only
 obj-$(CONFIG_APPLE_PMGR_PWRSTATE)	+= apple-pmgr-pwrstate.o
 
-obj-$(CONFIG_APPLE_MBOX) += apple-mailbox.o
+obj-$(CONFIG_APPLE_MAILBOX) += apple-mailbox.o
 apple-mailbox-y = mailbox.o
 
 obj-$(CONFIG_APPLE_RTKIT) += apple-rtkit.o

-- 
2.40.0


WARNING: multiple messages have this Message-ID (diff)
From: Hector Martin <marcan@marcan.st>
To: Sven Peter <sven@svenpeter.dev>,
	 Alyssa Rosenzweig <alyssa@rosenzweig.io>,
	 Jassi Brar <jassisinghbrar@gmail.com>,
	Janne Grunau <j@jannau.net>
Cc: linux-kernel@vger.kernel.org, asahi@lists.linux.dev,
	 linux-arm-kernel@lists.infradead.org,
	Hector Martin <marcan@marcan.st>
Subject: [PATCH 5/5] soc: apple: mailbox: Rename config symbol to APPLE_MAILBOX
Date: Tue, 28 Mar 2023 22:14:18 +0900	[thread overview]
Message-ID: <20230328-soc-mailbox-v1-5-3953814532fd@marcan.st> (raw)
In-Reply-To: <20230328-soc-mailbox-v1-0-3953814532fd@marcan.st>

With the original owner of APPLE_MAILBOX removed, let's rename the new
APPLE_MBOX to the old name. This avoids .config churn for downstream
users, and leaves us with an identical config symbol and module name as
before.

Signed-off-by: Hector Martin <marcan@marcan.st>
---
 drivers/soc/apple/Kconfig  | 5 ++---
 drivers/soc/apple/Makefile | 2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/drivers/soc/apple/Kconfig b/drivers/soc/apple/Kconfig
index d0e29bbd8c6f..c5203c388bf4 100644
--- a/drivers/soc/apple/Kconfig
+++ b/drivers/soc/apple/Kconfig
@@ -17,11 +17,10 @@ config APPLE_PMGR_PWRSTATE
 	  controls for SoC devices. This driver manages them through the
 	  generic power domain framework, and also provides reset support.
 
-config APPLE_MBOX
+config APPLE_MAILBOX
 	tristate "Apple SoC mailboxes"
 	depends on PM
 	depends on ARCH_APPLE || (64BIT && COMPILE_TEST)
-	depends on !APPLE_MAILBOX
 	default ARCH_APPLE
 	help
 	  Apple SoCs have various co-processors required for certain
@@ -33,7 +32,7 @@ config APPLE_MBOX
 
 config APPLE_RTKIT
 	tristate "Apple RTKit co-processor IPC protocol"
-	depends on APPLE_MBOX
+	depends on APPLE_MAILBOX
 	depends on ARCH_APPLE || COMPILE_TEST
 	default ARCH_APPLE
 	help
diff --git a/drivers/soc/apple/Makefile b/drivers/soc/apple/Makefile
index e52edf6a73da..20feee6f3943 100644
--- a/drivers/soc/apple/Makefile
+++ b/drivers/soc/apple/Makefile
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0-only
 obj-$(CONFIG_APPLE_PMGR_PWRSTATE)	+= apple-pmgr-pwrstate.o
 
-obj-$(CONFIG_APPLE_MBOX) += apple-mailbox.o
+obj-$(CONFIG_APPLE_MAILBOX) += apple-mailbox.o
 apple-mailbox-y = mailbox.o
 
 obj-$(CONFIG_APPLE_RTKIT) += apple-rtkit.o

-- 
2.40.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2023-03-28 13:14 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-28 13:14 [PATCH 0/5] mailbox: apple: Move driver into soc/apple and stop using the subsystem Hector Martin
2023-03-28 13:14 ` Hector Martin
2023-03-28 13:14 ` [PATCH 1/5] soc: apple: rtkit: Get rid of apple_rtkit_send_message_wait Hector Martin
2023-03-28 13:14   ` Hector Martin
2023-03-28 13:36   ` Eric Curtin
2023-03-28 13:36     ` Eric Curtin
2023-03-28 13:14 ` [PATCH 2/5] soc: apple: mailbox: Add ASC/M3 mailbox driver Hector Martin
2023-03-28 13:14   ` Hector Martin
2023-03-28 13:38   ` Eric Curtin
2023-03-28 13:38     ` Eric Curtin
2023-03-28 13:14 ` [PATCH 3/5] soc: apple: rtkit: Port to the internal " Hector Martin
2023-03-28 13:14   ` Hector Martin
2023-03-28 13:37   ` Eric Curtin
2023-03-28 13:37     ` Eric Curtin
2023-03-28 13:14 ` [PATCH 4/5] mailbox: apple: Delete driver Hector Martin
2023-03-28 13:14   ` Hector Martin
2023-03-28 13:37   ` Eric Curtin
2023-03-28 13:37     ` Eric Curtin
2023-03-28 13:14 ` Hector Martin [this message]
2023-03-28 13:14   ` [PATCH 5/5] soc: apple: mailbox: Rename config symbol to APPLE_MAILBOX Hector Martin
2023-03-28 13:37   ` Eric Curtin
2023-03-28 13:37     ` Eric Curtin
2023-03-29  5:42   ` kernel test robot
2023-03-29  5:42     ` kernel test robot
2023-03-28 16:13 ` [PATCH 0/5] mailbox: apple: Move driver into soc/apple and stop using the subsystem alyssa
2023-03-28 16:13   ` alyssa
2023-03-29 16:04 ` Jassi Brar
2023-03-29 16:04   ` Jassi Brar
2023-03-29 22:53   ` Hector Martin
2023-03-29 22:53     ` Hector Martin
2023-03-30 16:35     ` Jassi Brar
2023-03-30 16:35       ` Jassi Brar
2023-03-31  4:14       ` Hector Martin
2023-03-31  4:14         ` Hector Martin
2023-04-24 17:33         ` Hector Martin
2023-04-24 17:33           ` Hector Martin
2023-03-31 13:27 ` Neal Gompa
2023-03-31 13:27   ` Neal Gompa

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=20230328-soc-mailbox-v1-5-3953814532fd@marcan.st \
    --to=marcan@marcan.st \
    --cc=alyssa@rosenzweig.io \
    --cc=asahi@lists.linux.dev \
    --cc=j@jannau.net \
    --cc=jassisinghbrar@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sven@svenpeter.dev \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.