From: Anton Vorontsov <cbouatmailru@gmail.com>
To: "Krogerus Heikki (EXT-Teleca/Helsinki)" <ext-heikki.krogerus@nokia.com>
Cc: linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org,
dwmw2@infradead.org, felipe.balbi@nokia.com,
ameya.palande@nokia.com, markus.lehtonen@nokia.com,
roger.quadros@nokia.com
Subject: Re: [PATCHv2 2/2] omap: rx51: add support for USB chargers
Date: Thu, 19 Aug 2010 16:40:42 +0400 [thread overview]
Message-ID: <20100819124042.GA15837@oksana.dev.rtsoft.ru> (raw)
In-Reply-To: <1282219777-17657-3-git-send-email-ext-heikki.krogerus@nokia.com>
On Thu, Aug 19, 2010 at 03:09:37PM +0300, Krogerus Heikki (EXT-Teleca/Helsinki) wrote:
> From: Heikki Krogerus <ext-heikki.krogerus@nokia.com>
>
> This enables isp1704 power supply driver on RX51, allowing
> USB charger detection with N900.
>
> Signed-off-by: Heikki Krogerus <ext-heikki.krogerus@nokia.com>
> ---
> arch/arm/mach-omap2/board-rx51-peripherals.c | 5 +++++
> 1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c
> index 9a5eb87..a4b1f8b 100644
> --- a/arch/arm/mach-omap2/board-rx51-peripherals.c
> +++ b/arch/arm/mach-omap2/board-rx51-peripherals.c
> @@ -104,6 +104,10 @@ static struct spi_board_info rx51_peripherals_spi_board_info[] __initdata = {
> },
> };
>
> +static struct platform_device rx51_charger_device = {
> + .name = "isp1704_charger",
> +};
> +
> #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE)
>
> #define RX51_GPIO_CAMERA_LENS_COVER 110
> @@ -909,5 +913,6 @@ void __init rx51_peripherals_init(void)
> spi_register_board_info(rx51_peripherals_spi_board_info,
> ARRAY_SIZE(rx51_peripherals_spi_board_info));
> omap2_hsmmc_init(mmc);
> + platform_device_register(&rx51_charger_device);
Maybe
platform_device_register_simple("isp1704_charger", -1, NULL, 0);
?
Thanks,
--
Anton Vorontsov
email: cbouatmailru@gmail.com
irc://irc.freenode.net/bd2
next prev parent reply other threads:[~2010-08-19 12:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-19 12:09 [PATCHv2 0/2] add isp1704 power supply driver Krogerus Heikki (EXT-Teleca/Helsinki)
2010-08-19 12:09 ` [PATCHv2 1/2] power_supply: add isp1704 charger detection driver Krogerus Heikki (EXT-Teleca/Helsinki)
2010-08-19 12:36 ` Anton Vorontsov
2010-08-19 12:09 ` [PATCHv2 2/2] omap: rx51: add support for USB chargers Krogerus Heikki (EXT-Teleca/Helsinki)
2010-08-19 12:40 ` Anton Vorontsov [this message]
2010-08-19 13:09 ` Heikki Krogerus
2010-08-19 14:25 ` Roger Quadros
2010-08-20 7:25 ` Tony Lindgren
2010-08-20 16:24 ` Anton Vorontsov
2010-08-20 8:41 ` Ameya Palande
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100819124042.GA15837@oksana.dev.rtsoft.ru \
--to=cbouatmailru@gmail.com \
--cc=ameya.palande@nokia.com \
--cc=dwmw2@infradead.org \
--cc=ext-heikki.krogerus@nokia.com \
--cc=felipe.balbi@nokia.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=markus.lehtonen@nokia.com \
--cc=roger.quadros@nokia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.