Michael Hennerich
ebd5833327
Blackfin: fix incomplete renaming of the bfin-twi-lcd driver
...
The sed used to rename the bfin-twi-lcd only replaced the first instance
rather than all which led to the resources not being enabled when the
driver was built as a module.
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-07-16 01:52:32 -04:00
Mike Frysinger
3a7f5b1605
Blackfin: drop unused ISP1760 port1_disable from board resources
...
The port1 disable stuff was dropped from the USB ISP1760, so update the
Blackfin boards accordingly.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-06-22 21:16:13 -04:00
Mike Frysinger
7a8b71db9d
Blackfin: bf548-ezkit: update smsc911x resources
...
The older smsc911x driver made platform data optional, but the newer one
always requires it, so add proper settings to the BF548-EZKIT.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-06-13 07:20:12 -04:00
Yi Li
53122693c3
Blackfin: define SPI IRQ in board resources
...
The Blackfin SPI driver can be driven by an IRQ now, so declare it in
the board resources.
Signed-off-by: Yi Li <yi.li@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-06-13 07:20:10 -04:00
Michael Hennerich
ffc4d8bc44
Blackfin: bf548-ezkit/bf537-stamp: add resources for ADXL345/346
...
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-06-12 06:11:55 -04:00
Mike Frysinger
a261eec000
Blackfin: rename some Blackfin drivers
...
Try to keep the naming conventions consistent, so:
SPI_ADC_BF533 -> BFIN_SPI_ADC
TWI_LCD -> BFIN_TWI_LCD
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-06-12 06:11:41 -04:00
Mike Frysinger
2678479c33
Blackfin arch: drop CONFIG_I2C_BOARDINFO ifdefs
...
Drop CONFIG_I2C_BOARDINFO ifdefs as the common i2c header handles this
already by stubbing things out
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2009-02-04 16:49:45 +08:00
Mike Frysinger
8d8921a224
Blackfin arch: fix bug: kernel crash when enable SDIO host driver
...
update bfin-sdh platform data to fix this issue.
Pointed-out-by: Dominik Herwald <d.herwald@dsh-elektronik.de>
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2009-01-07 23:14:39 +08:00
Sonic Zhang
f153c5546f
Blackfin arch: Set PB4 as the default irq for bf548 board v1.4+.
...
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2009-01-07 23:14:39 +08:00
Cliff Cai
501674a593
Blackfin arch: add SDIO host driver platform data
...
Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2009-01-07 23:14:38 +08:00
Bryan Wu
fea05dacda
Blackfin arch: Fix bug - wrong endpoint number and dma channels of USB
...
Blackfin MUSB has 8 endpoints including ep0 and 8 dma channels not 7
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2009-01-07 23:14:39 +08:00
Graf Yang
42bd8bcb2f
Blackfin arch: Modify bfin_sir device configuration to board file
...
Signed-off-by: Graf Yang <graf.yang@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2009-01-07 23:14:39 +08:00
Mike Frysinger
c97618d3b7
Blackfin arch: add simple-gpio resources to all adi/tinyboards
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2009-01-07 23:14:38 +08:00
Mike Frysinger
fe85cad25e
Blackfin arch: make ADI board names consistent
...
Cc: Graf Yang <graf.yang@analog.com>
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2008-11-18 17:48:22 +08:00
Mike Frysinger
2de73e71c2
Blackfin arch: use physmap in board resources rather than legacy config method
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2008-11-18 17:48:22 +08:00
Mike Frysinger
10a88a2be5
Blackfin arch: enable i2c_bfin_twi0_device in cm_bf548 board
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2008-11-18 17:48:22 +08:00
Michael Hennerich
3f37569044
Blackfin arch: Enable ISP1760 USB Host Driver in platform device initialization code.
...
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2008-11-18 17:48:22 +08:00
Mike Frysinger
664d0403f9
Blackfin arch: fix end address for parallel flash and increase kernel partition size to 4meg
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2008-10-09 17:28:36 +08:00
Sonic Zhang
8606801b03
Blackfin arch: flags of UART3 mem resource is missing
...
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2008-10-09 13:55:33 +08:00
Michael Hennerich
aca5e4aac8
Blackfin arch: add BF54x / BF52x Rotary Input device driver platform resource to board file
...
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2008-10-08 14:27:59 +08:00
Mike Frysinger
f4585a0847
Blackfin arch: only include asm/cplb.h when it is truly used
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2008-10-13 14:45:21 +08:00
Mike Frysinger
1ffb9bef23
Blackfin arch: add note about newer ezkits using PB4 for AD7877 instead of PJ11
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2008-10-07 16:06:27 +08:00
Bryan Wu
50041acbe4
Blackfin arch: use new platform data interface of musb to replace old one
...
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2008-10-08 13:39:40 +08:00
Bryan Wu
639f657145
Blackfin arch: move include/asm-blackfin header files to arch/blackfin
...
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2008-08-27 10:51:02 +08:00
Robin Getz
aa58297763
Blackfin arch: be consistant with parition names, and ensure the bus is identified
...
Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2008-08-05 17:47:29 +08:00
Michael Hennerich
0a6304a951
Blackfin arch: Add ISP1760 board resources to BF548-EZKIT
...
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2008-07-26 16:14:57 +08:00
Mike Frysinger
cc2e16bd35
Blackfin arch: add missing IORESOURCE_MEM flags to UART3
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2008-07-19 16:43:51 +08:00
Mike Frysinger
5bda27235b
Blackfin arch: protect only the SPI bus controller with CONFIG_SPI_BFIN
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2008-06-07 15:03:01 +08:00
Michael Hennerich
b06dcee9c8
Blackfin arch: Remove bad and usless code
...
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2008-05-31 15:35:40 +08:00
Michael Hennerich
f086f23435
Blackfin arch: Cleanup no functional changes
...
Singed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2008-05-20 16:42:39 +08:00
Mike Frysinger
e4f7c0bf1f
[Blackfin] arch: protect linux/usb/musb.h include until the driver gets mainlined
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2008-05-10 00:08:12 +08:00
Michael Hennerich
14b03204c8
[Blackfin] arch: Functional power management support: Add CPU and platform voltage scaling support
...
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2008-05-07 11:41:26 +08:00
Jean Delvare
3760f73671
i2c: Convert most new-style drivers to use module aliasing
...
Based on earlier work by Jon Smirl and Jochen Friedrich.
Update most new-style i2c drivers to use standard module aliasing
instead of the old driver_name/type driver matching scheme. I've
left the video drivers apart (except for SoC camera drivers) as
they're a bit more diffcult to deal with, they'll have their own
patch later.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Jon Smirl <jonsmirl@gmail.com>
Cc: Jochen Friedrich <jochen@scram.de>
2008-04-29 23:11:40 +02:00
Graf Yang
5be36d22b2
[Blackfin] arch: add Blackfin on-chip SIR IrDA driver support
...
- add platform device resources in board files
- add new bfin_sir.h to each machines
Signed-off-by: Graf Yang <graf.yang@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2008-04-25 03:09:15 +08:00
Grace Pan
ac76d889b5
[Blackfin] arch: Adjust the u-boot and kernel image partition size in mtd device.
...
Signed-off-by: Grace Pan <grace.pan@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2008-04-24 06:33:56 +08:00
Bernd Schmidt
37fa24212e
[Blackfin] arch: Allow AD1836A board to be connected, either to SPORT2 or SPORT3.
...
Signed-off-by: Bernd Schmidt <bernds_cb1@t-online.de>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2008-04-24 05:19:02 +08:00
Michael Hennerich
db68254f06
[Blackfin] arch: Apply Bluetechnix vendor patch
...
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2008-04-24 03:18:59 +08:00
Harvey Harrison
b85d858b40
[Blackfin] arch: __FUNCTION__ is gcc-specific, use __func__
...
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Cc: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2008-04-23 09:39:01 +08:00
Bryan Wu
81d9c7f27d
[Blackfin] arch: add i2c board info struct and move to new-style i2c interface
...
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2008-03-26 10:02:13 +08:00
Mike Frysinger
793dc27b51
[Blackfin] arch: conditionally enable flash resources since it requests the async memory bank
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2008-03-26 08:09:12 +08:00
Michael Hennerich
3d7e6cf8f5
[Blackfin] arch: fix bug - allow SDH driver to be used as module
...
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2008-03-03 17:40:28 -07:00
Mike Frysinger
cad2ab65dd
[Blackfin] arch: add board resources for new simple-gpio char driver
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2008-02-22 17:01:31 +08:00
Mike Frysinger
edf056417d
[Blackfin] arch: fix bug - set right partition size in the board files
...
- set default u-boot partition size to 256k
- modify the offset with the size change
- use mtd defines (append for offset and full for size)
where applicable rather than churning constants when we dont have to
Signed-off-by: Grace Pan <grace.pan@analog.com>
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
2008-02-25 11:38:11 +08:00
Mike Frysinger
67f2d33ec0
[Blackfin] arch: fix build fails only include header files when enabled
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
2008-02-09 01:49:23 +08:00
Michael Hennerich
6e668936db
[Blackfin] arch: Encourage users to use the spidev character driver: Provide platform support
...
- Enable kernel generic spidev driver for blackfin SPI ADC
- spi_adc driver, document and test sample not synced
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
2008-02-09 01:54:09 +08:00
Mike Frysinger
a01d7a76d8
[Blackfin] arch: this is an ezkit, not a stamp, so fixup the init function name
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
2008-02-02 15:34:56 +08:00
Mike Frysinger
de8c43f2fc
[Blackfin] arch: use common flash driver to setup partitions rather than the bf5xx-flash driver
...
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
2008-01-24 17:14:04 +08:00
Michael Hennerich
2463ef22bf
[Blackfin] arch: replace current blackfin specific pfbutton driver with kernel generic gpio key driver
...
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
2008-01-27 16:49:48 +08:00
Bryan Wu
2935077e06
[Blackfin] arch: Fix if/def BUG - and define is multipoint NO
...
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
2007-12-24 12:20:19 +08:00
Michael Hennerich
50657afdd9
[Blackfin] arch: Trash bf54x-hcd driver - we use the musb driver
...
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
2007-12-24 00:16:01 +08:00