linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: manual merge of the battery tree with the arm-soc tree
@ 2023-02-06  0:21 Stephen Rothwell
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Rothwell @ 2023-02-06  0:21 UTC (permalink / raw)
  To: Sebastian Reichel, Olof Johansson, Arnd Bergmann
  Cc: ARM, Alina Yu, ChiYuan Huang, ChiaEn Wu,
	Linux Kernel Mailing List, Linux Next Mailing List,
	Sebastian Reichel

[-- Attachment #1: Type: text/plain, Size: 1695 bytes --]

Hi all,

Today's linux-next merge of the battery tree got a conflict in:

  drivers/power/supply/Makefile

between commit:

  a0f831756b26 ("power: remove s3c adc battery driver")

from the arm-soc tree and commits:

  4a1a5f6781d8 ("power: supply: rt9471: Add Richtek RT9471 charger driver")
  6f7f70e3a8dd ("power: supply: rt9467: Add Richtek RT9467 charger driver")

from the battery tree.

I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging.  You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.

-- 
Cheers,
Stephen Rothwell

diff --cc drivers/power/supply/Makefile
index 8cb3c7f5c111,f8f9716d3ba4..000000000000
--- a/drivers/power/supply/Makefile
+++ b/drivers/power/supply/Makefile
@@@ -52,8 -54,12 +52,10 @@@ obj-$(CONFIG_BATTERY_DA9150)	+= da9150-
  obj-$(CONFIG_BATTERY_MAX17040)	+= max17040_battery.o
  obj-$(CONFIG_BATTERY_MAX17042)	+= max17042_battery.o
  obj-$(CONFIG_BATTERY_MAX1721X)	+= max1721x_battery.o
 -obj-$(CONFIG_BATTERY_Z2)	+= z2_battery.o
  obj-$(CONFIG_BATTERY_RT5033)	+= rt5033_battery.o
  obj-$(CONFIG_CHARGER_RT9455)	+= rt9455_charger.o
+ obj-$(CONFIG_CHARGER_RT9467)	+= rt9467-charger.o
+ obj-$(CONFIG_CHARGER_RT9471)	+= rt9471.o
 -obj-$(CONFIG_BATTERY_S3C_ADC)	+= s3c_adc_battery.o
  obj-$(CONFIG_BATTERY_TWL4030_MADC)	+= twl4030_madc_battery.o
  obj-$(CONFIG_CHARGER_88PM860X)	+= 88pm860x_charger.o
  obj-$(CONFIG_CHARGER_PCF50633)	+= pcf50633-charger.o

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* linux-next: manual merge of the battery tree with the arm-soc tree
@ 2014-09-30  4:46 Stephen Rothwell
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Rothwell @ 2014-09-30  4:46 UTC (permalink / raw)
  To: Sebastian Reichel, Olof Johansson, Arnd Bergmann, linux-arm-kernel
  Cc: linux-next, linux-kernel, Linus Walleij, Lee Jones, Christophe Kerello

[-- Attachment #1: Type: text/plain, Size: 2702 bytes --]

Hi Sebastian,

Today's linux-next merge of the battery tree got conflicts in
drivers/power/reset/Kconfig and drivers/power/reset/Makefile between
commit 0e545f57b708 ("power: reset: driver for the Versatile syscon
reboot") from the arm-soc tree and commit f0745f3696e8 ("power: reset:
Add restart functionality for STiH41x platforms") from the battery tree.

I fixed it up (see below) and can carry the fix as necessary (no action
is required).

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

diff --cc drivers/power/reset/Kconfig
index 527a0f47ef44,a178e9c50a20..000000000000
--- a/drivers/power/reset/Kconfig
+++ b/drivers/power/reset/Kconfig
@@@ -69,9 -59,16 +77,16 @@@ config POWER_RESET_MS
  	help
  	  Power off and restart support for Qualcomm boards.
  
+ config POWER_RESET_LTC2952
+ 	bool "LTC2952 PowerPath power-off driver"
+ 	depends on OF_GPIO && POWER_RESET
+ 	help
+ 	  This driver supports an external powerdown trigger and board power
+ 	  down via the LTC2952. Bindings are made in the device tree.
+ 
  config POWER_RESET_QNAP
  	bool "QNAP power-off driver"
 -	depends on OF_GPIO && POWER_RESET && PLAT_ORION
 +	depends on OF_GPIO && PLAT_ORION
  	help
  	  This driver supports turning off QNAP NAS devices by sending
  	  commands to the microcontroller which controls the main power.
@@@ -92,15 -89,13 +107,21 @@@ config POWER_RESET_SUN6
  	help
  	  Reboot support for the Allwinner A31 SoCs.
  
+ config POWER_RESET_ST
+ 	bool "ST restart power-off driver"
+ 	depends on POWER_RESET && ARCH_STI
+ 	help
+ 	  Power off and reset support for STMicroelectronics boards.
+ 
 +config POWER_RESET_VERSATILE
 +	bool "ARM Versatile family reboot driver"
 +	depends on ARM
 +	depends on MFD_SYSCON
 +	depends on OF
 +	help
 +	  Power off and restart support for ARM Versatile family of
 +	  reference boards.
 +
  config POWER_RESET_VEXPRESS
  	bool "ARM Versatile Express power-off and reset driver"
  	depends on ARM || ARM64
diff --cc drivers/power/reset/Makefile
index 73221009f2bf,ab8cd348a099..000000000000
--- a/drivers/power/reset/Makefile
+++ b/drivers/power/reset/Makefile
@@@ -9,7 -9,7 +11,8 @@@ obj-$(CONFIG_POWER_RESET_LTC2952) += lt
  obj-$(CONFIG_POWER_RESET_QNAP) += qnap-poweroff.o
  obj-$(CONFIG_POWER_RESET_RESTART) += restart-poweroff.o
  obj-$(CONFIG_POWER_RESET_SUN6I) += sun6i-reboot.o
+ obj-$(CONFIG_POWER_RESET_ST) += st-poweroff.o
 +obj-$(CONFIG_POWER_RESET_VERSATILE) += arm-versatile-reboot.o
  obj-$(CONFIG_POWER_RESET_VEXPRESS) += vexpress-poweroff.o
  obj-$(CONFIG_POWER_RESET_XGENE) += xgene-reboot.o
  obj-$(CONFIG_POWER_RESET_KEYSTONE) += keystone-reset.o

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

end of thread, other threads:[~2023-02-06  0:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-06  0:21 linux-next: manual merge of the battery tree with the arm-soc tree Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2014-09-30  4:46 Stephen Rothwell

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