summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf609/boards
Commit message (Collapse)AuthorAgeFilesLines
* bf609: add resources for lcd nl8048Scott Jiang2015-04-231-1/+30
| | | | | Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com> Signed-off-by: Steven Miao <realmz6@gmail.com>
* bf609: remove softswitch i2c configuration from adv7842 and adv7511 platform ↵Sonic Zhang2015-04-231-2/+0Star
| | | | | | data Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
* bf609: add platform data for soft switch devices on the video extendersSonic Zhang2015-04-231-0/+22
| | | | Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
* bf609: add gpio soft switch platform data for mcp23017 i2c devicesSonic Zhang2015-04-231-0/+27
| | | | Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
* bf609: use new SND_BF6XX_PCM to choose audio pcm driverScott Jiang2015-04-231-4/+4
| | | | | | | There is a new bf6xx audio dma driver, so we don't reuse bf5xx i2s pcm driver again. Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com>
* Input: bfin_rotary - use generic IO functionsSonic Zhang2015-02-161-0/+5
| | | | | | | | | Instead of using arch-specific accessors remap rotary register physical address into kernel space in probe and use standard readw and writew to access rotary MMRs. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
* Input: bfin_rotary - move platform header to linux/platform_dataSonic Zhang2015-02-161-1/+1
| | | | | | | | The platform data definition of the rotary driver should be generic for all architectures. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
* blackfin: bind different groups of one pinmux function to different state nameSonic Zhang2014-07-261-9/+8Star
| | | | | Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Steven Miao <realmz6@gmail.com>
* pm: bf609: cleanup smc nor flashSteven Miao2014-07-261-3/+0Star
| | | | | | | drop smc pin state change code, pin state will be saved in pinctrl-adi2 driver cleanup nor flash init/exit for pm suspend/resume Signed-off-by: Steven Miao <realmz6@gmail.com>
* spi: convert spi-bfin-v3.c to a multiplatform driverScott Jiang2014-04-141-11/+11
| | | | | | | | Spi v3 controller is not only used on Blackfin. So rename it and use ioread/iowrite api to make it work on other platform. Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com> Signed-off-by: Mark Brown <broonie@linaro.org>
* blackfin: cleanup board filesSteven Miao2014-04-121-73/+58Star
| | | | | | using IS_ENABLED() macro instead of defined(CONFIG_XXX) || defined(CONFIG_XXX_MODULE) Signed-off-by: Steven Miao <realmz6@gmail.com>
* Merge branch 'v4l_for_linus' of ↵Linus Torvalds2014-01-311-1/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media Pull media updates from Mauro Carvalho Chehab: - a new jpeg codec driver for Samsung Exynos (jpeg-hw-exynos4) - a new dvb frontend for ds2103 chipset (m88ds2103) - a new sensor driver for Samsung S5K5BAF UXGA (s5k5baf) - new drivers for R-Car VSP1 - a new radio driver: radio-raremono - a new tuner driver for ts2022 chipset (m88ts2022) - the analog part of em28xx is now a separate module that only load/runs if the device is not a pure digital TV device - added a staging driver for bcm2048 radio devices - the omap 2 video driver (omap24xx) was moved to staging. This driver is for an old hardware and uses a deprecated Kernel internal API. If nobody cares enough to fix it, it would be removed on a couple Kernel releases - the sn9c102 driver was moved to staging. This driver was replaced by gspca, and disabled on some distros, as almost all devices are known to work properly with gspca. It should be removed from kernel on a couple Kernel releases - lots of driver fixes, improvements and cleanups * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (421 commits) [media] media: v4l2-dev: fix video device index assignment [media] rc-core: reuse device numbers [media] em28xx-cards: properly initialize the device bitmap [media] Staging: media: Fix line length exceeding 80 characters in as102_drv.c [media] Staging: media: Fix line length exceeding 80 characters in as102_fe.c [media] Staging: media: Fix quoted string split across line in as102_fe.c [media] media: st-rc: Add reset support [media] m2m-deinterlace: fix allocated struct type [media] radio-usb-si4713: fix sparse non static symbol warnings [media] em28xx-audio: remove needless check before usb_free_coherent() [media] au0828: Fix sparse non static symbol warning Revert "[media] go7007-usb: only use go->dev after allocated" [media] em28xx-audio: provide an error code when URB submit fails [media] em28xx: fix check for audio only usb interfaces when changing the usb alternate setting [media] em28xx: fix usb alternate setting for analog and digital video endpoints > 0 [media] em28xx: make 'em28xx_ctrl_ops' static em28xx-alsa: Fix error patch for init/fini [media] em28xx-audio: flush work at .fini [media] drxk: remove the option to load firmware asynchronously [media] em28xx: adjust period size at runtime ...
| * [media] adv7842: set LLC DLL phase from platform_dataHans Verkuil2014-01-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The correct LLC DLL phase depends on the board layout, so this should be part of the platform_data. Also updated the platform_data in ezkit to ensure that what was the old default value is now explicitly specified, so the behavior for that board is unchanged. Tested-by: Martin Bugge <marbugge@cisco.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Cc: Scott Jiang <scott.jiang.linux@gmail.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
| * [media] adv7842: obtain free-run mode from the platform_dataMartin Bugge2014-01-071-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | The free-run mode can be board-specific. Also updated the platform_data in ezkit to ensure that what was the old default value is now explicitly specified, so the behavior for that board is unchanged. Signed-off-by: Martin Bugge <marbugge@cisco.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Cc: Scott Jiang <scott.jiang.linux@gmail.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
| * [media] adv7842: support YCrCb analog input, receive CEA formats as RGB on ↵Hans Verkuil2014-01-071-1/+0Star
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | VGA input Added support for YCrCb analog input. If input is ADV7842_MODE_RGB and RGB quantization range is set to V4L2_DV_RGB_RANGE_AUTO, then video with CEA timings will be received as RGB. For ADV7842_MODE_COMP, automatic CSC mode will be selected. See table 48 on page 281 in "ADV7842 Hardware Manual, Rev. 0, January 2011" for details. Make sure that when switching inputs the RGB quantization range is updated as well. Also updated the platform_data in ezkit to ensure that what was the old default value is now explicitly specified, so the behavior for that board is unchanged. Signed-off-by: Mats Randgaard <matrandg@cisco.com> Signed-off-by: Martin Bugge <marbugge@cisco.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Cc: Scott Jiang <scott.jiang.linux@gmail.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
* | blackfin: Update stmmac callback signaturesChen-Yu Tsai2014-01-201-1/+1
|/ | | | | | | | stmmac callbacks have been extended for better separation. Update them to avoid breakage. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: David S. Miller <davem@davemloft.net>
* blackfin: serial: Add serial port_fer and port_mux early platform resources.Sonic Zhang2013-11-151-12/+19
| | | | | | | | The serial driver sets up port function manually in early platform probe stage if the ADI GPIO2 driver is used. Remove the bfin_sport_uart early platform devices. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
* blackfin: pinctrl-adi2: code cleanup after using pinctrl-adi2Steven Miao2013-11-151-66/+4Star
| | | | Signed-off-by: Steven Miao <realmz6@gmail.com>
* blackfin: adi gpio driver and pinctrl driver supportSonic Zhang2013-11-151-11/+460
| | | | | | | | | | Remove gpio driver for new gpio controller on BF54x and BF60x. Build the bfin_gpio driver only when other BF5xx processors are selected. Replace the prefix of some gpio and peripheral functions with adi. add portmux platform data in machine portmux.h Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Steven Miao <realmz6@gmail.com>
* blackfin: Add STMMAC platform data to enable dwmac1000 driver on BF60x.Sonic Zhang2013-09-131-0/+16
| | | | | | | | | | | - Enable GMAC - Set propler DMA PBL - Disable DMA store and forward mode - Select PTP input clock from MII clock. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Steven Miao <realmz6@gmail.com>
* bf609: adv7343: add S-Video and Component output supportScott Jiang2013-09-131-1/+22
| | | | Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com>
* bf609: add adv7343 video encoder supportScott Jiang2013-09-131-0/+54
| | | | Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com>
* Merge tag 'blackfin-for-linus' of ↵Linus Torvalds2013-07-101-10/+9Star
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/realmz6/blackfin-linux Pull blackfin updates from Steven Miao: "blackfin updates for Linux 3.11" * tag 'blackfin-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/realmz6/blackfin-linux: smp: refine bf561 smpboot code bf609: stmmac: fix build after stmmac_mdio_bus_data changed bf609: add cpu revision 0.1 bf609: rename bfin6xx_spi to bfin_spi3 kgdb: blackfin: include irq_regs.h in kgdb.c
| * bf609: stmmac: fix build after stmmac_mdio_bus_data changedSteven Miao2013-07-091-1/+0Star
| | | | | | | | Signed-off-by: Steven Miao <realmz6@gmail.com>
| * bf609: rename bfin6xx_spi to bfin_spi3Scott Jiang2013-07-091-9/+9
| | | | | | | | | | Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com> Signed-off-by: Steven Miao <realmz6@gmail.com>
* | ASoC: blackfin: Switch bf5xx-ad1836 from bf5xx-tdm to bf5xx-i2sLars-Peter Clausen2013-05-301-1/+1
|/ | | | | | | | The bf5xx-i2s driver now has support for TDM mode and the bf5xx-tdm driver is going to be removed soon, so switch the driver over to bf5xx-i2s. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* [media] blackfin: replace V4L2_IN/OUT_CAP_CUSTOM_TIMINGS by DV_TIMINGSHans Verkuil2013-03-191-4/+4
| | | | | | | | | | | The use of V4L2_IN/OUT_CAP_CUSTOM_TIMINGS is obsolete, use DV_TIMINGS instead. Note that V4L2_IN/OUT_CAP_CUSTOM_TIMINGS is just a #define for V4L2_IN/OUT_CAP_DV_TIMINGS. At some point in the future these CUSTOM_TIMINGS defines might be removed. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Scott Jiang <scott.jiang.linux@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* blackfin: add platform device for ad1836 machine driverScott Jiang2012-08-181-0/+19
| | | | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* bf60x: fix build warningBob Liu2012-07-241-1/+0Star
| | | | | | Fix several build warning while using bf609-ezkit_defconfig. Signed-off-by: Bob Liu <lliubbo@gmail.com>
* PM: add BF60x flash suspend and resume supportSteven Miao2012-07-241-1/+16
| | | | | Signed-off-by: Steven Miao <realmz6@gmail.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
* bf609: add adv7511 display supportScott Jiang2012-07-241-11/+90
| | | | | Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
* bf60x: vs6624 pin updateVivi Li2012-07-241-1/+3
| | | | | | | | Change ce pin to PE4 according to new adaptor board and re-define ppi for vs6624 to avoid gpio conflict. Signed-off-by: Vivi Li <vivi.li@analog.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
* bf609: reuse bf5xx-i2s-pcm.c as i2s pcm driverScott Jiang2012-07-241-2/+2
| | | | | | | It's the same for both bf5xx and bf6xx soc. Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
* bf609: convert vs6624 blank_clocks to black_pixelsScott Jiang2012-07-241-1/+1
| | | | | | | PPI driver has changed blank units from clocks to pixels. Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
* bf609: add HDMI support for adv7842Scott Jiang2012-07-241-7/+20
| | | | | Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
* bf609: add CVBS and S-Video support for adv7842Scott Jiang2012-07-241-5/+18
| | | | | Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
* gpiokeys: add gpio keyboard platform deviceSteven Miao2012-07-241-0/+22
| | | | | Signed-off-by: Steven Miao <realmz6@gmail.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
* blackfin: bf609-ezkit: add probe_type for norflashBob Liu2012-07-241-0/+3
| | | | | | | Set .probe_type = "map_rom" for norflash so that xip_test can run correctly. Signed-off-by: Bob Liu <lliubbo@gmail.com>
* bf609: add ssm2602 support on bf609 platformScott Jiang2012-07-241-0/+5
| | | | | Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
* v4l2: add adv7842 video decoder driverScott Jiang2012-07-241-0/+99
| | | | | Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
* bf609: bfin_crc: Remove unused CRC TX DMA platform resources.Sonic Zhang2012-07-241-5/+0Star
| | | | | Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
* bf609: crypto: Add blackfin crypto crc driver platform data.Sonic Zhang2012-07-241-0/+41
| | | | | Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
* bf609: change ad7877 cs and irq pinScott Jiang2012-07-241-4/+4
| | | | | | | | Extend chip select number supported by spi master as well because we can accept SPISEL1-SPISEL7 and all GPIO. Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
* blackfin: twi: Move TWI peripheral pin request array to platform dataSonic Zhang2012-05-211-0/+10
| | | | | Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
* blackfin:mach-bf609: fix norflash for bf609-ezkitBob Liu2012-05-211-4/+4
| | | | | | | Set smc register to async flash protocol mode and use physmap driver instead of bfin-bf6xx. Signed-off-by: Bob Liu <lliubbo@gmail.com>
* blackfin: mach-bf609: add can_wakeup to ethernet deviceBob Liu2012-05-211-0/+1
| | | | Signed-off-by: Bob Liu <lliubbo@gmail.com>
* blackfin: bf60x: fix compiling warningBob Liu2012-05-211-1/+2
| | | | | | Fix several compiling warning for bf60x. Signed-off-by: Bob Liu <lliubbo@gmail.com>
* blackfin: mach-bf609: add machine filesSonic Zhang2012-05-213-0/+1345
Add machine files for bf60x including head files, Kconfig/Makefile and board file. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>