All of lore.kernel.org
 help / color / mirror / Atom feed
* linux-next: manual merge of the char-misc tree with the mfd tree
@ 2022-02-28  8:39 Stephen Rothwell
  2022-02-28  9:01 ` Lee Jones
  0 siblings, 1 reply; 16+ messages in thread
From: Stephen Rothwell @ 2022-02-28  8:39 UTC (permalink / raw)
  To: Greg KH, Arnd Bergmann, Lee Jones
  Cc: Alistair Francis, Greg Kroah-Hartman, Linux Kernel Mailing List,
	Linux Next Mailing List, Robert Marko

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

Hi all,

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

  drivers/mfd/simple-mfd-i2c.c

between commit:

  5913eb45d036 ("mfd: simple-mfd-i2c: Enable support for the silergy,sy7636a")

from the mfd tree and commit:

  d0cac2434c8e ("mfd: simple-mfd-i2c: Add Delta TN48M CPLD support")

from the char-misc 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/mfd/simple-mfd-i2c.c
index f4c8fc3ee463,0d6a51ed6286..000000000000
--- a/drivers/mfd/simple-mfd-i2c.c
+++ b/drivers/mfd/simple-mfd-i2c.c
@@@ -62,19 -62,9 +62,20 @@@ static int simple_mfd_i2c_probe(struct 
  	return ret;
  }
  
 +static const struct mfd_cell sy7636a_cells[] = {
 +	{ .name = "sy7636a-regulator", },
 +	{ .name = "sy7636a-temperature", },
 +};
 +
 +static const struct simple_mfd_data silergy_sy7636a = {
 +	.mfd_cell = sy7636a_cells,
 +	.mfd_cell_size = ARRAY_SIZE(sy7636a_cells),
 +};
 +
  static const struct of_device_id simple_mfd_i2c_of_match[] = {
  	{ .compatible = "kontron,sl28cpld" },
 +	{ .compatible = "silergy,sy7636a", .data = &silergy_sy7636a},
+ 	{ .compatible = "delta,tn48m-cpld" },
  	{}
  };
  MODULE_DEVICE_TABLE(of, simple_mfd_i2c_of_match);

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

^ permalink raw reply	[flat|nested] 16+ messages in thread
* linux-next: manual merge of the char-misc tree with the mfd tree
@ 2013-02-04  5:12 Stephen Rothwell
  2013-02-04 18:27 ` Greg KH
  0 siblings, 1 reply; 16+ messages in thread
From: Stephen Rothwell @ 2013-02-04  5:12 UTC (permalink / raw)
  To: Greg KH, Arnd Bergmann
  Cc: linux-next, linux-kernel, Mark Brown, Chanwoo Choi, Myungjoo Ham,
	Samuel Ortiz

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

Hi all,

Today's linux-next merge of the char-misc tree got a conflict in
drivers/mfd/wm5102-tables.c between commit d078377faf5f ("mfd: wm5102:
Refresh register defaults") from the mfd tree and commit 689557d3c704
("mfd: wm5102: Add microphone clamp control registers") from the
char-misc 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/mfd/wm5102-tables.c
index c68727d,a396a3a..0000000
--- a/drivers/mfd/wm5102-tables.c
+++ b/drivers/mfd/wm5102-tables.c
@@@ -315,13 -316,9 +321,13 @@@ static const struct reg_default wm5102_
  	{ 0x00000218, 0x01A6 },   /* R536   - Mic Bias Ctrl 1 */ 
  	{ 0x00000219, 0x01A6 },   /* R537   - Mic Bias Ctrl 2 */ 
  	{ 0x0000021A, 0x01A6 },   /* R538   - Mic Bias Ctrl 3 */ 
 +	{ 0x00000225, 0x0400 },   /* R549   - HP Ctrl 1L */
 +	{ 0x00000226, 0x0400 },   /* R550   - HP Ctrl 1R */
  	{ 0x00000293, 0x0000 },   /* R659   - Accessory Detect Mode 1 */ 
  	{ 0x0000029B, 0x0020 },   /* R667   - Headphone Detect 1 */ 
 +	{ 0x0000029C, 0x0000 },   /* R668   - Headphone Detect 2 */
 +	{ 0x0000029F, 0x0000 },   /* R671   - Headphone Detect Test */
- 	{ 0x000002A2, 0x0000 },   /* R674   - Micd Clamp control */
+ 	{ 0x000002A2, 0x0000 },   /* R674   - Micd clamp control */
  	{ 0x000002A3, 0x1102 },   /* R675   - Mic Detect 1 */ 
  	{ 0x000002A4, 0x009F },   /* R676   - Mic Detect 2 */ 
  	{ 0x000002A5, 0x0000 },   /* R677   - Mic Detect 3 */ 
@@@ -1854,11 -1883,8 +1862,12 @@@ static bool wm5102_volatile_register(st
  	case ARIZONA_DSP1_STATUS_1:
  	case ARIZONA_DSP1_STATUS_2:
  	case ARIZONA_DSP1_STATUS_3:
 +	case ARIZONA_DSP1_SCRATCH_0:
 +	case ARIZONA_DSP1_SCRATCH_1:
 +	case ARIZONA_DSP1_SCRATCH_2:
 +	case ARIZONA_DSP1_SCRATCH_3:
  	case ARIZONA_HEADPHONE_DETECT_2:
+ 	case ARIZONA_HP_DACVAL:
  	case ARIZONA_MIC_DETECT_3:
  		return true;
  	default:

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

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

end of thread, other threads:[~2022-03-02 10:13 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-28  8:39 linux-next: manual merge of the char-misc tree with the mfd tree Stephen Rothwell
2022-02-28  9:01 ` Lee Jones
2022-02-28 10:46   ` Greg KH
2022-02-28 12:46     ` Lee Jones
2022-02-28 21:26       ` Greg KH
2022-03-01  9:37         ` Lee Jones
2022-03-01 10:35           ` Greg KH
2022-03-01 10:54             ` Lee Jones
2022-03-01 21:19               ` Greg KH
2022-03-02  8:00                 ` Lee Jones
2022-03-02  8:49                 ` Lee Jones
2022-03-02 10:13                   ` Robert Marko
2022-03-01 23:09               ` Robert Marko
2022-03-02  8:37                 ` Lee Jones
  -- strict thread matches above, loose matches on Subject: below --
2013-02-04  5:12 Stephen Rothwell
2013-02-04 18:27 ` Greg KH

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.