linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] OMAP1: UART / Bluetooth Support
@ 2010-06-01 22:32 Cory Maccarrone
  2010-06-01 22:32 ` [PATCH] [omap1] omap7xx clocks, mux, serial fixes Cory Maccarrone
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Cory Maccarrone @ 2010-06-01 22:32 UTC (permalink / raw)
  To: linux-omap; +Cc: linwizard-devel, Cory Maccarrone

This set of changes is specifically geared towards enabling bluetooth
support on the HTC Herald.  To do that, several things were done:

 * I added in the necessary clock and mux configuration to enable
   both UARTs to operate.

 * I modified the omap1 serial code to only initialize two UARTs if
   the CPU type is omap7xx.  These chips don't have 3 UARTs, and trying
   to initialize the third one causes deadlock.

 * I created a common bluetooth-handling driver for HTC smartphones
   like the herald.  This will be used later by other similar boards,
   such as the wizard and the opal.  The driver itself only implements
   an RFKILL switch to enable/disable the GPIO pins that control the
   bluetooth on these devices.

 * I added the new bluetooth driver and serial port init code to the
   herald board.

 * Finally, I updated the htcherald_defconfig both to add in bluetooth
   support, and to remove old unneeded cruft.

The on-board chip is a TI BRF6150 attached to the first UART.  Rather
than write (or port) a driver for this chip, this method was chosen because
bluez supports the chip over a UART with hciattach.  So, rather than
implement a full brf6150 driver, I expose and configure the serial
port it's attached to.

Cory Maccarrone (3):
  [omap1] omap7xx clocks, mux, serial fixes
  [omap1] Bluetooth device code common to HTC smartphones
  [htcherald] Add board support for UARTs, bluetooth

 arch/arm/configs/htcherald_defconfig      |  159 ++++++++-----------------
 arch/arm/mach-omap1/Makefile              |    2 +-
 arch/arm/mach-omap1/board-htcherald.c     |   23 ++++
 arch/arm/mach-omap1/clock_data.c          |   20 +++
 arch/arm/mach-omap1/htc-bt.c              |  183 +++++++++++++++++++++++++++++
 arch/arm/mach-omap1/include/mach/htc-bt.h |   22 ++++
 arch/arm/mach-omap1/mux.c                 |    4 +
 arch/arm/mach-omap1/serial.c              |    7 +
 arch/arm/plat-omap/include/plat/mux.h     |    4 +
 9 files changed, 315 insertions(+), 109 deletions(-)
 create mode 100644 arch/arm/mach-omap1/htc-bt.c
 create mode 100644 arch/arm/mach-omap1/include/mach/htc-bt.h


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-07-08 13:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-01 22:32 [PATCH] OMAP1: UART / Bluetooth Support Cory Maccarrone
2010-06-01 22:32 ` [PATCH] [omap1] omap7xx clocks, mux, serial fixes Cory Maccarrone
2010-07-05 13:22   ` Tony Lindgren
2010-07-08 13:50     ` Tony Lindgren
2010-06-01 22:32 ` [PATCH] [omap1] Bluetooth device code common to HTC smartphones Cory Maccarrone
2010-07-05 13:25   ` Tony Lindgren
2010-06-01 22:32 ` [PATCH] [htcherald] Add board support for UARTs, bluetooth Cory Maccarrone
2010-07-05 13:23   ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).