summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-bcm2835
Commit message (Collapse)AuthorAgeFilesLines
* ARM: bcm2835: mbox: convert to streaming DMA opsLucas Stach2015-03-061-3/+5
| | | | | | | | | Move to the common streaming DMA ops in order to get rid of the direct usage of the ARM MMU functions for the cache maintenance. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: bcm2835: fix checkpatch warningAntony Pavlov2015-02-041-1/+1
| | | | | | | | | | | Here is checkpatch.pl log: WARNING: space prohibited between function name and open parenthesis '(' #134: FILE: arch/arm/mach-bcm2835/core.c:75: +void __noreturn reset_cpu (unsigned long addr) Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* raspberry-pi: mac address detection supportJean-Christophe PLAGNIOL-VILLARD2015-02-042-1/+15
| | | | | | | | | increase the mbox timeout as it take more time to retreive the mac fix led register too Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* regulator: add bcm2835 driverJean-Christophe PLAGNIOL-VILLARD2015-02-041-0/+49
| | | | | | | | | | | this will allow to handle IP power automatically and not at board level Mainline kernel need this as they do not have the regulator driver support as some IP such as USB are not power on at boot Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* raspberry-pi: add board model detectionJean-Christophe PLAGNIOL-VILLARD2015-02-041-0/+34
| | | | | | | as the name is very long, return ps1 to the next line Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/misc'Sascha Hauer2015-01-091-1/+1
|\
| * sizes.h: move include/sizes.h to include/linux/sizes.hMasahiro Yamada2015-01-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This file originates in Linux. Linux has it under include/linux/ directory since commit dccd2304cc90. Let's move it to the same place as well in barebox. This commit was generated by the following commands: find -name '*.[chS]' | xargs sed -i -e 's:<sizes.h>:<linux/sizes.h>:' git mv include/sizes.h include/linux/ Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: bcm2835: add DEBUG_LL supportAntony Pavlov2015-01-051-0/+27
|/ | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* video: add a BCM2835 framebuffer driverAndre Heider2013-11-061-0/+5
| | | | | | | | Use the mailbox driver to set up a framebuffer based on the firmware configuration. Signed-off-by: Andre Heider <a.heider@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: bcm2835: add missing mbox overscan response fieldAndre Heider2013-11-061-0/+1
| | | | | | | Add the missing "right" field to struct bcm2835_mbox_tag_overscan. Signed-off-by: Andre Heider <a.heider@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* bcm2835: move mci register at board levelJean-Christophe PLAGNIOL-VILLARD2013-11-042-1/+8
| | | | | | | not all board have a SD card. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: bcm2835: add a mailbox driver for VideoCoreAndre Heider2013-10-223-1/+573
| | | | | | | | | This allows exchanging data with the on-SoC GPU. Based on U-Boot code by Stephen Warren. Signed-off-by: Andre Heider <a.heider@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: bcm2835: register the clocksource device earlierAndre Heider2013-10-221-1/+2
| | | | | | | | | | RPi's mailbox driver is used early and it needs clock functions to handle timeouts. Register the driver straight after its clkdev. Signed-off-by: Andre Heider <a.heider@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: bcm2835: cleanup clock registeringAndre Heider2013-10-221-24/+7
| | | | | | | Sync exposed names while at it. Signed-off-by: Andre Heider <a.heider@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/boardinfo'Sascha Hauer2013-09-051-3/+0
|\ | | | | | | | | | | | | Conflicts: arch/mips/boards/qemu-malta/init.c commands/bootm.c drivers/of/base.c
| * Set model and hostname at boardlevelSascha Hauer2013-08-161-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | With multiboard support the compiletime generated BOARDINFO string gets more and more meaningless. This removes it from Kconfig and replaces it with a variable that can be set at boardlevel. Also many boards have a standard setting for the hostname in the environment. This patch also moves the standard to C code by calling barebox_set_hostname(). Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: remove include of mach/gpio.h for gpiolib usersSascha Hauer2013-08-161-1/+0
|/ | | | | | | | | | | | gpiolib user have nothing to define in their machine specific gpio.h, so do not include it. The only thing they could define would be ARCH_NR_GPIOS, but currently no architecture defines it. Should an architecure feel the need to do it this would be a good opportunity to get rid of this limitation. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Added sd driver for bcm2835 (Raspberry PI)wilhelm2013-05-301-0/+1
| | | | | | Replaced defines according to sdhci.h Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* clk: remove unused __clk_[get|put]Sascha Hauer2013-04-031-7/+0
| | | | | | | This is some unused code resulting from copying stuff from the kernel. Remove it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM bcm2835: Fix noreturn function does returnSascha Hauer2013-01-251-0/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Raspberry-Pi: add support (board)Carlo Caione2012-10-211-0/+15
| | | | | | Tested-By: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Carlo Caione <carlo.caione@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* BCM2835: add support (arch)Carlo Caione2012-10-218-0/+232
Signed-off-by: Carlo Caione <carlo.caione@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>