- Jun 02, 2015
-
-
Phil Elwell authored
BCM270x: Add USB controller to Device Tree
-
Phil Elwell authored
BCM270x: Move vc_mem
-
Noralf Trønnes authored
Add Device Tree support to dwc_otg driver. Add device to Device Tree. Don't add platform devices when booting in DT mode. Tested on Pi1 and Pi2 with and without DT. Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
-
- Jun 01, 2015
-
-
mwilliams03 authored
-
mwilliams03 authored
-
Phil Elwell authored
-
Noralf Trønnes authored
Add Device Tree overlay for 3.5" display by tinylcd.com Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
-
Noralf Trønnes authored
-
- May 29, 2015
-
-
Phil Elwell authored
Add a new trailer field indicating whether this is an ARCH_BCM2835 build, as opposed to MACH_BCM2708/9. If the loader finds this flag is set it changes the default base dtb file name from bcm270x... to bcm283y... Also update knlinfo to show the status of the field.
-
Noralf Trønnes authored
Make the vc_mem module available for ARCH_BCM2835 by moving it. Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
-
- May 28, 2015
-
-
Phil Elwell authored
The Raspberry Pi firmware looks for a trailer on the kernel image to determine whether it was compiled with Device Tree support enabled. If the firmware finds a kernel without this trailer, or which has a trailer indicating that it isn't DT-capable, it disables DT support and reverts to using ATAGs. The mkknlimg utility adds that trailer, having first analysed the image to look for signs of DT support and the kernel version string. knlinfo displays the contents of the trailer in the given kernel image.
-
Phil Elwell authored
BCM270x: Move power module
-
Phil Elwell authored
device-tree: spi: make spi-bcm2835 the default spi driver and prepare...
-
Phil Elwell authored
For backwards compatibility, allow the built-in ALSA driver to be enabled either by loading the module from /etc/modules or by enabling the "/audio" node in DT.
-
- May 27, 2015
-
-
Martin Sperl authored
* make spi-bcm2835 the default driver for spi * add a fallback spi-bcm2708 overlay * add dma entries to device tree for future updates * add default cs-gpios entry showing how to extend the number of chip-selects. Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
-
Phil Elwell authored
bcm270x: add dtparam to enable/disable onboard sound device
-
- May 26, 2015
-
-
Matthias Reichl authored
The audio node is enabled by default and can be disabled with dtparam=audio=off in config.txt
-
Noralf Trønnes authored
Add generic support for the ADS7846 touch controller. Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
-
- May 24, 2015
-
-
Noralf Trønnes authored
The VideoCore bootloader concatenates the bootargs property together with /boot/cmdline.txt and includes it's own set of options. Set bootargs to an empty string to behave like BCM270x. Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
-
Noralf Trønnes authored
Make the power module available on ARCH_BCM2835 by moving it. The module turns on USB power making it possible to boot ARCH_BCM2835 directly with the VC bootloader. Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
-
popcornmix authored
-
Phil Elwell authored
Provide a __copy_from_user that uses memcpy. On BCM2708, use optimised memcpy/memmove/memcmp/memset implementations.
-
popcornmix authored
-
popcornmix authored
-
popcornmix authored
Add onboard sound device to Device Tree
-
- May 21, 2015
-
-
Noralf Trønnes authored
Add onboard sound device to Device Tree. Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
-
Noralf Trønnes authored
Add Device Tree support to alsa driver. Add device to Device Tree. Don't add platform devices when booting in DT mode. Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
-
Phil Elwell authored
-
- May 20, 2015
-
-
Phil Elwell authored
-
- May 19, 2015
-
-
Phil Elwell authored
Enable vchiq on ARCH_BCM2835
-
Noralf Trønnes authored
Add vchiq to Device Tree. There are no kernel users yet, but it's available to userspace (vcgencmd). Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
-
Noralf Trønnes authored
Turn vchiq into a driver and stop hardcoding resources. Use devm_* functions in probe path to simplify cleanup. A global variable is used to hold the register address. This is done to keep this patch as small as possible. Also make available on ARCH_BCM2835. Based on work by Lubomir Rintel. Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
-
Noralf Trønnes authored
Prepare to turn the vchiq module into a driver. Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
-
Phil Elwell authored
-
Phil Elwell authored
bcm2708_fb: Add ARCH_BCM2835 support
-
Noralf Trønnes authored
Enable the bcm2708 framebuffer driver. Disable the simple framebuffer driver, which matches the device handed over by u-boot. Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
-
Noralf Trønnes authored
Add framebuffer device to Device Tree. Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
-
Eric Anholt authored
There exists a tiny MMU, configurable only by the VC (running the closed firmware), which maps from the ARM's physical addresses to bus addresses. These bus addresses determine the caching behavior in the VC's L1/L2 (note: separate from the ARM's L1/L2) according to the top 2 bits. The bits in the bus address mean: From the VideoCore processor: 0x0... L1 and L2 cache allocating and coherent 0x4... L1 non-allocating, but coherent. L2 allocating and coherent 0x8... L1 non-allocating, but coherent. L2 non-allocating, but coherent 0xc... SDRAM alias. Cache is bypassed. Not L1 or L2 allocating or coherent From the GPU peripherals (note: all peripherals bypass the L1 cache. The ARM will see this view once through the VC MMU): 0x0... Do not use 0x4... L1 non-allocating, and incoherent. L2 allocating and coherent. 0x8... L1 non-allocating, and incoherent. L2 non-allocating, but coherent 0xc... SDRAM alias. Cache is bypassed. Not L1 or L2 allocating or coherent The 2835 firmware always configures the MMU to turn ARM physical addresses with 0x0 top bits to 0x4, meaning present in L2 but incoherent with L1. However, any bus addresses we were generating in the kernel to be passed to a device had 0x0 bits. That would be a reserved (possibly totally incoherent) value if sent to a GPU peripheral like USB, or L1 allocating if sent to the VC (like a firmware property request). By setting dma-ranges, all of the devices below it get a dev->dma_pfn_offset, so that dma_alloc_coherent() and friends return addresses with 0x4 bits and avoid cache incoherency. This matches the behavior in the downstream 2708 kernel (see BUS_OFFSET in arch/arm/mach-bcm2708/include/mach/memory.h). Signed-off-by: Eric Anholt <eric@anholt.net> Tested-by: Noralf Trønnes <noralf@tronnes.org> Acked-by: Stephen Warren <swarren@wwwdotorg.org> Cc: popcornmix@gmail.com
-
Noralf Trønnes authored
Add bcm2708-fb to Device Tree and don't add the platform device when booting in DT mode. Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
-
Noralf Trønnes authored
This header file can be removed since there are no more users. Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
-