Re: [RFC PATCH 5/5] arm: omap: n8x0: enable retu

2012-08-30 Thread Felipe Balbi
On Wed, Aug 29, 2012 at 12:34:27AM +0300, Aaro Koskinen wrote:
 Add Retu configuration.
 
 Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi

Acked-by: Felipe Balbi ba...@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 majord...@vger.kernel.org
 More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
balbi


signature.asc
Description: Digital signature


Re: [RFC PATCH 5/5] arm: omap: n8x0: enable retu

2012-08-29 Thread Tony Lindgren
* Aaro Koskinen aaro.koski...@iki.fi [120828 14:35]:
 Add Retu configuration.
 
 Signed-off-by: Aaro Koskinen aaro.koski...@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 t...@atomide.com
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

2012-08-28 Thread Aaro Koskinen
Add Retu configuration.

Signed-off-by: Aaro Koskinen aaro.koski...@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 */
-- 
1.7.2.5

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html