linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RESEND PATCH 1/6] mfd: arizona: Add support for WM8280/WM8281
@ 2015-03-03 16:19 Charles Keepax
  2015-03-03 16:19 ` [RESEND PATCH 2/6] mfd: arizona: Update binding documentation for WM8280 Charles Keepax
                   ` (6 more replies)
  0 siblings, 7 replies; 15+ messages in thread
From: Charles Keepax @ 2015-03-03 16:19 UTC (permalink / raw)
  To: lee.jones
  Cc: robh+dt, pawel.moll, mark.rutland, galak, myungjoo.ham,
	cw00.choi, linus.walleij, gnurou, sameo, lgirdwood, broonie, rf,
	devicetree, linux-kernel

From: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>

This adds support for the Wolfson Microelectronics WM8280 and WM8281
codecs.

Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
[ Minor fixup to remove potentially uninitialised variable. ]
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
---
 drivers/mfd/Kconfig              |    5 +++--
 drivers/mfd/arizona-core.c       |   15 +++++++++++++--
 drivers/mfd/arizona-i2c.c        |    2 ++
 drivers/mfd/arizona-irq.c        |    1 +
 drivers/mfd/arizona-spi.c        |    2 ++
 include/linux/mfd/arizona/core.h |    1 +
 6 files changed, 22 insertions(+), 4 deletions(-)

diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 0ad88c7..b5fb03c 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -1290,10 +1290,11 @@ config MFD_WM5102
 	  Support for Wolfson Microelectronics WM5102 low power audio SoC
 
 config MFD_WM5110
-	bool "Wolfson Microelectronics WM5110"
+	bool "Wolfson Microelectronics WM5110 and WM8280/WM8281"
 	depends on MFD_ARIZONA
 	help
-	  Support for Wolfson Microelectronics WM5110 low power audio SoC
+	  Support for Wolfson Microelectronics WM5110 and WM8280/WM8281
+	  low power audio SoC
 
 config MFD_WM8997
 	bool "Wolfson Microelectronics WM8997"
diff --git a/drivers/mfd/arizona-core.c b/drivers/mfd/arizona-core.c
index 09ba8f1..9f81998 100644
--- a/drivers/mfd/arizona-core.c
+++ b/drivers/mfd/arizona-core.c
@@ -567,6 +567,7 @@ static int arizona_of_get_core_pdata(struct arizona *arizona)
 const struct of_device_id arizona_of_match[] = {
 	{ .compatible = "wlf,wm5102", .data = (void *)WM5102 },
 	{ .compatible = "wlf,wm5110", .data = (void *)WM5110 },
+	{ .compatible = "wlf,wm8280", .data = (void *)WM8280 },
 	{ .compatible = "wlf,wm8997", .data = (void *)WM8997 },
 	{},
 };
