From: Tony Lindgren <tony@atomide.com>
To: Cory Maccarrone <darkstar6262@gmail.com>
Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 1/5] [OMAP] HTCHERALD: MMC, I2C, HTCPLD and related devices
Date: Wed, 4 Aug 2010 13:10:09 +0300 [thread overview]
Message-ID: <20100804101008.GD9881@atomide.com> (raw)
In-Reply-To: <1280762976-17284-2-git-send-email-darkstar6262@gmail.com>
* Cory Maccarrone <darkstar6262@gmail.com> [100802 18:23]:
> This change adds in MMC and I2C support to the HTC Herald board, as well
> as adding the HTCPLD driver for the PLD used on this phone. It also
> adds in the gpio-keys entries for the front directional keys and
> selector and the cursor keys on the slide-out keyboard, and gpio-leds
> support for the LEDs attached to the htcpld.
>
> The Kconfig was also modified to add 64 GPIOs and IRQs to the default
> maximum number of each for the HTC herald. This is needed because the
> HTCPLD chip on this board exposes an additional 32 gpios and 16 irqs
> that would not fit in the default limits.
>
> Signed-off-by: Cory Maccarrone <darkstar6262@gmail.com>
> ---
> arch/arm/mach-omap1/Kconfig | 2 +
> arch/arm/mach-omap1/board-htcherald.c | 288 ++++++++++++++++++++++++++++++++-
> 2 files changed, 284 insertions(+), 6 deletions(-)
>
> diff --git a/arch/arm/mach-omap1/Kconfig b/arch/arm/mach-omap1/Kconfig
> index 3b02d3b..94d5b52 100644
> --- a/arch/arm/mach-omap1/Kconfig
> +++ b/arch/arm/mach-omap1/Kconfig
> @@ -64,6 +64,8 @@ config MACH_OMAP_HTCWIZARD
> config MACH_HERALD
> bool "HTC Herald"
> depends on ARCH_OMAP850
> + select OMAP_GPIO_EXTRA64
> + select OMAP_IRQ_EXTRA64
> help
> HTC Herald smartphone support (AKA T-Mobile Wing, ...)
>
Looking at this patches again.. These above does not exist in
the mainline kernel.
> +/* HTCPLD definitions */
> +
> +/*
> + * CPLD Logic
> + *
> +
> +Chip 3 - 0x03
> +
> +Function 7 6 5 4 3 2 1 0
> +------------------------------------
> +DPAD light x x x x x x x 1
> +SoundDev x x x x 1 x x x
> +Screen white 1 x x x x x x x
> +MMC power on x x x x x 1 x x
> +Happy times (n) 0 x x x x 1 x x
> +
> +Chip 4 - 0x04
> +
> +Function 7 6 5 4 3 2 1 0
> +------------------------------------
> +Keyboard light x x x x x x x 1
> +LCD Bright (4) x x x x x 1 1 x
> +LCD Bright (3) x x x x x 0 1 x
> +LCD Bright (2) x x x x x 1 0 x
> +LCD Bright (1) x x x x x 0 0 x
> +LCD Off x x x x 0 x x x
> +LCD image (fb) 1 x x x x x x x
> +LCD image (white) 0 x x x x x x x
> +Caps lock LED x x 1 x x x x x
> +
> +Chip 5 - 0x05
> +
> +Function 7 6 5 4 3 2 1 0
> +------------------------------------
> +Red (solid) x x x x x 1 x x
> +Red (flash) x x x x x x 1 x
> +Green (GSM flash) x x x x 1 x x x
> +Green (GSM solid) x x x 1 x x x x
> +Green (wifi flash) x x 1 x x x x x
> +Blue (bt flash) x 1 x x x x x x
> +DPAD Int Enable 1 x x x x x x 0
> +
> +(Combinations of the above can be made for different colors.)
> +The direction pad interrupt enable must be set each time the
> +interrupt is handled.
> +
> +Chip 6 - 0x06
> +
> +Function 7 6 5 4 3 2 1 0
> +------------------------------------
> +Vibrator x x x x 1 x x x
> +Alt LED x x x 1 x x x x
> +Screen white 1 x x x x x x x
> +Screen white x x 1 x x x x x
> +Screen white x 0 x x x x x x
> +Enable kbd dpad x x x x x x 0 x
> +Happy Times 0 1 0 x x x 0 x
> +*/
/*
* Please put the above into standard comments like
* this thanks
*/
Other than that, looks good to me. Have to leave this to the next
merge window though.
Regards,
Tony
WARNING: multiple messages have this Message-ID (diff)
From: tony@atomide.com (Tony Lindgren)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/5] [OMAP] HTCHERALD: MMC, I2C, HTCPLD and related devices
Date: Wed, 4 Aug 2010 13:10:09 +0300 [thread overview]
Message-ID: <20100804101008.GD9881@atomide.com> (raw)
In-Reply-To: <1280762976-17284-2-git-send-email-darkstar6262@gmail.com>
* Cory Maccarrone <darkstar6262@gmail.com> [100802 18:23]:
> This change adds in MMC and I2C support to the HTC Herald board, as well
> as adding the HTCPLD driver for the PLD used on this phone. It also
> adds in the gpio-keys entries for the front directional keys and
> selector and the cursor keys on the slide-out keyboard, and gpio-leds
> support for the LEDs attached to the htcpld.
>
> The Kconfig was also modified to add 64 GPIOs and IRQs to the default
> maximum number of each for the HTC herald. This is needed because the
> HTCPLD chip on this board exposes an additional 32 gpios and 16 irqs
> that would not fit in the default limits.
>
> Signed-off-by: Cory Maccarrone <darkstar6262@gmail.com>
> ---
> arch/arm/mach-omap1/Kconfig | 2 +
> arch/arm/mach-omap1/board-htcherald.c | 288 ++++++++++++++++++++++++++++++++-
> 2 files changed, 284 insertions(+), 6 deletions(-)
>
> diff --git a/arch/arm/mach-omap1/Kconfig b/arch/arm/mach-omap1/Kconfig
> index 3b02d3b..94d5b52 100644
> --- a/arch/arm/mach-omap1/Kconfig
> +++ b/arch/arm/mach-omap1/Kconfig
> @@ -64,6 +64,8 @@ config MACH_OMAP_HTCWIZARD
> config MACH_HERALD
> bool "HTC Herald"
> depends on ARCH_OMAP850
> + select OMAP_GPIO_EXTRA64
> + select OMAP_IRQ_EXTRA64
> help
> HTC Herald smartphone support (AKA T-Mobile Wing, ...)
>
Looking at this patches again.. These above does not exist in
the mainline kernel.
> +/* HTCPLD definitions */
> +
> +/*
> + * CPLD Logic
> + *
> +
> +Chip 3 - 0x03
> +
> +Function 7 6 5 4 3 2 1 0
> +------------------------------------
> +DPAD light x x x x x x x 1
> +SoundDev x x x x 1 x x x
> +Screen white 1 x x x x x x x
> +MMC power on x x x x x 1 x x
> +Happy times (n) 0 x x x x 1 x x
> +
> +Chip 4 - 0x04
> +
> +Function 7 6 5 4 3 2 1 0
> +------------------------------------
> +Keyboard light x x x x x x x 1
> +LCD Bright (4) x x x x x 1 1 x
> +LCD Bright (3) x x x x x 0 1 x
> +LCD Bright (2) x x x x x 1 0 x
> +LCD Bright (1) x x x x x 0 0 x
> +LCD Off x x x x 0 x x x
> +LCD image (fb) 1 x x x x x x x
> +LCD image (white) 0 x x x x x x x
> +Caps lock LED x x 1 x x x x x
> +
> +Chip 5 - 0x05
> +
> +Function 7 6 5 4 3 2 1 0
> +------------------------------------
> +Red (solid) x x x x x 1 x x
> +Red (flash) x x x x x x 1 x
> +Green (GSM flash) x x x x 1 x x x
> +Green (GSM solid) x x x 1 x x x x
> +Green (wifi flash) x x 1 x x x x x
> +Blue (bt flash) x 1 x x x x x x
> +DPAD Int Enable 1 x x x x x x 0
> +
> +(Combinations of the above can be made for different colors.)
> +The direction pad interrupt enable must be set each time the
> +interrupt is handled.
> +
> +Chip 6 - 0x06
> +
> +Function 7 6 5 4 3 2 1 0
> +------------------------------------
> +Vibrator x x x x 1 x x x
> +Alt LED x x x 1 x x x x
> +Screen white 1 x x x x x x x
> +Screen white x x 1 x x x x x
> +Screen white x 0 x x x x x x
> +Enable kbd dpad x x x x x x 0 x
> +Happy Times 0 1 0 x x x 0 x
> +*/
/*
* Please put the above into standard comments like
* this thanks
*/
Other than that, looks good to me. Have to leave this to the next
merge window though.
Regards,
Tony
next prev parent reply other threads:[~2010-08-04 10:09 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-02 15:29 [PATCH 0/5] HTC Herald various device support Cory Maccarrone
2010-08-02 15:29 ` Cory Maccarrone
2010-08-02 15:29 ` [PATCH 1/5] [OMAP] HTCHERALD: MMC, I2C, HTCPLD and related devices Cory Maccarrone
2010-08-02 15:29 ` Cory Maccarrone
2010-08-04 10:10 ` Tony Lindgren [this message]
2010-08-04 10:10 ` Tony Lindgren
2010-08-08 17:39 ` [PATCH 1/5 v2] " Cory Maccarrone
2010-08-08 17:39 ` Cory Maccarrone
2010-08-02 15:29 ` [PATCH 2/5] [OMAP] htcherald: SPI register config, TSC2046 touchscreen Cory Maccarrone
2010-08-02 15:29 ` Cory Maccarrone
2010-08-04 10:12 ` Tony Lindgren
2010-08-04 10:12 ` Tony Lindgren
2010-08-02 15:29 ` [PATCH 3/5] [omap1] omap7xx clocks, mux, serial fixes Cory Maccarrone
2010-08-02 15:29 ` Cory Maccarrone
2010-08-04 10:13 ` Tony Lindgren
2010-08-04 10:13 ` Tony Lindgren
2010-08-02 15:29 ` [PATCH 4/5] [omap1] Bluetooth device code common to HTC smartphones Cory Maccarrone
2010-08-02 15:29 ` Cory Maccarrone
2010-08-04 10:15 ` Tony Lindgren
2010-08-04 10:15 ` Tony Lindgren
2010-08-08 17:28 ` Cory Maccarrone
2010-08-08 17:28 ` Cory Maccarrone
2010-08-09 7:43 ` Tony Lindgren
2018-06-19 20:24 ` Tony Lindgren
2010-08-09 17:28 ` Cory Maccarrone
2010-08-09 17:28 ` Cory Maccarrone
2010-08-10 6:36 ` Tony Lindgren
2010-08-10 6:36 ` Tony Lindgren
2010-08-02 15:29 ` [PATCH 5/5] [htcherald] Add board support for UARTs, bluetooth Cory Maccarrone
2010-08-02 15:29 ` Cory Maccarrone
2010-08-04 10:16 ` Tony Lindgren
2010-08-04 10:16 ` Tony Lindgren
-- strict thread matches above, loose matches on Subject: below --
2010-08-02 15:23 [PATCH 0/5] HTC Herald various device support Cory Maccarrone
2010-08-02 15:23 ` [PATCH 1/5] [OMAP] HTCHERALD: MMC, I2C, HTCPLD and related devices Cory Maccarrone
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=20100804101008.GD9881@atomide.com \
--to=tony@atomide.com \
--cc=darkstar6262@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-omap@vger.kernel.org \
/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.