diff mbox

[RFC,5/5] arm: omap: n8x0: enable retu

Message ID 1346189667-32330-6-git-send-email-aaro.koskinen@iki.fi (mailing list archive)
State New, archived
Headers show

Commit Message

Aaro Koskinen Aug. 28, 2012, 9:34 p.m. UTC
Add Retu configuration.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
---
 arch/arm/mach-omap2/board-n8x0.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

Comments

Tony Lindgren Aug. 29, 2012, 11:40 p.m. UTC | #1
* Aaro Koskinen <aaro.koskinen@iki.fi> [120828 14:35]:
> Add Retu configuration.
> 
> Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
> ---
>  arch/arm/mach-omap2/board-n8x0.c |    8 ++++++++
>  1 files changed, 8 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/mach-omap2/board-n8x0.c b/arch/arm/mach-omap2/board-n8x0.c
> index 8ea0dea..6ac8cd9 100644
> --- a/arch/arm/mach-omap2/board-n8x0.c
> +++ b/arch/arm/mach-omap2/board-n8x0.c
> @@ -58,8 +58,16 @@ static struct platform_device n8x0_cbus_device = {
>  	},
>  };
>  
> +static struct i2c_board_info n8x0_i2c_board_info_3[] __initdata = {
> +	{
> +		I2C_BOARD_INFO("retu-mfd", 0x01),
> +	},
> +};
> +
>  static void __init n8x0_cbus_init(void)
>  {
> +	i2c_register_board_info(3, n8x0_i2c_board_info_3,
> +				ARRAY_SIZE(n8x0_i2c_board_info_3));
>  	platform_device_register(&n8x0_cbus_device);
>  }
>  #else /* CONFIG_I2C_CBUS */

I suggest merging patches 4 & 5 into patch 1 and merge it via the
i2c list:

Acked-by: Tony Lindgren <tony@atomide.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Felipe Balbi Aug. 30, 2012, 3:39 p.m. UTC | #2
On Wed, Aug 29, 2012 at 12:34:27AM +0300, Aaro Koskinen wrote:
> Add Retu configuration.
> 
> Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>

Acked-by: Felipe Balbi <balbi@ti.com>

> ---
>  arch/arm/mach-omap2/board-n8x0.c |    8 ++++++++
>  1 files changed, 8 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/mach-omap2/board-n8x0.c b/arch/arm/mach-omap2/board-n8x0.c
> index 8ea0dea..6ac8cd9 100644
> --- a/arch/arm/mach-omap2/board-n8x0.c
> +++ b/arch/arm/mach-omap2/board-n8x0.c
> @@ -58,8 +58,16 @@ static struct platform_device n8x0_cbus_device = {
>  	},
>  };
>  
> +static struct i2c_board_info n8x0_i2c_board_info_3[] __initdata = {
> +	{
> +		I2C_BOARD_INFO("retu-mfd", 0x01),
> +	},
> +};
> +
>  static void __init n8x0_cbus_init(void)
>  {
> +	i2c_register_board_info(3, n8x0_i2c_board_info_3,
> +				ARRAY_SIZE(n8x0_i2c_board_info_3));
>  	platform_device_register(&n8x0_cbus_device);
>  }
>  #else /* CONFIG_I2C_CBUS */
> -- 
> 1.7.2.5
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/mach-omap2/board-n8x0.c b/arch/arm/mach-omap2/board-n8x0.c
index 8ea0dea..6ac8cd9 100644
--- a/arch/arm/mach-omap2/board-n8x0.c
+++ b/arch/arm/mach-omap2/board-n8x0.c
@@ -58,8 +58,16 @@  static struct platform_device n8x0_cbus_device = {
 	},
 };
 
+static struct i2c_board_info n8x0_i2c_board_info_3[] __initdata = {
+	{
+		I2C_BOARD_INFO("retu-mfd", 0x01),
+	},
+};
+
 static void __init n8x0_cbus_init(void)
 {
+	i2c_register_board_info(3, n8x0_i2c_board_info_3,
+				ARRAY_SIZE(n8x0_i2c_board_info_3));
 	platform_device_register(&n8x0_cbus_device);
 }
 #else /* CONFIG_I2C_CBUS */