@@ -671,6 +672,7 @@ int arizona_dev_init(struct arizona *arizona)
 	switch (arizona->type) {
 	case WM5102:
 	case WM5110:
+	case WM8280:
 	case WM8997:
 		for (i = 0; i < ARRAY_SIZE(wm5102_core_supplies); i++)
 			arizona->core_supplies[i].supply
@@ -834,11 +836,19 @@ int arizona_dev_init(struct arizona *arizona)
 #endif
 #ifdef CONFIG_MFD_WM5110
 	case 0x5110:
-		type_name = "WM5110";
-		if (arizona->type != WM5110) {
+		switch (arizona->type) {
+		case WM5110:
+			type_name = "WM5110";
+			break;
+		case WM8280:
+			type_name = "WM8280";
+			break;
+		default:
+			type_name = "WM5110";
 			dev_err(arizona->dev, "WM5110 registered as %d\n",
 				arizona->type);
 			arizona->type = WM5110;
+			break;
 		}
 		apply_patch = wm5110_patch;
 		break;
@@ -1010,6 +1020,7 @@ int arizona_dev_init(struct arizona *arizona)
 				      ARRAY_SIZE(wm5102_devs), NULL, 0, NULL);
 		break;
 	case WM5110:
+	case WM8280:
 		ret = mfd_add_devices(arizona->dev, -1, wm5110_devs,
 				      ARRAY_SIZE(wm5110_devs), NULL, 0, NULL);
 		break;
diff --git a/drivers/mfd/arizona-i2c.c b/drivers/mfd/arizona-i2c.c
index 9d4156f..ff782a5d 100644
--- a/drivers/mfd/arizona-i2c.c
+++ b/drivers/mfd/arizona-i2c.c
@@ -44,6 +44,7 @@ static int arizona_i2c_probe(struct i2c_client *i2c,
 #endif
 #ifdef CONFIG_MFD_WM5110
 	case WM5110:
+	case WM8280:
 		regmap_config = &wm5110_i2c_regmap;
 		break;
 #endif
@@ -87,6 +88,7 @@ static int arizona_i2c_remove(struct i2c_client *i2c)
 static const struct i2c_device_id arizona_i2c_id[] = {
 	{ "wm5102", WM5102 },
 	{ "wm5110", WM5110 },
+	{ "wm8280", WM8280 },
 	{ "wm8997", WM8997 },
 	{ }
 };
diff --git a/drivers/mfd/arizona-irq.c b/drivers/mfd/arizona-irq.c
index 3a3fe7c..d063b94 100644
--- a/drivers/mfd/arizona-irq.c
+++ b/drivers/mfd/arizona-irq.c
@@ -211,6 +211,7 @@ int arizona_irq_init(struct arizona *arizona)
 #endif
 #ifdef CONFIG_MFD_WM5110
 	case WM5110:
+	case WM8280:
 		aod = &wm5110_aod;
 
 		switch (arizona->rev) {
diff --git a/drivers/mfd/arizona-spi.c b/drivers/mfd/arizona-spi.c
index 8ef58bc..1e845f6 100644
--- a/drivers/mfd/arizona-spi.c
+++ b/drivers/mfd/arizona-spi.c
@@ -44,6 +44,7 @@ static int arizona_spi_probe(struct spi_device *spi)
 #endif
 #ifdef CONFIG_MFD_WM5110
 	case WM5110:
+	case WM8280:
 		regmap_config = &wm5110_spi_regmap;
 		break;
 #endif
@@ -84,6 +85,7 @@ static int arizona_spi_remove(struct spi_device *spi)
 static const struct spi_device_id arizona_spi_ids[] = {
 	{ "wm5102", WM5102 },
 	{ "wm5110", WM5110 },
+	{ "wm8280", WM8280 },
 	{ },
 };
 MODULE_DEVICE_TABLE(spi, arizona_spi_ids);
diff --git a/include/linux/mfd/arizona/core.h b/include/linux/mfd/arizona/core.h
index 910e3aa..f970105 100644
--- a/include/linux/mfd/arizona/core.h
+++ b/include/linux/mfd/arizona/core.h
@@ -24,6 +24,7 @@ enum arizona_type {
 	WM5102 = 1,
 	WM5110 = 2,
 	WM8997 = 3,
+	WM8280 = 4,
 };
 
 #define ARIZONA_IRQ_GP1                    0
-- 
1.7.2.5


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

* [RESEND PATCH 2/6] mfd: arizona: Update binding documentation for WM8280
  2015-03-03 16:19 [RESEND PATCH 1/6] mfd: arizona: Add support for WM8280/WM8281 Charles Keepax
@ 2015-03-03 16:19 ` Charles Keepax
  2015-03-03 16:46   ` Lee Jones
  2015-03-03 16:19 ` [RESEND PATCH 3/6] regulator: arizona-micsupp: Add support for WM8280/WM8281 Charles Keepax
                   ` (5 subsequent siblings)
  6 siblings, 1 reply; 15+ messages in thread
From: Charles Keepax @ 2015-03-03 16:19 UTC (permalink / raw)
  To: lee.jones
  Cc: robh+dt, pawel.moll, mark.rutland, galak, myungjoo.ham,
	cw00.choi, linus.walleij, gnurou, sameo, lgirdwood, broonie, rf,
	devicetree, linux-kernel

From: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>

Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
---
 Documentation/devicetree/bindings/mfd/arizona.txt |   15 +++++++++++----
 1 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/Documentation/devicetree/bindings/mfd/arizona.txt b/Documentation/devicetree/bindings/mfd/arizona.txt
index bfef000..af8646f 100644
--- a/Documentation/devicetree/bindings/mfd/arizona.txt
+++ b/Documentation/devicetree/bindings/mfd/arizona.txt
@@ -8,6 +8,7 @@ Required properties:
   - compatible : One of the following chip-specific strings:
         "wlf,wm5102"
         "wlf,wm5110"
+        "wlf,wm8280"
         "wlf,wm8997"
   - reg : I2C slave address when connected using I2C, chip select number when
     using SPI.
@@ -26,10 +27,16 @@ Required properties:
   - #gpio-cells : Must be 2. The first cell is the pin number and the
     second cell is used to specify optional parameters (currently unused).
 
-  - AVDD-supply, DBVDD1-supply, DBVDD2-supply, DBVDD3-supply (wm5102, wm5110),
-    CPVDD-supply, SPKVDDL-supply (wm5102, wm5110), SPKVDDR-supply (wm5102,
-    wm5110), SPKVDD-supply (wm8997) : Power supplies for the device, as covered
-    in Documentation/devicetree/bindings/regulator/regulator.txt
+  - AVDD-supply, DBVDD1-supply, CPVDD-supply : Power supplies for the device,
+    as covered in Documentation/devicetree/bindings/regulator/regulator.txt
+
+  - DBVDD2-supply, DBVDD3-supply : Additional databus power supplies (wm5102,
+    wm5110, wm8280)
+
+  - SPKVDDL-supply, SPKVDDR-supply : Speaker driver power supplies (wm5102,
+    wm5110, wm8280)
+
+  - SPKVDD-supply : Speaker driver power supply (wm8997)
 
 Optional properties:
 
-- 
1.7.2.5


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

* [RESEND PATCH 3/6] regulator: arizona-micsupp: Add support for WM8280/WM8281
  2015-03-03 16:19 [RESEND PATCH 1/6] mfd: arizona: Add support for WM8280/WM8281 Charles Keepax
  2015-03-03 16:19 ` [RESEND PATCH 2/6] mfd: arizona: Update binding documentation for WM8280 Charles Keepax
@ 2015-03-03 16:19 ` Charles Keepax
  2015-03-03 16:46   ` Lee Jones
  2015-03-03 16:19 ` [RESEND PATCH 4/6] gpio: arizona: " Charles Keepax
                   ` (4 subsequent siblings)
  6 siblings, 1 reply; 15+ messages in thread
From: Charles Keepax @ 2015-03-03 16:19 UTC (permalink / raw)
  To: lee.jones
  Cc: robh+dt, pawel.moll, mark.rutland, galak, myungjoo.ham,
	cw00.choi, linus.walleij, gnurou, sameo, lgirdwood, broonie, rf,
	devicetree, linux-kernel

From: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>

Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Reviewed-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
---
 drivers/regulator/arizona-micsupp.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/regulator/arizona-micsupp.c b/drivers/regulator/arizona-micsupp.c
index 2007900..bfe5dac 100644
--- a/drivers/regulator/arizona-micsupp.c
+++ b/drivers/regulator/arizona-micsupp.c
@@ -246,6 +246,7 @@ static int arizona_micsupp_probe(struct platform_device *pdev)
 	 */
 	switch (arizona->type) {
 	case WM5110:
+	case WM8280:
 		desc = &arizona_micsupp_ext;
 		micsupp->init_data = arizona_micsupp_ext_default;
 		break;
-- 
1.7.2.5


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

* [RESEND PATCH 4/6] gpio: arizona: Add support for WM8280/WM8281
  2015-03-03 16:19 [RESEND PATCH 1/6] mfd: arizona: Add support for WM8280/WM8281 Charles Keepax
  2015-03-03 16:19 ` [RESEND PATCH 2/6] mfd: arizona: Update binding documentation for WM8280 Charles Keepax
  2015-03-03 16:19 ` [RESEND PATCH 3/6] regulator: arizona-micsupp: Add support for WM8280/WM8281 Charles Keepax
@ 2015-03-03 16:19 ` Charles Keepax
  2015-03-03 16:47   ` Lee Jones
  2015-03-03 16:19 ` [RESEND PATCH 5/6] extcon: " Charles Keepax
                   ` (3 subsequent siblings)
  6 siblings, 1 reply; 15+ messages in thread
From: Charles Keepax @ 2015-03-03 16:19 UTC (permalink / raw)
  To: lee.jones
  Cc: robh+dt, pawel.moll, mark.rutland, galak, myungjoo.ham,
	cw00.choi, linus.walleij, gnurou, sameo, lgirdwood, broonie, rf,
	devicetree, linux-kernel

From: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>

Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
---
 drivers/gpio/gpio-arizona.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/gpio/gpio-arizona.c b/drivers/gpio/gpio-arizona.c
index fe369f5..9665d0a 100644
--- a/drivers/gpio/gpio-arizona.c
+++ b/drivers/gpio/gpio-arizona.c
@@ -116,6 +116,7 @@ static int arizona_gpio_probe(struct platform_device *pdev)
 	switch (arizona->type) {
 	case WM5102:
 	case WM5110:
+	case WM8280:
 	case WM8997:
 		arizona_gpio->gpio_chip.ngpio = 5;
 		break;
-- 
1.7.2.5


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

* [RESEND PATCH 5/6] extcon: arizona: Add support for WM8280/WM8281
  2015-03-03 16:19 [RESEND PATCH 1/6] mfd: arizona: Add support for WM8280/WM8281 Charles Keepax
                   ` (2 preceding siblings ...)
  2015-03-03 16:19 ` [RESEND PATCH 4/6] gpio: arizona: " Charles Keepax
@ 2015-03-03 16:19 ` Charles Keepax
  2015-03-03 16:47   ` Lee Jones
  2015-03-03 16:19 ` [RESEND PATCH 6/6] ASoC: " Charles Keepax
                   ` (2 subsequent siblings)
  6 siblings, 1 reply; 15+ messages in thread
From: Charles Keepax @ 2015-03-03 16:19 UTC (permalink / raw)
  To: lee.jones
  Cc: robh+dt, pawel.moll, mark.rutland, galak, myungjoo.ham,
	cw00.choi, linus.walleij, gnurou, sameo, lgirdwood, broonie, rf,
	devicetree, linux-kernel

From: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>

Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
---
 drivers/extcon/extcon-arizona.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/extcon/extcon-arizona.c b/drivers/extcon/extcon-arizona.c
index 63f01c4..6b5e795 100644
--- a/drivers/extcon/extcon-arizona.c
+++ b/drivers/extcon/extcon-arizona.c
@@ -1149,6 +1149,7 @@ static int arizona_extcon_probe(struct platform_device *pdev)
 		}
 		break;
 	case WM5110:
+	case WM8280:
 		switch (arizona->rev) {
 		case 0 ... 2:
 			break;
-- 
1.7.2.5


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

* [RESEND PATCH 6/6] ASoC: arizona: Add support for WM8280/WM8281
  2015-03-03 16:19 [RESEND PATCH 1/6] mfd: arizona: Add support for WM8280/WM8281 Charles Keepax
                   ` (3 preceding siblings ...)
  2015-03-03 16:19 ` [RESEND PATCH 5/6] extcon: " Charles Keepax
@ 2015-03-03 16:19 ` Charles Keepax
  2015-03-03 16:47   ` Lee Jones
  2015-03-03 16:46 ` [RESEND PATCH 1/6] mfd: " Lee Jones
  2015-03-12 13:36 ` [GIT PULL] Immutable branch between MFD, Extcon, GPIO and Regulator Lee Jones
  6 siblings, 1 reply; 15+ messages in thread
From: Charles Keepax @ 2015-03-03 16:19 UTC (permalink / raw)
  To: lee.jones
  Cc: robh+dt, pawel.moll, mark.rutland, galak, myungjoo.ham,
	cw00.choi, linus.walleij, gnurou, sameo, lgirdwood, broonie, rf,
	devicetree, linux-kernel

From: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>

Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
---
 sound/soc/codecs/arizona.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/sound/soc/codecs/arizona.c b/sound/soc/codecs/arizona.c
index 4c90602..95d31d6 100644
--- a/sound/soc/codecs/arizona.c
+++ b/sound/soc/codecs/arizona.c
@@ -280,6 +280,7 @@ int arizona_init_gpio(struct snd_soc_codec *codec)
 
 	switch (arizona->type) {
 	case WM5110:
+	case WM8280:
 		snd_soc_dapm_disable_pin(&codec->dapm, "DRC2 Signal Activity");
 		break;
 	default:
@@ -1728,6 +1729,7 @@ static int arizona_calc_fratio(struct arizona_fll *fll,
 
 	switch (fll->arizona->type) {
 	case WM5110:
+	case WM8280:
 		if (fll->arizona->rev < 3 || sync)
 			return init_ratio;
 		break;
-- 
1.7.2.5


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

* Re: [RESEND PATCH 1/6] mfd: arizona: Add support for WM8280/WM8281
  2015-03-03 16:19 [RESEND PATCH 1/6] mfd: arizona: Add support for WM8280/WM8281 Charles Keepax
                   ` (4 preceding siblings ...)
  2015-03-03 16:19 ` [RESEND PATCH 6/6] ASoC: " Charles Keepax
@ 2015-03-03 16:46 ` Lee Jones
  2015-03-12 13:36 ` [GIT PULL] Immutable branch between MFD, Extcon, GPIO and Regulator Lee Jones
  6 siblings, 0 replies; 15+ messages in thread
From: Lee Jones @ 2015-03-03 16:46 UTC (permalink / raw)
  To: Charles Keepax
  Cc: robh+dt, pawel.moll, mark.rutland, galak, myungjoo.ham,
	cw00.choi, linus.walleij, gnurou, sameo, lgirdwood, broonie, rf,
	devicetree, linux-kernel

On Tue, 03 Mar 2015, Charles Keepax wrote:

> From: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
> 
> This adds support for the Wolfson Microelectronics WM8280 and WM8281
> codecs.
> 
> Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
> Acked-by: Lee Jones <lee.jones@linaro.org>
> [ Minor fixup to remove potentially uninitialised variable. ]
> Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
> ---
>  drivers/mfd/Kconfig              |    5 +++--
>  drivers/mfd/arizona-core.c       |   15 +++++++++++++--
>  drivers/mfd/arizona-i2c.c        |    2 ++
>  drivers/mfd/arizona-irq.c        |    1 +
>  drivers/mfd/arizona-spi.c        |    2 ++
>  include/linux/mfd/arizona/core.h |    1 +
>  6 files changed, 22 insertions(+), 4 deletions(-)

Applied, thanks.

Will send out pull-request once this has had time to soak in -next. 

> diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
> index 0ad88c7..b5fb03c 100644
> --- a/drivers/mfd/Kconfig
> +++ b/drivers/mfd/Kconfig
> @@ -1290,10 +1290,11 @@ config MFD_WM5102
>  	  Support for Wolfson Microelectronics WM5102 low power audio SoC
>  
>  config MFD_WM5110
> -	bool "Wolfson Microelectronics WM5110"
> +	bool "Wolfson Microelectronics WM5110 and WM8280/WM8281"
>  	depends on MFD_ARIZONA
>  	help
> -	  Support for Wolfson Microelectronics WM5110 low power audio SoC
> +	  Support for Wolfson Microelectronics WM5110 and WM8280/WM8281
> +	  low power audio SoC
>  
>  config MFD_WM8997
>  	bool "Wolfson Microelectronics WM8997"
> diff --git a/drivers/mfd/arizona-core.c b/drivers/mfd/arizona-core.c
> index 09ba8f1..9f81998 100644
> --- a/drivers/mfd/arizona-core.c
> +++ b/drivers/mfd/arizona-core.c
> @@ -567,6 +567,7 @@ static int arizona_of_get_core_pdata(struct arizona *arizona)
>  const struct of_device_id arizona_of_match[] = {
>  	{ .compatible = "wlf,wm5102", .data = (void *)WM5102 },
>  	{ .compatible = "wlf,wm5110", .data = (void *)WM5110 },
> +	{ .compatible = "wlf,wm8280", .data = (void *)WM8280 },
>  	{ .compatible = "wlf,wm8997", .data = (void *)WM8997 },
>  	{},
>  };
> @@ -671,6 +672,7 @@ int arizona_dev_init(struct arizona *arizona)
>  	switch (arizona->type) {
>  	case WM5102:
>  	case WM5110:
> +	case WM8280:
>  	case WM8997:
>  		for (i = 0; i < ARRAY_SIZE(wm5102_core_supplies); i++)
>  			arizona->core_supplies[i].supply
> @@ -834,11 +836,19 @@ int arizona_dev_init(struct arizona *arizona)
>  #endif
>  #ifdef CONFIG_MFD_WM5110
>  	case 0x5110:
> -		type_name = "WM5110";
> -		if (arizona->type != WM5110) {
> +		switch (arizona->type) {
> +		case WM5110:
> +			type_name = "WM5110";
> +			break;
> +		case WM8280:
> +			type_name = "WM8280";
> +			break;
> +		default:
> +			type_name = "WM5110";
>  			dev_err(arizona->dev, "WM5110 registered as %d\n",
>  				arizona->type);
>  			arizona->type = WM5110;
> +			break;
>  		}
>  		apply_patch = wm5110_patch;
>  		break;
> @@ -1010,6 +1020,7 @@ int arizona_dev_init(struct arizona *arizona)
>  				      ARRAY_SIZE(wm5102_devs), NULL, 0, NULL);
>  		break;
>  	case WM5110:
> +	case WM8280:
>  		ret = mfd_add_devices(arizona->dev, -1, wm5110_devs,
>  				      ARRAY_SIZE(wm5110_devs), NULL, 0, NULL);
>  		break;
> diff --git a/drivers/mfd/arizona-i2c.c b/drivers/mfd/arizona-i2c.c
> index 9d4156f..ff782a5d 100644
> --- a/drivers/mfd/arizona-i2c.c
> +++ b/drivers/mfd/arizona-i2c.c
> @@ -44,6 +44,7 @@ static int arizona_i2c_probe(struct i2c_client *i2c,
>  #endif
>  #ifdef CONFIG_MFD_WM5110
>  	case WM5110:
> +	case WM8280:
>  		regmap_config = &wm5110_i2c_regmap;
>  		break;
>  #endif
> @@ -87,6 +88,7 @@ static int arizona_i2c_remove(struct i2c_client *i2c)
>  static const struct i2c_device_id arizona_i2c_id[] = {
>  	{ "wm5102", WM5102 },
>  	{ "wm5110", WM5110 },
> +	{ "wm8280", WM8280 },
>  	{ "wm8997", WM8997 },
>  	{ }
>  };
> diff --git a/drivers/mfd/arizona-irq.c b/drivers/mfd/arizona-irq.c
> index 3a3fe7c..d063b94 100644
> --- a/drivers/mfd/arizona-irq.c
> +++ b/drivers/mfd/arizona-irq.c
> @@ -211,6 +211,7 @@ int arizona_irq_init(struct arizona *arizona)
>  #endif
>  #ifdef CONFIG_MFD_WM5110
>  	case WM5110:
> +	case WM8280:
>  		aod = &wm5110_aod;
>  
>  		switch (arizona->rev) {
> diff --git a/drivers/mfd/arizona-spi.c b/drivers/mfd/arizona-spi.c
> index 8ef58bc..1e845f6 100644
> --- a/drivers/mfd/arizona-spi.c
> +++ b/drivers/mfd/arizona-spi.c
> @@ -44,6 +44,7 @@ static int arizona_spi_probe(struct spi_device *spi)
>  #endif
>  #ifdef CONFIG_MFD_WM5110
>  	case WM5110:
> +	case WM8280:
>  		regmap_config = &wm5110_spi_regmap;
>  		break;
>  #endif
> @@ -84,6 +85,7 @@ static int arizona_spi_remove(struct spi_device *spi)
>  static const struct spi_device_id arizona_spi_ids[] = {
>  	{ "wm5102", WM5102 },
>  	{ "wm5110", WM5110 },
> +	{ "wm8280", WM8280 },
>  	{ },
>  };
>  MODULE_DEVICE_TABLE(spi, arizona_spi_ids);
> diff --git a/include/linux/mfd/arizona/core.h b/include/linux/mfd/arizona/core.h
> index 910e3aa..f970105 100644
> --- a/include/linux/mfd/arizona/core.h
> +++ b/include/linux/mfd/arizona/core.h
> @@ -24,6 +24,7 @@ enum arizona_type {
>  	WM5102 = 1,
>  	WM5110 = 2,
>  	WM8997 = 3,
> +	WM8280 = 4,
>  };
>  
>  #define ARIZONA_IRQ_GP1                    0

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

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

* Re: [RESEND PATCH 2/6] mfd: arizona: Update binding documentation for WM8280
  2015-03-03 16:19 ` [RESEND PATCH 2/6] mfd: arizona: Update binding documentation for WM8280 Charles Keepax
@ 2015-03-03 16:46   ` Lee Jones
  0 siblings, 0 replies; 15+ messages in thread
From: Lee Jones @ 2015-03-03 16:46 UTC (permalink / raw)
  To: Charles Keepax
  Cc: robh+dt, pawel.moll, mark.rutland, galak, myungjoo.ham,
	cw00.choi, linus.walleij, gnurou, sameo, lgirdwood, broonie, rf,
	devicetree, linux-kernel

On Tue, 03 Mar 2015, Charles Keepax wrote:

> From: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
> 
> Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
> Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
> ---
>  Documentation/devicetree/bindings/mfd/arizona.txt |   15 +++++++++++----
>  1 files changed, 11 insertions(+), 4 deletions(-)

Applied, thanks.

Will send out pull-request once this has had time to soak in -next. 

> diff --git a/Documentation/devicetree/bindings/mfd/arizona.txt b/Documentation/devicetree/bindings/mfd/arizona.txt
> index bfef000..af8646f 100644
> --- a/Documentation/devicetree/bindings/mfd/arizona.txt
> +++ b/Documentation/devicetree/bindings/mfd/arizona.txt
> @@ -8,6 +8,7 @@ Required properties:
>    - compatible : One of the following chip-specific strings:
>          "wlf,wm5102"
>          "wlf,wm5110"
> +        "wlf,wm8280"
>          "wlf,wm8997"
>    - reg : I2C slave address when connected using I2C, chip select number when
>      using SPI.
> @@ -26,10 +27,16 @@ Required properties:
>    - #gpio-cells : Must be 2. The first cell is the pin number and the
>      second cell is used to specify optional parameters (currently unused).
>  
> -  - AVDD-supply, DBVDD1-supply, DBVDD2-supply, DBVDD3-supply (wm5102, wm5110),
> -    CPVDD-supply, SPKVDDL-supply (wm5102, wm5110), SPKVDDR-supply (wm5102,
> -    wm5110), SPKVDD-supply (wm8997) : Power supplies for the device, as covered
> -    in Documentation/devicetree/bindings/regulator/regulator.txt
> +  - AVDD-supply, DBVDD1-supply, CPVDD-supply : Power supplies for the device,
> +    as covered in Documentation/devicetree/bindings/regulator/regulator.txt
> +
> +  - DBVDD2-supply, DBVDD3-supply : Additional databus power supplies (wm5102,
> +    wm5110, wm8280)
> +
> +  - SPKVDDL-supply, SPKVDDR-supply : Speaker driver power supplies (wm5102,
> +    wm5110, wm8280)
> +
> +  - SPKVDD-supply : Speaker driver power supply (wm8997)
>  
>  Optional properties:
>  

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

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

* Re: [RESEND PATCH 3/6] regulator: arizona-micsupp: Add support for WM8280/WM8281
  2015-03-03 16:19 ` [RESEND PATCH 3/6] regulator: arizona-micsupp: Add support for WM8280/WM8281 Charles Keepax
@ 2015-03-03 16:46   ` Lee Jones
  0 siblings, 0 replies; 15+ messages in thread
From: Lee Jones @ 2015-03-03 16:46 UTC (permalink / raw)
  To: Charles Keepax
  Cc: robh+dt, pawel.moll, mark.rutland, galak, myungjoo.ham,
	cw00.choi, linus.walleij, gnurou, sameo, lgirdwood, broonie, rf,
	devicetree, linux-kernel

On Tue, 03 Mar 2015, Charles Keepax wrote:

> From: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
> 
> Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
> Reviewed-by: Mark Brown <broonie@kernel.org>
> Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
> ---
>  drivers/regulator/arizona-micsupp.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)

Applied, thanks.

Will send out pull-request once this has had time to soak in -next. 

> diff --git a/drivers/regulator/arizona-micsupp.c b/drivers/regulator/arizona-micsupp.c
> index 2007900..bfe5dac 100644
> --- a/drivers/regulator/arizona-micsupp.c
> +++ b/drivers/regulator/arizona-micsupp.c
> @@ -246,6 +246,7 @@ static int arizona_micsupp_probe(struct platform_device *pdev)
>  	 */
>  	switch (arizona->type) {
>  	case WM5110:
> +	case WM8280:
>  		desc = &arizona_micsupp_ext;
>  		micsupp->init_data = arizona_micsupp_ext_default;
>  		break;

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

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

* Re: [RESEND PATCH 4/6] gpio: arizona: Add support for WM8280/WM8281
  2015-03-03 16:19 ` [RESEND PATCH 4/6] gpio: arizona: " Charles Keepax
@ 2015-03-03 16:47   ` Lee Jones
  0 siblings, 0 replies; 15+ messages in thread
From: Lee Jones @ 2015-03-03 16:47 UTC (permalink / raw)
  To: Charles Keepax
  Cc: robh+dt, pawel.moll, mark.rutland, galak, myungjoo.ham,
	cw00.choi, linus.walleij, gnurou, sameo, lgirdwood, broonie, rf,
	devicetree, linux-kernel

On Tue, 03 Mar 2015, Charles Keepax wrote:

> From: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
> 
> Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
> Acked-by: Linus Walleij <linus.walleij@linaro.org>
> Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
> ---
>  drivers/gpio/gpio-arizona.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)

Applied, thanks.

Will send out pull-request once this has had time to soak in -next. 

> diff --git a/drivers/gpio/gpio-arizona.c b/drivers/gpio/gpio-arizona.c
> index fe369f5..9665d0a 100644
> --- a/drivers/gpio/gpio-arizona.c
> +++ b/drivers/gpio/gpio-arizona.c
> @@ -116,6 +116,7 @@ static int arizona_gpio_probe(struct platform_device *pdev)
>  	switch (arizona->type) {
>  	case WM5102:
>  	case WM5110:
> +	case WM8280:
>  	case WM8997:
>  		arizona_gpio->gpio_chip.ngpio = 5;
>  		break;

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

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

* Re: [RESEND PATCH 5/6] extcon: arizona: Add support for WM8280/WM8281
  2015-03-03 16:19 ` [RESEND PATCH 5/6] extcon: " Charles Keepax
@ 2015-03-03 16:47   ` Lee Jones
  0 siblings, 0 replies; 15+ messages in thread
From: Lee Jones @ 2015-03-03 16:47 UTC (permalink / raw)
  To: Charles Keepax
  Cc: robh+dt, pawel.moll, mark.rutland, galak, myungjoo.ham,
	cw00.choi, linus.walleij, gnurou, sameo, lgirdwood, broonie, rf,
	devicetree, linux-kernel

On Tue, 03 Mar 2015, Charles Keepax wrote:

> From: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
> 
> Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
> Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
> Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
> ---
>  drivers/extcon/extcon-arizona.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)

Applied, thanks.

Will send out pull-request once this has had time to soak in -next. 

> diff --git a/drivers/extcon/extcon-arizona.c b/drivers/extcon/extcon-arizona.c
> index 63f01c4..6b5e795 100644
> --- a/drivers/extcon/extcon-arizona.c
> +++ b/drivers/extcon/extcon-arizona.c
> @@ -1149,6 +1149,7 @@ static int arizona_extcon_probe(struct platform_device *pdev)
>  		}
>  		break;
>  	case WM5110:
> +	case WM8280:
>  		switch (arizona->rev) {
>  		case 0 ... 2:
>  			break;

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

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

* Re: [RESEND PATCH 6/6] ASoC: arizona: Add support for WM8280/WM8281
  2015-03-03 16:19 ` [RESEND PATCH 6/6] ASoC: " Charles Keepax
@ 2015-03-03 16:47   ` Lee Jones
  0 siblings, 0 replies; 15+ messages in thread
From: Lee Jones @ 2015-03-03 16:47 UTC (permalink / raw)
  To: Charles Keepax
  Cc: robh+dt, pawel.moll, mark.rutland, galak, myungjoo.ham,
	cw00.choi, linus.walleij, gnurou, sameo, lgirdwood, broonie, rf,
	devicetree, linux-kernel

On Tue, 03 Mar 2015, Charles Keepax wrote:

> From: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
> 
> Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
> Acked-by: Mark Brown <broonie@kernel.org>
> Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
> ---
>  sound/soc/codecs/arizona.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)

Applied, thanks.

Will send out pull-request once this has had time to soak in -next. 

> diff --git a/sound/soc/codecs/arizona.c b/sound/soc/codecs/arizona.c
> index 4c90602..95d31d6 100644
> --- a/sound/soc/codecs/arizona.c
> +++ b/sound/soc/codecs/arizona.c
> @@ -280,6 +280,7 @@ int arizona_init_gpio(struct snd_soc_codec *codec)
>  
>  	switch (arizona->type) {
>  	case WM5110:
> +	case WM8280:
>  		snd_soc_dapm_disable_pin(&codec->dapm, "DRC2 Signal Activity");
>  		break;
>  	default:
> @@ -1728,6 +1729,7 @@ static int arizona_calc_fratio(struct arizona_fll *fll,
>  
>  	switch (fll->arizona->type) {
>  	case WM5110:
> +	case WM8280:
>  		if (fll->arizona->rev < 3 || sync)
>  			return init_ratio;
>  		break;

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

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

* [GIT PULL] Immutable branch between MFD, Extcon, GPIO and Regulator
  2015-03-03 16:19 [RESEND PATCH 1/6] mfd: arizona: Add support for WM8280/WM8281 Charles Keepax
                   ` (5 preceding siblings ...)
  2015-03-03 16:46 ` [RESEND PATCH 1/6] mfd: " Lee Jones
@ 2015-03-12 13:36 ` Lee Jones
  6 siblings, 0 replies; 15+ messages in thread
From: Lee Jones @ 2015-03-12 13:36 UTC (permalink / raw)
  To: Charles Keepax
  Cc: robh+dt, pawel.moll, mark.rutland, galak, myungjoo.ham,
	cw00.choi, linus.walleij, gnurou, sameo, lgirdwood, broonie, rf,
	devicetree, linux-kernel

Gentlemen,

I think this has soaked for long enough now.  Hopefully there are no issues.

The following changes since commit c517d838eb7d07bbe9507871fab3931deccff539:

  Linux 4.0-rc1 (2015-02-22 18:21:14 -0800)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git tags/ib-mfd-extcon-gpio-regulator-v4.1

for you to fetch changes up to 575ef7f6d5df2aec86f407c76c0b95b3064e4b30:

  ASoC: arizona: Add support for WM8280/WM8281 (2015-02-26 10:04:45 +0000)

----------------------------------------------------------------
Immutable branch between MFD, Extcon, GPIO and Regulator due for the v4.1 merge window

----------------------------------------------------------------
Richard Fitzgerald (6):
      mfd: arizona: Add support for WM8280/WM8281
      Documentation: devicetree: arizona: Add bindings for WM8280
      regulator: arizona-micsupp: Add support for WM8280/WM8281
      gpio: arizona: Add support for WM8280/WM8281
      extcon: arizona: Add support for WM8280/WM8281
      ASoC: arizona: Add support for WM8280/WM8281

 Documentation/devicetree/bindings/mfd/arizona.txt | 15 +++++++++++----
 drivers/extcon/extcon-arizona.c                   |  1 +
 drivers/gpio/gpio-arizona.c                       |  1 +
 drivers/mfd/Kconfig                               |  5 +++--
 drivers/mfd/arizona-core.c                        | 15 +++++++++++++--
 drivers/mfd/arizona-i2c.c                         |  2 ++
 drivers/mfd/arizona-irq.c                         |  1 +
 drivers/mfd/arizona-spi.c                         |  2 ++
 drivers/regulator/arizona-micsupp.c               |  1 +
 include/linux/mfd/arizona/core.h                  |  1 +
 sound/soc/codecs/arizona.c                        |  2 ++
 11 files changed, 38 insertions(+), 8 deletions(-)

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

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

* [RESEND PATCH 5/6] extcon: arizona: Add support for WM8280/WM8281
  2015-02-10 11:18 [RESEND PATCH 0/6] Add support for the WM8280 and WM8281 Charles Keepax
@ 2015-02-10 11:18 ` Charles Keepax
  0 siblings, 0 replies; 15+ messages in thread
From: Charles Keepax @ 2015-02-10 11:18 UTC (permalink / raw)
  To: lee.jones
  Cc: devicetree, alsa-devel, linux-gpio, linux.walleij, linux-kernel,
	cw00.choi, broonie, rf

From: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>

Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
---
 drivers/extcon/extcon-arizona.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/extcon/extcon-arizona.c b/drivers/extcon/extcon-arizona.c
index 63f01c4..6b5e795 100644
--- a/drivers/extcon/extcon-arizona.c
+++ b/drivers/extcon/extcon-arizona.c
@@ -1149,6 +1149,7 @@ static int arizona_extcon_probe(struct platform_device *pdev)
 		}
 		break;
 	case WM5110:
+	case WM8280:
 		switch (arizona->rev) {
 		case 0 ... 2:
 			break;
-- 
1.7.2.5


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

* [RESEND PATCH 5/6] extcon: arizona: Add support for WM8280/WM8281
  2015-01-17 15:21 [RESEND PATCH 0/6] Add support for the WM8280 and WM8281 codecs Charles Keepax
@ 2015-01-17 15:21 ` Charles Keepax
  0 siblings, 0 replies; 15+ messages in thread
From: Charles Keepax @ 2015-01-17 15:21 UTC (permalink / raw)
  To: lee.jones
  Cc: broonie, cw00.choi, linus.walleij, devicetree, alsa-devel,
	patches, linux-kernel, linux-gpio, rf

From: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>

Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
---
 drivers/extcon/extcon-arizona.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/extcon/extcon-arizona.c b/drivers/extcon/extcon-arizona.c
index ba51588..3abe866 100644
--- a/drivers/extcon/extcon-arizona.c
+++ b/drivers/extcon/extcon-arizona.c
@@ -1149,6 +1149,7 @@ static int arizona_extcon_probe(struct platform_device *pdev)
 		}
 		break;
 	case WM5110:
+	case WM8280:
 		switch (arizona->rev) {
 		case 0 ... 2:
 			break;
-- 
1.7.2.5


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

end of thread, other threads:[~2015-03-12 13:36 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-03 16:19 [RESEND PATCH 1/6] mfd: arizona: Add support for WM8280/WM8281 Charles Keepax
2015-03-03 16:19 ` [RESEND PATCH 2/6] mfd: arizona: Update binding documentation for WM8280 Charles Keepax
2015-03-03 16:46   ` Lee Jones
2015-03-03 16:19 ` [RESEND PATCH 3/6] regulator: arizona-micsupp: Add support for WM8280/WM8281 Charles Keepax
2015-03-03 16:46   ` Lee Jones
2015-03-03 16:19 ` [RESEND PATCH 4/6] gpio: arizona: " Charles Keepax
2015-03-03 16:47   ` Lee Jones
2015-03-03 16:19 ` [RESEND PATCH 5/6] extcon: " Charles Keepax
2015-03-03 16:47   ` Lee Jones
2015-03-03 16:19 ` [RESEND PATCH 6/6] ASoC: " Charles Keepax
2015-03-03 16:47   ` Lee Jones
2015-03-03 16:46 ` [RESEND PATCH 1/6] mfd: " Lee Jones
2015-03-12 13:36 ` [GIT PULL] Immutable branch between MFD, Extcon, GPIO and Regulator Lee Jones
  -- strict thread matches above, loose matches on Subject: below --
2015-02-10 11:18 [RESEND PATCH 0/6] Add support for the WM8280 and WM8281 Charles Keepax
2015-02-10 11:18 ` [RESEND PATCH 5/6] extcon: arizona: Add support for WM8280/WM8281 Charles Keepax
2015-01-17 15:21 [RESEND PATCH 0/6] Add support for the WM8280 and WM8281 codecs Charles Keepax
2015-01-17 15:21 ` [RESEND PATCH 5/6] extcon: arizona: Add support for WM8280/WM8281 Charles Keepax

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