[2/2] mfd: hi655x: Add the clock cell to provide WiFi and Bluetooth

Message ID 1489737531-3036-2-git-send-email-daniel.lezcano@linaro.org
State New
Headers show
Series
  • [1/2] clk: hi6220: Add the hi655x's pmic clock
Related show

Commit Message

Daniel Lezcano March 17, 2017, 7:58 a.m.
The hi655x is a PMIC with regulator but also provides a clock for the WiFi
and the bluetooth which is missing in the current implementation.

Add the clock cell so it can be used in the next patch via the dts.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>

---
 drivers/mfd/hi655x-pmic.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
1.9.1

Comments

Lee Jones April 11, 2017, 1:58 p.m. | #1
On Fri, 17 Mar 2017, Daniel Lezcano wrote:

> The hi655x is a PMIC with regulator but also provides a clock for the WiFi

> and the bluetooth which is missing in the current implementation.

> 

> Add the clock cell so it can be used in the next patch via the dts.

> 

> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>

> ---

>  drivers/mfd/hi655x-pmic.c | 3 ++-

>  1 file changed, 2 insertions(+), 1 deletion(-)


Applied, thanks.

> diff --git a/drivers/mfd/hi655x-pmic.c b/drivers/mfd/hi655x-pmic.c

> index ba706ad..c37ccbf 100644

> --- a/drivers/mfd/hi655x-pmic.c

> +++ b/drivers/mfd/hi655x-pmic.c

> @@ -77,7 +77,8 @@

>  		.num_resources	= ARRAY_SIZE(pwrkey_resources),

>  		.resources	= &pwrkey_resources[0],

>  	},

> -	{	.name		= "hi655x-regulator", },

> +	{	.name		= "hi655x-regulator",	},

> +	{	.name		= "hi655x-clk",		},

>  };

>  

>  static void hi655x_local_irq_clear(struct regmap *map)


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

Patch hide | download patch | download mbox

diff --git a/drivers/mfd/hi655x-pmic.c b/drivers/mfd/hi655x-pmic.c
index ba706ad..c37ccbf 100644
--- a/drivers/mfd/hi655x-pmic.c
+++ b/drivers/mfd/hi655x-pmic.c
@@ -77,7 +77,8 @@ 
 		.num_resources	= ARRAY_SIZE(pwrkey_resources),
 		.resources	= &pwrkey_resources[0],
 	},
-	{	.name		= "hi655x-regulator", },
+	{	.name		= "hi655x-regulator",	},
+	{	.name		= "hi655x-clk",		},
 };
 
 static void hi655x_local_irq_clear(struct regmap *map)