From: Mithil Bavishi <bavishimithil@gmail.com>
To: linux-input@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org,
linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Cc: dmitry.torokhov@gmail.com, robh+dt@kernel.org,
krzysztof.kozlowski+dt@linaro.org, lee@kernel.org,
sre@kernel.org, tony@atomide.com, linux@armlinux.org.uk,
bavishimithil@gmail.com, contact@paulk.fr
Subject: [PATCH 01/10] power: reset: Move TWL4030 power driver from mfd
Date: Sat, 20 Aug 2022 12:46:51 +0530 [thread overview]
Message-ID: <20220820071659.1215-2-bavishimithil@gmail.com> (raw)
In-Reply-To: <20220820071659.1215-1-bavishimithil@gmail.com>
The power/reset folder seems like a more appropriate place for
twl4030-power.c
Signed-off-by: Mithil Bavishi <bavishimithil@gmail.com>
---
drivers/mfd/Kconfig | 13 -------------
drivers/mfd/Makefile | 1 -
drivers/power/reset/Kconfig | 12 ++++++++++++
drivers/power/reset/Makefile | 1 +
drivers/{mfd => power/reset}/twl4030-power.c | 0
5 files changed, 13 insertions(+), 14 deletions(-)
rename drivers/{mfd => power/reset}/twl4030-power.c (100%)
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index abb58ab1a..6a409bb2a 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -1643,19 +1643,6 @@ config TWL4030_CORE
high speed USB OTG transceiver, an audio codec (on most
versions) and many other features.
-config TWL4030_POWER
- bool "TI TWL4030 power resources"
- depends on TWL4030_CORE && ARM
- help
- Say yes here if you want to use the power resources on the
- TWL4030 family chips. Most of these resources are regulators,
- which have a separate driver; some are control signals, such
- as clock request handshaking.
-
- This driver uses board-specific data to initialize the resources
- and load scripts controlling which resources are switched off/on
- or reset when a sleep, wakeup or warm reset event occurs.
-
config MFD_TWL4030_AUDIO
bool "TI TWL4030 Audio"
depends on TWL4030_CORE
diff --git a/drivers/mfd/Makefile b/drivers/mfd/Makefile
index 858cacf65..bd7bf95e6 100644
--- a/drivers/mfd/Makefile
+++ b/drivers/mfd/Makefile
@@ -108,7 +108,6 @@ obj-$(CONFIG_MFD_TPS65912_SPI) += tps65912-spi.o
obj-$(CONFIG_MENELAUS) += menelaus.o
obj-$(CONFIG_TWL4030_CORE) += twl-core.o twl4030-irq.o twl6030-irq.o
-obj-$(CONFIG_TWL4030_POWER) += twl4030-power.o
obj-$(CONFIG_MFD_TWL4030_AUDIO) += twl4030-audio.o
obj-$(CONFIG_TWL6040_CORE) += twl6040.o
diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig
index a8c46ba58..39117b697 100644
--- a/drivers/power/reset/Kconfig
+++ b/drivers/power/reset/Kconfig
@@ -303,4 +303,16 @@ config POWER_MLXBF
help
This driver supports reset or low power mode handling for Mellanox BlueField.
+config TWL4030_POWER
+ bool "TI TWL4030 power resources"
+ depends on TWL4030_CORE && ARM
+ help
+ Say yes here if you want to use the power resources on the
+ TWL4030 family chips. Most of these resources are regulators,
+ which have a separate driver; some are control signals, such
+ as clock request handshaking.
+
+ This driver uses board-specific data to initialize the resources
+ and load scripts controlling which resources are switched off/on
+ or reset when a sleep, wakeup or warm reset event occurs.
endif
diff --git a/drivers/power/reset/Makefile b/drivers/power/reset/Makefile
index 0a39424fc..e9db25b09 100644
--- a/drivers/power/reset/Makefile
+++ b/drivers/power/reset/Makefile
@@ -36,3 +36,4 @@ obj-$(CONFIG_SYSCON_REBOOT_MODE) += syscon-reboot-mode.o
obj-$(CONFIG_POWER_RESET_SC27XX) += sc27xx-poweroff.o
obj-$(CONFIG_NVMEM_REBOOT_MODE) += nvmem-reboot-mode.o
obj-$(CONFIG_POWER_MLXBF) += pwr-mlxbf.o
+obj-$(CONFIG_TWL4030_POWER) += twl4030-power.o
diff --git a/drivers/mfd/twl4030-power.c b/drivers/power/reset/twl4030-power.c
similarity index 100%
rename from drivers/mfd/twl4030-power.c
rename to drivers/power/reset/twl4030-power.c
--
2.25.1
WARNING: multiple messages have this Message-ID (diff)
From: Mithil Bavishi <bavishimithil@gmail.com>
To: linux-input@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org,
linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Cc: dmitry.torokhov@gmail.com, robh+dt@kernel.org,
krzysztof.kozlowski+dt@linaro.org, lee@kernel.org,
sre@kernel.org, tony@atomide.com, linux@armlinux.org.uk,
bavishimithil@gmail.com, contact@paulk.fr
Subject: [PATCH 01/10] power: reset: Move TWL4030 power driver from mfd
Date: Sat, 20 Aug 2022 12:46:51 +0530 [thread overview]
Message-ID: <20220820071659.1215-2-bavishimithil@gmail.com> (raw)
In-Reply-To: <20220820071659.1215-1-bavishimithil@gmail.com>
The power/reset folder seems like a more appropriate place for
twl4030-power.c
Signed-off-by: Mithil Bavishi <bavishimithil@gmail.com>
---
drivers/mfd/Kconfig | 13 -------------
drivers/mfd/Makefile | 1 -
drivers/power/reset/Kconfig | 12 ++++++++++++
drivers/power/reset/Makefile | 1 +
drivers/{mfd => power/reset}/twl4030-power.c | 0
5 files changed, 13 insertions(+), 14 deletions(-)
rename drivers/{mfd => power/reset}/twl4030-power.c (100%)
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index abb58ab1a..6a409bb2a 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -1643,19 +1643,6 @@ config TWL4030_CORE
high speed USB OTG transceiver, an audio codec (on most
versions) and many other features.
-config TWL4030_POWER
- bool "TI TWL4030 power resources"
- depends on TWL4030_CORE && ARM
- help
- Say yes here if you want to use the power resources on the
- TWL4030 family chips. Most of these resources are regulators,
- which have a separate driver; some are control signals, such
- as clock request handshaking.
-
- This driver uses board-specific data to initialize the resources
- and load scripts controlling which resources are switched off/on
- or reset when a sleep, wakeup or warm reset event occurs.
-
config MFD_TWL4030_AUDIO
bool "TI TWL4030 Audio"
depends on TWL4030_CORE
diff --git a/drivers/mfd/Makefile b/drivers/mfd/Makefile
index 858cacf65..bd7bf95e6 100644
--- a/drivers/mfd/Makefile
+++ b/drivers/mfd/Makefile
@@ -108,7 +108,6 @@ obj-$(CONFIG_MFD_TPS65912_SPI) += tps65912-spi.o
obj-$(CONFIG_MENELAUS) += menelaus.o
obj-$(CONFIG_TWL4030_CORE) += twl-core.o twl4030-irq.o twl6030-irq.o
-obj-$(CONFIG_TWL4030_POWER) += twl4030-power.o
obj-$(CONFIG_MFD_TWL4030_AUDIO) += twl4030-audio.o
obj-$(CONFIG_TWL6040_CORE) += twl6040.o
diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig
index a8c46ba58..39117b697 100644
--- a/drivers/power/reset/Kconfig
+++ b/drivers/power/reset/Kconfig
@@ -303,4 +303,16 @@ config POWER_MLXBF
help
This driver supports reset or low power mode handling for Mellanox BlueField.
+config TWL4030_POWER
+ bool "TI TWL4030 power resources"
+ depends on TWL4030_CORE && ARM
+ help
+ Say yes here if you want to use the power resources on the
+ TWL4030 family chips. Most of these resources are regulators,
+ which have a separate driver; some are control signals, such
+ as clock request handshaking.
+
+ This driver uses board-specific data to initialize the resources
+ and load scripts controlling which resources are switched off/on
+ or reset when a sleep, wakeup or warm reset event occurs.
endif
diff --git a/drivers/power/reset/Makefile b/drivers/power/reset/Makefile
index 0a39424fc..e9db25b09 100644
--- a/drivers/power/reset/Makefile
+++ b/drivers/power/reset/Makefile
@@ -36,3 +36,4 @@ obj-$(CONFIG_SYSCON_REBOOT_MODE) += syscon-reboot-mode.o
obj-$(CONFIG_POWER_RESET_SC27XX) += sc27xx-poweroff.o
obj-$(CONFIG_NVMEM_REBOOT_MODE) += nvmem-reboot-mode.o
obj-$(CONFIG_POWER_MLXBF) += pwr-mlxbf.o
+obj-$(CONFIG_TWL4030_POWER) += twl4030-power.o
diff --git a/drivers/mfd/twl4030-power.c b/drivers/power/reset/twl4030-power.c
similarity index 100%
rename from drivers/mfd/twl4030-power.c
rename to drivers/power/reset/twl4030-power.c
--
2.25.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2022-08-20 7:17 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-20 7:16 [PATCH 00/10] Add TWL6030 power off and powerbutton support Mithil Bavishi
2022-08-20 7:16 ` Mithil Bavishi
2022-08-20 7:16 ` Mithil Bavishi [this message]
2022-08-20 7:16 ` [PATCH 01/10] power: reset: Move TWL4030 power driver from mfd Mithil Bavishi
2022-09-06 15:13 ` Lee Jones
2022-09-06 15:13 ` Lee Jones
2022-08-20 7:16 ` [PATCH 02/10] dt-bindings: power: reset: Move twl4030-power from mfd to power/reset Mithil Bavishi
2022-08-20 7:16 ` Mithil Bavishi
2022-08-22 19:23 ` Rob Herring
2022-08-22 19:23 ` Rob Herring
2022-09-06 15:13 ` Lee Jones
2022-09-06 15:13 ` Lee Jones
2022-08-20 7:16 ` [PATCH 03/10] power: reset: Add TWL6030 power driver, with minimal support for power off Mithil Bavishi
2022-08-20 7:16 ` Mithil Bavishi
2022-09-11 12:55 ` Sebastian Reichel
2022-09-11 12:55 ` Sebastian Reichel
2022-08-20 7:16 ` [PATCH 04/10] dt-bindings: input: twl-pwrbutton: Add support for twl6030-pwrbutton Mithil Bavishi
2022-08-20 7:16 ` Mithil Bavishi
2022-08-22 19:25 ` Rob Herring
2022-08-22 19:25 ` Rob Herring
2022-08-20 7:16 ` [PATCH 05/10] dt-bindings: power: reset: Add bindings for twl6030-power Mithil Bavishi
2022-08-20 7:16 ` Mithil Bavishi
2022-08-22 19:24 ` Rob Herring
2022-08-22 19:24 ` Rob Herring
2022-08-20 7:16 ` [PATCH 06/10] ARM: OMAP2+: Only select TWL4030_POWER for OMAP3 Mithil Bavishi
2022-08-20 7:16 ` Mithil Bavishi
2022-08-20 7:16 ` [PATCH 07/10] ARM: OMAP2+: Select TWL6030_POWER for OMAP4 Mithil Bavishi
2022-08-20 7:16 ` Mithil Bavishi
2022-08-20 7:16 ` [PATCH 08/10] input: misc: Rename twl4030_pwrbutton to twl_pwrbutton Mithil Bavishi
2022-08-20 7:16 ` Mithil Bavishi
2022-08-20 7:16 ` [PATCH 09/10] dt-bindings: input: Rename twl4030-pwrbutton to twl-pwrbutton Mithil Bavishi
2022-08-20 7:16 ` Mithil Bavishi
2022-08-22 19:26 ` Rob Herring
2022-08-22 19:26 ` Rob Herring
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=20220820071659.1215-2-bavishimithil@gmail.com \
--to=bavishimithil@gmail.com \
--cc=contact@paulk.fr \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=lee@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=robh+dt@kernel.org \
--cc=sre@kernel.org \
--cc=tony@atomide.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 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.