Message ID | 20130409082644.GD18478@verge.net.au (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Tue, Apr 09, 2013 at 05:26:44PM +0900, Simon Horman wrote: > On Mon, Apr 08, 2013 at 04:17:22PM +0200, Laurent Pinchart wrote: > > Hi Bastian, > > > > Thanks for the patch. > > > > On Monday 08 April 2013 14:52:27 Bastian Hecht wrote: > > > We no longer need to set up the reset pin for the st1232 in the board > > > code, but can pass the GPIO number via the platform data to the driver. > > > This results in a cleaner grouping of the device setup. > > > > > > Signed-off-by: Bastian Hecht <hechtb+renesas@gmail.com> > > > > Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > > Thanks. > > I have queued this up in the boards-armadillo800eva branch. > > There were some conflicts when I applied the code which > I fixed manually. Bastian, can you please check that the > following is correct? If it is not please send an incremental patch. I was trying to apply your patch to an old branch. It applies cleanly to the correct new branch :) -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
2013/4/9 Simon Horman <horms@verge.net.au>: > On Tue, Apr 09, 2013 at 05:26:44PM +0900, Simon Horman wrote: >> On Mon, Apr 08, 2013 at 04:17:22PM +0200, Laurent Pinchart wrote: >> > Hi Bastian, >> > >> > Thanks for the patch. >> > >> > On Monday 08 April 2013 14:52:27 Bastian Hecht wrote: >> > > We no longer need to set up the reset pin for the st1232 in the board >> > > code, but can pass the GPIO number via the platform data to the driver. >> > > This results in a cleaner grouping of the device setup. >> > > >> > > Signed-off-by: Bastian Hecht <hechtb+renesas@gmail.com> >> > >> > Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> >> >> Thanks. >> >> I have queued this up in the boards-armadillo800eva branch. >> >> There were some conflicts when I applied the code which >> I fixed manually. Bastian, can you please check that the >> following is correct? If it is not please send an incremental patch. > > I was trying to apply your patch to an old branch. > It applies cleanly to the correct new branch :) Ah sweet, I was indeed a bit confused about going back to the INTC as primary controller. -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Tue, Apr 09, 2013 at 11:16:18AM +0200, Bastian Hecht wrote: > 2013/4/9 Simon Horman <horms@verge.net.au>: > > On Tue, Apr 09, 2013 at 05:26:44PM +0900, Simon Horman wrote: > >> On Mon, Apr 08, 2013 at 04:17:22PM +0200, Laurent Pinchart wrote: > >> > Hi Bastian, > >> > > >> > Thanks for the patch. > >> > > >> > On Monday 08 April 2013 14:52:27 Bastian Hecht wrote: > >> > > We no longer need to set up the reset pin for the st1232 in the board > >> > > code, but can pass the GPIO number via the platform data to the driver. > >> > > This results in a cleaner grouping of the device setup. > >> > > > >> > > Signed-off-by: Bastian Hecht <hechtb+renesas@gmail.com> > >> > > >> > Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > >> > >> Thanks. > >> > >> I have queued this up in the boards-armadillo800eva branch. > >> > >> There were some conflicts when I applied the code which > >> I fixed manually. Bastian, can you please check that the > >> following is correct? If it is not please send an incremental patch. > > > > I was trying to apply your patch to an old branch. > > It applies cleanly to the correct new branch :) > > Ah sweet, I was indeed a bit confused about going back to the INTC as > primary controller. Sorry for the confusion. -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Tue, Apr 09, 2013 at 11:16:18AM +0200, Bastian Hecht wrote: > 2013/4/9 Simon Horman <horms@verge.net.au>: > > On Tue, Apr 09, 2013 at 05:26:44PM +0900, Simon Horman wrote: > >> On Mon, Apr 08, 2013 at 04:17:22PM +0200, Laurent Pinchart wrote: > >> > Hi Bastian, > >> > > >> > Thanks for the patch. > >> > > >> > On Monday 08 April 2013 14:52:27 Bastian Hecht wrote: > >> > > We no longer need to set up the reset pin for the st1232 in the board > >> > > code, but can pass the GPIO number via the platform data to the driver. > >> > > This results in a cleaner grouping of the device setup. > >> > > > >> > > Signed-off-by: Bastian Hecht <hechtb+renesas@gmail.com> > >> > > >> > Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > >> > >> Thanks. > >> > >> I have queued this up in the boards-armadillo800eva branch. > >> > >> There were some conflicts when I applied the code which > >> I fixed manually. Bastian, can you please check that the > >> following is correct? If it is not please send an incremental patch. > > > > I was trying to apply your patch to an old branch. > > It applies cleanly to the correct new branch :) > > Ah sweet, I was indeed a bit confused about going back to the INTC as > primary controller. After all that I had to drop the patch as it depends on patch 1/2. Lets sort out which tree that patch is going through. I have sent an email to try and sort that out. -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
2013/4/9 Simon Horman <horms@verge.net.au>: > On Tue, Apr 09, 2013 at 11:16:18AM +0200, Bastian Hecht wrote: >> 2013/4/9 Simon Horman <horms@verge.net.au>: >> > On Tue, Apr 09, 2013 at 05:26:44PM +0900, Simon Horman wrote: >> >> On Mon, Apr 08, 2013 at 04:17:22PM +0200, Laurent Pinchart wrote: >> >> > Hi Bastian, >> >> > >> >> > Thanks for the patch. >> >> > >> >> > On Monday 08 April 2013 14:52:27 Bastian Hecht wrote: >> >> > > We no longer need to set up the reset pin for the st1232 in the board >> >> > > code, but can pass the GPIO number via the platform data to the driver. >> >> > > This results in a cleaner grouping of the device setup. >> >> > > >> >> > > Signed-off-by: Bastian Hecht <hechtb+renesas@gmail.com> >> >> > >> >> > Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> >> >> >> >> Thanks. >> >> >> >> I have queued this up in the boards-armadillo800eva branch. >> >> >> >> There were some conflicts when I applied the code which >> >> I fixed manually. Bastian, can you please check that the >> >> following is correct? If it is not please send an incremental patch. >> > >> > I was trying to apply your patch to an old branch. >> > It applies cleanly to the correct new branch :) >> >> Ah sweet, I was indeed a bit confused about going back to the INTC as >> primary controller. > > After all that I had to drop the patch as it depends on patch 1/2. > Lets sort out which tree that patch is going through. > I have sent an email to try and sort that out. Thanks Simon! -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/arch/arm/mach-shmobile/board-armadillo800eva.c b/arch/arm/mach-shmobile/board-armadillo800eva.c index f322a18..60fca5d 100644 --- a/arch/arm/mach-shmobile/board-armadillo800eva.c +++ b/arch/arm/mach-shmobile/board-armadillo800eva.c @@ -24,6 +24,7 @@ #include <linux/err.h> #include <linux/kernel.h> #include <linux/input.h> +#include <linux/input/st1232_pdata.h> #include <linux/irq.h> #include <linux/platform_device.h> #include <linux/gpio.h> @@ -968,10 +969,14 @@ static struct platform_device i2c_gpio_device = { }; /* I2C */ +static struct st1232_pdata st1232_i2c0_pdata = { + .reset_gpio = 166, +}; static struct i2c_board_info i2c0_devices[] = { { I2C_BOARD_INFO("st1232-ts", 0x55), .irq = evt2irq(0x0340), + .platform_data = &st1232_i2c0_pdata, }, { I2C_BOARD_INFO("wm8978", 0x1a), @@ -1092,7 +1097,6 @@ static void __init eva_init(void) /* Touchscreen */ gpio_request(GPIO_FN_IRQ10, NULL); /* TP_INT */ - gpio_request_one(166, GPIOF_OUT_INIT_HIGH, NULL); /* TP_RST_B */ /* GETHER */ gpio_request(GPIO_FN_ET_CRS, NULL);